Function at 0x4016ee
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
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ecx, 7
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x174]
push ebx
sub esp, 0x1bc
mov eax, dword [0x43722c]
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x18c], eax
mov dword [0x4190dc], ecx
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x174]
mov ebx, edx
mov esi, eax
sub ecx, 2
shl ebx, 0xd
add ebx, dword [0x40cf34]
shl esi, 0xd
add esi, dword [0x40cf34]
cmp ecx, 0x42
ja case.0x401755.67
jmp dword [ecx*4 + 0x40c650]
mov dword [esp + 4], edx
mov dword [esp], str.Jump:__d
call fcn.00408cbc
mov eax, dword [ebp - 0x170]
jmp 0x403f71
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], str.Aborting:___s_
call fcn.00408cbc
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
jmp 0x401f3f
inc dword [0x43b27c]
cmp dword [ebp - 0x18c], 0
je 0x4017c1
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push edi
mov eax, 0x7fffffff
jmp 0x403f71
mov dword [esp], edx
call fcn.004016ab
push edx
lea ebx, [eax - 1]
mov dword [esp + 4], ebx
mov dword [esp], str.Call:__d
call fcn.00408cbc
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00403f7b
push ebx
push ebx
jmp 0x403f71
xor ebx, ebx
xor edi, edi
mov dword [esp], ebx
call fcn.00401458
push esi
mov dword [esp + 4], eax
mov dword [esp], str.DetailPrint:__s
call fcn.00408cbc
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call fcn.004078a1
jmp 0x403a31
xor eax, eax
call fcn.004014aa
mov dword [esp], str.Sleep__d_
mov dword [esp + 4], eax
mov ebx, eax
call fcn.00408cbc
test ebx, ebx
mov eax, 1
cmovle ebx, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403d85
mov dword [esp], str.BringToFront
call fcn.00408cbc
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x403d85
cmp dword [ebp - 0x168], 0
jg 0x4018ca
jne 0x40189a
mov eax, dword [edx*4 + 0x419020]
mov dword [edx*4 + 0x419060], eax
mov eax, 1
call fcn.004014aa
mov edx, dword [ebp - 0x170]
mov dword [edx*4 + 0x419020], eax
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str.SetFlag:__d_d
call fcn.00408cbc
jmp case.0x401755.67
mov eax, dword [edx*4 + 0x419060]
mov dword [edx*4 + 0x419020], eax
jmp case.0x401755.67
mov ecx, dword [ebp - 0x168]
xor eax, eax
mov edx, dword [ecx*4 + 0x419020]
test edx, edx
sete al
and edx, dword [ebp - 0x164]
mov dword [ecx*4 + 0x419020], edx
mov eax, dword [ebp + eax*4 - 0x170]
jmp 0x403f71
mov eax, dword [eax*4 + 0x419020]
jmp 0x402891
mov edx, dword [0x43b268]
test edx, edx
je 0x40192f
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
mov eax, dword [0x43b270]
test eax, eax
je case.0x401755.67
mov edx, dword [ebp - 0x170]
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x4028d4
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.SetFileAttributes:___s_:_08X
call fcn.00408cbc
mov eax, dword [ebp - 0x16c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edx
push edx
test eax, eax
jne case.0x401755.67
mov dword [esp], str.SetFileAttributes_failed.
jmp 0x402d8b
mov dword [esp], 0xfffffff0
xor edi, edi
call fcn.00401458
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.CreateDirectory:___s____d_
call fcn.00408cbc
mov dword [esp], ebx
call fcn.004081b7
push esi
test eax, eax
je 0x401a88
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.00408127
mov esi, eax
push ecx
push ecx
mov al, byte [eax]
mov byte [esi], 0
mov byte [ebp - 0x18c], al
test al, al
jne 0x401a1b
cmp dword [ebp - 0x168], 0
je 0x401a1b
call fcn.00408ec8
test eax, eax
je 0x401a1b
mov dword [esp], ebx
call fcn.00407f70
jmp 0x401a23
mov dword [esp], ebx
call fcn.00407fd0
push edx
test eax, eax
je 0x401a66
cmp eax, 0xb7
je 0x401a45
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s___err_d_
call fcn.00408cbc
jmp 0x401a63
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ecx
test al, 0x10
jne 0x401a76
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00408cbc
inc edi
jmp 0x401a76
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s__created
call fcn.00408cbc
mov cl, byte [ebp - 0x18c]
lea eax, [esi + 1]
mov byte [esi], cl
test cl, cl
jmp 0x4019d6
cmp dword [ebp - 0x16c], 0
je 0x401ae8
mov dword [esp], 0xffffffe6
call fcn.004016cf
push eax
mov eax, dword [0x40cf34]
add eax, 0x2c000
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00408823
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edx
test eax, eax
jne 0x403f69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], ebx
inc edi
mov dword [esp + 8], eax
mov dword [esp], str.SetCurrentDirectory__s__failed___d_
call fcn.00408cbc
jmp 0x403f69
mov dword [esp], 0xfffffff5
jmp 0x403c63
xor ebx, ebx
mov dword [esp], ebx
call fcn.00401458
push esi
mov ebx, eax
mov dword [esp], eax
call fcn.00408d07
push edi
test eax, eax
je 0x401b2d
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__exists__jumping__d
mov dword [esp + 8], eax
call fcn.00408cbc
jmp 0x4025f7
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__does_not_exist__jumping__d
mov dword [esp + 8], eax
call fcn.00408cbc
jmp 0x402602
mov dword [esp], 0xffffffd0
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 0xffffffdf
call fcn.00401458
push ebx
mov edi, eax
mov dword [esp], 0x13
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Rename:__s
call fcn.00408cbc
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push ecx
push ecx
test eax, eax
je 0x401ba8
mov dword [esp], 0xffffffe3
jmp 0x403052
cmp dword [ebp - 0x168], 0
je 0x401be9
mov dword [esp], esi
call fcn.00408d07
push edx
test eax, eax
je 0x401be9
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040942f
push esi
push esi
mov dword [esp], 0xffffffe4
call fcn.004016cf
push edi
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_on_reboot:__s
jmp 0x403cd8
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_failed:__s
jmp 0x402d6d
xor ecx, ecx
mov dword [esp], ecx
call fcn.00401458
push ebx
mov ebx, eax
lea eax, [ebp - 0x158]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0x2000
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
sub esp, 0x10
test eax, eax
je 0x401c65
mov eax, dword [ebp - 0x158]
cmp ebx, eax
jae 0x401c3b
cmp byte [eax], 0
jne 0x401c3f
xor edi, edi
jmp 0x401c6d
mov dword [esp], ebx
call fcn.00408d07
push edx
test eax, eax
je 0x401c65
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x158]
mov dword [esp], eax
call fcn.00408823
push eax
push eax
jmp 0x401c3b
mov byte [esi], 0
mov edi, 1
cmp dword [ebp - 0x168], 0
jne 0x403f69
mov dword [esp + 8], 0x2000
mov dword [esp + 4], esi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
sub esp, 0xc
jmp 0x403f69
mov dword [esp], 0xffffffff
xor edi, edi
call fcn.00401458
lea edx, [ebp - 0x158]
push esi
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x2000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
sub esp, 0x18
test eax, eax
jmp 0x4032ac
mov dword [esp], 0xffffffef
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004083b4
push ecx
push ecx
jmp 0x403877
mov dword [esp], 0x31
call fcn.00401458
mov esi, eax
push ebx
mov eax, dword [ebp - 0x170]
mov ebx, eax
sar eax, 3
and eax, 2
and ebx, 7
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00408cbc
mov dword [esp], esi
call fcn.0040818a
push edi
test eax, eax
je 0x401d52
mov dword [esp + 4], esi
mov dword [esp], 0x4190e0
call fcn.00408823
jmp 0x401d83
mov eax, dword [0x40cf34]
mov dword [esp], 0x4190e0
add eax, 0x2c000
mov dword [esp + 4], eax
call fcn.00408823
push edx
push edx
mov dword [esp], eax
call fcn.00408857
push ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatA
push ecx
push ecx
mov dword [esp], 0x4190e0
call fcn.00408948
push edi
cmp ebx, 2
jle 0x401dd8
mov dword [esp], 0x4190e0
call fcn.00408d07
push edx
xor edx, edx
test eax, eax
je 0x401dc4
lea edx, [ebp - 0x164]
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
sub ebx, 3
or ebx, 0x80000000
test ebx, edx
jne 0x401ddc
mov ebx, 1
jmp 0x401df2
test ebx, ebx
jne 0x401ded
mov dword [esp], 0x4190e0
call fcn.004082c7
push ebx
xor ebx, ebx
jmp 0x401dfe
cmp ebx, 1
jne 0x401df9
mov eax, 1
jmp 0x401e03
mov ebx, 2
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x4190e0
call fcn.00408360
sub esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x401f49
test ebx, ebx
je 0x401e66
mov dword [esp + 4], esi
mov dword [esp], 0xffffffe2
call fcn.004078a1
xor eax, eax
cmp ebx, 2
push ecx
sete al
push ecx
mov edi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4190e0
mov dword [esp], str.File:_skipped:___s___overwriteflag_d_
call fcn.00408cbc
jmp 0x403f69
mov dword [esp + 4], 0x4190e0
mov dword [esp], str.File:_error_creating___s_
call fcn.00408cbc
mov eax, dword [0x40cf34]
mov dword [esp], 0x41d0e0
mov dword [esp + 4], eax
call fcn.00408823
mov eax, dword [0x40cf34]
push edi
push edi
mov dword [esp + 4], 0x4190e0
mov dword [esp], eax
call fcn.00408823
push eax
push eax
mov eax, dword [ebp - 0x15c]
mov dword [esp], 0x41b0e0
mov dword [esp + 4], eax
call fcn.00408eee
push eax
push eax
mov eax, dword [0x40cf34]
mov dword [esp + 4], 0x41d0e0
mov dword [esp], eax
call fcn.00408823
push eax
push eax
mov eax, dword [ebp - 0x170]
sar eax, 3
mov dword [esp + 4], eax
mov dword [esp], 0x41b0e0
call fcn.004080bb
push edx
push edx
cmp eax, 4
je 0x401f13
cmp eax, 5
jne 0x401f24
mov dword [esp], str.File:_error__user_cancel
call fcn.00408cbc
inc dword [0x419028]
jmp 0x403f6f
mov dword [esp], str.File:_error__user_retry
call fcn.00408cbc
jmp 0x401ddc
mov dword [esp], str.File:_error__user_abort
call fcn.00408cbc
mov dword [esp + 4], 0x4190e0
mov dword [esp], 0xfffffffa
call fcn.004078a1
jmp 0x40204c
mov dword [esp + 4], esi
xor ebx, ebx
mov dword [esp], 0xffffffea
call fcn.004078a1
push ecx
push ecx
inc dword [0x419054]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call fcn.00404429
dec dword [0x419054]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4190e0
mov dword [esp], str.File:_wrote__d_to___s_
call fcn.00408cbc
mov eax, dword [ebp - 0x164]
and eax, dword [ebp - 0x160]
inc eax
je 0x401fcf
lea eax, [ebp - 0x164]
xor edx, edx
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
test ebx, ebx
jns case.0x401755.67
cmp ebx, 0xfffffffe
jne 0x40200e
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x4190e0
call fcn.00408eee
push eax
push eax
mov dword [esp + 4], esi
mov dword [esp], 0x4190e0
call sub.KERNEL32.dll_lstrcatA
jmp 0x402022
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x4190e0
call fcn.00408eee
push eax
push eax
mov dword [esp + 4], 0x4190e0
mov dword [esp], 0x40c2e6
call fcn.00408cbc
mov dword [esp + 4], 0x200010
mov dword [esp], 0x4190e0
call fcn.004080bb
push edi
push edi
jmp 0x4017c1
xor ebx, ebx
mov dword [esp], ebx
call fcn.00401458
push esi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Delete:___s_
jmp 0x4020f2
mov dword [esp], 0x31
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x170]
mov dword [esp], str.MessageBox:__d___s_
mov dword [esp + 4], eax
call fcn.00408cbc
mov eax, dword [ebp - 0x170]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004080bb
push ecx
push ecx
test eax, eax
je 0x403f64
cmp dword [ebp - 0x168], eax
je 0x402296
cmp dword [ebp - 0x160], eax
jne case.0x401755.67
mov eax, dword [ebp - 0x15c]
jmp 0x403f71
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.RMDir:___s_
call fcn.00408cbc
mov eax, dword [ebp - 0x16c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409474
jmp 0x403a31
mov dword [esp], 1
call fcn.00401458
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x402890
mov eax, 2
call fcn.004014aa
mov esi, eax
mov eax, 3
mov dword [ebp - 0x190], edx
call fcn.004014aa
mov dword [esp], 1
mov edi, eax
call fcn.00401458
push edx
mov dword [esp], eax
mov dword [ebp - 0x18c], eax
call sub.KERNEL32.dll_lstrlenA
push ecx
mov ecx, dword [ebp - 0x190]
mov byte [ebx], 0
test ecx, ecx
cmove esi, eax
test esi, esi
je case.0x401755.67
test edi, edi
mov edx, dword [ebp - 0x18c]
jns 0x40218a
add edi, eax
js case.0x401755.67
cmp edi, eax
mov dword [esp], ebx
cmovg edi, eax
add edx, edi
mov dword [esp + 4], edx
call fcn.00408823
push eax
push eax
test esi, esi
jns 0x4021b0
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenA
push edi
add esi, eax
js 0x4021be
cmp esi, 0x1fff
jg case.0x401755.67
jmp 0x4021c0
xor esi, esi
mov byte [ebx + esi], 0
jmp case.0x401755.67
mov dword [esp], 0x20
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00401458
push ecx
cmp dword [ebp - 0x160], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x4021fd
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
jmp 0x402203
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push edi
push edi
test eax, eax
jne 0x402296
jmp 0x402602
mov dword [esp], 1
call fcn.00401458
push esi
mov esi, eax
mov dword [esp + 8], 0x2000
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
sub esp, 0xc
test eax, eax
jne 0x402247
mov byte [ebx], 0
mov edi, 1
jmp 0x402269
cmp dword [ebp - 0x168], 0
jne 0x402254
xor edi, edi
jmp 0x402269
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ecx
push ecx
test eax, eax
je 0x40223d
jmp 0x402250
mov byte [ebx + 0x1fff], 0
jmp 0x403f69
xor eax, eax
mov esi, dword [ebp - 0x15c]
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
test esi, esi
jne 0x4022b2
cmp ebx, eax
jge 0x4022a1
mov eax, dword [ebp - 0x164]
jmp 0x403f71
jle 0x402602
mov eax, dword [ebp - 0x160]
jmp 0x403f71
cmp ebx, eax
jb 0x402296
cmp eax, ebx
jae 0x402602
jmp 0x4022a7
mov eax, 1
call fcn.004014aa
mov esi, eax
mov eax, 2
call fcn.004014aa
mov edi, dword [ebp - 0x164]
mov ecx, eax
cmp edi, 0xd
ja case.default.0x4022e3
jmp dword [edi*4 + 0x40c75c]
lea eax, [eax + esi]
jmp 0x4025cf
sub esi, eax
jmp case.default.0x4022e3
imul ecx, esi
mov eax, ecx
jmp 0x402360
mov edi, 1
test eax, eax
je 0x4025cf
mov eax, esi
cdq
idiv ecx
jmp 0x402360
or esi, eax
jmp case.default.0x4022e3
and esi, eax
jmp case.default.0x4022e3
xor esi, eax
jmp case.default.0x4022e3
test esi, esi
sete al
jmp 0x402329
or ecx, esi
setne al
movzx eax, al
jmp 0x402360
test esi, esi
setne al
xor edx, edx
test ecx, ecx
setne dl
and edx, eax
jmp 0x402350
mov edi, 1
test eax, eax
je 0x4025cf
mov eax, esi
cdq
idiv ecx
mov eax, edx
jmp 0x402360
shl esi, cl
jmp case.default.0x4022e3
sar esi, cl
jmp case.default.0x4022e3
shr esi, cl
mov eax, esi
xor edi, edi
jmp 0x4025cf
mov dword [esp], 1
call fcn.00401458
push edx
mov esi, eax
mov eax, 2
call fcn.004014aa
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
jmp case.0x401755.67
mov edx, dword [ebp - 0x168]
mov esi, dword [0x4230e0]
test edx, edx
je 0x402417
test esi, esi
je 0x4023bf
lea eax, [edx - 2]
mov esi, dword [esi]
cmp eax, 0xffffffff
je 0x4023bb
dec eax
test esi, esi
jne 0x4023ad
jmp 0x4023bf
test esi, esi
jne 0x4023d4
mov dword [esp + 4], edx
mov dword [esp], str.Exch:_stack____d_elements
call fcn.00408cbc
jmp 0x403144
add esi, 4
mov dword [esp], 0x4190e0
mov dword [esp + 4], esi
call fcn.00408823
push eax
push eax
mov eax, dword [0x4230e0]
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00408823
push eax
push eax
mov dword [esp + 4], 0x4190e0
mov eax, dword [0x4230e0]
add eax, 4
mov dword [esp], eax
jmp 0x403a2c
test eax, eax
je 0x402451
test esi, esi
jne 0x40242b
mov dword [esp], str.Pop:_stack_empty
jmp 0x402d8b
lea eax, [esi + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408823
push eax
push eax
mov eax, dword [esi]
mov dword [0x4230e0], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403d85
mov dword [esp + 4], 0x2004
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
mov ebx, eax
push edi
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.00408eee
push eax
push eax
mov eax, dword [0x4230e0]
mov dword [ebx], eax
mov dword [0x4230e0], ebx
jmp case.0x401755.67
mov eax, 3
call fcn.004014aa
mov esi, eax
mov eax, 4
call fcn.004014aa
mov edi, eax
test byte [ebp - 0x15c], 1
je 0x4024c3
mov dword [esp], 0x33
call fcn.00401458
push esi
mov esi, eax
test byte [ebp - 0x15c], 2
je 0x4024db
mov dword [esp], 0x44
call fcn.00401458
push ecx
mov edi, eax
cmp dword [ebp - 0x174], 0x21
jne 0x402568
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x18c], eax
mov eax, 2
call fcn.004014aa
mov ecx, dword [ebp - 0x15c]
sar ecx, 2
je 0x40254b
lea edx, [ebp - 0x158]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
sub esp, 0x1c
test eax, eax
sete al
movzx eax, al
mov edi, eax
jmp 0x4025bc
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4025b1
mov dword [esp], 1
call fcn.00401458
push edx
mov dword [ebp - 0x18c], eax
mov dword [esp], 0x12
call fcn.00401458
push ecx
cmp byte [eax], 0
mov edx, dword [ebp - 0x18c]
jne 0x402595
xor eax, eax
cmp byte [edx], 0
jne 0x40259c
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x158], eax
sub esp, 0x10
xor edi, edi
cmp dword [ebp - 0x170], 0
js 0x403f69
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040873f
push eax
push eax
jmp 0x403f69
xor eax, eax
call fcn.004014aa
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push edi
test eax, eax
je 0x402602
mov eax, dword [ebp - 0x16c]
jmp 0x403f71
mov eax, dword [ebp - 0x168]
jmp 0x403f71
mov eax, 2
call fcn.004014aa
mov esi, eax
mov eax, 1
call fcn.004014aa
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
jmp 0x402891
add eax, dword [0x423148]
mov ebx, eax
xor eax, eax
call fcn.004014aa
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x403f5c
test byte [ebp - 0x163], 1
je 0x402675
mov eax, 2
call fcn.004014aa
jmp 0x402690
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push ecx
mov esi, eax
mov eax, dword [ebp - 0x164]
mov ecx, eax
mov edx, eax
and ecx, 3
shr edx, 0x1e
mov dword [ebp - 0x18c], ecx
mov ecx, eax
and ecx, 4
mov dword [ebp - 0x190], ecx
mov ecx, eax
shr ecx, 0x1f
mov dword [ebp - 0x19c], ecx
mov ecx, edx
and ecx, 1
bt eax, 0x10
mov byte [ebp - 0x194], cl
jae 0x4026e0
mov dword [esp], 0x11
call fcn.00401458
mov edi, eax
push edx
jmp 0x4026e7
movzx edi, word [ebp - 0x16c]
lea eax, [ebp - 0x158]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor edx, edx
push eax
push eax
mov eax, dword [ebp - 0x164]
and eax, 0xfef0
cmp byte [ebp - 0x194], 0
cmovne edx, dword [ebp - 0x14c]
xor ecx, ecx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x19c]
imul eax, dword [ebp - 0x150]
cmp dword [ebp - 0x190], 0
mov dword [ebp - 0x194], eax
je 0x402741
mov ecx, dword [0x437228]
mov eax, dword [ebp - 0x198]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_LoadImageA]
sub esp, 0x18
mov edi, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], 0x172
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
test eax, eax
je 0x4027ae
cmp dword [ebp - 0x18c], 0
jne 0x4027ae
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
cmp dword [ebp - 0x170], 0
js case.0x401755.67
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0040873f
jmp 0x403a31
mov eax, dword [ebp - 0x18c]
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.004014aa
mov dword [esp + 8], 0x48
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub esp, 0xc
neg eax
mov dword [0x4190a0], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push eax
push eax
mov eax, 3
call fcn.004014aa
mov byte [0x4190b7], 1
mov dword [0x4190b0], eax
mov eax, dword [ebp - 0x160]
mov edx, eax
and edx, 1
mov byte [0x4190b4], dl
mov edx, eax
and eax, 4
mov byte [0x4190b6], al
mov eax, dword [ebp - 0x16c]
and edx, 2
mov byte [0x4190b5], dl
mov dword [esp + 4], eax
mov dword [esp], 0x4190bc
call fcn.00408eee
push eax
push eax
mov dword [esp], 0x4190a0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push ecx
mov dword [esp + 4], eax
jmp 0x4027bf
xor eax, eax
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
cmp dword [ebp - 0x168], 0
mov esi, eax
je 0x4028c4
mov dword [esp], str.HideWindow
call fcn.00408cbc
cmp dword [ebp - 0x164], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
jne 0x4028df
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403a31
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x403a31
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00401458
push ecx
mov edi, eax
mov dword [esp], 0x22
call fcn.00401458
push esi
mov esi, eax
mov dword [esp], 0x15
call fcn.00401458
push eax
mov dword [esp], 0xffffffec
call fcn.004016cf
push eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x13c], eax
xor eax, eax
cmp byte [ebx], 0
mov edx, eax
mov dword [ebp - 0x148], edi
cmovne edx, ebx
mov dword [ebp - 0x14c], edx
cmp byte [esi], 0
cmovne eax, esi
mov dword [ebp - 0x144], eax
mov eax, dword [0x40cf34]
add eax, 0x2c000
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.0040806c
push edx
test eax, eax
jne 0x4029bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00408cbc
jmp 0x403f64
test byte [ebp - 0x154], 0x40
je 0x4029e7
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call fcn.004097c0
push eax
mov eax, dword [ebp - 0x120]
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.00408cbc
jmp case.0x401755.67
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp], str.Exec:_command__s_
call fcn.00408cbc
mov dword [esp + 4], edi
mov dword [esp], 0xffffffeb
call fcn.004078a1
push ecx
push ecx
mov dword [esp], edi
call fcn.00407ffc
push ebx
mov ebx, eax
mov dword [esp + 4], edi
test eax, eax
je 0x402a97
mov dword [esp], str.Exec:_success____s__
call fcn.00408cbc
cmp dword [ebp - 0x168], 0
je 0x402a7b
mov dword [esp], ebx
call fcn.004097c0
push edi
cmp dword [ebp - 0x16c], 0
js 0x402a7f
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0040873f
push ecx
push ecx
xor edi, edi
jmp 0x402a89
test eax, eax
setne al
movzx eax, al
mov edi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403eab
mov dword [esp], str.Exec:_failed_createprocess____s__
jmp 0x402d6d
mov dword [esp], 2
call fcn.00401458
push edi
mov dword [esp], eax
call fcn.00408d07
mov edi, eax
push edx
test eax, eax
je 0x402ad8
mov eax, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040873f
push ecx
push ecx
mov eax, dword [edi + 0x18]
jmp 0x402891
mov byte [ebx], 0
jmp 0x403eb1
mov dword [esp], 0xffffffee
call fcn.00401458
push ecx
mov dword [ebp - 0x190], eax
mov dword [esp], 0xb
call fcn.00408e7c
lea edx, [ebp - 0x17c]
push edi
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
call eax
mov edi, eax
push edx
push edx
mov byte [ebx], 0
mov byte [esi], 0
test eax, eax
je 0x403f64
mov dword [esp + 4], eax
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edx
push edx
mov dword [ebp - 0x18c], eax
test eax, eax
je 0x403f64
mov dword [esp], 0xc
call fcn.00408e7c
push edx
mov dword [ebp - 0x194], eax
mov dword [esp], 0xd
call fcn.00408e7c
push ecx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
mov eax, dword [ebp - 0x194]
call eax
mov edx, dword [ebp - 0x198]
sub esp, 0x10
test eax, eax
jne 0x402ba7
mov edi, 1
jmp 0x402c13
lea eax, [ebp - 0x158]
mov dword [esp + 4], 0x40c402
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x178]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call edx
sub esp, 0x10
test eax, eax
je 0x402ba0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x178]
xor edi, edi
mov eax, dword [eax + edx*4 + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040873f
push eax
push eax
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + edx*4 + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040873f
push eax
push eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403eab
cmp dword [section..bss], 0
js 0x402d77
mov dword [esp], 0xfffffff0
call fcn.00401458
push esi
mov esi, eax
mov dword [esp], 1
call fcn.00401458
push edi
cmp dword [ebp - 0x160], 0
mov edi, eax
jne 0x402c80
xor ebx, ebx
mov dword [esp + 8], 8
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x402c90
jmp 0x402d55
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
push ecx
test eax, eax
je 0x402c5b
mov dword [esp + 4], edi
mov dword [esp], ebx
call sub.KERNEL32.dll_GetProcAddress
push edx
push edx
test eax, eax
je 0x402cfe
mov edi, dword [ebp - 0x168]
test edi, edi
je 0x402ccf
mov dword [ebp - 0x18c], eax
mov dword [esp], edi
call fcn.004016cf
push esi
mov eax, dword [ebp - 0x18c]
call eax
test eax, eax
setne al
movzx eax, al
mov edi, eax
jmp 0x402d29
mov ecx, dword [0x40cf34]
mov dword [esp + 0x10], 0x40b000
mov dword [esp + 0xc], 0x4230e0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x2000
mov ecx, dword [ebp - 0x18c]
mov dword [esp], ecx
call eax
jmp 0x402d29
mov dword [esp + 4], edi
mov dword [esp], 0xfffffff7
call fcn.004078a1
push ecx
push ecx
mov dword [esp + 4], edi
mov edi, 1
mov dword [esp + 8], esi
mov dword [esp], str.Error_registering_DLL:__s_not_found_in__s
call fcn.00408cbc
cmp dword [ebp - 0x164], 0
jne 0x403f69
mov dword [esp], ebx
call fcn.00405242
push edx
test eax, eax
je 0x403f69
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403eab
mov dword [esp], 0xfffffff6
call fcn.004016cf
push edi
mov dword [esp + 4], esi
mov dword [esp], str.Error_registering_DLL:_Could_not_load__s
call fcn.00408cbc
jmp 0x403f64
mov dword [esp], 0xffffffe7
call fcn.004016cf
push ebx
mov dword [esp], str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00408cbc
jmp 0x403f64
mov dword [esp], 0xfffffff0
call fcn.00401458
push edx
mov dword [ebp - 0x194], eax
mov dword [esp], 0xffffffdf
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 2
call fcn.00401458
push ebx
mov dword [ebp - 0x198], eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push edi
mov edi, eax
mov dword [esp], 0x45
call fcn.00401458
push edx
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x18c], eax
and eax, 0xfff
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x18c]
sar eax, 0xc
and eax, 7
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x18c]
shr eax, 0x10
mov dword [ebp - 0x1a0], eax
mov dword [esp], esi
call fcn.0040818a
push ecx
test eax, eax
jne 0x402e3e
mov dword [esp], 0x21
call fcn.00401458
push eax
mov eax, dword [ebp - 0x1a0]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x19c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x198]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x194]
mov dword [esp], str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
mov dword [esp + 4], eax
call fcn.00408cbc
lea eax, [ebp - 0x178]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x413914
mov dword [esp + 8], 1
mov dword [esp], 0x40e634
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jns 0x402eca
mov dword [esp], 0xfffffff0
call fcn.004016cf
push ecx
jmp 0x403f64
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x412ec4
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x403034
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x50]
push edx
mov ebx, eax
push edx
bt dword [ebp - 0x18c], 0xf
jb 0x402f34
mov edx, dword [ebp - 0x178]
mov eax, dword [0x40cf34]
mov ecx, dword [edx]
add eax, 0x2c000
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0x24]
push eax
push eax
cmp dword [ebp - 0x190], 0
je 0x402f57
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x190]
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 - 0x178]
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp byte [edi], 0
je 0x402f95
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x19c]
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 - 0x178]
mov ecx, dword [ebp - 0x198]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
push eax
push eax
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
push eax
push eax
test ebx, ebx
js 0x403025
mov dword [esp + 0x14], 0x2000
xor edi, edi
mov ebx, 0x80004005
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x194]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
je 0x403025
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ecx
test ebx, ebx
js 0x402eb8
mov dword [esp], 0xfffffff4
call fcn.004016cf
jmp 0x403d85
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], 0x11
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 0x23
call fcn.00401458
push edi
mov edi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.CopyFiles___s_____s_
call fcn.00408cbc
mov dword [esp], ebx
call fcn.00408d07
push edx
test eax, eax
je 0x403123
mov dword [ebp - 0x154], 2
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x158], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenA
push edx
mov byte [ebx + eax + 1], 0
mov dword [esp], esi
call sub.KERNEL32.dll_lstrlenA
push ecx
mov byte [esi + eax + 1], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x150], ebx
xor ebx, ebx
mov dword [ebp - 0x13e], edi
mov dword [ebp - 0x14c], esi
mov word [ebp - 0x148], ax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004078a1
lea eax, [ebp - 0x158]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push edi
mov edi, eax
test eax, eax
je 0x403f69
xor ecx, ecx
mov dword [esp], 0xfffffff9
mov dword [esp + 4], ecx
call fcn.004078a1
push ebx
push ebx
jmp 0x403f64
cmp edx, 0xbadf00d
je 0x403168
xor eax, eax
mov dword [esp + 4], 0xffffffe8
mov dword [esp], eax
call fcn.00408eee
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
jmp 0x402047
inc dword [0x419034]
jmp case.0x401755.67
mov dword [esp + 4], str._RM_
xor ebx, ebx
mov dword [esp], 0x41b0e0
call fcn.00408823
push esi
push esi
mov dword [esp + 4], 0x41b0e0
mov dword [esp], 0x41d0e0
call fcn.00408823
push edi
push edi
cmp dword [ebp - 0x170], 0
je 0x4031b7
xor ecx, ecx
mov dword [esp], ecx
call fcn.00401458
push ebx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x16c], 0
je 0x4031d1
mov dword [esp], 0x11
call fcn.00401458
push edx
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x160], 0
je 0x4031eb
mov dword [esp], 0x22
call fcn.00401458
push edi
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push ecx
mov dword [esp + 0x10], eax
mov dword [ebp - 0x18c], eax
mov dword [esp + 0xc], 0x41d0e0
mov dword [esp + 8], 0x41b0e0
mov dword [esp + 4], 0x4190e0
mov dword [esp], str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00408cbc
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
sub esp, 0x10
jmp 0x403877
mov word [ebp - 0x158], 0xa
mov dword [esp], 1
call fcn.00401458
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 0xffffffdd
call fcn.00401458
push edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x158]
mov dword [esp], edi
xor edi, edi
mov dword [esp + 0x10], 0x1fff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub esp, 0x18
cmp byte [ebx], 0xa
jne 0x403f69
jmp 0x403a64
mov dword [esp], eax
mov edi, eax
call fcn.00408afc
cmp dword [ebp - 0x160], 0
mov esi, eax
jne 0x403338
mov dword [esp], 2
call fcn.004014dd
push edi
mov edi, eax
test eax, eax
je 0x403f64
mov dword [esp], 0x33
call fcn.00401458
push ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x18c], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ebx
push ebx
mov edx, dword [ebp - 0x18c]
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x41d0e0
mov dword [esp], str.DeleteRegValue:___s_s____s_
call fcn.00408cbc
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
jmp 0x4033c6
mov dword [esp], 0x22
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegKey:___s_s_
call fcn.00408cbc
mov edx, dword [ebp - 0x160]
sar edx, 1
mov dword [ebp - 0x158], edx
cmp byte [ebx], 0
je 0x403f64
or edx, 0x100020
mov dword [ebp - 0x158], edx
test edi, edi
js 0x40338f
mov eax, dword [0x419024]
add eax, edi
lea edi, [eax - 0x7fffffff]
lea eax, [ebp - 0x158]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0040856b
push esi
push esi
test eax, eax
je 0x403f64
mov edx, dword [ebp - 0x158]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00401541
sub esp, 0xc
mov ebx, eax
test ebx, ebx
setne al
jmp 0x40397c
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x190], edx
mov edi, dword [ebp - 0x160]
mov dword [ebp - 0x194], eax
mov dword [esp], 2
call fcn.00401458
push ecx
mov dword [ebp - 0x18c], eax
mov dword [esp], 0x11
call fcn.00401458
push ebx
mov edx, dword [ebp - 0x190]
mov ebx, eax
mov dword [esp], edx
mov dword [ebp - 0x198], edx
call fcn.00408afc
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x190], eax
test edx, edx
js 0x40343a
add edx, dword [0x419024]
sub edx, 0x7fffffff
lea eax, [ebp - 0x158]
mov dword [esp + 8], 0x100022
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00408635
sub esp, 0x10
test eax, eax
jne 0x403647
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x198], eax
test eax, eax
je 0x403647
cmp edi, 1
jne 0x4034dc
mov dword [esp], 0x23
call fcn.00401458
push eax
mov dword [esp], 0x41d0e0
call sub.KERNEL32.dll_lstrlenA
push edx
lea esi, [eax + 1]
cmp dword [ebp - 0x194], 1
mov dword [esp + 0x10], 0x41d0e0
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], eax
jne 0x4034cb
mov dword [esp], str.WriteRegStr:___s_s____s___s_
jmp 0x4034d2
mov dword [esp], str.WriteRegExpandStr:___s_s____s___s_
call fcn.00408cbc
jmp 0x4035d2
cmp edi, 4
jne 0x403522
mov eax, 3
mov esi, 4
call fcn.004014aa
mov dword [0x41d0e0], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp], str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 4], eax
call fcn.00408cbc
jmp 0x4035d2
xor esi, esi
cmp edi, 3
jne 0x4035d2
cmp dword [ebp - 0x194], 0
mov edx, str.WriteRegNone
je 0x40354f
cmp dword [ebp - 0x194], 7
mov edx, str.WriteRegBin
mov eax, str.WriteRegMultiStr
cmove edx, eax
xor edi, edi
mov dword [ebp - 0x19c], edx
mov dword [esp + 4], edi
lea edi, [ebp - 0x158]
mov dword [esp + 0xc], 0x6000
mov dword [esp + 8], 0x41d0e0
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.00404429
sub esp, 0x10
mov esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x41d0e0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], edi
call fcn.00408c32
mov dword [esp + 0x14], edi
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x19c]
mov dword [esp], str._s:___s_s____s___s_
mov dword [esp + 4], edx
call fcn.00408cbc
mov dword [esp + 0x14], esi
xor esi, esi
mov dword [esp + 0x10], 0x41d0e0
mov eax, dword [ebp - 0x194]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x198]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
mov edi, eax
test eax, eax
je 0x403639
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], ebx
mov edi, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp], str.WriteReg:_error_writing_into___s_s____s_
mov dword [esp + 4], eax
call fcn.00408cbc
mov eax, dword [ebp - 0x198]
mov dword [esp], eax
jmp 0x40371d
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x190]
mov dword [esp], str.WriteReg:_error_creating_key___s_s_
mov dword [esp + 4], eax
call fcn.00408cbc
jmp 0x403f64
mov dword [esp], 0x20019
call fcn.004014dd
push edx
mov esi, eax
mov dword [esp], 0x33
call fcn.00401458
push ecx
mov byte [ebx], 0
test esi, esi
je 0x403f64
lea edx, [ebp - 0x178]
xor edi, edi
mov dword [ebp - 0x178], 0x2000
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x158]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x4036de
mov eax, dword [ebp - 0x158]
cmp eax, 4
je 0x4036ed
cmp eax, 1
je 0x4036e8
cmp eax, 2
je 0x40370d
mov byte [ebx], 0
mov edi, 1
jmp 0x40371a
cmp eax, 4
jne 0x40370d
xor eax, eax
cmp dword [ebp - 0x160], 0
sete al
mov edi, eax
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040873f
push ecx
push ecx
jmp 0x40371a
mov edi, dword [ebp - 0x160]
mov byte [ebx + 0x1fff], 0
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403eab
mov dword [esp], 0x20019
call fcn.004014dd
push edx
mov esi, eax
mov eax, 3
call fcn.004014aa
mov byte [ebx], 0
test esi, esi
je 0x403f64
cmp dword [ebp - 0x160], 0
mov dword [ebp - 0x158], 0x1fff
je 0x40377f
mov dword [esp + 0xc], 0x1fff
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
sub esp, 0x10
jmp 0x403713
xor edi, edi
lea edx, [ebp - 0x158]
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
sub esp, 0x20
test eax, eax
setne al
movzx eax, al
mov edi, eax
jmp 0x403713
mov dword [esp], ebx
call fcn.00408764
push ecx
test eax, eax
je case.0x401755.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403d85
mov dword [esp], 0xffffffed
call fcn.00401458
push edx
mov edx, dword [ebp - 0x168]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x16c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00408360
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x402891
jmp 0x403a64
cmp dword [ebp - 0x168], 0
je 0x403836
mov eax, 1
mov esi, 1
call fcn.004014aa
mov byte [0x41b0e0], al
jmp 0x40384e
mov dword [esp], 0x11
call fcn.00401458
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
push edi
mov esi, eax
cmp byte [ebx], 0
je 0x403f64
mov dword [esp], ebx
call fcn.00408764
push ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x41b0e0
mov dword [esp], eax
call fcn.00408458
sub esp, 0xc
test eax, eax
jmp 0x403979
mov eax, 2
call fcn.004014aa
test eax, eax
jle case.0x401755.67
xor edi, edi
cmp byte [ebx], 0
je 0x403973
mov dword [esp], ebx
mov edi, 0x1fff
cmp eax, edi
cmovle edi, eax
xor ebx, ebx
call fcn.00408764
push edx
mov ecx, eax
mov byte [ebp - 0x18c], 0
lea eax, [ebp - 0x158]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [ebp - 0x190], ecx
call fcn.00408414
sub esp, 0xc
test eax, eax
je 0x403971
cmp dword [ebp - 0x164], 0
movzx eax, byte [ebp - 0x158]
mov ecx, dword [ebp - 0x190]
je 0x40390d
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0040873f
push eax
push eax
jmp 0x403f6f
cmp byte [ebp - 0x18c], 0xd
je 0x40391f
cmp byte [ebp - 0x18c], 0xa
jne 0x403959
cmp byte [ebp - 0x18c], al
je 0x40392f
cmp al, 0xd
je 0x403953
cmp al, 0xa
je 0x403953
xor edi, edi
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], 0xffffffff
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x403971
mov byte [esi + ebx], al
inc ebx
jmp 0x403971
inc ebx
mov byte [esi + ebx - 1], al
test al, al
je 0x403971
cmp edi, ebx
je 0x403973
mov byte [ebp - 0x18c], al
jmp 0x4038b9
mov edi, ebx
mov byte [esi + edi], 0
test edi, edi
sete al
movzx eax, al
mov edi, eax
jmp 0x403f69
cmp byte [ebx], 0
je case.0x401755.67
mov ecx, dword [ebp - 0x164]
mov eax, 2
mov dword [ebp - 0x18c], ecx
call fcn.004014aa
mov dword [esp], ebx
xor ebx, ebx
mov edi, eax
call fcn.00408764
push ecx
mov ecx, dword [ebp - 0x18c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
cmp dword [ebp - 0x16c], 0
js case.0x401755.67
jmp 0x403dd5
mov dword [esp], ebx
call fcn.00408764
push edx
test eax, eax
je case.0x401755.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403d85
mov dword [esp], esi
call fcn.00408764
push edi
test eax, eax
je 0x403a64
lea edx, [ebp - 0x158]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push esi
push esi
test eax, eax
je 0x403a64
lea eax, [ebp - 0x12c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408823
push ecx
push ecx
xor edi, edi
jmp 0x403f69
mov dword [esp], 2
call fcn.00401458
lea edx, [ebp - 0x158]
push edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edx
push edx
cmp eax, 0xffffffff
jne 0x403a6c
mov byte [esi], 0
mov byte [ebx], 0
jmp 0x403f64
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040873f
push esi
push esi
jmp 0x403a1f
mov dword [esp], 0xfffffff0
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], eax
call fcn.0040818a
push ecx
test eax, eax
jne 0x403aa5
mov dword [esp], 0xffffffed
call fcn.00401458
push eax
mov dword [esp], ebx
mov esi, 0xfffffd66
call fcn.004082c7
push edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call fcn.00408360
mov dword [ebp - 0x18c], eax
sub esp, 0xc
inc eax
je 0x403c2b
cmp dword [ebp - 0x168], 0
mov edx, dword [ebp - 0x16c]
je 0x403bfa
mov eax, dword [0x423108]
mov dword [ebp - 0x194], edx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x190], eax
mov dword [esp + 4], eax
mov dword [esp], 0x40
call edi
test eax, eax
push esi
push esi
mov esi, eax
mov edx, dword [ebp - 0x194]
je 0x403bfa
xor eax, eax
mov dword [esp], eax
call fcn.0040422b
push eax
mov eax, dword [ebp - 0x190]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00404203
push edx
push edx
mov eax, dword [ebp - 0x168]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call edi
mov edi, eax
push ecx
push ecx
test eax, eax
je 0x403bce
mov eax, dword [ebp - 0x168]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.00404429
mov eax, edi
sub esp, 0x10
cmp byte [eax], 0
je 0x403bc4
mov ecx, dword [eax]
lea edx, [eax + 8]
mov dword [esp + 8], ecx
mov dword [ebp - 0x198], ecx
mov dword [esp + 4], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x194], edx
add ecx, esi
mov dword [esp], ecx
call fcn.004082aa
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
sub esp, 0xc
lea eax, [edx + ecx]
jmp 0x403b85
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00408458
sub esp, 0xc
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or edx, 0xffffffff
push eax
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x18c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00404429
mov esi, eax
mov eax, dword [ebp - 0x18c]
sub esp, 0x10
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.00408cbc
test esi, esi
jns 0x403c59
mov dword [esp], ebx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xffffffef
push ecx
jmp 0x403c60
mov eax, 0xfffffff3
xor edi, edi
mov dword [esp], eax
call fcn.004016cf
jmp 0x403eab
test edx, edx
je 0x403cc0
mov dword [esp + 4], eax
mov dword [esp], str.settings_logging_to__d
call fcn.00408cbc
mov eax, dword [ebp - 0x16c]
mov dword [0x44bb40], eax
mov dword [esp + 4], eax
mov dword [esp], str.logging_set_to__d
call fcn.00408cbc
cmp dword [ebp - 0x16c], 0
je 0x403caf
call fcn.00406466
jmp case.0x401755.67
mov dword [esp], 1
call fcn.00408a11
jmp 0x403d85
mov dword [esp], 1
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], 0x40c2e6
call fcn.00408cbc
jmp case.0x401755.67
xor eax, eax
call fcn.004014aa
mov edi, eax
cmp eax, dword [0x42312c]
jae 0x403f64
imul ebx, eax, 0x2018
mov eax, dword [ebp - 0x168]
add ebx, dword [0x423128]
test eax, eax
js 0x403d25
mov eax, dword [ebx + eax*4]
jne 0x403dd5
add ebx, 0x18
mov dword [esp], esi
mov dword [esp + 4], ebx
jmp 0x403a2c
not eax
mov dword [ebp - 0x168], eax
test eax, eax
je 0x403d43
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x16c], eax
jmp 0x403d61
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.00408eee
push eax
push eax
or dword [ebx + 8], 0x100
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x164], 0
je case.0x401755.67
mov dword [esp], edi
call fcn.00401258
push eax
jmp case.0x401755.67
xor eax, eax
call fcn.004014aa
cmp eax, 0x1f
ja 0x403f64
cmp dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x168]
je 0x403de1
test ecx, ecx
je 0x403dca
mov dword [esp], eax
call fcn.0040137c
push eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.004012c9
jmp 0x403a31
xor ebx, ebx
mov dword [esp], ebx
call fcn.004013d5
push edi
mov dword [esp + 4], eax
mov dword [esp], esi
jmp 0x4027c2
test ecx, ecx
mov edx, dword [0x423110]
lea eax, [eax + 0x24]
je 0x403dfd
mov ecx, dword [ebp - 0x16c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x401755.67
mov eax, dword [edx + eax*4 + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00408eee
jmp 0x403a31
mov edi, dword [ebp - 0x164]
test edi, edi
je 0x403e28
dec edi
je 0x403eb9
jmp case.0x401755.67
mov dword [esp], 5
call fcn.00408e7c
push edx
mov ebx, eax
mov dword [esp], 0x22
call fcn.00401458
push ecx
test ebx, ebx
je 0x403eb1
lea edx, [ebp - 0x158]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004088ff
test eax, eax
js 0x403eb1
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x158]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], edx
mov dword [esp + 4], eax
call ebx
sub esp, 0x10
test eax, eax
js 0x403eb1
mov eax, dword [ebp - 0x178]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004088dd
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push eax
jmp 0x403f69
mov byte [esi], 0
jmp 0x403f64
mov eax, 2
xor edi, edi
call fcn.004014aa
mov ebx, eax
mov eax, 4
call fcn.004014aa
mov dword [ebp - 0x158], edi
movzx edx, al
shr eax, 0x18
test ebx, ebx
jne 0x403ee6
mov ebx, 0x419020
add ebx, eax
lea eax, [ebp - 0x158]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004082aa
mov eax, dword [ebp - 0x158]
sub esp, 0xc
jmp 0x403dd5
xor ecx, ecx
mov dword [esp + 0xc], ecx
and edx, dword [0x43b280]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xb
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
cmp dword [ebp - 0x170], 0
je case.0x401755.67
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
jmp case.0x401755.67
mov edi, 1
add dword [0x419028], edi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4