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
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
lea edi, [ebp - 0x284]
push ebx
sub esp, 0x2cc
mov eax, dword [0x44224c]
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x280]
mov esi, dword [ebp - 0x284]
mov ecx, eax
mov ebx, edx
shl ecx, 0xe
add ecx, dword [0x40fa94]
shl ebx, 0xe
add ebx, dword [0x40fa94]
mov edi, ecx
lea ecx, [ebp - 0x280]
mov dword [0x41a0fc], ecx
lea ecx, [esi - 2]
cmp ecx, 0x44
ja case.0x401757.67
jmp dword [ecx*4 + 0x40eca0]
mov dword [esp + 4], edx
mov dword [esp], str.Jump:__d
call fcn.00409060
mov eax, dword [ebp - 0x280]
jmp 0x40418a
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.00409060
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
jmp 0x401f58
inc dword [0x44a29c]
cmp dword [ebp - 0x29c], 0
je 0x4017c3
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push edi
mov eax, 0x7fffffff
jmp 0x40418a
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.00409060
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00404194
push ebx
push ebx
jmp 0x40418a
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.00409060
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call fcn.00407c65
jmp 0x403c37
xor eax, eax
call fcn.004014aa
mov dword [esp], str.Sleep__d_
mov dword [esp + 4], eax
mov ebx, eax
call fcn.00409060
test ebx, ebx
mov eax, 1
cmovle ebx, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403f9c
mov dword [esp], str.BringToFront
call fcn.00409060
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x403f9c
cmp dword [ebp - 0x278], 0
jg 0x4018cc
jne 0x40189c
mov eax, dword [edx*4 + 0x41a020]
mov dword [edx*4 + 0x41a060], eax
mov eax, 1
call fcn.004014aa
mov edx, dword [ebp - 0x280]
mov dword [edx*4 + 0x41a020], eax
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str.SetFlag:__d_d
call fcn.00409060
jmp case.0x401757.67
mov eax, dword [edx*4 + 0x41a060]
mov dword [edx*4 + 0x41a020], eax
jmp case.0x401757.67
mov ecx, dword [ebp - 0x278]
xor eax, eax
mov edx, dword [ecx*4 + 0x41a020]
test edx, edx
sete al
and edx, dword [ebp - 0x274]
mov dword [ecx*4 + 0x41a020], edx
mov eax, dword [ebp + eax*4 - 0x280]
jmp 0x40418a
mov eax, dword [eax*4 + 0x41a020]
jmp 0x402b3a
mov edx, dword [0x44a288]
test edx, edx
je 0x401931
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
mov eax, dword [0x44a290]
test eax, eax
je case.0x401757.67
mov edx, dword [ebp - 0x280]
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x402939
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.SetFileAttributes:___s_:_08X
call fcn.00409060
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edx
push edx
test eax, eax
jne case.0x401757.67
mov dword [esp], str.SetFileAttributes_failed.
call fcn.00409060
jmp 0x401cf2
mov dword [esp], 0xfffffff0
call fcn.00401458
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str.CreateDirectory:___s____d_
call fcn.00409060
mov dword [esp], ebx
call fcn.00408596
push esi
xor esi, esi
test eax, eax
je 0x401a96
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.004084f7
mov edi, eax
push ecx
push ecx
mov ax, word [eax]
mov word [edi], 0
mov word [ebp - 0x29c], ax
test ax, ax
jne 0x401a27
cmp dword [ebp - 0x278], 0
je 0x401a27
call fcn.00409275
test eax, eax
je 0x401a27
mov dword [esp], ebx
call fcn.00408340
jmp 0x401a2f
mov dword [esp], ebx
call fcn.004083a0
push edx
test eax, eax
je 0x401a72
cmp eax, 0xb7
je 0x401a51
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s___err_d_
call fcn.00409060
jmp 0x401a6f
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
test al, 0x10
jne 0x401a82
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00409060
inc esi
jmp 0x401a82
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s__created
call fcn.00409060
mov ecx, dword [ebp - 0x29c]
lea eax, [edi + 2]
mov word [edi], cx
test cx, cx
jmp 0x4019dd
cmp dword [ebp - 0x27c], 0
je 0x401af6
mov dword [esp], 0xffffffe6
call fcn.004016cf
push eax
mov eax, dword [0x40fa94]
add eax, 0x58000
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00408c19
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
test eax, eax
jne 0x404182
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], ebx
inc esi
mov dword [esp + 8], eax
mov dword [esp], str.SetCurrentDirectory__s__failed___d_
call fcn.00409060
jmp 0x404182
mov dword [esp], 0xfffffff5
jmp 0x403e7a
xor ebx, ebx
mov dword [esp], ebx
call fcn.00401458
push esi
mov ebx, eax
mov dword [esp], eax
call fcn.004090af
push edi
test eax, eax
je 0x401b3b
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__exists__jumping__d
mov dword [esp + 8], eax
call fcn.00409060
jmp 0x402682
mov eax, dword [ebp - 0x278]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__does_not_exist__jumping__d
mov dword [esp + 8], eax
call fcn.00409060
jmp 0x40268d
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.00409060
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
push ecx
test eax, eax
je 0x401bb6
mov dword [esp], 0xffffffe3
jmp 0x403085
cmp dword [ebp - 0x278], 0
je 0x401bf7
mov dword [esp], esi
call fcn.004090af
push edx
test eax, eax
je 0x401bf7
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004097ee
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 0x403eef
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_failed:__s
jmp 0x402de6
xor ecx, ecx
mov dword [esp], ecx
call fcn.00401458
push ebx
mov ebx, eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x2000
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
sub esp, 0x10
test eax, eax
je 0x401c74
mov eax, dword [ebp - 0x268]
cmp ebx, eax
jae 0x401c4a
cmp word [eax], 0
jne 0x401c4e
xor esi, esi
jmp 0x401c7e
mov dword [esp], ebx
call fcn.004090af
push edx
test eax, eax
je 0x401c74
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.00408c19
push eax
push eax
jmp 0x401c4a
mov word [edi], 0
mov esi, 1
cmp dword [ebp - 0x278], 0
jne 0x404182
mov dword [esp + 8], 0x2000
mov dword [esp + 4], edi
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub esp, 0xc
jmp 0x404182
mov dword [esp], 0xffffffff
xor edi, edi
call fcn.00401458
lea edx, [ebp - 0x268]
push esi
xor esi, esi
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
sub esp, 0x18
test eax, eax
jne 0x404182
mov word [ebx], 0
mov esi, 1
jmp 0x404182
mov dword [esp], 0xffffffef
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040879f
push ecx
push ecx
jmp 0x403b74
mov dword [esp], 0x31
call fcn.00401458
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x280]
mov esi, eax
sar eax, 3
and eax, 2
and esi, 7
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00409060
mov dword [esp], ebx
call fcn.00408563
push edi
test eax, eax
je 0x401d73
mov dword [esp + 4], ebx
mov dword [esp], 0x41a100
call fcn.00408c19
jmp 0x401da4
mov eax, dword [0x40fa94]
mov dword [esp], 0x41a100
add eax, 0x58000
mov dword [esp + 4], eax
call fcn.00408c19
push edx
push edx
mov dword [esp], eax
call fcn.00408c4d
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatW
push ecx
push ecx
mov dword [esp], 0x41a100
call fcn.00408cd5
push edi
cmp esi, 2
jle 0x401dff
mov dword [esp], 0x41a100
call fcn.004090af
push edx
test eax, eax
je 0x401e0b
lea edx, [ebp - 0x274]
add eax, 0x14
sub esi, 3
mov dword [esp + 4], edx
or esi, 0x80000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edi
push edi
test esi, eax
je 0x401e0b
mov dword [esp], 0x41a100
xor edi, edi
call fcn.004086b2
push esi
jmp 0x401e17
test esi, esi
je 0x401dee
dec esi
mov edi, 2
jne 0x401e17
mov edi, 1
mov eax, 1
jmp 0x401e1c
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x41a100
call fcn.0040874b
sub esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
jne 0x401f62
test edi, edi
je 0x401e7f
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffe2
call fcn.00407c65
xor eax, eax
cmp edi, 2
push ecx
sete al
push ecx
mov esi, eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x41a100
mov dword [esp], str.File:_skipped:___s___overwriteflag_d_
call fcn.00409060
jmp 0x404182
mov dword [esp + 4], 0x41a100
mov dword [esp], str.File:_error_creating___s_
call fcn.00409060
mov eax, dword [0x40fa94]
mov dword [esp], 0x422100
mov dword [esp + 4], eax
call fcn.00408c19
push eax
push eax
mov eax, dword [0x40fa94]
mov dword [esp + 4], 0x41a100
mov dword [esp], eax
call fcn.00408c19
push eax
push eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], 0x41e100
mov dword [esp + 4], eax
call fcn.0040929b
push eax
push eax
mov eax, dword [0x40fa94]
mov dword [esp + 4], 0x422100
mov dword [esp], eax
call fcn.00408c19
push eax
push eax
mov eax, dword [ebp - 0x280]
sar eax, 3
mov dword [esp + 4], eax
mov dword [esp], 0x41e100
call fcn.0040848b
push edx
push edx
cmp eax, 4
je 0x401f2c
cmp eax, 5
jne 0x401f3d
mov dword [esp], str.File:_error__user_cancel
call fcn.00409060
inc dword [0x41a028]
jmp 0x404188
mov dword [esp], str.File:_error__user_retry
call fcn.00409060
jmp 0x401dee
mov dword [esp], str.File:_error__user_abort
call fcn.00409060
mov dword [esp + 4], 0x41a100
mov dword [esp], 0xfffffffa
call fcn.00407c65
jmp 0x402065
mov dword [esp + 4], ebx
xor edi, edi
mov dword [esp], 0xffffffea
call fcn.00407c65
push ecx
push ecx
inc dword [0x41a054]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x278]
mov dword [esp], eax
call fcn.0040464d
dec dword [0x41a054]
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x41a100
mov dword [esp], str.File:_wrote__d_to___s_
call fcn.00409060
mov eax, dword [ebp - 0x274]
and eax, dword [ebp - 0x270]
inc eax
je 0x401fe8
lea eax, [ebp - 0x274]
xor edx, edx
mov dword [esp], esi
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], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
test edi, edi
jns case.0x401757.67
cmp edi, 0xfffffffe
jne 0x402027
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x41a100
call fcn.0040929b
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x41a100
call sub.KERNEL32.dll_lstrcatW
jmp 0x40203b
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x41a100
call fcn.0040929b
push eax
push eax
mov dword [esp + 4], 0x41a100
mov dword [esp], 0x40e5cc
call fcn.00409060
mov dword [esp + 4], 0x200010
mov dword [esp], 0x41a100
call fcn.0040848b
push edi
push edi
jmp 0x4017c3
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 0x40210b
mov dword [esp], 0x31
call fcn.00401458
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.00409060
mov eax, dword [ebp - 0x280]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040848b
push ecx
push ecx
test eax, eax
je 0x401cf2
cmp dword [ebp - 0x278], eax
je 0x4022b9
cmp dword [ebp - 0x270], eax
jne case.0x401757.67
mov eax, dword [ebp - 0x26c]
jmp 0x40418a
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.00409060
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00409833
jmp 0x403c37
mov dword [esp], 1
call fcn.00401458
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4028f9
mov eax, 2
call fcn.004014aa
mov edi, eax
mov eax, 3
mov dword [ebp - 0x2a0], edx
call fcn.004014aa
mov dword [esp], 1
mov esi, eax
call fcn.00401458
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 edi, eax
test edi, edi
je case.0x401757.67
test esi, esi
mov edx, dword [ebp - 0x29c]
jns 0x4021a5
add esi, eax
js case.0x401757.67
cmp esi, eax
mov dword [esp], ebx
cmovg esi, eax
add esi, esi
add edx, esi
mov dword [esp + 4], edx
call fcn.00408c19
push eax
push eax
test edi, edi
jns 0x4021cd
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenW
push esi
add edi, eax
js 0x4021db
cmp edi, 0x1fff
jg case.0x401757.67
jmp 0x4021dd
xor edi, edi
mov word [ebx + edi*2], 0
jmp case.0x401757.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 - 0x270], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x40221c
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x402222
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
push edi
test eax, eax
jne 0x4022b9
jmp 0x40268d
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_ExpandEnvironmentStringsW]
sub esp, 0xc
test eax, eax
jne 0x402268
mov word [ebx], 0
mov esi, 1
jmp 0x40228a
cmp dword [ebp - 0x278], 0
jne 0x402275
xor esi, esi
jmp 0x40228a
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push ecx
push ecx
test eax, eax
je 0x40225c
jmp 0x402271
mov word [ebx + 0x3ffe], 0
jmp 0x404182
xor eax, eax
mov esi, dword [ebp - 0x26c]
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
test esi, esi
jne 0x4022d5
cmp ebx, eax
jge 0x4022c4
mov eax, dword [ebp - 0x274]
jmp 0x40418a
jle 0x40268d
mov eax, dword [ebp - 0x270]
jmp 0x40418a
cmp ebx, eax
jb 0x4022b9
cmp eax, ebx
jae 0x40268d
jmp 0x4022ca
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x29c], eax
mov eax, 2
call fcn.004014aa
mov esi, dword [ebp - 0x274]
mov edi, eax
mov ecx, eax
cmp esi, 0xd
ja case.default.0x402310
jmp dword [esi*4 + 0x40edb4]
mov edi, dword [ebp - 0x29c]
add edi, eax
jmp 0x4023e7
mov edi, dword [ebp - 0x29c]
sub edi, eax
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
imul edi, eax
jmp 0x4023e5
mov esi, 1
test eax, eax
je 0x4023e7
mov eax, dword [ebp - 0x29c]
cdq
idiv edi
jmp 0x402390
mov edi, dword [ebp - 0x29c]
or edi, eax
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
and edi, eax
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
xor edi, eax
jmp 0x4023e5
cmp dword [ebp - 0x29c], 0
sete al
jmp 0x40238d
or ecx, dword [ebp - 0x29c]
setne al
movzx eax, al
mov edi, eax
jmp 0x4023e5
cmp dword [ebp - 0x29c], 0
setne al
xor edx, edx
test edi, edi
setne dl
mov edi, edx
and edi, eax
jmp 0x4023e5
mov esi, 1
test eax, eax
je 0x4023e7
mov eax, dword [ebp - 0x29c]
cdq
idiv edi
mov edi, edx
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
shl edi, cl
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
sar edi, cl
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
shr edi, cl
jmp 0x4023e5
mov edi, dword [ebp - 0x29c]
xor esi, esi
mov dword [esp + 4], edi
jmp 0x40265e
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_wsprintfW]
jmp case.0x401757.67
mov edx, dword [ebp - 0x278]
mov esi, dword [0x42e100]
test edx, edx
je 0x4024a0
test esi, esi
je 0x402448
lea eax, [edx - 2]
mov esi, dword [esi]
cmp eax, 0xffffffff
je 0x402444
dec eax
test esi, esi
jne 0x402436
jmp 0x402448
test esi, esi
jne 0x40245d
mov dword [esp + 4], edx
mov dword [esp], str.Exch:_stack____d_elements
call fcn.00409060
jmp 0x40317b
add esi, 4
mov dword [esp], 0x41a100
mov dword [esp + 4], esi
call fcn.00408c19
push eax
push eax
mov eax, dword [0x42e100]
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00408c19
push eax
push eax
mov dword [esp + 4], 0x41a100
mov eax, dword [0x42e100]
add eax, 4
mov dword [esp], eax
jmp 0x403c32
test eax, eax
je 0x4024da
test esi, esi
jne 0x4024b4
mov dword [esp], str.Pop:_stack_empty
jmp 0x40199d
lea eax, [esi + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408c19
push eax
push eax
mov eax, dword [esi]
mov dword [0x42e100], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x403f9c
mov dword [esp + 4], 0x4004
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
mov ebx, eax
push edi
mov eax, dword [ebp - 0x280]
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0040929b
push eax
push eax
mov eax, dword [0x42e100]
mov dword [ebx], eax
mov dword [0x42e100], ebx
jmp case.0x401757.67
mov eax, 3
call fcn.004014aa
mov esi, eax
mov eax, 4
call fcn.004014aa
mov edi, eax
test byte [ebp - 0x26c], 1
je 0x40254c
mov dword [esp], 0x33
call fcn.00401458
push esi
mov esi, eax
test byte [ebp - 0x26c], 2
je 0x402564
mov dword [esp], 0x44
call fcn.00401458
push ecx
mov edi, eax
cmp dword [ebp - 0x284], 0x21
jne 0x4025f1
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x29c], eax
mov eax, 2
call fcn.004014aa
mov ecx, dword [ebp - 0x26c]
sar ecx, 2
je 0x4025d4
lea edx, [ebp - 0x268]
mov dword [esp + 8], esi
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esp, 0x1c
test eax, eax
sete al
movzx eax, al
mov esi, eax
jmp 0x402647
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40263c
mov dword [esp], 1
call fcn.00401458
push edx
mov dword [ebp - 0x29c], eax
mov dword [esp], 0x12
call fcn.00401458
push ecx
cmp word [eax], 0
mov edx, dword [ebp - 0x29c]
jne 0x40261f
xor eax, eax
cmp word [edx], 0
jne 0x402627
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_FindWindowExW]
mov dword [ebp - 0x268], eax
sub esp, 0x10
xor esi, esi
cmp dword [ebp - 0x280], 0
js 0x404182
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00408b38
push eax
push eax
jmp 0x404182
xor eax, eax
call fcn.004014aa
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push edi
test eax, eax
je 0x40268d
mov eax, dword [ebp - 0x27c]
jmp 0x40418a
mov eax, dword [ebp - 0x278]
jmp 0x40418a
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 0x402b3a
add eax, dword [0x42e168]
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_SetWindowLongW]
jmp 0x40417a
test byte [ebp - 0x273], 1
je 0x402700
mov eax, 2
call fcn.004014aa
jmp 0x40271b
mov eax, dword [ebp - 0x278]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push ecx
mov esi, eax
mov eax, dword [ebp - 0x274]
mov ecx, eax
mov edx, eax
and ecx, 3
shr edx, 0x1e
mov dword [ebp - 0x29c], ecx
mov ecx, eax
and edx, 1
and ecx, 4
mov edi, edx
mov dword [ebp - 0x2a4], ecx
mov ecx, eax
shr ecx, 0x1f
bt eax, 0x10
mov dword [ebp - 0x2a8], ecx
jae 0x402763
mov dword [esp], 0x11
call fcn.00401458
push edx
jmp 0x40276a
movzx eax, word [ebp - 0x27c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push eax
push eax
imul edi, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x2a8]
imul eax, dword [ebp - 0x260]
and ecx, 0xfef0
mov edx, edi
xor edi, edi
cmp dword [ebp - 0x2a4], 0
je 0x4027b8
mov edi, dword [0x442248]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_LoadImageW]
sub esp, 0x18
mov edi, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], 0x172
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
je 0x40281f
cmp dword [ebp - 0x29c], 0
jne 0x40281f
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
cmp dword [ebp - 0x280], 0
js case.0x401757.67
mov dword [esp + 4], edi
jmp 0x402b3e
mov eax, dword [ebp - 0x29c]
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 [0x41a0a0], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push eax
push eax
mov eax, 3
call fcn.004014aa
mov byte [0x41a0b7], 1
mov dword [0x41a0b0], eax
mov eax, dword [ebp - 0x270]
mov edx, eax
and edx, 1
mov byte [0x41a0b4], dl
mov edx, eax
and eax, 4
mov byte [0x41a0b6], al
mov eax, dword [ebp - 0x27c]
and edx, 2
mov byte [0x41a0b5], dl
mov dword [esp + 4], eax
mov dword [esp], 0x41a0bc
call fcn.0040929b
push eax
push eax
mov dword [esp], 0x41a0a0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push ecx
jmp 0x402b3a
xor eax, eax
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
cmp dword [ebp - 0x278], 0
mov esi, eax
je 0x402929
mov dword [esp], str.HideWindow
call fcn.00409060
cmp dword [ebp - 0x274], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
jne 0x402944
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403c37
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x403c37
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 - 0x270]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x29c]
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 [0x40fa94]
add eax, 0x58000
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.0040843c
push edx
test eax, eax
jne 0x402a26
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.00409060
jmp 0x401cf2
test byte [ebp - 0x264], 0x40
je 0x402a4e
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call fcn.00409bb1
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.00409060
jmp case.0x401757.67
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp], str.Exec:_command__s_
call fcn.00409060
mov dword [esp + 4], esi
mov dword [esp], 0xffffffeb
call fcn.00407c65
push ecx
push ecx
mov dword [esp], esi
call fcn.004083cc
push ebx
mov ebx, eax
mov dword [esp + 4], esi
test eax, eax
je 0x402afe
mov dword [esp], str.Exec:_success____s__
call fcn.00409060
cmp dword [ebp - 0x278], 0
je 0x402ae2
mov dword [esp], ebx
call fcn.00409bb1
push esi
cmp dword [ebp - 0x27c], 0
js 0x402ae6
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408b38
push ecx
push ecx
xor esi, esi
jmp 0x402af0
test eax, eax
setne al
movzx eax, al
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4040c0
mov dword [esp], str.Exec:_failed_createprocess____s__
jmp 0x402de6
mov dword [esp], 2
call fcn.00401458
push esi
mov dword [esp], eax
call fcn.004090af
mov esi, eax
push edx
test eax, eax
je 0x402b4b
mov eax, dword [eax + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408b38
push ecx
push ecx
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00408b38
jmp 0x403c37
mov word [ebx], 0
jmp 0x4040c6
mov dword [esp], 0xffffffee
call fcn.00401458
push ecx
mov dword [ebp - 0x2a0], eax
mov dword [esp], 0xb
call fcn.00409229
lea edx, [ebp - 0x28c]
push esi
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], ecx
call eax
mov esi, eax
push edx
push edx
mov word [ebx], 0
mov word [edi], 0
test eax, eax
je 0x401cf2
mov dword [esp + 4], eax
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edx
push edx
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x401cf2
mov dword [esp], 0xc
call fcn.00409229
push edx
mov dword [ebp - 0x2a4], eax
mov dword [esp], 0xd
call fcn.00409229
push ecx
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x2a4]
call eax
mov edx, dword [ebp - 0x2a8]
sub esp, 0x10
test eax, eax
jne 0x402c20
mov esi, 1
jmp 0x402c8c
lea eax, [ebp - 0x268]
mov dword [esp + 4], 0x40e804
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call edx
sub esp, 0x10
test eax, eax
je 0x402c19
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x288]
xor esi, esi
mov eax, dword [eax + edx*4 + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408b38
push eax
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + edx*4 + 0xc]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408b38
push eax
push eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4040c0
cmp dword [section..bss], 0
js 0x402df0
mov dword [esp], 0xfffffff0
call fcn.00401458
push esi
mov esi, eax
mov dword [esp], 1
call fcn.00401458
push edi
cmp dword [ebp - 0x270], 0
mov edi, eax
jne 0x402cf9
xor ebx, ebx
mov dword [esp + 8], 8
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x402d09
jmp 0x402dce
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
push ecx
test eax, eax
je 0x402cd4
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00409b69
push edx
push edx
test eax, eax
je 0x402d77
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x402d48
mov dword [ebp - 0x29c], eax
mov dword [esp], esi
call fcn.004016cf
push esi
mov eax, dword [ebp - 0x29c]
call eax
test eax, eax
setne al
movzx eax, al
mov esi, eax
jmp 0x402da2
mov ecx, dword [0x40fa94]
mov dword [esp + 0x10], 0x40d000
mov dword [esp + 0xc], 0x42e100
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x2000
mov ecx, dword [ebp - 0x29c]
mov dword [esp], ecx
call eax
jmp 0x402da2
mov dword [esp + 4], edi
mov dword [esp], 0xfffffff7
call fcn.00407c65
push ecx
push ecx
mov dword [esp + 8], esi
mov esi, 1
mov dword [esp + 4], edi
mov dword [esp], 0x40e808
call fcn.00409060
cmp dword [ebp - 0x274], 0
jne 0x404182
mov dword [esp], ebx
call fcn.0040546e
push edx
test eax, eax
je 0x404182
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4040c0
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.00409060
jmp 0x401cf2
mov dword [esp], 0xffffffe7
call fcn.004016cf
push ebx
mov dword [esp], str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40199d
mov dword [esp], 0xfffffff0
call fcn.00401458
push edx
mov dword [ebp - 0x2a0], eax
mov dword [esp], 0xffffffdf
call fcn.00401458
push ecx
mov ebx, eax
mov dword [esp], 2
call fcn.00401458
push esi
mov dword [ebp - 0x2a4], eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push edi
mov esi, eax
mov dword [esp], 0x45
call fcn.00401458
push edx
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x29c], eax
and eax, 0xfff
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x29c]
sar eax, 0xc
and eax, 7
mov edi, eax
mov eax, dword [ebp - 0x29c]
shr eax, 0x10
mov dword [ebp - 0x2ac], eax
mov dword [esp], ebx
call fcn.00408563
push ecx
test eax, eax
jne 0x402eae
mov dword [esp], 0x21
call fcn.00401458
push eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
mov dword [esp + 4], eax
call fcn.00409060
lea eax, [ebp - 0x288]
mov dword [esp + 0xc], 0x415a34
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x410fa4
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x40306c
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x415014
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
jns 0x402f60
mov dword [esp], eax
call dword [edx + 8]
push ecx
jmp 0x40306c
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x50]
push edx
mov ebx, eax
push edx
bt dword [ebp - 0x29c], 0xf
jb 0x402f96
mov edx, dword [ebp - 0x288]
mov eax, dword [0x40fa94]
mov ecx, dword [edx]
add eax, 0x58000
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0x24]
push eax
push eax
test edi, edi
je 0x402fae
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp word [esi], 0
je 0x402fed
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a4]
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 - 0x288]
mov ecx, dword [ebp - 0x2b0]
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 0x40304a
mov eax, dword [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
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]
push edi
test ebx, ebx
jns 0x40307e
mov dword [esp], 0xfffffff0
call fcn.004016cf
push ecx
jmp 0x401cf2
mov dword [esp], 0xfffffff4
call fcn.004016cf
jmp 0x403f9c
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.00409060
mov dword [esp], ebx
call fcn.004090af
push edx
test eax, eax
je 0x40315a
mov dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x268], eax
mov dword [esp], ebx
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 eax, dword [ebp - 0x278]
mov dword [ebp - 0x260], ebx
xor ebx, ebx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x24e], edi
mov word [ebp - 0x258], ax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00407c65
lea eax, [ebp - 0x268]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
push edi
test eax, eax
je 0x404182
xor eax, eax
mov dword [esp], 0xfffffff9
mov dword [esp + 4], eax
call fcn.00407c65
push eax
push eax
jmp 0x401cf2
cmp edx, 0xbadf00d
je 0x40319f
xor esi, esi
mov dword [esp + 4], 0xffffffe8
mov dword [esp], esi
call fcn.0040929b
push edi
push edi
mov dword [esp + 4], 0x200010
mov dword [esp], eax
jmp 0x402060
inc dword [0x41a034]
jmp case.0x401757.67
mov dword [esp + 4], str._RM_
mov dword [esp], 0x41e100
call fcn.00408c19
push ecx
push ecx
mov dword [esp + 4], 0x41e100
mov dword [esp], 0x422100
call fcn.00408c19
push ebx
push ebx
xor ebx, ebx
cmp dword [ebp - 0x280], 0
je 0x4031ee
xor edi, edi
mov dword [esp], edi
call fcn.00401458
push edx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x27c], 0
je 0x403208
mov dword [esp], 0x11
call fcn.00401458
push esi
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x270], 0
je 0x403222
mov dword [esp], 0x22
call fcn.00401458
push ecx
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push edx
mov dword [esp + 0x10], eax
mov dword [ebp - 0x29c], eax
mov dword [esp + 0xc], 0x422100
mov dword [esp + 8], 0x41e100
mov dword [esp + 4], 0x41a100
mov dword [esp], str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00409060
mov eax, dword [ebp - 0x29c]
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_WritePrivateProfileStringW]
sub esp, 0x10
jmp 0x403b74
mov dword [ebp - 0x268], 0xa
mov dword [esp], 1
call fcn.00401458
push esi
mov edi, eax
mov dword [esp], 0x12
call fcn.00401458
push edx
mov esi, eax
mov dword [esp], 0xffffffdd
call fcn.00401458
push ecx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x268]
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp + 0x10], 0x1fff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 0x18
cmp word [ebx], 0xa
jmp 0x401ce7
mov dword [esp], eax
mov edi, eax
call fcn.00408ea0
cmp dword [ebp - 0x270], 0
mov esi, eax
jne 0x40336b
mov dword [esp], 2
call fcn.004014dd
mov edi, eax
push ebx
test eax, eax
je 0x401cf2
mov dword [esp], 0x33
call fcn.00401458
push ebx
mov dword [esp + 4], eax
mov dword [ebp - 0x29c], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edx
mov ebx, eax
push edx
mov edx, dword [ebp - 0x29c]
mov dword [esp + 8], 0x422100
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegValue:___s_s____s_
call fcn.00409060
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
jmp 0x4033fa
mov dword [esp], 0x22
call fcn.00401458
push ecx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegKey:___s_s_
call fcn.00409060
mov edx, dword [ebp - 0x270]
sar edx, 1
mov dword [ebp - 0x268], edx
cmp word [ebx], 0
je 0x401cf2
or edx, 0x100020
mov dword [ebp - 0x268], edx
test edi, edi
js 0x4033c3
mov eax, dword [0x41a024]
add eax, edi
lea edi, [eax - 0x7fffffff]
lea eax, [ebp - 0x268]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408960
push edx
push edx
test eax, eax
je 0x401cf2
mov edx, dword [ebp - 0x268]
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 0x403b79
mov dword [ebp - 0x2a0], edx
mov ebx, dword [ebp - 0x270]
mov esi, dword [ebp - 0x26c]
mov dword [esp], 2
call fcn.00401458
push ecx
mov dword [ebp - 0x29c], eax
mov dword [esp], 0x11
call fcn.00401458
push edi
mov edx, dword [ebp - 0x2a0]
mov edi, eax
mov dword [esp], edx
mov dword [ebp - 0x2a4], edx
call fcn.00408ea0
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a0], eax
test edx, edx
js 0x403468
add edx, dword [0x41a024]
sub edx, 0x7fffffff
lea eax, [ebp - 0x268]
mov dword [esp + 8], 0x100022
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], edx
call fcn.00408a2a
sub esp, 0x10
test eax, eax
jne 0x40366a
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a4], eax
test eax, eax
je 0x40366a
cmp ebx, 1
jne 0x40350a
mov dword [esp], 0x23
call fcn.00401458
push eax
mov dword [esp], 0x422100
call sub.KERNEL32.dll_lstrlenW
push edx
mov ebx, eax
mov dword [esp + 0x10], 0x422100
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], eax
cmp esi, 1
jne 0x403501
mov dword [esp], str.WriteRegStr:___s_s____s___s_
call fcn.00409060
lea eax, [ebx + 1]
add eax, eax
jmp 0x4035fb
mov dword [esp], str.WriteRegExpandStr:___s_s____s___s_
jmp 0x4034f2
cmp ebx, 4
jne 0x403550
mov eax, 3
call fcn.004014aa
mov dword [0x422100], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 4], eax
call fcn.00409060
mov eax, 4
jmp 0x4035fb
xor eax, eax
cmp ebx, 3
jne 0x4035fb
mov ebx, str.WriteRegNone
test esi, esi
je 0x403574
cmp esi, 7
mov ebx, str.WriteRegMultiStr
mov eax, str.WriteRegBin
cmovne ebx, eax
xor eax, eax
mov dword [esp + 0xc], 0xc000
mov dword [esp + 8], 0x422100
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x274]
mov dword [esp], eax
call fcn.0040464d
lea edx, [ebp - 0x268]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [ebp - 0x2a8], eax
mov dword [esp], edx
mov dword [esp + 8], 0x422100
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00408fd6
lea edx, [ebp - 0x268]
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], str._s:___s_s____s___s_
call fcn.00409060
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x422100
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
mov esi, eax
test eax, eax
je 0x40365c
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], edi
mov esi, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteReg:_error_writing_into___s_s____s_
mov dword [esp + 4], eax
call fcn.00409060
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
jmp 0x403746
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteReg:_error_creating_key___s_s_
mov dword [esp + 4], eax
call fcn.00409060
jmp 0x401cf2
mov dword [esp], 0x20019
call fcn.004014dd
push ecx
mov edi, eax
mov dword [esp], 0x33
call fcn.00401458
push esi
mov word [ebx], 0
test edi, edi
je 0x401cf2
mov dword [ebp - 0x288], 0x4000
lea edx, [ebp - 0x288]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x268]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x403703
mov eax, dword [ebp - 0x268]
cmp eax, 4
je 0x403714
cmp eax, 1
je 0x40370f
cmp eax, 2
je 0x403734
mov word [ebx], 0
mov esi, 1
jmp 0x403743
cmp eax, 4
jne 0x403734
xor eax, eax
cmp dword [ebp - 0x270], 0
sete al
mov esi, eax
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408b38
push eax
push eax
jmp 0x403743
mov esi, dword [ebp - 0x270]
mov word [ebx + 0x3ffe], 0
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4040c0
mov dword [esp], 0x20019
call fcn.004014dd
push edi
mov edi, eax
mov eax, 3
call fcn.004014aa
mov word [ebx], 0
test edi, edi
je 0x401cf2
cmp dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0x1fff
je 0x4037aa
mov dword [esp + 0xc], 0x1fff
xor esi, esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
sub esp, 0x10
jmp 0x40373a
xor esi, esi
lea edx, [ebp - 0x268]
mov dword [esp + 8], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
setne al
movzx eax, al
mov esi, eax
jmp 0x40373a
mov dword [esp], ebx
call fcn.00408b5d
push ecx
test eax, eax
je case.0x401757.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403f9c
mov dword [esp], 0xffffffed
call fcn.00401458
push edx
mov edx, dword [ebp - 0x278]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x27c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040874b
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x402b3a
jmp 0x401ced
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x40386f
mov eax, 1
call fcn.004014aa
mov word [0x41e100], ax
xor eax, eax
cmp esi, 0x38
setne al
mov edi, eax
inc edi
jmp 0x4038c8
cmp esi, 0x38
jne 0x4038af
mov dword [esp], 0x21
call fcn.00401458
push ecx
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 0x41e100
mov dword [esp], 0x422100
call fcn.00408c94
mov dword [esp], 0x41e100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov edi, eax
jmp 0x4038c8
mov dword [esp], 0x11
call fcn.00401458
push edi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
push edx
lea edi, [eax + eax]
cmp word [ebx], 0
je 0x401cf2
mov dword [esp], ebx
call fcn.00408b5d
push ebx
mov ebx, eax
xor eax, eax
cmp esi, 0x38
sete al
or eax, dword [ebp - 0x29c]
je 0x403909
mov dword [esp + 8], edi
mov dword [esp + 4], 0x41e100
mov dword [esp], ebx
call fcn.0040884d
sub esp, 0xc
jmp 0x403b74
cmp dword [ebp - 0x274], 0
je 0x4038ed
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.00408891
push ecx
push ecx
test eax, eax
jns 0x4038ed
jmp 0x401cf2
mov eax, 2
call fcn.004014aa
test eax, eax
jle case.0x401757.67
cmp word [ebx], 0
je 0x4040c6
mov edx, 0x1fff
cmp eax, edx
cmovle edx, eax
mov dword [ebp - 0x29c], edx
mov dword [esp], ebx
xor ebx, ebx
call fcn.00408b5d
push edx
mov esi, eax
mov word [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 2
cmp dword [ebp - 0x284], 0x39
mov edx, dword [ebp - 0x274]
jne 0x403a76
xor eax, eax
mov dword [esp], esi
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, 2
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 0x403b62
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x403b62
mov dword [ebp - 0x2a0], eax
movzx eax, byte [ebp - 0x288]
cmp dword [ebp - 0x274], 0
mov word [ebp - 0x28c], ax
jne 0x403abb
lea eax, [ebp - 0x28c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], 8
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
jne 0x403abb
dec dword [ebp - 0x268]
mov word [ebp - 0x28c], 0xfffd
je 0x403abb
xor ecx, ecx
dec dword [ebp - 0x2a0]
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
neg eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x4039f0
or edx, ebx
je 0x403aa0
lea eax, [ebp - 0x28c]
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00408809
sub esp, 0xc
test eax, eax
jne 0x403abb
jmp 0x403b62
xor eax, eax
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00408891
push edx
push edx
test eax, eax
jns 0x403a7a
xor ebx, ebx
jmp 0x403b62
cmp dword [ebp - 0x274], 0
movzx eax, word [ebp - 0x28c]
je 0x403ade
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408b38
push eax
push eax
jmp 0x404188
cmp word [ebp - 0x2a4], 0xd
je 0x403af2
cmp word [ebp - 0x2a4], 0xa
jne 0x403b41
cmp word [ebp - 0x2a4], ax
je 0x403b07
cmp ax, 0xd
je 0x403b2f
cmp ax, 0xa
je 0x403b2f
xor eax, eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
neg eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x403b62
add ebx, ebx
mov word [edi + ebx], ax
mov word [edi + ebx + 2], 0
jmp case.0x401757.67
inc ebx
mov word [edi + ebx*2 - 2], ax
test ax, ax
je 0x403b62
mov ecx, dword [ebp - 0x29c]
cmp ebx, ecx
je 0x403b68
mov word [ebp - 0x2a4], ax
jmp 0x403975
mov dword [ebp - 0x29c], ebx
mov eax, dword [ebp - 0x29c]
mov word [edi + eax*2], 0
test eax, eax
sete al
movzx eax, al
mov esi, eax
jmp 0x404182
cmp word [ebx], 0
je case.0x401757.67
mov ecx, dword [ebp - 0x274]
mov eax, 2
mov dword [ebp - 0x29c], ecx
call fcn.004014aa
mov dword [esp], ebx
xor ebx, ebx
mov esi, eax
call fcn.00408b5d
push ecx
mov ecx, dword [ebp - 0x29c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
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.0x401757.67
jmp 0x40411e
mov dword [esp], ebx
call fcn.00408b5d
push edx
test eax, eax
je case.0x401757.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403f9c
mov dword [esp], edi
call fcn.00408b5d
push edi
test eax, eax
je 0x401ced
lea edx, [ebp - 0x268]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push esi
push esi
test eax, eax
je 0x401ced
lea eax, [ebp - 0x23c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408c19
push ecx
push ecx
xor esi, esi
jmp 0x404182
mov dword [esp], 2
call fcn.00401458
lea edx, [ebp - 0x268]
push esi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edx
push edx
cmp eax, 0xffffffff
jne 0x403c71
mov word [edi], 0
jmp 0x401ced
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408b38
push ecx
push ecx
jmp 0x403c25
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov dword [esp], eax
call fcn.00408563
push edx
test eax, eax
jne 0x403caa
mov dword [esp], 0xffffffed
call fcn.00401458
push esi
mov dword [esp], ebx
call fcn.004086b2
push ecx
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call fcn.0040874b
mov dword [ebp - 0x29c], eax
sub esp, 0xc
inc eax
jne 0x403cf4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xfffffd66
mov dword [esp], str.created_uninstaller:__d____s_
call fcn.00409060
jmp 0x403e63
cmp dword [ebp - 0x278], 0
mov edx, dword [ebp - 0x27c]
je 0x403e13
mov eax, dword [0x42e128]
mov dword [ebp - 0x2a4], edx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x2a0], eax
mov dword [esp + 4], eax
mov dword [esp], 0x40
call edi
test eax, eax
push edx
mov esi, eax
push edx
mov edx, dword [ebp - 0x2a4]
je 0x403e13
xor eax, eax
mov dword [esp], eax
call fcn.0040444f
push edx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00404427
push ecx
push ecx
mov eax, dword [ebp - 0x278]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call edi
push edi
push edi
mov edi, eax
test eax, eax
je 0x403de7
mov eax, dword [ebp - 0x278]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
call fcn.0040464d
mov eax, edi
sub esp, 0x10
cmp byte [eax], 0
je 0x403ddd
mov ecx, dword [eax]
lea edx, [eax + 8]
mov dword [esp + 8], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [esp + 4], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2a4], edx
add ecx, esi
mov dword [esp], ecx
call fcn.00408695
mov edx, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2a8]
sub esp, 0xc
lea eax, [edx + ecx]
jmp 0x403d9e
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040884d
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 - 0x29c]
xor esi, esi
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040464d
mov edi, eax
mov eax, dword [ebp - 0x29c]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], str.created_uninstaller:__d____s_
call fcn.00409060
mov eax, 0xfffffff3
test edi, edi
jns 0x403e77
mov dword [esp], ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0xffffffef
push ecx
mov dword [esp], eax
call fcn.004016cf
jmp 0x4040c0
test edx, edx
je 0x403ed7
mov dword [esp + 4], eax
mov dword [esp], str.settings_logging_to__d
call fcn.00409060
mov eax, dword [ebp - 0x27c]
mov dword [0x46b360], eax
mov dword [esp + 4], eax
mov dword [esp], str.logging_set_to__d
call fcn.00409060
cmp dword [ebp - 0x27c], 0
je 0x403ec6
call fcn.00406742
jmp case.0x401757.67
mov dword [esp], 1
call fcn.00408db2
jmp 0x403f9c
mov dword [esp], 1
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], 0x40e5cc
call fcn.00409060
jmp case.0x401757.67
xor eax, eax
call fcn.004014aa
mov esi, eax
cmp eax, dword [0x42e14c]
jae 0x401cf2
imul ebx, eax, 0x4018
mov eax, dword [ebp - 0x278]
add ebx, dword [0x42e148]
test eax, eax
js 0x403f3c
mov eax, dword [ebx + eax*4]
jne 0x40411e
add ebx, 0x18
mov dword [esp], edi
mov dword [esp + 4], ebx
jmp 0x403c32
not eax
mov dword [ebp - 0x278], eax
test eax, eax
je 0x403f5a
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x27c], eax
jmp 0x403f78
mov eax, dword [ebp - 0x270]
mov dword [esp + 4], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.0040929b
push eax
push eax
or dword [ebx + 8], 0x100
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x274], 0
je case.0x401757.67
mov dword [esp], esi
call fcn.00401258
push eax
jmp case.0x401757.67
xor eax, eax
call fcn.004014aa
cmp eax, 0x1f
ja 0x401cf2
cmp dword [ebp - 0x274], 0
mov ecx, dword [ebp - 0x278]
je 0x403ff1
test ecx, ecx
je 0x403fe1
mov dword [esp], eax
xor edi, edi
call fcn.0040137c
push esi
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.004012c9
jmp 0x403c37
xor ecx, ecx
mov dword [esp], ecx
call fcn.004013d5
push ebx
jmp 0x40411e
test ecx, ecx
mov edx, dword [0x42e130]
lea eax, [eax + 0x24]
je 0x40400d
mov ecx, dword [ebp - 0x27c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x401757.67
mov eax, dword [edx + eax*4 + 4]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0040929b
jmp 0x403c37
mov esi, dword [ebp - 0x274]
test esi, esi
je 0x404038
dec esi
je 0x4040d0
jmp case.0x401757.67
mov dword [esp], 5
call fcn.00409229
push ecx
mov ebx, eax
mov dword [esp], 0x22
call fcn.00401458
push edx
test ebx, ebx
je 0x4040c6
lea edx, [ebp - 0x268]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.ole32.dll_IIDFromString]
push edx
push edx
test eax, eax
js 0x4040c6
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x268]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x274]
mov dword [esp], edx
mov dword [esp + 4], eax
call ebx
sub esp, 0x10
test eax, eax
js 0x4040c6
mov eax, dword [ebp - 0x288]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408c19
push eax
push eax
mov eax, dword [ebp - 0x288]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
jmp 0x404182
mov word [edi], 0
jmp 0x401cf2
mov eax, 2
xor esi, esi
call fcn.004014aa
mov ebx, eax
mov eax, 4
call fcn.004014aa
mov dword [ebp - 0x268], esi
movzx edx, al
shr eax, 0x18
test ebx, ebx
jne 0x4040fd
mov ebx, 0x41a020
add ebx, eax
lea eax, [ebp - 0x268]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00408695
mov eax, dword [ebp - 0x268]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], edi
jmp 0x402b41
xor ecx, ecx
mov dword [esp + 0xc], ecx
and edx, dword [0x44a2a0]
mov dword [esp + 8], edx
mov dword [esp + 4], 0xb
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
cmp dword [ebp - 0x280], 0
je case.0x401757.67
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
jmp case.0x401757.67
add dword [0x41a028], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4