Function at 0x402344
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ecx, 7
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x284]
sub esp, 0x2cc
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x44eae8]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x27c]
mov edi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
mov esi, eax
shl esi, 0xd
mov ebx, edi
add esi, dword [0x40da14]
mov dword [ebp - 0x2a4], ecx
shl ebx, 0xd
add ebx, dword [0x40da14]
mov dword [ebp - 0x29c], esi
lea esi, [ebp - 0x280]
mov dword [0x40e05c], esi
lea esi, [ecx - 2]
cmp esi, 0x44
ja case.0x4023b7.66
jmp dword [esi*4 + 0x40cca0]
mov dword [esp + 4], edi
mov dword [esp], str.Jump:__d
call fcn.0040988c
mov eax, dword [ebp - 0x280]
jmp 0x40246a
mov dword [esp], 0
call fcn.004051d8
push edx
mov dword [esp + 4], eax
mov dword [esp], str.Aborting:___s_
call fcn.0040988c
mov eax, dword [ebp - 0x280]
mov dword [esp + 4], 0
mov dword [esp], eax
jmp 0x402c38
inc dword [0x452b00]
cmp dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0x7fffffff
je 0x404d76
mov dword [esp], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push eax
jmp 0x404d76
mov dword [esp], edi
call fcn.0040a2bc
lea ebx, [eax - 1]
push esi
mov dword [esp + 4], ebx
mov dword [esp], str.Call:__d
call fcn.0040988c
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0040228c
push edi
push edi
mov dword [ebp - 0x29c], eax
jmp 0x404d76
mov dword [esp], 0
call fcn.004051d8
push ebx
mov dword [esp + 4], eax
mov dword [esp], str.DetailPrint:__s
call fcn.0040988c
mov eax, dword [ebp - 0x280]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040aa18
jmp 0x402d7e
xor eax, eax
call fcn.00404e08
mov dword [esp], str.Sleep__d_
mov dword [esp + 4], eax
mov ebx, eax
call fcn.0040988c
test ebx, ebx
mov eax, 1
cmovle ebx, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404c6c
mov dword [esp], str.BringToFront
call fcn.0040988c
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x404c6c
mov edx, edi
mov edi, dword [ebp - 0x278]
test edi, edi
jne 0x402543
mov eax, dword [edx*4 + 0x44ea20]
mov dword [edx*4 + 0x44e9e0], eax
mov eax, 1
call fcn.00404e08
mov edx, dword [ebp - 0x280]
mov dword [esp], str.SetFlag:__d_d
mov dword [esp + 4], edx
mov dword [edx*4 + 0x44ea20], eax
mov dword [esp + 8], eax
jmp 0x402b55
mov eax, dword [edx*4 + 0x44e9e0]
mov dword [edx*4 + 0x44ea20], eax
jmp case.0x4023b7.66
mov ecx, dword [ebp - 0x278]
xor edx, edx
mov eax, dword [ecx*4 + 0x44ea20]
test eax, eax
sete dl
mov edx, dword [ebp + edx*4 - 0x280]
and eax, dword [ebp - 0x274]
mov dword [ebp - 0x29c], edx
mov dword [ecx*4 + 0x44ea20], eax
jmp 0x404d76
mov eax, dword [eax*4 + 0x44ea20]
jmp 0x4037b0
mov edx, dword [0x452b04]
test edx, edx
je 0x4025ae
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
mov eax, dword [0x452b08]
test eax, eax
je case.0x4023b7.66
mov dword [esp], eax
mov edx, dword [ebp - 0x280]
mov dword [esp + 4], edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402d7e
mov dword [esp], 0xfffffff0
call fcn.004051d8
push edi
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.SetFileAttributes:___s_:_08X
mov dword [esp + 8], eax
call fcn.0040988c
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edx
test eax, eax
push edx
jne case.0x4023b7.66
mov dword [esp], str.SetFileAttributes_failed.
jmp 0x403136
mov dword [esp], 0xfffffff0
xor edi, edi
call fcn.004051d8
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s____d_
mov dword [esp + 8], eax
call fcn.0040988c
mov dword [esp], ebx
call fcn.0040a3cc
push esi
test eax, eax
je 0x402716
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.004080a4
push ecx
mov esi, eax
push ecx
movzx eax, word [eax]
mov word [esi], 0
mov dword [ebp - 0x29c], eax
test eax, eax
jne 0x4026a3
cmp dword [ebp - 0x278], 0
je 0x4026a3
call fcn.00407844
test eax, eax
je 0x4026a3
mov dword [esp], ebx
call fcn.0040139c
jmp 0x4026ab
mov dword [esp], ebx
call fcn.0040136c
test eax, eax
push edx
je 0x4026ee
cmp eax, 0xb7
je 0x4026cd
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s___err_d_
call fcn.0040988c
jmp 0x4026eb
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
test al, 0x10
jne 0x4026fe
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.0040988c
inc edi
jmp 0x4026fe
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s__created
call fcn.0040988c
mov ecx, dword [ebp - 0x29c]
lea eax, [esi + 2]
cmp dword [ebp - 0x29c], 0
mov word [esi], cx
jmp 0x40265b
cmp dword [ebp - 0x27c], 0
je 0x402776
mov dword [esp], 0xffffffe6
call fcn.0040ab5c
push eax
mov eax, dword [0x40da14]
mov dword [esp + 4], ebx
add eax, 0x2c000
mov dword [esp], eax
call fcn.0040a0ec
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
test eax, eax
jne 0x404d66
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc edi
mov dword [esp + 4], ebx
mov dword [esp], str.SetCurrentDirectory__s__failed___d_
mov dword [esp + 8], eax
call fcn.0040988c
jmp 0x404d66
mov dword [esp], 0xfffffff5
jmp 0x404b29
mov dword [esp], 0
call fcn.004051d8
push ecx
mov ebx, eax
mov dword [esp], eax
call fcn.0040806c
push esi
test eax, eax
je 0x4027bd
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x27c]
mov dword [esp], str.IfFileExists:_file___s__exists__jumping__d
mov dword [esp + 8], eax
call fcn.0040988c
jmp 0x403315
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x278]
mov dword [esp], str.IfFileExists:_file___s__does_not_exist__jumping__d
mov dword [esp + 8], eax
call fcn.0040988c
jmp 0x403320
mov dword [esp], 0xffffffd0
call fcn.004051d8
push ecx
mov esi, eax
mov dword [esp], 0xffffffdf
call fcn.004051d8
push ebx
mov dword [esp], 0x13
mov dword [ebp - 0x29c], eax
call fcn.004051d8
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Rename:__s
call fcn.0040988c
mov eax, dword [ebp - 0x29c]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
mov edi, eax
push edx
push edx
je 0x402844
mov dword [esp], 0xffffffe3
jmp 0x403cf7
cmp dword [ebp - 0x278], 0
je 0x40288b
mov dword [esp], esi
call fcn.0040806c
push edx
test eax, eax
je 0x40288b
mov dword [esp], esi
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
call fcn.00405ce8
push eax
push eax
mov dword [esp], 0xffffffe4
call fcn.0040ab5c
push eax
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_on_reboot:__s
jmp 0x404b9f
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_failed:__s
call fcn.0040988c
mov edi, 1
jmp 0x404d66
mov dword [esp], 0
call fcn.004051d8
push edi
mov ebx, eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
sub esp, 0x10
test eax, eax
je 0x402918
mov eax, dword [ebp - 0x268]
xor edi, edi
cmp eax, ebx
jbe 0x402928
cmp word [eax], 0
je 0x402928
mov dword [esp], ebx
call fcn.0040806c
push esi
test eax, eax
je 0x402918
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.0040a0ec
push ebx
push ebx
jmp 0x402928
mov eax, dword [ebp - 0x29c]
mov edi, 1
mov word [eax], 0
cmp dword [ebp - 0x278], 0
jne 0x404d66
mov dword [esp + 8], 0x1000
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub esp, 0xc
jmp 0x404d66
mov dword [esp], 0xffffffff
xor edi, edi
call fcn.004051d8
lea edx, [ebp - 0x268]
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
sub esp, 0x18
test eax, eax
jmp 0x403f76
mov dword [esp], 0xffffffef
call fcn.004051d8
push edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040a000
push edx
push edx
jmp 0x4045d6
mov dword [esp], 0x31
call fcn.004051d8
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], ebx
mov dword [esp], str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov ecx, eax
sar eax, 3
and ecx, 7
mov dword [esp + 4], ecx
and eax, 2
mov dword [esp + 8], eax
mov dword [ebp - 0x29c], ecx
call fcn.0040988c
mov dword [esp], ebx
call fcn.0040ac58
push esi
test eax, eax
je 0x402a1d
mov dword [esp + 4], ebx
mov dword [esp], 0x40e060
call fcn.0040a0ec
jmp 0x402a4e
mov dword [esp], 0x40e060
mov eax, dword [0x40da14]
add eax, 0x2c000
mov dword [esp + 4], eax
call fcn.0040a0ec
push edx
push edx
mov dword [esp], eax
call fcn.00407f78
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatW
push esi
push esi
mov dword [esp], 0x40e060
call fcn.0040ab7c
cmp dword [ebp - 0x29c], 2
push edi
jle 0x402aaf
mov dword [esp], 0x40e060
call fcn.0040806c
xor edx, edx
push ecx
test eax, eax
je 0x402a93
lea edx, [ebp - 0x274]
add eax, 0x14
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edx
push edx
mov edx, eax
mov edi, dword [ebp - 0x29c]
xor eax, eax
sub edi, 3
or edi, 0x80000000
test edi, edx
sete al
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
jne 0x402ad1
mov dword [esp], 0x40e060
call fcn.0040a280
mov dword [ebp - 0x29c], 0
push eax
jmp 0x402ae9
cmp dword [ebp - 0x29c], 1
mov eax, 1
je 0x402aee
mov dword [ebp - 0x29c], 2
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40e060
call fcn.00409e1c
sub esp, 0xc
cmp eax, 0xffffffff
mov esi, eax
jne 0x402c42
cmp dword [ebp - 0x29c], 0
je 0x402b5f
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffe2
call fcn.0040aa18
mov eax, dword [ebp - 0x29c]
cmp dword [ebp - 0x29c], 2
sete cl
push edi
push edi
movzx edi, cl
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40e060
mov dword [esp], str.File:_skipped:___s___overwriteflag_d_
call fcn.0040988c
jmp 0x404d66
mov dword [esp + 4], 0x40e060
mov dword [esp], str.File:_error_creating___s_
call fcn.0040988c
mov eax, dword [0x40da14]
mov dword [esp], 0x412060
mov dword [esp + 4], eax
call fcn.0040a0ec
push eax
push eax
mov eax, dword [0x40da14]
mov dword [esp + 4], 0x40e060
mov dword [esp], eax
call fcn.0040a0ec
push eax
push eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], 0x410060
mov dword [esp + 4], eax
call fcn.00404e40
mov eax, dword [0x40da14]
push edx
push edx
mov dword [esp + 4], 0x412060
mov dword [esp], eax
call fcn.0040a0ec
mov eax, dword [ebp - 0x280]
sar eax, 3
push ecx
push ecx
mov dword [esp + 4], eax
mov dword [esp], 0x410060
call fcn.0040a070
push esi
cmp eax, 4
push esi
je 0x402c0c
cmp eax, 5
jne 0x402c1d
mov dword [esp], str.File:_error__user_cancel
call fcn.0040988c
inc dword [0x44ea28]
jmp 0x404d76
mov dword [esp], str.File:_error__user_retry
call fcn.0040988c
jmp 0x402ab8
mov dword [esp], str.File:_error__user_abort
call fcn.0040988c
mov dword [esp + 4], 0x40e060
mov dword [esp], 0xfffffffa
call fcn.0040aa18
jmp 0x403e1d
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffea
call fcn.0040aa18
inc dword [0x44ea54]
push eax
push eax
mov eax, dword [ebp - 0x278]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00407c84
dec dword [0x44ea54]
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40e060
mov dword [esp], str.File:_wrote__d_to___s_
call fcn.0040988c
mov eax, dword [ebp - 0x274]
and eax, dword [ebp - 0x270]
inc eax
je 0x402cd0
mov dword [esp + 8], 0
lea eax, [ebp - 0x274]
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
push eax
jns case.0x4023b7.66
cmp edi, 0xfffffffe
jne 0x402d0f
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x40e060
call fcn.00404e40
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x40e060
call sub.KERNEL32.dll_lstrcatW
jmp 0x402d23
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x40e060
call fcn.00404e40
push edi
push edi
mov dword [esp + 4], 0x40e060
mov dword [esp], 0x40c5cc
call fcn.0040988c
mov dword [esp + 4], 0x200010
mov dword [esp], 0x40e060
jmp 0x403e18
mov dword [esp], 0
call fcn.004051d8
push esi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Delete:___s_
call fcn.0040988c
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409ae4
push ebx
push ebx
jmp case.0x4023b7.66
mov dword [esp], 0x31
call fcn.004051d8
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x280]
mov dword [esp], str.MessageBox:__d___s_
mov dword [esp + 4], eax
call fcn.0040988c
mov eax, dword [ebp - 0x280]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040a070
push ecx
test eax, eax
push ecx
je 0x40289b
cmp dword [ebp - 0x278], eax
je 0x402f9e
cmp dword [ebp - 0x270], eax
jne case.0x4023b7.66
mov eax, dword [ebp - 0x26c]
jmp 0x40246a
mov dword [esp], 0xfffffff0
call fcn.004051d8
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.RMDir:___s_
jmp 0x402d67
mov dword [esp], 1
call fcn.004051d8
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x40355e
mov eax, 2
call fcn.00404e08
mov dword [ebp - 0x2a0], edx
mov esi, eax
mov eax, 3
call fcn.00404e08
mov dword [esp], 1
mov edi, eax
call fcn.004051d8
push edx
mov dword [esp], eax
mov dword [ebp - 0x29c], eax
call sub.KERNEL32.dll_lstrlenW
push ecx
mov ecx, dword [ebp - 0x2a0]
mov word [ebx], 0
test ecx, ecx
cmove esi, eax
test esi, esi
je case.0x4023b7.66
test edi, edi
mov edx, dword [ebp - 0x29c]
jns 0x402e8a
add edi, eax
js case.0x4023b7.66
mov dword [esp], ebx
cmp eax, edi
cmovg eax, edi
add eax, eax
add eax, edx
mov dword [esp + 4], eax
call fcn.0040a0ec
test esi, esi
push eax
push eax
jns 0x402eb2
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenW
push edi
add esi, eax
js 0x402ec0
cmp esi, 0xfff
jg case.0x4023b7.66
jmp 0x402ec2
xor esi, esi
mov word [ebx + esi*2], 0
jmp case.0x4023b7.66
mov dword [esp], 0x20
call fcn.004051d8
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.004051d8
cmp dword [ebp - 0x270], 0
push ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x402f01
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x402f07
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
test eax, eax
push edi
jne 0x402f9e
jmp 0x403320
mov dword [esp], 1
call fcn.004051d8
push esi
mov esi, eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
test eax, eax
jne 0x402f4d
mov word [ebx], 0
mov edi, 1
jmp 0x402f6f
cmp dword [ebp - 0x278], 0
jne 0x402f5a
xor edi, edi
jmp 0x402f6f
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push ecx
test eax, eax
push ecx
je 0x402f41
jmp 0x402f56
mov word [ebx + 0x1ffe], 0
jmp 0x404d66
xor eax, eax
mov esi, dword [ebp - 0x26c]
call fcn.00404e08
mov ebx, eax
mov eax, 1
call fcn.00404e08
test esi, esi
jne 0x402fba
cmp ebx, eax
jge 0x402fa9
mov eax, dword [ebp - 0x274]
jmp 0x40246a
jle 0x403320
mov eax, dword [ebp - 0x270]
jmp 0x40246a
cmp ebx, eax
jb 0x402f9e
jbe 0x403320
jmp 0x402faf
mov eax, 1
call fcn.00404e08
mov esi, eax
mov eax, 2
call fcn.00404e08
mov edi, dword [ebp - 0x274]
cmp edi, 0xd
mov ecx, eax
mov edx, eax
ja case.default.0x402fef
jmp dword [edi*4 + 0x40cdb4]
mov ecx, eax
add ecx, esi
jmp 0x403076
mov ecx, esi
sub ecx, eax
jmp 0x403074
mov ecx, eax
imul ecx, esi
jmp 0x403074
test eax, eax
mov edi, 1
je 0x403076
mov eax, esi
mov ecx, edx
cdq
idiv ecx
mov ecx, eax
jmp 0x403074
mov ecx, eax
or ecx, esi
jmp 0x403074
mov ecx, eax
and ecx, esi
jmp 0x403074
mov ecx, eax
xor ecx, esi
jmp 0x403074
test esi, esi
sete al
jmp 0x403049
or esi, eax
setne al
jmp 0x403049
test esi, esi
setne al
test edx, edx
setne dl
and al, dl
movzx ecx, al
jmp 0x403074
test eax, eax
mov edi, 1
je 0x403076
mov eax, esi
mov ecx, edx
cdq
idiv ecx
mov ecx, edx
jmp 0x403074
mov cl, al
shl esi, cl
jmp case.default.0x402fef
mov cl, al
sar esi, cl
jmp case.default.0x402fef
mov cl, al
shr esi, cl
mov ecx, esi
xor edi, edi
mov dword [esp + 4], ecx
jmp 0x4032f8
mov dword [esp], 1
call fcn.004051d8
push edx
mov esi, eax
mov eax, 2
call fcn.00404e08
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp case.0x4023b7.66
mov edi, dword [ebp - 0x278]
mov esi, dword [0x418060]
test edi, edi
je 0x403127
mov eax, edi
dec eax
test esi, esi
je 0x4030cf
test eax, eax
mov esi, dword [esi]
jne 0x4030c0
test esi, esi
jne 0x4030e4
mov dword [esp + 4], edi
mov dword [esp], str.Exch:_stack____d_elements
call fcn.0040988c
jmp 0x403df7
mov dword [esp], 0x40e060
add esi, 4
mov dword [esp + 4], esi
call fcn.0040a0ec
push eax
push eax
mov eax, dword [0x418060]
mov dword [esp], esi
add eax, 4
mov dword [esp + 4], eax
call fcn.0040a0ec
push eax
push eax
mov eax, dword [0x418060]
mov dword [esp + 4], 0x40e060
add eax, 4
mov dword [esp], eax
jmp 0x40493e
test eax, eax
je 0x40315d
test esi, esi
jne 0x403140
mov dword [esp], str.Pop:_stack_empty
call fcn.0040988c
jmp 0x40289b
mov dword [esp], ebx
lea eax, [esi + 4]
mov dword [esp + 4], eax
call fcn.0040a0ec
push eax
push eax
mov eax, dword [esi]
mov dword [0x418060], eax
jmp 0x4038f8
mov dword [esp + 4], 0x2004
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x280]
push ecx
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.00404e40
mov eax, dword [0x418060]
push esi
push esi
mov dword [ebx], eax
mov dword [0x418060], ebx
jmp 0x404d66
mov eax, 3
call fcn.00404e08
mov esi, eax
mov eax, 4
call fcn.00404e08
test byte [ebp - 0x26c], 1
mov edi, eax
je 0x4031cf
mov dword [esp], 0x33
call fcn.004051d8
push edx
mov esi, eax
test byte [ebp - 0x26c], 2
jne 0x4031e0
mov dword [ebp - 0x29c], edi
jmp 0x4031f3
mov dword [esp], 0x44
call fcn.004051d8
mov dword [ebp - 0x29c], eax
push edi
cmp dword [ebp - 0x284], 0x21
jne 0x40328f
mov eax, 1
call fcn.00404e08
mov dword [ebp - 0x2a0], eax
mov eax, 2
call fcn.00404e08
mov edi, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2a0]
sar edi, 2
je 0x403269
mov dword [esp + 0x14], edi
lea edx, [ebp - 0x268]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x29c]
mov dword [esp], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esp, 0x1c
test eax, eax
sete cl
movzx edi, cl
jmp 0x4032e1
mov dword [esp + 8], esi
mov edx, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x268], eax
sub esp, 0x10
jmp 0x4032e1
mov dword [esp], 1
call fcn.004051d8
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.004051d8
push ecx
xor ecx, ecx
cmp word [eax], 0
cmove eax, ecx
cmp word [edi], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], esi
cmove edi, ecx
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x268], eax
sub esp, 0x10
cmp dword [ebp - 0x280], 0
js 0x404d66
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], ebx
jmp 0x404cd1
xor eax, eax
call fcn.00404e08
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push edi
test eax, eax
je 0x403320
mov eax, dword [ebp - 0x27c]
jmp 0x40246a
mov eax, dword [ebp - 0x278]
jmp 0x40246a
mov eax, 2
call fcn.00404e08
mov esi, eax
mov eax, 1
call fcn.00404e08
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
jmp 0x4037b0
add eax, dword [0x44eaa8]
mov ebx, eax
xor eax, eax
call fcn.00404e08
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x404d61
test byte [ebp - 0x277], 1
je 0x403393
mov eax, 1
call fcn.00404e08
jmp 0x4033a8
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x278]
mov ecx, eax
mov esi, eax
and ecx, 4
mov edi, eax
mov dword [ebp - 0x2a0], ecx
shr esi, 0x1e
mov ecx, eax
shr ecx, 0x1f
and edi, 3
mov dword [ebp - 0x2a4], ecx
and esi, 1
bt eax, 0x10
jae 0x4033e8
mov dword [esp], 0
call fcn.004051d8
push edx
jmp 0x4033ef
movzx eax, word [ebp - 0x280]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x278]
xor ecx, ecx
imul esi, dword [ebp - 0x25c]
and edx, 0xfef0
push eax
push eax
mov eax, dword [ebp - 0x2a4]
imul eax, dword [ebp - 0x260]
cmp dword [ebp - 0x2a0], 0
je 0x40343b
mov ecx, dword [0x44eaec]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0x14], edx
mov dword [esp], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_LoadImageW]
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x172
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
je case.0x4023b7.66
test edi, edi
jne case.0x4023b7.66
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x404c6c
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
push esi
mov esi, eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push edi
mov edi, eax
mov eax, 2
call fcn.00404e08
mov dword [esp + 8], 0x48
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
sub esp, 0xc
mov dword [section..bss], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push eax
push eax
mov eax, 3
call fcn.00404e08
mov dword [esp], 0x40e01c
mov byte [0x40e017], 1
mov dword [0x40e010], eax
mov al, byte [ebp - 0x270]
mov dl, al
and dl, 1
mov byte [0x40e014], dl
mov dl, al
and al, 4
mov byte [0x40e016], al
mov eax, dword [ebp - 0x27c]
and dl, 2
mov byte [0x40e015], dl
mov dword [esp + 4], eax
call fcn.00404e40
push eax
push eax
mov dword [esp], section..bss
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push ecx
jmp 0x4037b0
xor eax, eax
call fcn.00404e08
mov ebx, eax
mov eax, 1
call fcn.00404e08
cmp dword [ebp - 0x278], 0
mov esi, eax
je 0x40358e
mov dword [esp], str.HideWindow
call fcn.0040988c
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x274]
mov dword [esp], ebx
test edi, edi
jne 0x4035aa
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x404d07
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402d7e
mov dword [esp], 0
call fcn.004051d8
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.004051d8
push ecx
mov edi, eax
mov dword [esp], 0x22
call fcn.004051d8
push esi
mov esi, eax
mov dword [esp], 0x15
call fcn.004051d8
push eax
mov dword [esp], 0xffffffec
call fcn.0040ab5c
push eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x24c], eax
xor eax, eax
cmp word [ebx], 0
mov edx, eax
mov dword [ebp - 0x258], edi
cmovne edx, ebx
mov dword [ebp - 0x25c], edx
cmp word [esi], 0
cmovne eax, esi
mov dword [ebp - 0x254], eax
mov eax, dword [0x40da14]
add eax, 0x2c000
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.00409f68
push edx
test eax, eax
jne 0x40368e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
mov dword [esp + 0x10], eax
call fcn.0040988c
jmp 0x40289b
test byte [ebp - 0x264], 0x40
je 0x4036b6
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call fcn.004078c8
push eax
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.0040988c
jmp case.0x4023b7.66
mov dword [esp], 0
call fcn.004051d8
push edx
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp], str.Exec:_command__s_
call fcn.0040988c
mov dword [esp + 4], esi
mov dword [esp], 0xffffffeb
call fcn.0040aa18
push ecx
push ecx
mov dword [esp], esi
call fcn.00409a60
push ebx
test eax, eax
mov ebx, eax
mov dword [esp + 4], esi
je 0x40376e
mov dword [esp], str.Exec:_success____s__
call fcn.0040988c
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x40375f
mov dword [esp], ebx
call fcn.004078c8
cmp dword [ebp - 0x27c], 0
push edi
js 0x403757
xor edi, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
push esi
push esi
jmp 0x40375f
test eax, eax
setne cl
movzx edi, cl
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jmp 0x404d66
mov dword [esp], str.Exec:_failed_createprocess____s__
jmp 0x402896
mov dword [esp], 2
call fcn.004051d8
push edx
mov dword [esp], eax
call fcn.0040806c
test eax, eax
mov esi, eax
push ecx
je 0x4037bc
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
push edi
push edi
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
jmp 0x404c00
mov word [ebx], 0
mov eax, dword [ebp - 0x29c]
mov word [eax], 0
jmp 0x40289b
mov dword [esp], 0xffffffee
call fcn.004051d8
push edi
mov dword [esp], 9
mov dword [ebp - 0x2a0], eax
call fcn.00409dd0
mov ecx, dword [ebp - 0x2a0]
push edx
lea edx, [ebp - 0x28c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call eax
push ecx
mov edi, eax
mov eax, dword [ebp - 0x29c]
push ecx
test edi, edi
mov word [ebx], 0
mov word [eax], 0
je 0x40289b
mov dword [esp + 4], edi
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
test eax, eax
push esi
mov esi, eax
je 0x40289b
mov dword [esp], 0xa
call fcn.00409dd0
push edx
mov dword [esp], 0xb
mov dword [ebp - 0x2a4], eax
call fcn.00409dd0
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a0]
push ecx
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
call eax
mov ecx, dword [ebp - 0x2a8]
sub esp, 0x10
test eax, eax
jne 0x40389a
mov edi, 1
jmp 0x4038f8
mov dword [esp + 4], 0x40c804
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
mov dword [esp], esi
call ecx
sub esp, 0x10
test eax, eax
je 0x403893
mov eax, dword [ebp - 0x288]
xor edi, edi
mov eax, dword [eax + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040948c
push eax
push eax
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
push eax
push eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403768
cmp dword [0x44ea58], 0
js 0x403a51
mov dword [esp], 0xfffffff0
call fcn.004051d8
push ebx
mov esi, eax
mov dword [esp], 1
call fcn.004051d8
cmp dword [ebp - 0x270], 0
push edi
mov edi, eax
jne 0x403961
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x403971
jmp 0x403a34
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov ebx, eax
push ecx
je 0x40393a
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00405d30
push edx
test eax, eax
push edx
je 0x4039dd
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x4039ae
mov dword [esp], edi
mov dword [ebp - 0x29c], eax
call fcn.0040ab5c
push eax
mov eax, dword [ebp - 0x29c]
call eax
test eax, eax
setne cl
movzx edi, cl
jmp 0x403a08
mov dword [esp + 0x10], section..data
mov ecx, dword [0x40da14]
mov dword [esp + 0xc], 0x418060
mov dword [esp + 4], 0x1000
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], ecx
call eax
jmp 0x403a08
mov dword [esp + 4], edi
mov dword [esp], 0xfffffff7
call fcn.0040aa18
push eax
push eax
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp + 8], esi
mov dword [esp], 0x40c808
call fcn.0040988c
cmp dword [ebp - 0x274], 0
jne 0x404d66
mov dword [esp], ebx
call fcn.004064d4
push esi
test eax, eax
je 0x404d66
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403768
mov dword [esp], 0xfffffff6
call fcn.0040ab5c
push ebx
mov dword [esp + 4], esi
mov dword [esp], str.Error_registering_DLL:_Could_not_load__s
jmp 0x402896
mov dword [esp], 0xffffffe7
call fcn.0040ab5c
push ecx
mov dword [esp], str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x403136
mov dword [esp], 0xfffffff0
call fcn.004051d8
push esi
mov dword [esp], 0xffffffdf
mov dword [ebp - 0x2a4], eax
call fcn.004051d8
push edi
mov esi, eax
mov dword [esp], 2
call fcn.004051d8
push edx
mov dword [esp], 0xffffffcd
mov dword [ebp - 0x2a8], eax
call fcn.004051d8
push ecx
mov edi, eax
mov dword [esp], 0x45
call fcn.004051d8
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x270]
push ebx
mov dword [esp], esi
mov dword [ebp - 0x29c], eax
and eax, 0xfff
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x29c]
sar eax, 0xc
and eax, 7
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x29c]
shr eax, 0x10
mov dword [ebp - 0x2b0], eax
call fcn.0040ac58
push edx
test eax, eax
jne 0x403b13
mov dword [esp], 0x21
call fcn.004051d8
push ebx
mov eax, dword [ebp - 0x2b0]
mov dword [esp + 0x10], edi
mov dword [esp + 8], esi
mov dword [esp], str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 4], eax
call fcn.0040988c
lea eax, [ebp - 0x288]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40dbe0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x40dbc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jns 0x403ba1
mov dword [esp], 0xfffffff0
call fcn.0040ab5c
push ecx
jmp 0x40289b
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40dbd0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov ebx, eax
js 0x403cd9
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x50]
bt dword [ebp - 0x29c], 0xf
push edx
mov ebx, eax
push edx
jb 0x403c0b
mov edx, dword [ebp - 0x288]
mov eax, dword [0x40da14]
mov ecx, dword [edx]
mov dword [esp], edx
add eax, 0x2c000
mov dword [esp + 4], eax
call dword [ecx + 0x24]
push eax
push eax
cmp dword [ebp - 0x2a0], 0
je 0x403c2e
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp word [edi], 0
je 0x403c6d
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2b4]
push edi
push edi
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
test ebx, ebx
push eax
push eax
js 0x403cca
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
test ebx, ebx
push ecx
js 0x403b8f
mov dword [esp], 0xfffffff4
call fcn.0040ab5c
jmp 0x404c6c
mov dword [esp], 0
call fcn.004051d8
push edi
mov ebx, eax
mov dword [esp], 0x11
call fcn.004051d8
push edx
mov esi, eax
mov dword [esp], 0x23
call fcn.004051d8
push ecx
mov edi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.CopyFiles___s_____s_
call fcn.0040988c
mov dword [esp], ebx
call fcn.0040806c
push edx
test eax, eax
je 0x403dd4
mov dword [esp], ebx
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x264], 2
mov dword [ebp - 0x268], eax
call sub.KERNEL32.dll_lstrlenW
push edx
mov word [ebx + eax*2 + 2], 0
mov dword [esp], esi
call sub.KERNEL32.dll_lstrlenW
push ecx
mov word [esi + eax*2 + 2], 0
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x278]
mov dword [esp], 0
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x24e], edi
mov word [ebp - 0x258], ax
call fcn.0040aa18
lea eax, [ebp - 0x268]
push ebx
push ebx
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov edi, eax
push esi
je 0x404d66
mov dword [esp + 4], 0
mov dword [esp], 0xfffffff9
call fcn.0040aa18
push ecx
push ecx
jmp 0x40289b
cmp edi, 0xbadf00d
je 0x403e2e
mov dword [esp + 4], 0xffffffe8
mov dword [esp], 0
call fcn.00404e40
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
call fcn.0040a070
push edi
push edi
mov dword [ebp - 0x29c], 0x7fffffff
jmp 0x404d76
inc dword [0x44ea34]
jmp case.0x4023b7.66
mov dword [esp + 4], str._RM_
mov dword [esp], 0x410060
call fcn.0040a0ec
push ebx
push ebx
xor ebx, ebx
mov dword [esp + 4], 0x410060
mov dword [esp], 0x412060
call fcn.0040a0ec
cmp dword [ebp - 0x280], 0
push esi
push esi
je 0x403e7f
mov dword [esp], 0
call fcn.004051d8
push ecx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x27c], 0
je 0x403e99
mov dword [esp], 0x11
call fcn.004051d8
push edx
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x270], 0
je 0x403eb3
mov dword [esp], 0x22
call fcn.004051d8
push edi
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.004051d8
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x412060
mov dword [esp + 8], 0x410060
mov dword [esp + 4], 0x40e060
mov dword [esp], str.WriteINIStr:_wrote___s___s_s_in__s
mov dword [ebp - 0x29c], eax
call fcn.0040988c
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
sub esp, 0x10
jmp 0x4045d6
mov dword [esp], 1
mov dword [ebp - 0x268], 0xa
call fcn.004051d8
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.004051d8
push ecx
mov esi, eax
mov dword [esp], 0xffffffdd
call fcn.004051d8
push edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x268]
mov dword [esp], edi
xor edi, edi
mov dword [esp + 0x10], 0xfff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 0x18
cmp word [ebx], 0xa
jne 0x404d66
jmp 0x404913
mov dword [esp], eax
mov edi, eax
call fcn.00407b4c
cmp dword [ebp - 0x270], 0
mov esi, eax
jne 0x404002
mov dword [esp], 2
call fcn.00406664
push edi
test eax, eax
mov edi, eax
je 0x40289b
mov dword [esp], 0x33
call fcn.004051d8
push ecx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [ebp - 0x29c], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x29c]
push ebx
push ebx
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x412060
mov dword [esp], str.DeleteRegValue:___s_s____s_
call fcn.0040988c
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
jmp 0x404091
mov dword [esp], 0x22
call fcn.004051d8
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegKey:___s_s_
call fcn.0040988c
mov edx, dword [ebp - 0x270]
sar edx, 1
mov dword [ebp - 0x268], edx
cmp word [ebx], 0
je 0x40289b
or edx, 0x100020
test edi, edi
mov dword [ebp - 0x268], edx
js 0x40405a
mov eax, dword [0x44ea24]
add eax, edi
lea edi, [eax - 0x7fffffff]
mov dword [esp], edi
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
call fcn.00405154
push esi
test eax, eax
push esi
je 0x40289b
mov edx, dword [ebp - 0x268]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00401430
sub esp, 0xc
mov ebx, eax
test ebx, ebx
setne cl
jmp 0x4045db
mov dword [esp], 2
mov eax, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.004051d8
push edx
mov dword [esp], 0x11
mov dword [ebp - 0x29c], eax
call fcn.004051d8
push ecx
mov ebx, eax
mov dword [esp], edi
call fcn.00407b4c
test edi, edi
mov dword [ebp - 0x2a0], eax
js 0x4040ef
mov ecx, dword [0x44ea24]
add ecx, edi
lea edi, [ecx - 0x7fffffff]
mov dword [esp + 8], 0x100022
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.0040659c
sub esp, 0x10
test eax, eax
jne 0x404305
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x404305
cmp esi, 1
jne 0x404193
mov dword [esp], 0x23
call fcn.004051d8
push esi
mov dword [esp], 0x412060
call sub.KERNEL32.dll_lstrlenW
lea esi, [eax + 1]
mov eax, dword [ebp - 0x29c]
push edi
add esi, esi
cmp dword [ebp - 0x2a4], 1
mov dword [esp + 0x10], 0x412060
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
jne 0x404182
mov dword [esp], str.WriteRegStr:___s_s____s___s_
jmp 0x404189
mov dword [esp], str.WriteRegExpandStr:___s_s____s___s_
call fcn.0040988c
jmp 0x404288
cmp esi, 4
je 0x4041a4
cmp esi, 3
je 0x4041e5
xor esi, esi
jmp 0x404288
mov eax, 3
mov esi, 4
call fcn.00404e08
mov dword [esp + 8], ebx
mov dword [esp], str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [0x412060], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], eax
call fcn.0040988c
jmp 0x404288
cmp dword [ebp - 0x2a4], 0
mov edi, str.WriteRegNone
je 0x404209
cmp dword [ebp - 0x2a4], 7
mov edx, str.WriteRegMultiStr
mov eax, str.WriteRegBin
cmove eax, edx
mov edi, eax
mov dword [esp + 0xc], 0x6000
mov eax, dword [ebp - 0x274]
mov dword [esp + 8], 0x412060
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00407c84
sub esp, 0x10
mov esi, eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
mov dword [esp + 8], 0x412060
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00407a0c
lea eax, [ebp - 0x268]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], str._s:___s_s____s___s_
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 8], eax
call fcn.0040988c
mov dword [esp + 0x14], esi
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 0x10], 0x412060
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
mov edi, eax
je 0x4042f1
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x29c]
mov edi, 1
mov dword [esp], str.WriteReg:_error_writing_into___s_s____s_
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], eax
call fcn.0040988c
mov eax, dword [ebp - 0x2a8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403768
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteReg:_error_creating_key___s_s_
mov dword [esp + 4], eax
call fcn.0040988c
jmp 0x40289b
mov dword [esp], 0x20019
call fcn.00406664
push edx
mov esi, eax
mov dword [esp], 0x33
call fcn.004051d8
test esi, esi
push ecx
mov word [ebx], 0
je 0x40289b
mov dword [esp + 0x10], ebx
lea edx, [ebp - 0x288]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x268]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [ebp - 0x288], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4043a0
mov eax, dword [ebp - 0x268]
cmp eax, 4
je 0x4043b1
cmp eax, 1
je 0x4043ac
cmp eax, 2
je 0x4043d0
mov word [ebx], 0
mov edi, 1
jmp 0x4043df
cmp eax, 4
jne 0x4043d0
mov eax, dword [ebx]
cmp dword [ebp - 0x270], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
sete cl
movzx edi, cl
call fcn.0040948c
push eax
push eax
jmp 0x4043df
mov edi, dword [ebp - 0x270]
mov word [ebx + 0x1ffe], 0
mov dword [esp], esi
jmp 0x4042fa
mov dword [esp], 0x20019
call fcn.00406664
push esi
mov esi, eax
mov eax, 3
call fcn.00404e08
test esi, esi
mov word [ebx], 0
je 0x40289b
cmp dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0xfff
je 0x404440
mov dword [esp + 0xc], 0xfff
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
sub esp, 0x10
jmp 0x4043d6
mov dword [esp + 0x1c], 0
lea edx, [ebp - 0x268]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
setne cl
movzx edi, cl
jmp 0x4043d6
mov dword [esp], ebx
call fcn.0040a460
push ebx
test eax, eax
je case.0x4023b7.66
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404c6c
mov dword [esp], 0xffffffed
call fcn.004051d8
mov edx, dword [ebp - 0x278]
push ecx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x27c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00409e1c
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x4037b0
jmp 0x404913
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x404511
mov eax, 1
call fcn.00404e08
cmp dword [ebp - 0x2a4], 0x38
setne dl
movzx edi, dl
mov word [0x410060], ax
inc edi
jmp 0x40459a
cmp dword [ebp - 0x2a4], 0x38
jne 0x404581
mov dword [esp], 0x21
call fcn.004051d8
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x1000
mov dword [esp + 0x10], 0x410060
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x412060
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], 0x410060
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
mov edi, eax
jmp 0x40459a
mov dword [esp], 0x11
call fcn.004051d8
push ecx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
push edi
lea edi, [eax + eax]
cmp word [ebx], 0
je 0x40289b
mov dword [esp], ebx
call fcn.0040a460
push edx
mov ebx, eax
xor eax, eax
cmp dword [ebp - 0x2a4], 0x38
sete al
or eax, esi
je 0x4045e3
mov dword [esp + 8], edi
mov dword [esp + 4], 0x410060
mov dword [esp], ebx
call fcn.00409f84
sub esp, 0xc
test eax, eax
sete cl
movzx edi, cl
jmp 0x404d66
cmp dword [ebp - 0x274], 0
je 0x4045bf
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.004076e4
push esi
test eax, eax
push esi
jns 0x4045bf
jmp 0x40289b
mov eax, 2
call fcn.00404e08
mov dword [ebp - 0x2a4], eax
test eax, eax
jle case.0x4023b7.66
xor esi, esi
cmp word [ebx], 0
je 0x40482e
mov dword [esp], ebx
mov edi, 2
call fcn.0040a460
mov dword [ebp - 0x2a0], 0
push ecx
mov ebx, eax
cmp dword [ebp - 0x284], 0x39
mov edx, dword [ebp - 0x274]
jne 0x404732
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, 2
mov dword [esp], ebx
sub eax, edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x40482e
mov edi, dword [ebp - 0x268]
test edi, edi
je 0x40482e
movzx eax, byte [ebp - 0x288]
cmp dword [ebp - 0x274], 0
mov word [ebp - 0x28c], ax
jne 0x404779
mov dword [esp + 0x14], 1
lea eax, [ebp - 0x28c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], 8
mov dword [esp], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
jne 0x404779
dec dword [ebp - 0x268]
mov word [ebp - 0x28c], 0xfffd
je 0x404779
mov dword [esp + 0xc], 1
dec edi
mov dword [esp + 8], 0
mov eax, edi
mov dword [esp], ebx
neg eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x4046b8
or edx, esi
je 0x40475c
mov dword [esp + 8], 2
lea eax, [ebp - 0x28c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00409e74
sub esp, 0xc
test eax, eax
jne 0x404779
jmp 0x40482e
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004076e4
push edx
test eax, eax
push edx
jns 0x404736
xor esi, esi
jmp 0x40482e
cmp dword [ebp - 0x274], 0
movzx eax, word [ebp - 0x28c]
je 0x4047a2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
push ecx
push ecx
jmp 0x404d6c
lea edx, [esi + esi]
add edx, dword [ebp - 0x29c]
cmp dword [ebp - 0x2a0], 0xd
je 0x4047bd
cmp dword [ebp - 0x2a0], 0xa
jne 0x4047f9
cmp dword [ebp - 0x2a0], eax
je 0x4047cf
cmp eax, 0xd
je 0x4047f3
cmp eax, 0xa
je 0x4047f3
mov dword [esp + 0xc], 1
neg edi
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x40482e
mov word [edx], ax
inc esi
jmp 0x40482e
mov edx, dword [ebp - 0x29c]
inc esi
test eax, eax
mov word [edx + esi*2 - 2], ax
je 0x40482e
cmp dword [ebp - 0x2a4], 0xfff
mov edx, 0xfff
cmovle edx, dword [ebp - 0x2a4]
cmp edx, esi
jle 0x40482e
mov dword [ebp - 0x2a0], eax
jmp 0x404641
mov eax, dword [ebp - 0x29c]
test esi, esi
mov word [eax + esi*2], 0
jmp 0x4045d8
cmp word [ebx], 0
je case.0x4023b7.66
mov eax, 2
mov edi, dword [ebp - 0x274]
call fcn.00404e08
mov dword [esp], ebx
mov esi, eax
call fcn.0040a460
push edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
cmp dword [ebp - 0x27c], 0
js case.0x4023b7.66
jmp 0x404bf3
mov dword [esp], ebx
call fcn.0040a460
push edi
test eax, eax
je case.0x4023b7.66
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x404c6c
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040a460
push esi
test eax, eax
je 0x404913
mov dword [esp], eax
lea edx, [ebp - 0x268]
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ecx
test eax, eax
push ecx
je 0x404913
jmp 0x404931
mov dword [esp], 2
call fcn.004051d8
lea edx, [ebp - 0x268]
push edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edx
cmp eax, 0xffffffff
push edx
jne 0x40491d
mov eax, dword [ebp - 0x29c]
mov word [eax], 0
mov word [ebx], 0
jmp 0x40289b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
push esi
push esi
lea eax, [ebp - 0x23c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040a0ec
jmp 0x402d7e
mov dword [esp], 0xfffffff0
call fcn.004051d8
push edx
mov ebx, eax
mov dword [esp], eax
call fcn.0040ac58
push ecx
test eax, eax
jne 0x404971
mov dword [esp], 0xffffffed
call fcn.004051d8
push edi
mov dword [esp], ebx
call fcn.0040a280
push esi
mov esi, 0xfffffd66
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call fcn.00409e1c
mov dword [ebp - 0x2a0], eax
sub esp, 0xc
inc eax
je 0x404af1
mov dword [esp], 0x40
mov eax, dword [0x44eacc]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 4], eax
mov dword [ebp - 0x2a4], eax
call edi
push ecx
test eax, eax
push ecx
mov dword [ebp - 0x29c], eax
je 0x404ae1
mov dword [esp], 0
call fcn.004073f4
push eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00406574
push eax
push eax
mov eax, dword [ebp - 0x278]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call edi
test eax, eax
mov esi, eax
push edx
push edx
je 0x404a81
mov eax, dword [ebp - 0x278]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
call fcn.00407c84
mov eax, esi
sub esp, 0x10
cmp byte [eax], 0
je 0x404a77
mov edx, dword [eax]
lea edi, [eax + 8]
mov dword [esp + 4], edi
mov ecx, dword [ebp - 0x29c]
mov dword [esp + 8], edx
add ecx, dword [eax + 4]
mov dword [ebp - 0x2a8], edx
mov dword [esp], ecx
call fcn.00409a40
mov edx, dword [ebp - 0x2a8]
lea eax, [edi + edx]
sub esp, 0xc
jmp 0x404a40
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call fcn.00409f84
mov eax, dword [ebp - 0x29c]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call fcn.00407c84
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], str.created_uninstaller:__d____s_
call fcn.0040988c
test esi, esi
jns 0x404b1f
mov dword [esp], ebx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0xffffffef
push ecx
jmp 0x404b26
mov eax, 0xfffffff3
xor edi, edi
mov dword [esp], eax
call fcn.0040ab5c
jmp 0x403768
test edi, edi
je 0x404b87
mov dword [esp + 4], eax
mov dword [esp], str.settings_logging_to__d
call fcn.0040988c
mov eax, dword [ebp - 0x27c]
mov dword [esp], str.logging_set_to__d
mov dword [esp + 4], eax
mov dword [0x458340], eax
call fcn.0040988c
mov edi, dword [ebp - 0x27c]
test edi, edi
je 0x404b76
call fcn.00407fc0
jmp case.0x4023b7.66
mov dword [esp], 1
call fcn.00409948
jmp 0x403768
mov dword [esp], 1
call fcn.004051d8
push edx
mov dword [esp + 4], eax
mov dword [esp], 0x40c5cc
call fcn.0040988c
jmp 0x404d66
xor eax, eax
call fcn.00404e08
cmp eax, dword [0x44ea8c]
mov ebx, eax
jae 0x40289b
mov edi, dword [ebp - 0x278]
imul esi, eax, 0x2018
add esi, dword [0x44ea88]
test edi, edi
js 0x404c0a
jne 0x404bf0
mov eax, dword [ebp - 0x29c]
add esi, 0x18
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040a0ec
jmp 0x404d07
mov eax, dword [esi + edi*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
jmp 0x402d7e
mov ecx, edi
not ecx
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x404c2a
mov eax, 1
call fcn.00404e08
mov dword [ebp - 0x27c], eax
jmp 0x404c48
mov eax, dword [ebp - 0x270]
mov dword [esp + 4], eax
lea eax, [esi + 0x18]
mov dword [esp], eax
call fcn.00404e40
push edi
push edi
or dword [esi + 8], 0x100
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
mov dword [esi + eax*4], edx
cmp dword [ebp - 0x274], 0
je case.0x4023b7.66
mov dword [esp], ebx
call fcn.0040697c
push ebx
jmp case.0x4023b7.66
xor eax, eax
call fcn.00404e08
cmp eax, 0x1f
ja 0x40289b
cmp dword [ebp - 0x274], 0
mov edi, dword [ebp - 0x278]
je 0x404cd8
test edi, edi
je 0x404cb7
mov dword [esp], eax
call fcn.00407364
push ecx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00407a98
jmp 0x402d7e
mov dword [esp], 0
call fcn.00404d88
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040948c
jmp 0x404d07
mov edx, dword [0x44ea60]
lea eax, [eax + 0x24]
test edi, edi
je 0x404cf1
mov ecx, dword [ebp - 0x27c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x4023b7.66
mov eax, dword [edx + eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00404e40
push eax
push eax
jmp 0x404d66
mov dword [esp + 0xc], 0
mov ecx, dword [0x437ca0]
mov dword [esp + 4], 0xb
mov eax, dword [ebp - 0x2a0]
and ecx, edi
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
cmp dword [ebp - 0x280], 0
je case.0x4023b7.66
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
xor edi, edi
add dword [0x44ea28], edi
mov dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x29c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4