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.67
jmp dword [esi*4 + 0x40cca0]
mov dword [esp + 4], edi
mov dword [esp], str.Jump:__d
call fcn.00409918
mov eax, dword [ebp - 0x280]
jmp 0x40246a
mov dword [esp], 0
call fcn.00405240
push edx
mov dword [esp + 4], eax
mov dword [esp], str.Aborting:___s_
call fcn.00409918
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 0x404dde
mov dword [esp], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push eax
jmp 0x404dde
mov dword [esp], edi
call fcn.0040a348
lea ebx, [eax - 1]
push esi
mov dword [esp + 4], ebx
mov dword [esp], str.Call:__d
call fcn.00409918
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0040228c
push edi
push edi
mov dword [ebp - 0x29c], eax
jmp 0x404dde
mov dword [esp], 0
call fcn.00405240
push ebx
mov dword [esp + 4], eax
mov dword [esp], str.DetailPrint:__s
call fcn.00409918
mov eax, dword [ebp - 0x280]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040aaa4
jmp 0x4035b7
xor eax, eax
call fcn.00404e70
mov dword [esp], str.Sleep__d_
mov dword [esp + 4], eax
mov ebx, eax
call fcn.00409918
test ebx, ebx
mov eax, 1
cmovle ebx, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404c2f
mov dword [esp], str.BringToFront
call fcn.00409918
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x404c2f
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.00404e70
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.67
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 0x404dde
mov eax, dword [eax*4 + 0x44ea20]
jmp 0x40355d
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.67
mov dword [esp], eax
mov edx, dword [ebp - 0x280]
mov dword [esp + 4], edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4035b7
mov dword [esp], 0xfffffff0
call fcn.00405240
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.00409918
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.67
mov dword [esp], str.SetFileAttributes_failed.
jmp 0x403134
mov dword [esp], 0xfffffff0
xor edi, edi
call fcn.00405240
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.00409918
mov dword [esp], ebx
call fcn.0040a458
push esi
test eax, eax
je 0x402716
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.00408130
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.004078d0
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.00409918
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.00409918
inc edi
jmp 0x4026fe
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s__created
call fcn.00409918
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.0040abe8
push eax
mov eax, dword [0x40da14]
mov dword [esp + 4], ebx
add eax, 0x2c000
mov dword [esp], eax
call fcn.0040a178
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
test eax, eax
jne 0x404dce
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.00409918
jmp 0x404dce
mov dword [esp], 0xfffffff5
jmp 0x404af1
mov dword [esp], 0
call fcn.00405240
push ecx
mov ebx, eax
mov dword [esp], eax
call fcn.004080f8
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.00409918
jmp 0x403313
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.00409918
jmp 0x40331e
mov dword [esp], 0xffffffd0
call fcn.00405240
push ecx
mov esi, eax
mov dword [esp], 0xffffffdf
call fcn.00405240
push ebx
mov dword [esp], 0x13
mov dword [ebp - 0x29c], eax
call fcn.00405240
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Rename:__s
call fcn.00409918
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 0x403cee
cmp dword [ebp - 0x278], 0
je 0x40288b
mov dword [esp], esi
call fcn.004080f8
push edx
test eax, eax
je 0x40288b
mov dword [esp], esi
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
call fcn.00405d50
push eax
push eax
mov dword [esp], 0xffffffe4
call fcn.0040abe8
push eax
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_on_reboot:__s
jmp 0x404b67
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_failed:__s
call fcn.00409918
mov edi, 1
jmp 0x404dce
mov dword [esp], 0
call fcn.00405240
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.004080f8
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.0040a178
push ebx
push ebx
jmp 0x402928
mov eax, dword [ebp - 0x29c]
mov edi, 1
mov word [eax], 0
cmp dword [ebp - 0x278], 0
jne 0x404dce
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 0x404dce
mov dword [esp], 0xffffffff
xor edi, edi
call fcn.00405240
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 0x403f6d
mov dword [esp], 0xffffffef
call fcn.00405240
push edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040a08c
push edx
push edx
jmp 0x40459e
mov dword [esp], 0x31
call fcn.00405240
push ecx
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.00409918
mov dword [esp], ebx
call fcn.0040ace4
push esi
test eax, eax
je 0x402a1d
mov dword [esp + 4], ebx
mov dword [esp], 0x40e060
call fcn.0040a178
jmp 0x402a4e
mov dword [esp], 0x40e060
mov eax, dword [0x40da14]
add eax, 0x2c000
mov dword [esp + 4], eax
call fcn.0040a178
push edi
push edi
mov dword [esp], eax
call fcn.00408004
push edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatW
push ecx
push ecx
mov dword [esp], 0x40e060
call fcn.0040ac08
cmp dword [ebp - 0x29c], 2
push esi
jle 0x402aaf
mov dword [esp], 0x40e060
call fcn.004080f8
push edx
xor edx, edx
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 edi
mov edx, eax
push edi
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.0040a30c
mov dword [ebp - 0x29c], 0
push esi
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.00409ea8
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.0040aaa4
mov eax, dword [ebp - 0x29c]
cmp dword [ebp - 0x29c], 2
sete cl
movzx edi, cl
push ebx
push ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40e060
mov dword [esp], str.File:_skipped:___s___overwriteflag_d_
call fcn.00409918
jmp 0x404dce
mov dword [esp + 4], 0x40e060
mov dword [esp], str.File:_error_creating___s_
call fcn.00409918
mov eax, dword [0x40da14]
mov dword [esp], 0x412060
mov dword [esp + 4], eax
call fcn.0040a178
push eax
push eax
mov eax, dword [0x40da14]
mov dword [esp + 4], 0x40e060
mov dword [esp], eax
call fcn.0040a178
push eax
push eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], 0x410060
mov dword [esp + 4], eax
call fcn.00404ea8
push eax
push eax
mov eax, dword [0x40da14]
mov dword [esp + 4], 0x412060
mov dword [esp], eax
call fcn.0040a178
mov eax, dword [ebp - 0x280]
sar eax, 3
push edx
push edx
mov dword [esp + 4], eax
mov dword [esp], 0x410060
call fcn.0040a0fc
push ecx
cmp eax, 4
push ecx
je 0x402c0c
cmp eax, 5
jne 0x402c1d
mov dword [esp], str.File:_error__user_cancel
call fcn.00409918
inc dword [0x44ea28]
jmp 0x404dde
mov dword [esp], str.File:_error__user_retry
call fcn.00409918
jmp 0x402ab8
mov dword [esp], str.File:_error__user_abort
call fcn.00409918
mov dword [esp + 4], 0x40e060
mov dword [esp], 0xfffffffa
call fcn.0040aaa4
jmp 0x403e14
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffea
call fcn.0040aaa4
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.00407d10
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.00409918
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.67
cmp edi, 0xfffffffe
jne 0x402d0f
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x40e060
call fcn.00404ea8
push edi
push edi
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.00404ea8
push esi
push esi
mov dword [esp + 4], 0x40e060
mov dword [esp], 0x40c5cc
call fcn.00409918
mov dword [esp + 4], 0x200010
mov dword [esp], 0x40e060
jmp 0x403e0f
mov dword [esp], 0
call fcn.00405240
push ebx
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Delete:___s_
jmp 0x402dee
mov dword [esp], 0x31
call fcn.00405240
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.00409918
mov eax, dword [ebp - 0x280]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040a0fc
push ecx
test eax, eax
push ecx
je 0x40289b
cmp dword [ebp - 0x278], eax
je 0x402f9c
cmp dword [ebp - 0x270], eax
jne case.0x4023b7.67
mov eax, dword [ebp - 0x26c]
jmp 0x40246a
mov dword [esp], 0xfffffff0
call fcn.00405240
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.RMDir:___s_
call fcn.00409918
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409b70
jmp 0x4035b7
mov dword [esp], 1
call fcn.00405240
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x40355c
mov eax, 2
call fcn.00404e70
mov dword [ebp - 0x2a0], edx
mov esi, eax
mov eax, 3
call fcn.00404e70
mov dword [esp], 1
mov edi, eax
call fcn.00405240
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.67
test edi, edi
mov edx, dword [ebp - 0x29c]
jns 0x402e88
add edi, eax
js case.0x4023b7.67
mov dword [esp], ebx
cmp eax, edi
cmovg eax, edi
add eax, eax
add eax, edx
mov dword [esp + 4], eax
call fcn.0040a178
test esi, esi
push eax
push eax
jns 0x402eb0
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenW
push edi
add esi, eax
js 0x402ebe
cmp esi, 0xfff
jg case.0x4023b7.67
jmp 0x402ec0
xor esi, esi
mov word [ebx + esi*2], 0
jmp case.0x4023b7.67
mov dword [esp], 0x20
call fcn.00405240
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00405240
cmp dword [ebp - 0x270], 0
push ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x402eff
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x402f05
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
test eax, eax
push edi
jne 0x402f9c
jmp 0x40331e
mov dword [esp], 1
call fcn.00405240
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 0x402f4b
mov word [ebx], 0
mov edi, 1
jmp 0x402f6d
cmp dword [ebp - 0x278], 0
jne 0x402f58
xor edi, edi
jmp 0x402f6d
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push ecx
test eax, eax
push ecx
je 0x402f3f
jmp 0x402f54
mov word [ebx + 0x1ffe], 0
jmp 0x404dce
xor eax, eax
mov esi, dword [ebp - 0x26c]
call fcn.00404e70
mov ebx, eax
mov eax, 1
call fcn.00404e70
test esi, esi
jne 0x402fb8
cmp ebx, eax
jge 0x402fa7
mov eax, dword [ebp - 0x274]
jmp 0x40246a
jle 0x40331e
mov eax, dword [ebp - 0x270]
jmp 0x40246a
cmp ebx, eax
jb 0x402f9c
jbe 0x40331e
jmp 0x402fad
mov eax, 1
call fcn.00404e70
mov esi, eax
mov eax, 2
call fcn.00404e70
mov edi, dword [ebp - 0x274]
cmp edi, 0xd
mov ecx, eax
mov edx, eax
ja case.default.0x402fed
jmp dword [edi*4 + 0x40cdb4]
mov ecx, eax
add ecx, esi
jmp 0x403074
mov ecx, esi
sub ecx, eax
jmp 0x403072
mov ecx, eax
imul ecx, esi
jmp 0x403072
test eax, eax
mov edi, 1
je 0x403074
mov eax, esi
mov ecx, edx
cdq
idiv ecx
mov ecx, eax
jmp 0x403072
mov ecx, eax
or ecx, esi
jmp 0x403072
mov ecx, eax
and ecx, esi
jmp 0x403072
mov ecx, eax
xor ecx, esi
jmp 0x403072
test esi, esi
sete al
jmp 0x403047
or esi, eax
setne al
jmp 0x403047
test esi, esi
setne al
test edx, edx
setne dl
and al, dl
movzx ecx, al
jmp 0x403072
test eax, eax
mov edi, 1
je 0x403074
mov eax, esi
mov ecx, edx
cdq
idiv ecx
mov ecx, edx
jmp 0x403072
mov cl, al
shl esi, cl
jmp case.default.0x402fed
mov cl, al
sar esi, cl
jmp case.default.0x402fed
mov cl, al
shr esi, cl
mov ecx, esi
xor edi, edi
mov dword [esp + 4], ecx
jmp 0x4032f6
mov dword [esp], 1
call fcn.00405240
push edx
mov esi, eax
mov eax, 2
call fcn.00404e70
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp case.0x4023b7.67
mov edi, dword [ebp - 0x278]
mov esi, dword [0x418060]
test edi, edi
je 0x403125
mov eax, edi
dec eax
test esi, esi
je 0x4030cd
test eax, eax
mov esi, dword [esi]
jne 0x4030be
test esi, esi
jne 0x4030e2
mov dword [esp + 4], edi
mov dword [esp], str.Exch:_stack____d_elements
call fcn.00409918
jmp 0x403dee
mov dword [esp], 0x40e060
add esi, 4
mov dword [esp + 4], esi
call fcn.0040a178
push eax
push eax
mov eax, dword [0x418060]
mov dword [esp], esi
add eax, 4
mov dword [esp + 4], eax
call fcn.0040a178
push eax
push eax
mov eax, dword [0x418060]
mov dword [esp + 4], 0x40e060
add eax, 4
mov dword [esp], eax
jmp 0x404906
test eax, eax
je 0x40315b
test esi, esi
jne 0x40313e
mov dword [esp], str.Pop:_stack_empty
call fcn.00409918
jmp 0x40289b
mov dword [esp], ebx
lea eax, [esi + 4]
mov dword [esp + 4], eax
call fcn.0040a178
push eax
push eax
mov eax, dword [esi]
mov dword [0x418060], eax
jmp 0x4038ef
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.00404ea8
mov eax, dword [0x418060]
push esi
push esi
mov dword [ebx], eax
mov dword [0x418060], ebx
jmp 0x404dce
mov eax, 3
call fcn.00404e70
mov esi, eax
mov eax, 4
call fcn.00404e70
test byte [ebp - 0x26c], 1
mov edi, eax
je 0x4031cd
mov dword [esp], 0x33
call fcn.00405240
push edx
mov esi, eax
test byte [ebp - 0x26c], 2
jne 0x4031de
mov dword [ebp - 0x29c], edi
jmp 0x4031f1
mov dword [esp], 0x44
call fcn.00405240
mov dword [ebp - 0x29c], eax
push edi
cmp dword [ebp - 0x284], 0x21
jne 0x40328d
mov eax, 1
call fcn.00404e70
mov dword [ebp - 0x2a0], eax
mov eax, 2
call fcn.00404e70
mov edi, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2a0]
sar edi, 2
je 0x403267
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 0x4032df
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 0x4032df
mov dword [esp], 1
call fcn.00405240
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.00405240
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 0x404dce
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], ebx
jmp 0x404c94
xor eax, eax
call fcn.00404e70
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push edi
test eax, eax
je 0x40331e
mov eax, dword [ebp - 0x27c]
jmp 0x40246a
mov eax, dword [ebp - 0x278]
jmp 0x40246a
mov eax, 2
call fcn.00404e70
mov esi, eax
mov eax, 1
call fcn.00404e70
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
jmp 0x40355d
add eax, dword [0x44eaa8]
mov ebx, eax
xor eax, eax
call fcn.00404e70
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x404dc9
test byte [ebp - 0x277], 1
je 0x403391
mov eax, 1
call fcn.00404e70
jmp 0x4033a6
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 0x4033e6
mov dword [esp], 0
call fcn.00405240
push edx
jmp 0x4033ed
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 0x403439
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.67
test edi, edi
jne case.0x4023b7.67
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x404c2f
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
push edi
mov esi, eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edx
mov edi, eax
push edx
mov eax, 2
call fcn.00404e70
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]
mov eax, 3
push ecx
push ecx
call fcn.00404e70
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.00404ea8
push esi
push esi
mov dword [esp], section..bss
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00409518
jmp 0x4035b7
xor eax, eax
call fcn.00404e70
mov ebx, eax
mov eax, 1
call fcn.00404e70
cmp dword [ebp - 0x278], 0
mov esi, eax
je 0x403595
mov dword [esp], str.HideWindow
call fcn.00409918
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x274]
mov dword [esp], ebx
test edi, edi
jne 0x4035b1
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x404ccd
call dword [sym.imp.USER32.dll_EnableWindow]
push ecx
push ecx
jmp case.0x4023b7.67
mov dword [esp], 0
call fcn.00405240
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00405240
push ecx
mov edi, eax
mov dword [esp], 0x22
call fcn.00405240
push esi
mov esi, eax
mov dword [esp], 0x15
call fcn.00405240
push eax
mov dword [esp], 0xffffffec
call fcn.0040abe8
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.00409ff4
push edx
test eax, eax
jne 0x403697
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.00409918
jmp 0x40289b
test byte [ebp - 0x264], 0x40
je 0x4036bf
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call fcn.00407954
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.00409918
jmp case.0x4023b7.67
mov dword [esp], 0
call fcn.00405240
push edx
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp], str.Exec:_command__s_
call fcn.00409918
mov dword [esp + 4], esi
mov dword [esp], 0xffffffeb
call fcn.0040aaa4
push ecx
push ecx
mov dword [esp], esi
call fcn.00409aec
push ebx
test eax, eax
mov ebx, eax
mov dword [esp + 4], esi
je 0x403777
mov dword [esp], str.Exec:_success____s__
call fcn.00409918
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x403768
mov dword [esp], ebx
call fcn.00407954
cmp dword [ebp - 0x27c], 0
push edi
js 0x403760
xor edi, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00409518
push esi
push esi
jmp 0x403768
test eax, eax
setne cl
movzx edi, cl
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
jmp 0x404dce
mov dword [esp], str.Exec:_failed_createprocess____s__
jmp 0x402896
mov dword [esp], 2
call fcn.00405240
push edx
mov dword [esp], eax
call fcn.004080f8
test eax, eax
mov esi, eax
push ecx
je 0x4037be
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00409518
push edi
push edi
mov eax, dword [esi + 0x18]
jmp 0x40355d
mov word [ebx], 0
jmp 0x404d63
mov dword [esp], 0xffffffee
call fcn.00405240
push edi
mov dword [esp], 0xa
mov dword [ebp - 0x2a0], eax
call fcn.00409e5c
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], 0xb
call fcn.00409e5c
push edx
mov dword [esp], 0xc
mov dword [ebp - 0x2a4], eax
call fcn.00409e5c
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 0x403891
mov edi, 1
jmp 0x4038ef
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 0x40388a
mov eax, dword [ebp - 0x288]
xor edi, edi
mov eax, dword [eax + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409518
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.00409518
push eax
push eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403771
cmp dword [0x44ea58], 0
js 0x403a48
mov dword [esp], 0xfffffff0
call fcn.00405240
push ebx
mov esi, eax
mov dword [esp], 1
call fcn.00405240
cmp dword [ebp - 0x270], 0
push edi
mov edi, eax
jne 0x403958
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 0x403968
jmp 0x403a2b
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov ebx, eax
push ecx
je 0x403931
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00405d98
push edx
test eax, eax
push edx
je 0x4039d4
mov edi, dword [ebp - 0x278]
test edi, edi
je 0x4039a5
mov dword [esp], edi
mov dword [ebp - 0x29c], eax
call fcn.0040abe8
push eax
mov eax, dword [ebp - 0x29c]
call eax
test eax, eax
setne cl
movzx edi, cl
jmp 0x4039ff
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 0x4039ff
mov dword [esp + 4], edi
mov dword [esp], 0xfffffff7
call fcn.0040aaa4
push eax
push eax
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp + 8], esi
mov dword [esp], 0x40c808
call fcn.00409918
cmp dword [ebp - 0x274], 0
jne 0x404dce
mov dword [esp], ebx
call fcn.00406510
push esi
test eax, eax
je 0x404dce
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403771
mov dword [esp], 0xfffffff6
call fcn.0040abe8
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.0040abe8
push ecx
mov dword [esp], str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x403134
mov dword [esp], 0xfffffff0
call fcn.00405240
push esi
mov dword [esp], 0xffffffdf
mov dword [ebp - 0x2a4], eax
call fcn.00405240
push edi
mov esi, eax
mov dword [esp], 2
call fcn.00405240
push edx
mov dword [esp], 0xffffffcd
mov dword [ebp - 0x2a8], eax
call fcn.00405240
push ecx
mov edi, eax
mov dword [esp], 0x45
call fcn.00405240
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.0040ace4
push edx
test eax, eax
jne 0x403b0a
mov dword [esp], 0x21
call fcn.00405240
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.00409918
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 0x403b98
mov dword [esp], 0xfffffff0
call fcn.0040abe8
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 0x403cd0
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 0x403c02
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 0x403c25
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 0x403c64
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 0x403cc1
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 0x403b86
mov dword [esp], 0xfffffff4
call fcn.0040abe8
jmp 0x404c2f
mov dword [esp], 0
call fcn.00405240
push edi
mov ebx, eax
mov dword [esp], 0x11
call fcn.00405240
push edx
mov esi, eax
mov dword [esp], 0x23
call fcn.00405240
push ecx
mov edi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.CopyFiles___s_____s_
call fcn.00409918
mov dword [esp], ebx
call fcn.004080f8
push edx
test eax, eax
je 0x403dcb
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.0040aaa4
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 0x404dce
mov dword [esp + 4], 0
mov dword [esp], 0xfffffff9
call fcn.0040aaa4
push ecx
push ecx
jmp 0x40289b
cmp edi, 0xbadf00d
je 0x403e25
mov dword [esp + 4], 0xffffffe8
mov dword [esp], 0
call fcn.00404ea8
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
call fcn.0040a0fc
push edi
push edi
mov dword [ebp - 0x29c], 0x7fffffff
jmp 0x404dde
inc dword [0x44ea34]
jmp case.0x4023b7.67
mov dword [esp + 4], str._RM_
mov dword [esp], 0x410060
call fcn.0040a178
push ebx
push ebx
xor ebx, ebx
mov dword [esp + 4], 0x410060
mov dword [esp], 0x412060
call fcn.0040a178
cmp dword [ebp - 0x280], 0
push esi
push esi
je 0x403e76
mov dword [esp], 0
call fcn.00405240
push ecx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x27c], 0
je 0x403e90
mov dword [esp], 0x11
call fcn.00405240
push edx
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x270], 0
je 0x403eaa
mov dword [esp], 0x22
call fcn.00405240
push edi
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.00405240
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.00409918
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 0x40459e
mov dword [esp], 1
mov dword [ebp - 0x268], 0xa
call fcn.00405240
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.00405240
push ecx
mov esi, eax
mov dword [esp], 0xffffffdd
call fcn.00405240
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 0x404dce
jmp 0x4048db
mov dword [esp], eax
mov edi, eax
call fcn.00407bd8
cmp dword [ebp - 0x270], 0
mov esi, eax
jne 0x403ff9
mov dword [esp], 2
call fcn.004066a0
push edi
test eax, eax
mov edi, eax
je 0x40289b
mov dword [esp], 0x33
call fcn.00405240
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.00409918
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
jmp 0x404088
mov dword [esp], 0x22
call fcn.00405240
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegKey:___s_s_
call fcn.00409918
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 0x404051
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.004051bc
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 0x4045a3
mov dword [esp], 2
mov eax, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00405240
push edx
mov dword [esp], 0x11
mov dword [ebp - 0x29c], eax
call fcn.00405240
push ecx
mov ebx, eax
mov dword [esp], edi
call fcn.00407bd8
test edi, edi
mov dword [ebp - 0x2a0], eax
js 0x4040e6
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.004065d8
sub esp, 0x10
test eax, eax
jne 0x4042fc
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x4042fc
cmp esi, 1
jne 0x40418a
mov dword [esp], 0x23
call fcn.00405240
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 0x404179
mov dword [esp], str.WriteRegStr:___s_s____s___s_
jmp 0x404180
mov dword [esp], str.WriteRegExpandStr:___s_s____s___s_
call fcn.00409918
jmp 0x40427f
cmp esi, 4
je 0x40419b
cmp esi, 3
je 0x4041dc
xor esi, esi
jmp 0x40427f
mov eax, 3
mov esi, 4
call fcn.00404e70
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.00409918
jmp 0x40427f
cmp dword [ebp - 0x2a4], 0
mov edi, str.WriteRegNone
je 0x404200
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.00407d10
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.00407a98
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.00409918
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 0x4042e8
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.00409918
mov eax, dword [ebp - 0x2a8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403771
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.00409918
jmp 0x40289b
mov dword [esp], 0x20019
call fcn.004066a0
push edx
mov esi, eax
mov dword [esp], 0x33
call fcn.00405240
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 0x404397
mov eax, dword [ebp - 0x268]
cmp eax, 4
je 0x4043a8
cmp eax, 1
je 0x4043a3
cmp eax, 2
je 0x4043c7
mov word [ebx], 0
mov edi, 1
jmp 0x4043d6
cmp eax, 4
jne 0x4043c7
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.00409518
push eax
push eax
jmp 0x4043d6
mov edi, dword [ebp - 0x270]
mov word [ebx + 0x1ffe], 0
mov dword [esp], esi
jmp 0x4042f1
mov dword [esp], 0x20019
call fcn.004066a0
push esi
mov esi, eax
mov eax, 3
call fcn.00404e70
test esi, esi
mov word [ebx], 0
je 0x40289b
cmp dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0xfff
je 0x404437
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 0x4043cd
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 0x4043cd
mov dword [esp], ebx
call fcn.0040a4ec
push ebx
test eax, eax
je case.0x4023b7.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404c2f
mov dword [esp], 0xffffffed
call fcn.00405240
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.00409ea8
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x40355d
jmp 0x4048db
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x404505
mov eax, 1
call fcn.00404e70
cmp dword [ebp - 0x2a4], 0x38
setne dl
movzx edi, dl
mov word [0x410060], ax
inc edi
jmp 0x404562
cmp dword [ebp - 0x2a4], 0x38
jne 0x404549
mov dword [esp], 0x21
call fcn.00405240
push eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x410060
mov dword [esp], 0x412060
call fcn.00407598
mov dword [esp], 0x410060
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
mov edi, eax
jmp 0x404562
mov dword [esp], 0x11
call fcn.00405240
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.0040a4ec
push edx
mov ebx, eax
xor eax, eax
cmp dword [ebp - 0x2a4], 0x38
sete al
or eax, esi
je 0x4045ab
mov dword [esp + 8], edi
mov dword [esp + 4], 0x410060
mov dword [esp], ebx
call fcn.0040a010
sub esp, 0xc
test eax, eax
sete cl
movzx edi, cl
jmp 0x404dce
cmp dword [ebp - 0x274], 0
je 0x404587
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.00407770
push esi
test eax, eax
push esi
jns 0x404587
jmp 0x40289b
mov eax, 2
call fcn.00404e70
mov dword [ebp - 0x2a4], eax
test eax, eax
jle case.0x4023b7.67
xor esi, esi
cmp word [ebx], 0
je 0x4047f6
mov dword [esp], ebx
mov edi, 2
call fcn.0040a4ec
mov dword [ebp - 0x2a0], 0
push ecx
mov ebx, eax
cmp dword [ebp - 0x284], 0x39
mov edx, dword [ebp - 0x274]
jne 0x4046fa
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 0x4047f6
mov edi, dword [ebp - 0x268]
test edi, edi
je 0x4047f6
movzx eax, byte [ebp - 0x288]
cmp dword [ebp - 0x274], 0
mov word [ebp - 0x28c], ax
jne 0x404741
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 0x404741
dec dword [ebp - 0x268]
mov word [ebp - 0x28c], 0xfffd
je 0x404741
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 0x404680
or edx, esi
je 0x404724
mov dword [esp + 8], 2
lea eax, [ebp - 0x28c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00409f00
sub esp, 0xc
test eax, eax
jne 0x404741
jmp 0x4047f6
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00407770
push edx
test eax, eax
push edx
jns 0x4046fe
xor esi, esi
jmp 0x4047f6
cmp dword [ebp - 0x274], 0
movzx eax, word [ebp - 0x28c]
je 0x40476a
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00409518
push ecx
push ecx
jmp 0x404dd4
lea edx, [esi + esi]
add edx, dword [ebp - 0x29c]
cmp dword [ebp - 0x2a0], 0xd
je 0x404785
cmp dword [ebp - 0x2a0], 0xa
jne 0x4047c1
cmp dword [ebp - 0x2a0], eax
je 0x404797
cmp eax, 0xd
je 0x4047bb
cmp eax, 0xa
je 0x4047bb
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 0x4047f6
mov word [edx], ax
inc esi
jmp 0x4047f6
mov edx, dword [ebp - 0x29c]
inc esi
test eax, eax
mov word [edx + esi*2 - 2], ax
je 0x4047f6
cmp dword [ebp - 0x2a4], 0xfff
mov edx, 0xfff
cmovle edx, dword [ebp - 0x2a4]
cmp edx, esi
jle 0x4047f6
mov dword [ebp - 0x2a0], eax
jmp 0x404609
mov eax, dword [ebp - 0x29c]
test esi, esi
mov word [eax + esi*2], 0
jmp 0x4045a0
cmp word [ebx], 0
je case.0x4023b7.67
mov eax, 2
mov edi, dword [ebp - 0x274]
call fcn.00404e70
mov dword [esp], ebx
mov esi, eax
call fcn.0040a4ec
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.67
jmp 0x404bbb
mov dword [esp], ebx
call fcn.0040a4ec
push edi
test eax, eax
je case.0x4023b7.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x404c2f
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040a4ec
push esi
test eax, eax
je 0x4048db
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 0x4048db
jmp 0x4048f9
mov dword [esp], 2
call fcn.00405240
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 0x4048e5
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.00409518
push esi
push esi
lea eax, [ebp - 0x23c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040a178
jmp 0x4035b7
mov dword [esp], 0xfffffff0
call fcn.00405240
push edx
mov ebx, eax
mov dword [esp], eax
call fcn.0040ace4
push ecx
test eax, eax
jne 0x404939
mov dword [esp], 0xffffffed
call fcn.00405240
push edi
mov dword [esp], ebx
call fcn.0040a30c
push esi
mov esi, 0xfffffd66
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call fcn.00409ea8
mov dword [ebp - 0x2a0], eax
sub esp, 0xc
inc eax
je 0x404ab9
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 0x404aa9
mov dword [esp], 0
call fcn.00407430
push eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.004065b0
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 0x404a49
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.00407d10
mov eax, esi
sub esp, 0x10
cmp byte [eax], 0
je 0x404a3f
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.00409acc
mov edx, dword [ebp - 0x2a8]
lea eax, [edi + edx]
sub esp, 0xc
jmp 0x404a08
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.0040a010
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.00407d10
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.00409918
test esi, esi
jns 0x404ae7
mov dword [esp], ebx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0xffffffef
push ecx
jmp 0x404aee
mov eax, 0xfffffff3
xor edi, edi
mov dword [esp], eax
call fcn.0040abe8
jmp 0x403771
test edi, edi
je 0x404b4f
mov dword [esp + 4], eax
mov dword [esp], str.settings_logging_to__d
call fcn.00409918
mov eax, dword [ebp - 0x27c]
mov dword [esp], str.logging_set_to__d
mov dword [esp + 4], eax
mov dword [0x458340], eax
call fcn.00409918
mov edi, dword [ebp - 0x27c]
test edi, edi
je 0x404b3e
call fcn.0040804c
jmp case.0x4023b7.67
mov dword [esp], 1
call fcn.004099d4
jmp 0x403771
mov dword [esp], 1
call fcn.00405240
push edx
mov dword [esp + 4], eax
mov dword [esp], 0x40c5cc
call fcn.00409918
jmp 0x404dce
xor eax, eax
call fcn.00404e70
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 0x404bcd
jne 0x404bb8
mov eax, dword [ebp - 0x29c]
add esi, 0x18
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040a178
jmp 0x404ccd
mov eax, dword [esi + edi*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
jmp 0x403564
mov ecx, edi
not ecx
mov dword [ebp - 0x278], ecx
test ecx, ecx
je 0x404bed
mov eax, 1
call fcn.00404e70
mov dword [ebp - 0x27c], eax
jmp 0x404c0b
mov eax, dword [ebp - 0x270]
mov dword [esp + 4], eax
lea eax, [esi + 0x18]
mov dword [esp], eax
call fcn.00404ea8
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.67
mov dword [esp], ebx
call fcn.004069b8
push ebx
jmp case.0x4023b7.67
xor eax, eax
call fcn.00404e70
cmp eax, 0x1f
ja 0x40289b
cmp dword [ebp - 0x274], 0
mov edi, dword [ebp - 0x278]
je 0x404c9b
test edi, edi
je 0x404c7a
mov dword [esp], eax
call fcn.004073a0
push ecx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00407b24
jmp 0x4035b7
mov dword [esp], 0
call fcn.00404df0
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00409518
jmp 0x404ccd
mov edx, dword [0x44ea60]
lea eax, [eax + 0x24]
test edi, edi
je 0x404cb7
mov ecx, dword [ebp - 0x27c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x4023b7.67
mov eax, dword [edx + eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00404ea8
push eax
push eax
jmp 0x404dce
mov dword [esp], 5
call fcn.00409e5c
push ecx
mov ebx, eax
mov dword [esp], 0x22
call fcn.00405240
test ebx, ebx
push esi
je 0x404d63
lea esi, [ebp - 0x268]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_IIDFromString]
push edx
test eax, eax
push edx
js 0x404d63
lea eax, [ebp - 0x288]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x274]
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
sub esp, 0x10
test eax, eax
js 0x404d63
mov eax, dword [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040a178
push eax
push eax
mov eax, dword [ebp - 0x288]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x404c2f
mov eax, dword [ebp - 0x29c]
mov word [eax], 0
jmp 0x40289b
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.67
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