Function at 0x40163d
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
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
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1cc
mov esi, dword [ebp + 8]
mov edx, dword [0x430854]
mov dword [ebp - 0x194], edx
lea edi, [ebp - 0x174]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x170]
mov ecx, esi
shl ecx, 0xa
mov dword [ebp - 0x18c], ecx
mov ebx, ecx
add ebx, section..ndata
mov eax, dword [ebp - 0x16c]
mov edx, eax
shl edx, 0xa
mov dword [ebp - 0x198], edx
add edx, section..ndata
mov dword [ebp - 0x190], edx
lea edx, [ebp - 0x170]
mov dword [section..bss], edx
mov edx, dword [ebp - 0x174]
sub edx, 2
cmp edx, 0x41
ja case.0x4016b9.65
jmp dword [edx*4 + 0x40b004]
mov dword [esp + 4], 0
mov dword [esp], esi
jmp 0x401c96
inc dword [0x43105c]
cmp dword [ebp - 0x194], 0
je 0x403842
mov dword [esp], 0
call sub.USER32.dll_PostQuitMessage
push ecx
jmp 0x403842
mov dword [esp], esi
call fcn.004015fd
push edi
mov dword [esp + 4], 0
dec eax
mov dword [esp], eax
call fcn.00403853
push edx
push edx
mov esi, eax
jmp case.0x4016b9.2
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00406c15
jmp 0x4037e3
mov dword [esp], 0
call fcn.0040144c
push esi
test eax, eax
jg 0x401743
mov eax, 1
mov dword [esp], eax
call sub.KERNEL32.dll_Sleep
jmp 0x402173
mov ebx, dword [ebp - 0x194]
mov dword [esp], ebx
call sub.USER32.dll_SetForegroundWindow
jmp 0x402173
cmp dword [ebp - 0x168], 0
jne 0x401789
mov eax, dword [esi*4 + 0x4307bc]
mov dword [esi*4 + 0x430784], eax
mov dword [esp], 1
call fcn.0040144c
push ebx
jmp 0x401790
mov eax, dword [esi*4 + 0x430784]
mov dword [esi*4 + 0x4307bc], eax
jmp case.0x4016b9.65
mov eax, dword [ebp - 0x168]
mov edx, dword [eax*4 + 0x4307bc]
xor ecx, ecx
test edx, edx
sete cl
mov esi, dword [ebp + ecx*4 - 0x170]
and edx, dword [ebp - 0x164]
mov dword [eax*4 + 0x4307bc], edx
jmp case.0x4016b9.2
mov eax, dword [eax*4 + 0x4307bc]
jmp 0x4024fd
mov edx, dword [0x431060]
test edx, edx
je 0x4017ed
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.USER32.dll_ShowWindow
push ecx
push ecx
mov eax, dword [0x431064]
test eax, eax
jne 0x4017fb
jmp case.0x4016b9.65
mov edx, dword [ebp - 0x170]
mov dword [esp + 4], edx
mov dword [esp], eax
jmp 0x40253a
mov dword [esp], 0xfffffff0
call fcn.004013f8
push edi
mov edx, dword [ebp - 0x16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_SetFileAttributesA
push edx
push edx
test eax, eax
jmp 0x401bec
mov dword [esp], 0xfffffff0
call fcn.004013f8
push ecx
mov ebx, eax
mov dword [esp], eax
call fcn.0040748c
push esi
xor edi, edi
test eax, eax
je 0x4018b8
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.004073ff
push ecx
push ecx
mov esi, eax
mov dl, byte [eax]
mov byte [ebp - 0x18c], dl
mov byte [eax], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.KERNEL32.dll_CreateDirectoryA
push edx
push edx
test eax, eax
jne 0x4018a9
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x401897
inc edi
jmp 0x4018a9
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
push edx
and eax, 0x10
cmp eax, 1
adc edi, 0
mov cl, byte [ebp - 0x18c]
mov byte [esi], cl
lea eax, [esi + 1]
test cl, cl
jmp 0x401851
cmp dword [ebp - 0x16c], 0
je 0x4018ed
mov dword [esp], 0xffffffe6
call fcn.0040161e
push esi
mov dword [esp + 4], ebx
mov dword [esp], 0x439800
call fcn.004077f4
push eax
push eax
mov dword [esp], ebx
call sub.KERNEL32.dll_SetCurrentDirectoryA
jmp 0x4027f2
mov dword [esp], 0xfffffff5
jmp 0x403677
mov dword [esp], 0
call fcn.004013f8
push ecx
mov dword [esp], eax
call fcn.00407c28
jmp 0x402327
mov dword [esp], 0xffffffd0
call fcn.004013f8
push edx
mov ebx, eax
mov dword [esp], 0xffffffdf
call fcn.004013f8
push ecx
mov esi, eax
mov dword [esp], 0x13
call fcn.004013f8
push edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_MoveFileA
push edx
push edx
test eax, eax
je 0x40195c
mov dword [esp], 0xffffffe3
jmp 0x402b60
cmp dword [ebp - 0x168], 0
jne 0x40196a
jmp 0x4029d3
mov dword [esp], ebx
call fcn.00407c28
push edi
test eax, eax
je 0x4029d3
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00407d5c
push ebx
push ebx
mov dword [esp], 0xffffffe4
jmp 0x402b60
mov dword [esp], 0
call fcn.004013f8
push ecx
mov ebx, eax
lea eax, [ebp - 0x178]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x190]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x400
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFullPathNameA
sub esp, 0x10
test eax, eax
jne 0x4019de
mov ecx, dword [ebp - 0x198]
mov byte [ecx + section..ndata], 0
jmp 0x401a22
mov eax, dword [ebp - 0x178]
xor edi, edi
cmp eax, ebx
jbe 0x401a27
cmp byte [eax], 0
je 0x401a27
mov dword [esp], ebx
call fcn.00407c28
push edx
test eax, eax
je 0x401a15
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call fcn.004077f4
push eax
push eax
jmp 0x401a27
mov ebx, dword [ebp - 0x198]
mov byte [ebx + section..ndata], 0
mov edi, 1
cmp dword [ebp - 0x168], 0
jne 0x403838
mov dword [esp + 8], 0x400
mov edx, dword [ebp - 0x190]
mov dword [esp + 4], edx
mov dword [esp], edx
call sub.KERNEL32.dll_GetShortPathNameA
sub esp, 0xc
jmp 0x403838
mov dword [esp], 0xffffffff
call fcn.004013f8
push esi
lea edx, [ebp - 0x178]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x400
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_SearchPathA
sub esp, 0x18
xor edi, edi
test eax, eax
jne 0x403838
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + section..ndata], 0
jmp 0x402c51
mov dword [esp], 0xffffffef
call fcn.004013f8
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407620
push ecx
push ecx
xor ebx, ebx
test eax, eax
sete bl
mov edi, ebx
jmp 0x403838
mov dword [esp], 0x31
call fcn.004013f8
push ebx
mov esi, eax
mov ebx, dword [ebp - 0x170]
and ebx, 7
mov dword [esp], eax
call fcn.0040745f
push edi
test eax, eax
je 0x401b10
mov dword [esp + 4], esi
mov dword [esp], 0x40c004
call fcn.004077f4
jmp 0x401b3b
mov dword [esp + 4], 0x439800
mov dword [esp], 0x40c004
call fcn.004077f4
push edx
push edx
mov dword [esp], eax
call fcn.0040782d
push ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00407824
push edi
push edi
mov dword [esp], 0x40c004
call fcn.00407870
push eax
cmp ebx, 2
jle 0x401b8c
mov dword [esp], 0x40c004
call fcn.00407c28
push ecx
test eax, eax
je 0x401b79
lea edx, [ebp - 0x164]
mov dword [esp + 4], edx
add eax, 0x14
mov dword [esp], eax
call sub.KERNEL32.dll_CompareFileTime
push edx
push edx
jmp 0x401b7b
xor eax, eax
sub ebx, 3
or ebx, 0x80000000
test eax, ebx
sete bl
movzx ebx, bl
test ebx, ebx
jne 0x401ba4
mov dword [esp], 0x40c004
call fcn.00407595
push eax
mov eax, 2
jmp 0x401bad
xor eax, eax
cmp ebx, 1
setne al
inc eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40c004
call fcn.004075c5
sub esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x401ca0
test ebx, ebx
je 0x401bf9
mov dword [esp + 4], esi
mov dword [esp], 0xffffffe2
call fcn.00406c15
push eax
push eax
cmp ebx, 2
sete al
movzx eax, al
mov edi, eax
jmp 0x403838
mov dword [esp + 4], section..ndata
mov dword [esp], 0x40c804
call fcn.004077f4
push eax
push eax
mov dword [esp + 4], 0x40c004
mov dword [esp], section..ndata
call fcn.004077f4
push eax
push eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
mov dword [esp], 0x40c404
call fcn.00407935
push edx
push edx
mov dword [esp + 4], 0x40c804
mov dword [esp], section..ndata
call fcn.004077f4
push ecx
push ecx
mov eax, dword [ebp - 0x170]
sar eax, 3
mov dword [esp + 4], eax
mov dword [esp], 0x40c404
call fcn.0040738d
push edi
push edi
cmp eax, 4
je 0x401b90
cmp eax, 5
jne 0x401c87
inc dword [0x4307c4]
jmp 0x40383e
mov dword [esp + 4], 0x40c004
mov dword [esp], 0xfffffffa
call fcn.00406c15
jmp 0x4020fd
mov dword [esp + 4], esi
mov dword [esp], 0xffffffea
call fcn.00406c15
push eax
push eax
inc dword [0x4307f0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call fcn.00403af0
sub esp, 0x10
mov ebx, eax
dec dword [0x4307f0]
cmp dword [ebp - 0x164], 0xffffffff
jne 0x401cf7
cmp dword [ebp - 0x160], 0xffffffff
je 0x401d18
lea eax, [ebp - 0x164]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.KERNEL32.dll_SetFileTime
sub esp, 0x10
mov dword [esp], edi
call sub.KERNEL32.dll_CloseHandle
push eax
test ebx, ebx
jns case.0x4016b9.65
cmp ebx, 0xfffffffe
jne 0x401d56
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x40c004
call fcn.00407935
push eax
push eax
mov dword [esp + 4], esi
mov dword [esp], 0x40c004
call fcn.00407824
jmp 0x401d6a
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x40c004
call fcn.00407935
push eax
push eax
mov dword [esp + 4], 0x200010
mov dword [esp], 0x40c004
jmp 0x4020f8
mov dword [esp], 0
jmp 0x401ddd
mov dword [esp], 0x31
call fcn.004013f8
push esi
mov edx, dword [ebp - 0x170]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040738d
push edi
push edi
test eax, eax
je 0x4029d3
cmp eax, dword [ebp - 0x168]
jne 0x401dbf
jmp 0x401fac
cmp eax, dword [ebp - 0x160]
jne case.0x4016b9.65
mov esi, dword [ebp - 0x15c]
jmp case.0x4016b9.2
mov dword [esp], 0xfffffff0
call fcn.004013f8
push ebx
mov edx, dword [ebp - 0x16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407ff9
jmp 0x4037e3
mov dword [esp], 1
call fcn.004013f8
push ecx
mov dword [esp], eax
call fcn.0040781b
jmp 0x4024fc
mov dword [esp], 2
call fcn.0040144c
push ecx
mov esi, eax
mov dword [esp], 3
call fcn.0040144c
push edi
mov edi, eax
mov dword [esp], 1
call fcn.004013f8
push edx
mov ecx, eax
mov edx, dword [ebp - 0x18c]
mov byte [edx + section..ndata], 0
cmp dword [ebp - 0x168], 0
je 0x401e5f
test esi, esi
je case.0x4016b9.65
mov dword [esp], ecx
mov dword [ebp - 0x19c], ecx
call fcn.0040781b
push edx
test edi, edi
mov ecx, dword [ebp - 0x19c]
jns 0x401e80
add edi, eax
js case.0x4016b9.65
cmp edi, eax
jle 0x401e86
mov edi, eax
add edi, ecx
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.004077f4
push eax
push eax
cmp esi, 0
je case.0x4016b9.65
jge 0x401eae
mov dword [esp], ebx
call fcn.0040781b
push edi
add esi, eax
js 0x401ebc
cmp esi, 0x3ff
jg case.0x4016b9.65
jmp 0x401ebe
xor esi, esi
mov ecx, dword [ebp - 0x18c]
mov byte [esi + ecx + section..ndata], 0
jmp case.0x4016b9.65
mov dword [esp], 0x20
call fcn.004013f8
push ebx
mov ebx, eax
mov dword [esp], 0x31
call fcn.004013f8
push esi
cmp dword [ebp - 0x160], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x401f04
call sub.KERNEL32.dll_lstrcmpiA
jmp 0x401f09
call sub.KERNEL32.dll_lstrcmpA
push ecx
push ecx
test eax, eax
jne 0x401fac
jmp 0x402337
mov dword [esp], 1
call fcn.004013f8
push edx
mov esi, eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_ExpandEnvironmentStringsA
sub esp, 0xc
test eax, eax
jne 0x401f56
mov edx, dword [ebp - 0x18c]
mov byte [edx + section..ndata], 0
mov edi, 1
jmp 0x401f77
cmp dword [ebp - 0x168], 0
jne 0x401f63
xor edi, edi
jmp 0x401f77
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.KERNEL32.dll_lstrcmpA
push edi
push edi
test eax, eax
je 0x401f42
jmp 0x401f5f
mov byte [ebx + 0x3ff], 0
jmp 0x403838
mov dword [esp], 0
call fcn.0040144c
push ebx
mov ebx, eax
mov dword [esp], 1
call fcn.0040144c
push esi
cmp dword [ebp - 0x15c], 0
jne 0x401fc8
cmp ebx, eax
jge 0x401fb7
mov esi, dword [ebp - 0x164]
jmp case.0x4016b9.2
jle 0x402337
mov esi, dword [ebp - 0x160]
jmp case.0x4016b9.2
cmp ebx, eax
jb 0x401fac
ja 0x401fbd
jmp 0x402337
mov dword [esp], 1
call fcn.0040144c
push edx
mov esi, eax
mov dword [esp], 2
call fcn.0040144c
push ecx
mov ecx, eax
xor edi, edi
cmp dword [ebp - 0x164], 0xc
ja case.default.0x402002
mov eax, dword [ebp - 0x164]
jmp dword [eax*4 + 0x40b10c]
add esi, ecx
jmp 0x402069
sub esi, ecx
jmp 0x402069
imul esi, ecx
jmp 0x402069
test ecx, ecx
je 0x40206d
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x402069
or esi, ecx
jmp 0x402069
and esi, ecx
jmp 0x402069
xor esi, ecx
jmp 0x402069
xor edx, edx
test esi, esi
sete dl
jmp 0x40205f
or ecx, esi
setne cl
movzx ecx, cl
mov esi, ecx
jmp 0x402069
test ecx, ecx
setne al
xor edx, edx
test esi, esi
setne dl
mov esi, edx
and esi, eax
jmp 0x402069
test ecx, ecx
je 0x40206d
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x402069
shl esi, cl
jmp 0x402069
sar esi, cl
xor edi, edi
jmp case.default.0x402002
xor esi, esi
mov edi, 1
mov dword [esp + 4], esi
jmp 0x402303
mov dword [esp], 1
call fcn.004013f8
push ecx
mov esi, eax
mov dword [esp], 2
call fcn.0040144c
push edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.USER32.dll_wsprintfA
jmp case.0x4016b9.65
mov esi, dword [0x40d404]
mov edx, dword [ebp - 0x168]
test edx, edx
je 0x402147
mov eax, edx
jmp 0x4020cc
mov esi, dword [esi]
test eax, eax
je 0x4020d3
dec eax
test esi, esi
jne 0x4020c6
jmp 0x4020d7
test esi, esi
jne 0x402104
mov dword [esp + 4], 0xffffffe8
mov dword [esp], 0
call fcn.00407935
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
call fcn.0040738d
push eax
push eax
jmp 0x403842
add esi, 4
mov dword [esp + 4], esi
mov dword [esp], 0x40c004
call fcn.004077f4
push eax
push eax
mov eax, dword [0x40d404]
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004077f4
push eax
push eax
mov dword [esp + 4], 0x40c004
mov eax, dword [0x40d404]
add eax, 4
mov dword [esp], eax
jmp 0x4036c8
test eax, eax
je 0x402179
test esi, esi
je 0x4029d3
lea eax, [esi + 4]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004077f4
push edi
push edi
mov eax, dword [esi]
mov dword [0x40d404], eax
mov dword [esp], esi
call sub.KERNEL32.dll_GlobalFree
push ebx
jmp case.0x4016b9.65
mov dword [esp + 4], 0x404
mov dword [esp], 0x40
call sub.KERNEL32.dll_GlobalAlloc
push edx
push edx
mov ebx, eax
mov eax, dword [ebp - 0x170]
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.00407935
push ecx
push ecx
mov eax, dword [0x40d404]
mov dword [ebx], eax
mov dword [0x40d404], ebx
jmp case.0x4016b9.65
mov dword [esp], 3
call fcn.0040144c
push ecx
mov esi, eax
mov dword [esp], 4
call fcn.0040144c
push edi
mov edi, eax
test byte [ebp - 0x15c], 1
je 0x4021f0
mov dword [esp], 0x33
call fcn.004013f8
push edx
mov esi, eax
test byte [ebp - 0x15c], 2
je 0x402208
mov dword [esp], 0x44
call fcn.004013f8
push edi
mov edi, eax
cmp dword [ebp - 0x174], 0x21
mov dword [esp], 1
jne 0x402296
call fcn.0040144c
push edx
mov dword [ebp - 0x18c], eax
mov dword [esp], 2
call fcn.0040144c
push ecx
mov edx, dword [ebp - 0x15c]
sar edx, 2
je 0x40227a
lea ecx, [ebp - 0x178]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
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 sub.USER32.dll_SendMessageTimeoutA
sub esp, 0x1c
xor edx, edx
test eax, eax
sete dl
mov edi, edx
jmp 0x4022ec
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 sub.USER32.dll_SendMessageA
jmp 0x4022e1
call fcn.004013f8
push edx
mov dword [esp], 0x12
mov dword [ebp - 0x1a0], eax
call fcn.004013f8
push ecx
xor ecx, ecx
cmp byte [eax], 0
setne cl
neg ecx
and eax, ecx
mov edx, dword [ebp - 0x1a0]
xor ecx, ecx
cmp byte [edx], 0
setne cl
neg ecx
and edx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.USER32.dll_FindWindowExA
sub esp, 0x10
mov dword [ebp - 0x178], eax
xor edi, edi
cmp dword [ebp - 0x170], 0
js 0x403838
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040772d
push esi
push esi
jmp 0x403838
mov dword [esp], 0
call fcn.0040144c
push ebx
mov dword [esp], eax
call sub.USER32.dll_IsWindow
push ecx
test eax, eax
je 0x402337
mov esi, dword [ebp - 0x16c]
jmp case.0x4016b9.2
mov esi, dword [ebp - 0x168]
jmp case.0x4016b9.2
mov dword [esp], 2
call fcn.0040144c
push esi
mov esi, eax
mov dword [esp], 1
call fcn.0040144c
push edi
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.USER32.dll_GetDlgItem
push edx
push edx
jmp 0x4024fd
mov ebx, dword [0x430828]
add ebx, eax
mov dword [esp], 0
call fcn.0040144c
push ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call sub.USER32.dll_SetWindowLongA
jmp 0x403833
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call sub.USER32.dll_GetDlgItem
push edx
push edx
mov ebx, eax
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.USER32.dll_GetClientRect
push ecx
push ecx
mov eax, dword [ebp - 0x168]
mov edi, dword [ebp - 0x14c]
imul edi, eax
mov esi, dword [ebp - 0x150]
imul esi, eax
mov dword [esp], 0
call fcn.004013f8
push edx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.USER32.dll_LoadImageA
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x172
mov dword [esp], ebx
call sub.USER32.dll_SendMessageA
sub esp, 0x10
test eax, eax
je case.0x4016b9.65
mov dword [esp], eax
call sub.GDI32.dll_DeleteObject
jmp 0x402173
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call sub.USER32.dll_GetDC
push edi
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call sub.GDI32.dll_GetDeviceCaps
push edx
push edx
mov esi, eax
mov dword [esp], 2
call fcn.0040144c
push ecx
mov dword [esp + 8], 0x48
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_MulDiv
sub esp, 0xc
neg eax
mov dword [0x40d408], eax
mov dword [esp], 3
call fcn.0040144c
push esi
mov dword [0x40d418], eax
mov eax, dword [ebp - 0x160]
mov edx, eax
and edx, 1
mov byte [0x40d41c], dl
mov edx, eax
and edx, 2
mov byte [0x40d41d], dl
and eax, 4
mov byte [0x40d41e], al
mov byte [0x40d41f], 1
mov eax, dword [ebp - 0x16c]
mov dword [esp + 4], eax
mov dword [esp], 0x40d424
call fcn.00407935
push edi
push edi
mov dword [esp], 0x40d408
call sub.GDI32.dll_CreateFontIndirectA
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040772d
jmp 0x4037e3
mov dword [esp], 0
call fcn.0040144c
push edx
mov ebx, eax
mov dword [esp], 1
call fcn.0040144c
push ecx
cmp dword [ebp - 0x164], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x402544
call sub.USER32.dll_ShowWindow
jmp 0x4037e3
call sub.USER32.dll_EnableWindow
jmp 0x4037e3
mov dword [esp], 0
call fcn.004013f8
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.004013f8
push ecx
mov edi, eax
mov dword [esp], 0x22
call fcn.004013f8
push esi
mov esi, eax
mov dword [esp], 0x15
call fcn.004013f8
push eax
mov dword [esp], 0xffffffec
call fcn.0040161e
push eax
xor eax, eax
cmp byte [esi], 0
setne al
neg eax
and esi, eax
xor edx, edx
cmp byte [ebx], 0
setne dl
neg edx
and ebx, edx
mov eax, dword [ebp - 0x164]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x439800
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x194]
mov dword [esp], ebx
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
cmp eax, 0x20
setle al
jmp 0x401bef
mov dword [esp], 0
call fcn.004013f8
push ebx
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], 0xffffffeb
call fcn.00406c15
push esi
push esi
mov dword [esp], ebx
call fcn.004072d4
push edi
mov ebx, eax
test eax, eax
je 0x4029d3
cmp dword [ebp - 0x168], 0
jne 0x402633
jmp 0x402683
mov dword [esp], 0xf
call fcn.0040829a
push ecx
mov dword [esp + 4], 0x64
mov dword [esp], ebx
call sub.KERNEL32.dll_WaitForSingleObject
push edx
push edx
cmp eax, 0x102
je 0x402626
lea eax, [ebp - 0x178]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_GetExitCodeProcess
push edi
push edi
cmp dword [ebp - 0x16c], 0
js 0x402687
mov eax, dword [ebp - 0x178]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.0040772d
push esi
push esi
xor edi, edi
jmp 0x402695
xor ecx, ecx
cmp dword [ebp - 0x178], 0
setne cl
mov edi, ecx
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
jmp 0x4027f2
mov dword [esp], 2
call fcn.004013f8
push edx
mov dword [esp], eax
call fcn.00407c28
push ecx
mov esi, eax
test eax, eax
je 0x4026dd
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.0040772d
push edi
push edi
mov eax, dword [esi + 0x18]
jmp 0x4024fd
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + section..ndata], 0
mov ebx, dword [ebp - 0x198]
jmp 0x403160
mov dword [esp], 0xffffffee
call fcn.004013f8
push ecx
mov edi, eax
lea eax, [ebp - 0x17c]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
push esi
push esi
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + section..ndata], 0
mov ecx, dword [ebp - 0x198]
mov byte [ecx + section..ndata], 0
test eax, eax
jne 0x40273b
jmp 0x4029d3
mov dword [esp + 4], eax
mov dword [esp], 0x40
mov dword [ebp - 0x1a0], eax
call sub.KERNEL32.dll_GlobalAlloc
push edx
push edx
mov esi, eax
test eax, eax
mov edx, dword [ebp - 0x1a0]
je 0x4029d3
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.VERSION.dll_GetFileVersionInfoA
sub esp, 0x10
test eax, eax
jne 0x402789
mov edi, 1
jmp 0x4027ea
lea eax, [ebp - 0x178]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x180]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40b000
mov dword [esp], esi
call sub.VERSION.dll_VerQueryValueA
sub esp, 0x10
test eax, eax
je 0x402782
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040772d
push eax
push eax
mov eax, dword [ebp - 0x180]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x190]
mov dword [esp], ebx
call fcn.0040772d
push eax
push eax
xor edi, edi
mov dword [esp], esi
call sub.KERNEL32.dll_GlobalFree
push eax
jmp 0x403838
cmp dword [0x4307f4], 0
js 0x402914
mov dword [esp], 0xfffffff0
call fcn.004013f8
push ebx
mov edi, eax
mov dword [esp], 1
call fcn.004013f8
push esi
mov esi, eax
cmp dword [ebp - 0x160], 0
jne 0x402853
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], edi
call sub.KERNEL32.dll_LoadLibraryExA
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x402908
jmp 0x402862
mov dword [esp], edi
call sub.KERNEL32.dll_GetModuleHandleA
push ecx
mov ebx, eax
test eax, eax
je 0x40282c
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_GetProcAddress
push edx
push edx
mov edi, eax
test eax, eax
je 0x4028c6
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x402897
mov dword [esp], eax
call fcn.0040161e
push eax
call edi
test eax, eax
setne al
movzx eax, al
mov edi, eax
jmp 0x4028dd
mov dword [esp + 0x10], section..data
mov dword [esp + 0xc], 0x40d404
mov dword [esp + 8], 0x434000
mov dword [esp + 4], 0x400
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call edi
xor edi, edi
jmp 0x4028dd
mov dword [esp + 4], esi
mov dword [esp], 0xfffffff7
call fcn.00406c15
push edi
push edi
mov edi, 1
cmp dword [ebp - 0x164], 0
jne 0x403838
mov dword [esp], ebx
call fcn.00404735
push esi
test eax, eax
je 0x403838
mov dword [esp], ebx
call sub.KERNEL32.dll_FreeLibrary
jmp 0x4027f2
mov dword [esp], 0xfffffff6
jmp 0x4029cd
mov dword [esp], 0xffffffe7
jmp 0x4029cd
mov dword [esp], 0xfffffff0
call fcn.004013f8
push edx
mov dword [ebp - 0x18c], eax
mov dword [esp], 0xffffffdf
call fcn.004013f8
push ecx
mov edi, eax
mov dword [esp], 2
call fcn.004013f8
push ebx
mov dword [ebp - 0x190], eax
mov dword [esp], 0xffffffcd
call fcn.004013f8
push esi
mov esi, eax
mov dword [esp], 0x45
call fcn.004013f8
push edx
mov dword [ebp - 0x194], eax
mov dword [esp], edi
call fcn.0040745f
push ecx
test eax, eax
jne 0x402991
mov dword [esp], 0x21
call fcn.004013f8
push eax
lea eax, [ebp - 0x17c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40b760
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x40b650
call sub.OLE32.dll_CoCreateInstance
sub esp, 0x14
test eax, eax
jns 0x4029dd
mov dword [esp], 0xfffffff0
call fcn.0040161e
push ebx
mov edi, 1
jmp 0x403838
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
lea ecx, [ebp - 0x178]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40bb50
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x402b42
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x50]
push edx
push edx
mov ebx, eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
mov dword [esp + 4], 0x439800
mov dword [esp], eax
call dword [edx + 0x24]
push ecx
push ecx
movzx edx, byte [ebp - 0x15f]
test edx, edx
je 0x402a56
mov eax, dword [ebp - 0x17c]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
movzx ecx, word [ebp - 0x15e]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp byte [esi], 0
je 0x402a96
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
movzx ecx, byte [ebp - 0x160]
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 - 0x17c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x190]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
push edi
push edi
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x194]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
push eax
push eax
test ebx, ebx
js 0x402b33
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], 0x40d444
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_MultiByteToWideChar
sub esp, 0x18
mov ebx, 0x80004005
test eax, eax
je 0x402b33
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x40d444
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ecx
test ebx, ebx
js 0x4029c6
mov dword [esp], 0xfffffff4
call fcn.0040161e
jmp 0x402173
mov dword [esp], 0
call fcn.004013f8
push edx
mov ebx, eax
mov dword [esp], 0x11
call fcn.004013f8
push ecx
mov esi, eax
mov dword [esp], 0x23
call fcn.004013f8
push edi
mov edi, eax
mov dword [esp], ebx
call fcn.00407c28
push edx
test eax, eax
jne 0x402bbf
mov dword [esp + 4], 0
mov dword [esp], 0xfffffff9
call fcn.00406c15
push edi
push edi
jmp 0x4029d3
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], 2
mov dword [esp], ebx
call fcn.0040781b
push edx
mov byte [ebx + eax + 1], 0
mov dword [esp], esi
call fcn.0040781b
push ecx
mov byte [esi + eax + 1], 0
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x13e], edi
mov eax, dword [ebp - 0x168]
mov word [ebp - 0x148], ax
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.00406c15
push ebx
push ebx
lea eax, [ebp - 0x158]
mov dword [esp], eax
call sub.SHELL32.DLL_SHFileOperationA
push esi
xor edi, edi
test eax, eax
je 0x403838
mov dword [esp + 4], 0
mov dword [esp], 0xfffffff9
call fcn.00406c15
push ebx
push ebx
mov di, 1
jmp 0x403838
cmp esi, 0xbadf00d
je 0x402c67
jmp 0x4020d7
inc dword [0x4307d0]
jmp case.0x4016b9.65
xor ebx, ebx
test esi, esi
je 0x402c87
mov dword [esp], 0
call fcn.004013f8
push ecx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x16c], 0
je 0x402ca1
mov dword [esp], 0x11
call fcn.004013f8
push edx
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x160], 0
je 0x402cbb
mov dword [esp], 0x22
call fcn.004013f8
push edi
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.004013f8
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_WritePrivateProfileStringA
sub esp, 0x10
jmp 0x4031f0
mov dword [ebp - 0x178], 0x7e4e21
mov dword [esp], 1
call fcn.004013f8
push ecx
mov esi, eax
mov dword [esp], 0x12
call fcn.004013f8
push edi
mov edi, eax
mov dword [esp], 0xffffffdd
call fcn.004013f8
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x3ff
mov dword [esp + 0xc], ebx
lea eax, [ebp - 0x178]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.KERNEL32.dll_GetPrivateProfileStringA
sub esp, 0x18
xor edi, edi
mov eax, dword [ebp - 0x178]
mov ebx, dword [ebp - 0x18c]
cmp dword [ebx + section..ndata], eax
jne 0x403838
mov byte [ebx + section..ndata], 0
jmp 0x402c51
cmp dword [ebp - 0x160], 0
jne 0x402db1
mov dword [esp], 2
call fcn.00401593
push edx
mov ebx, eax
test eax, eax
jne 0x402d89
jmp 0x4029d3
mov dword [esp], 0x33
call fcn.004013f8
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegDeleteValueA
push edi
push edi
mov esi, eax
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegCloseKey
push eax
jmp 0x402df2
mov dword [esp], 0x22
call fcn.004013f8
push ecx
mov edx, dword [ebp - 0x160]
and edx, 2
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
jne 0x402ddd
mov ecx, dword [0x4307c0]
sub ecx, 0x7fffffff
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00401478
sub esp, 0xc
mov esi, eax
test esi, esi
je case.0x4016b9.65
jmp 0x4029d3
mov edi, esi
test esi, esi
jne 0x402e11
mov edi, dword [0x4307c0]
sub edi, 0x7fffffff
mov esi, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x18c], edx
mov dword [esp], 2
call fcn.004013f8
push ecx
mov ebx, eax
mov dword [esp], 0x11
call fcn.004013f8
push edx
mov dword [esp + 0x20], 0
lea edx, [ebp - 0x178]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov edx, dword [0x4307ec]
or edx, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.ADVAPI32.DLL_RegCreateKeyExA
sub esp, 0x24
mov edi, 1
test eax, eax
jne 0x403838
cmp esi, 1
jne 0x402ebc
mov dword [esp], 0x23
call fcn.004013f8
push edi
mov dword [esp], 0x40c804
call fcn.0040781b
push edx
inc eax
jmp 0x402f0a
cmp esi, 4
jne 0x402eda
mov dword [esp], 3
call fcn.0040144c
push esi
mov dword [0x40c804], eax
mov eax, 4
jmp 0x402f0a
xor eax, eax
cmp esi, 3
jne 0x402f0a
mov dword [esp + 0xc], 0xc00
mov dword [esp + 8], 0x40c804
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.00403af0
sub esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x40c804
mov ecx, dword [ebp - 0x18c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
sub esp, 0x18
xor ebx, ebx
test eax, eax
setne bl
mov edi, ebx
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
jmp 0x403037
mov dword [esp], 0x20019
call fcn.00401593
push edx
mov esi, eax
mov dword [esp], 0x33
call fcn.004013f8
push ecx
mov edx, dword [ebp - 0x18c]
mov byte [edx + section..ndata], 0
test esi, esi
je 0x4029d3
mov dword [ebp - 0x17c], 0x3ff
lea edx, [ebp - 0x17c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
lea edx, [ebp - 0x178]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x402fd7
mov eax, dword [ebp - 0x178]
cmp eax, 1
je 0x402feb
cmp eax, 4
je 0x402feb
cmp eax, 2
je 0x40301a
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + section..ndata], 0
mov edi, 1
jmp 0x403034
cmp eax, 4
jne 0x40301a
xor eax, eax
cmp dword [ebp - 0x160], 0
sete al
mov edi, eax
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + section..ndata]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040772d
push eax
push eax
jmp 0x403034
mov edi, dword [ebp - 0x160]
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + eax + section..ndata], 0
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x4027f2
mov dword [esp], 0x20019
call fcn.00401593
push esi
mov esi, eax
mov dword [esp], 3
call fcn.0040144c
push edi
mov edx, dword [ebp - 0x18c]
mov byte [edx + section..ndata], 0
test esi, esi
je 0x4029d3
mov dword [ebp - 0x178], 0x3ff
cmp dword [ebp - 0x160], 0
je 0x4030a2
mov dword [esp + 0xc], 0x3ff
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegEnumKeyA
sub esp, 0x10
jmp 0x4030e8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x178]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegEnumValueA
sub esp, 0x20
test eax, eax
je 0x4030e8
jmp 0x4029d3
mov byte [ebx + 0x3ff], 0
mov dword [esp], esi
call sub.ADVAPI32.DLL_RegCloseKey
jmp 0x402173
mov ecx, dword [ebp - 0x18c]
cmp byte [ecx + section..ndata], 0
je case.0x4016b9.65
mov dword [esp], ebx
call fcn.00407751
push ebx
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
jmp 0x402173
mov dword [esp], 0xffffffed
call fcn.004013f8
push ecx
mov edx, dword [ebp - 0x168]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x16c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004075c5
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x4024fd
mov ebx, dword [ebp - 0x18c]
mov byte [ebx + section..ndata], 0
jmp 0x4029d3
cmp dword [ebp - 0x168], 0
je 0x40318e
mov dword [esp], 1
call fcn.0040144c
push edx
mov byte [0x40c404], al
mov esi, 1
jmp 0x4031a6
mov dword [esp], 0x11
call fcn.004013f8
push esi
mov dword [esp], eax
call fcn.0040781b
push edi
mov esi, eax
mov edi, 1
mov edx, dword [ebp - 0x18c]
cmp byte [edx + section..ndata], 0
je 0x403838
mov dword [esp], ebx
call fcn.00407751
push ebx
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x178]
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x40c404
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
test eax, eax
jmp 0x40333d
mov dword [esp], 2
call fcn.0040144c
push ecx
mov edi, eax
test eax, eax
jle case.0x4016b9.65
xor esi, esi
mov edx, dword [ebp - 0x18c]
cmp byte [edx + section..ndata], 0
je 0x40332d
mov dword [esp], ebx
call fcn.00407751
push edx
mov edx, eax
xor ebx, ebx
lea ecx, [ebp - 0x17c]
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x178]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], ecx
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
mov edx, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x19c]
je 0x40332d
cmp dword [ebp - 0x178], 1
jne 0x40332d
cmp dword [ebp - 0x164], 0
je 0x4032b5
movzx eax, byte [ebp - 0x17c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.0040772d
push ebx
push ebx
jmp 0x40383e
cmp bl, 0xa
mov al, byte [ebp - 0x17c]
je 0x4032c5
cmp bl, 0xd
jne 0x403306
cmp bl, al
je 0x4032d1
cmp al, 0xa
je 0x4032f6
cmp al, 0xd
je 0x4032f6
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
call sub.KERNEL32.dll_SetFilePointer
sub esp, 0x10
jmp 0x40332d
mov ecx, dword [ebp - 0x198]
mov byte [esi + ecx + section..ndata], al
inc esi
jmp 0x40332d
mov ebx, dword [ebp - 0x190]
mov byte [ebx + esi], al
inc esi
mov bl, al
test al, al
je 0x40332d
mov eax, edi
cmp edi, 0x3ff
jle 0x403325
mov eax, 0x3ff
cmp esi, eax
jl 0x403236
mov edx, dword [ebp - 0x198]
mov byte [esi + edx + section..ndata], 0
test esi, esi
sete cl
movzx ecx, cl
mov edi, ecx
jmp 0x403838
mov edx, dword [ebp - 0x18c]
cmp byte [edx + section..ndata], 0
je case.0x4016b9.65
mov edi, dword [ebp - 0x164]
mov dword [esp], 2
call fcn.0040144c
push edx
mov esi, eax
mov dword [esp], ebx
call fcn.00407751
push ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.KERNEL32.dll_SetFilePointer
sub esp, 0x10
cmp dword [ebp - 0x16c], 0
js case.0x4016b9.65
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
jmp 0x402504
mov edx, dword [ebp - 0x18c]
cmp byte [edx + section..ndata], 0
je case.0x4016b9.65
mov dword [esp], ebx
call fcn.00407751
push edi
mov dword [esp], eax
call sub.KERNEL32.dll_FindClose
jmp 0x402173
mov ecx, dword [ebp - 0x198]
cmp byte [ecx + section..ndata], 0
je 0x403416
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.00407751
push ecx
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_FindNextFileA
push esi
push esi
test eax, eax
je 0x403416
jmp 0x403481
mov ecx, dword [ebp - 0x18c]
mov byte [ecx + section..ndata], 0
jmp 0x4029d3
mov dword [esp], 2
call fcn.004013f8
push edi
lea edx, [ebp - 0x158]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.KERNEL32.dll_FindFirstFileA
push edx
push edx
cmp eax, 0xffffffff
jne 0x40346d
mov ebx, dword [ebp - 0x198]
mov byte [ebx + section..ndata], 0
mov edx, dword [ebp - 0x18c]
mov byte [edx + section..ndata], 0
jmp 0x4029d3
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
call fcn.0040772d
push esi
push esi
lea eax, [ebp - 0x12c]
mov dword [esp + 4], eax
mov dword [esp], ebx
jmp 0x4036c8
mov dword [esp], 0xfffffff0
call fcn.004013f8
push edx
mov edi, eax
mov dword [esp], eax
call fcn.0040745f
push ecx
test eax, eax
jne 0x4034bc
mov dword [esp], 0xffffffed
call fcn.004013f8
push eax
mov dword [esp], edi
call fcn.00407595
push esi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], edi
call fcn.004075c5
sub esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
jne 0x4034ff
mov dword [esp], edi
call sub.KERNEL32.dll_DeleteFileA
push ebx
mov eax, 0xffffffef
mov edi, 1
jmp 0x403674
mov ebx, dword [0x43084c]
mov dword [ebp - 0x18c], ebx
mov dword [esp + 4], ebx
mov dword [esp], 0x40
call sub.KERNEL32.dll_GlobalAlloc
push ecx
push ecx
mov ebx, eax
test eax, eax
je 0x403657
mov dword [esp], 0
call fcn.00403abf
push eax
mov edx, dword [ebp - 0x18c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00403a74
push eax
push eax
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], eax
mov dword [esp], 0x40
call sub.KERNEL32.dll_GlobalAlloc
push edx
push edx
mov ecx, eax
test eax, eax
je 0x4035fc
mov eax, dword [ebp - 0x168]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
mov dword [ebp - 0x19c], ecx
call fcn.00403af0
sub esp, 0x10
mov ecx, dword [ebp - 0x19c]
mov edx, ecx
jmp 0x4035ee
mov eax, dword [edx]
mov dword [ebp - 0x190], eax
lea eax, [edx + 8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 4], eax
mov edx, dword [edx + 4]
add edx, ebx
mov dword [esp], edx
mov dword [ebp - 0x19c], ecx
call fcn.00407572
sub esp, 0xc
mov edx, dword [ebp - 0x194]
add edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x19c]
cmp byte [edx], 0
jne 0x4035a1
mov dword [esp], ecx
call sub.KERNEL32.dll_GlobalFree
push eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x178]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x18c]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
mov dword [esp], ebx
call sub.KERNEL32.dll_GlobalFree
push ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0xffffffff
call fcn.00403af0
sub esp, 0x10
mov ebx, eax
jmp 0x40365c
mov ebx, 0xfffffd66
mov dword [esp], esi
call sub.KERNEL32.dll_CloseHandle
push ecx
test ebx, ebx
js 0x4034e7
mov eax, 0xfffffff3
xor edi, edi
mov dword [esp], eax
call fcn.0040161e
jmp 0x4027f2
mov dword [esp], 0
call fcn.0040144c
push edx
mov esi, eax
cmp eax, dword [0x43080c]
jae 0x4029d3
imul ebx, eax, 0x418
add ebx, dword [0x430808]
mov eax, dword [ebp - 0x168]
cmp eax, 0
jl 0x4036e1
mov eax, dword [ebx + eax*4]
jne 0x4036d2
add ebx, 0x18
mov dword [esp + 4], ebx
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
call fcn.004077f4
jmp 0x4037e3
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x190]
jmp 0x402501
not eax
mov dword [ebp - 0x168], eax
test eax, eax
je 0x403702
mov dword [esp], 1
call fcn.0040144c
push edi
mov dword [ebp - 0x16c], eax
jmp 0x403720
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.00407935
push ecx
push ecx
or dword [ebx + 8], 0x100
mov eax, dword [ebp - 0x168]
mov edx, dword [ebp - 0x16c]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x164], 0
je case.0x4016b9.65
mov dword [esp], esi
call fcn.00401214
jmp 0x402173
mov dword [esp], 0
call fcn.0040144c
push edx
cmp eax, 0x1f
ja 0x4029d3
cmp dword [ebp - 0x164], 0
je 0x4037af
cmp dword [ebp - 0x168], 0
je 0x403790
mov dword [esp], eax
call fcn.0040132b
push edi
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0040127b
jmp 0x4037e3
mov dword [esp], 0
call fcn.00401372
push esi
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
jmp 0x402504
cmp dword [ebp - 0x168], 0
mov edx, dword [0x4307fc]
lea eax, [eax + 0x24]
je 0x4037cd
mov ecx, dword [ebp - 0x16c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x4016b9.65
mov eax, dword [edx + eax*4 + 4]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x190]
mov dword [esp], ecx
call fcn.00407935
push ebx
push ebx
jmp case.0x4016b9.65
mov dword [esp + 0xc], 0
and esi, dword [0x42bc14]
mov dword [esp + 8], esi
mov dword [esp + 4], 0xb
mov ebx, dword [ebp - 0x194]
mov dword [esp], ebx
call sub.USER32.dll_SendMessageA
sub esp, 0x10
cmp dword [ebp - 0x170], 0
je case.0x4016b9.65
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.USER32.dll_InvalidateRect
sub esp, 0xc
xor edi, edi
add dword [0x4307c4], edi
xor esi, esi
jmp case.0x4016b9.2
mov esi, 0x7fffffff
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4