Function at 0x40164f
Capabilities:
Copy file
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 ecx, 7
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x1cc
mov edx, dword [0x44e854]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x194], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov edx, eax
shl edx, 0xd
mov ebx, esi
mov dword [ebp - 0x198], edx
add edx, section..ndata
mov dword [ebp - 0x190], edx
lea edx, [ebp - 0x3c]
mov dword [section..bss], edx
mov edx, dword [ebp - 0x40]
shl ebx, 0xd
lea edi, [ebx + section..ndata]
sub edx, 2
cmp edx, 0x41
ja case.0x4016b3.65
jmp dword [edx*4 + 0x40b004]
mov dword [esp + 4], 0
mov dword [esp], esi
jmp 0x401cb1
inc dword [0x45285c]
mov esi, 0x7fffffff
cmp dword [ebp - 0x194], 0
je case.0x4016b3.2
mov dword [esp], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
jmp case.0x4016b3.2
mov dword [esp], esi
call fcn.0040160f
dec eax
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004037eb
push ecx
mov esi, eax
push ecx
jmp case.0x4016b3.2
mov dword [esp], esi
xor esi, esi
mov dword [esp + 4], 0
call fcn.00406bb6
push eax
push eax
jmp 0x4037d9
xor eax, eax
call fcn.00401463
mov edx, 1
test eax, eax
cmovg edx, eax
xor esi, esi
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
jmp 0x4037d9
mov ebx, dword [ebp - 0x194]
xor esi, esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push eax
jmp 0x4037d9
cmp dword [ebp - 0x34], 0
jne 0x401796
mov eax, dword [esi*4 + 0x44e7bc]
mov dword [esi*4 + 0x44e784], eax
mov eax, 1
call fcn.00401463
mov dword [esi*4 + 0x44e7bc], eax
xor esi, esi
jmp 0x4037d9
mov eax, dword [esi*4 + 0x44e784]
mov dword [esi*4 + 0x44e7bc], eax
xor esi, esi
jmp 0x4037d9
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, dword [eax*4 + 0x44e7bc]
test edx, edx
sete cl
and edx, dword [ebp - 0x30]
mov esi, dword [ebp + ecx*4 - 0x3c]
mov dword [eax*4 + 0x44e7bc], edx
jmp case.0x4016b3.2
mov eax, dword [eax*4 + 0x44e7bc]
xor esi, esi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407751
push eax
push eax
jmp 0x4037d9
mov edx, dword [0x452860]
test edx, edx
je 0x401804
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
mov eax, dword [0x452864]
xor esi, esi
test eax, eax
je 0x4037d9
mov edx, dword [ebp - 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push edi
jmp 0x4037d9
mov eax, 0xfffffff0
call fcn.00401414
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
sete al
push ebx
movzx eax, al
push ebx
mov esi, eax
jmp 0x4037d9
mov eax, 0xfffffff0
xor esi, esi
call fcn.00401414
mov ebx, eax
mov dword [esp], eax
call fcn.00407490
test eax, eax
push ecx
je 0x4018f4
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], edx
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.004073f4
push ecx
mov edi, eax
push ecx
mov bl, byte [eax]
mov byte [eax], 0
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebp - 0x18c]
test eax, eax
push edx
push edx
jne 0x4018e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4018cc
inc esi
jmp 0x4018e5
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp eax, 1
push edx
adc esi, 0
test bl, bl
mov byte [edi], bl
lea eax, [edi + 1]
jne 0x401886
mov ebx, dword [ebp - 0x190]
cmp dword [ebp - 0x38], 0
je 0x401928
mov dword [esp], 0xffffffe6
call fcn.00401630
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x485000
call fcn.00407815
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push eax
jmp 0x4037d9
mov dword [esp], 0xfffffff5
call fcn.00401630
push edi
jmp 0x4037d9
xor eax, eax
call fcn.00401414
mov dword [esp], eax
call fcn.00407c08
jmp 0x402322
mov eax, 0xffffffd0
call fcn.00401414
mov ebx, eax
mov eax, 0xffffffdf
call fcn.00401414
mov edi, eax
mov eax, 0x13
call fcn.00401414
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
push esi
push esi
je 0x401997
mov dword [esp], 0xffffffe3
xor esi, esi
call fcn.00401630
push ecx
jmp 0x4037d9
cmp dword [ebp - 0x34], 0
mov esi, 1
je 0x4037d9
mov dword [esp], ebx
call fcn.00407c08
test eax, eax
push edx
je 0x4037d9
mov dword [esp], ebx
xor si, si
mov dword [esp + 4], edi
call fcn.00407d4a
push ecx
push ecx
mov dword [esp], 0xffffffe4
call fcn.00401630
push ebx
jmp 0x4037d9
xor eax, eax
call fcn.00401414
mov edx, dword [ebp - 0x190]
mov dword [esp + 4], 0x2000
mov dword [esp + 8], edx
mov ebx, eax
lea eax, [ebp - 0x24]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
sub esp, 0x10
test eax, eax
jne 0x401a1b
mov ecx, dword [ebp - 0x198]
mov byte [ecx + section..ndata], 0
jmp 0x401a59
mov eax, dword [ebp - 0x24]
xor esi, esi
cmp eax, ebx
jbe 0x401a5e
cmp byte [eax], 0
je 0x401a5e
mov dword [esp], ebx
call fcn.00407c08
test eax, eax
push edx
je 0x401a4c
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00407815
push eax
push eax
jmp 0x401a5e
mov ebx, dword [ebp - 0x198]
mov byte [ebx + section..ndata], 0
mov esi, 1
cmp dword [ebp - 0x34], 0
jne 0x4037d9
mov edx, dword [ebp - 0x190]
mov dword [esp + 8], 0x2000
mov dword [esp + 4], edx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
sub esp, 0xc
jmp 0x4037d9
or eax, 0xffffffff
xor esi, esi
call fcn.00401414
lea edx, [ebp - 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x2000
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
sub esp, 0x18
test eax, eax
jne 0x4037d9
mov byte [ebx + section..ndata], 0
mov si, 1
jmp 0x4037d9
mov eax, 0xffffffef
call fcn.00401414
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407636
xor ecx, ecx
test eax, eax
push edi
sete cl
push edi
mov esi, ecx
jmp 0x4037d9
mov eax, 0x31
call fcn.00401414
mov ebx, dword [ebp - 0x3c]
and ebx, 7
mov edi, eax
mov dword [esp], eax
call fcn.00407462
test eax, eax
push esi
je 0x401b33
mov dword [esp + 4], edi
mov dword [esp], 0x40e004
call fcn.00407815
jmp 0x401b5e
mov dword [esp + 4], 0x485000
mov dword [esp], 0x40e004
call fcn.00407815
push edx
push edx
mov dword [esp], eax
call fcn.004073ae
push ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00407848
push esi
push esi
mov dword [esp], 0x40e004
call fcn.00407853
cmp ebx, 2
push eax
jle 0x401bad
mov dword [esp], 0x40e004
call fcn.00407c08
xor edx, edx
test eax, eax
push ecx
je 0x401b9c
lea edx, [ebp - 0x30]
add eax, 0x14
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edx
push edx
mov edx, eax
sub ebx, 3
or ebx, 0x80000000
test edx, ebx
sete bl
movzx ebx, bl
test ebx, ebx
jne 0x401bc5
mov dword [esp], 0x40e004
call fcn.004075a8
mov eax, 2
push esi
jmp 0x401bce
xor eax, eax
cmp ebx, 1
setne al
inc eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x40e004
call fcn.004075da
sub esp, 0xc
cmp eax, 0xffffffff
mov esi, eax
jne 0x401cc2
test ebx, ebx
je 0x401c1a
mov dword [esp + 4], edi
mov dword [esp], 0xffffffe2
call fcn.00406bb6
cmp ebx, 2
sete bl
movzx ebx, bl
mov esi, ebx
push ecx
push ecx
jmp 0x4037d9
mov dword [esp + 4], section..ndata
mov dword [esp], 0x412004
call fcn.00407815
push edx
push edx
mov dword [esp + 4], 0x40e004
mov dword [esp], section..ndata
call fcn.00407815
mov eax, dword [ebp - 0x28]
push ecx
push ecx
mov dword [esp + 4], eax
mov dword [esp], 0x410004
call fcn.00407927
push esi
push esi
mov dword [esp + 4], 0x412004
mov dword [esp], section..ndata
call fcn.00407815
push eax
push eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x410004
sar eax, 3
mov dword [esp + 4], eax
call fcn.0040733a
cmp eax, 4
push edx
push edx
je 0x401bb1
cmp eax, 5
jne 0x401ca2
inc dword [0x44e7c4]
jmp 0x4037df
mov dword [esp + 4], 0x40e004
mov dword [esp], 0xfffffffa
call fcn.00406bb6
push eax
mov esi, 0x7fffffff
push eax
jmp case.0x4016b3.2
mov dword [esp + 4], edi
mov dword [esp], 0xffffffea
call fcn.00406bb6
inc dword [0x44e7f0]
push eax
push eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00403a93
dec dword [0x44e7f0]
sub esp, 0x10
mov ebx, eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x401d10
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401d2f
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
push eax
jns 0x4037d9
cmp ebx, 0xfffffffe
jne 0x401d70
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x40e004
call fcn.00407927
push eax
push eax
mov dword [esp + 4], edi
mov dword [esp], 0x40e004
call fcn.00407848
jmp 0x401d84
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x40e004
call fcn.00407927
push eax
push eax
mov dword [esp + 4], 0x200010
mov dword [esp], 0x40e004
jmp 0x402c26
xor eax, eax
xor esi, esi
call fcn.00401414
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407feb
push eax
push eax
jmp 0x4037d9
mov eax, 0x31
mov esi, 1
call fcn.00401414
mov edx, dword [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040733a
test eax, eax
push edi
push edi
je 0x4037d9
cmp eax, dword [ebp - 0x34]
je 0x40200c
xor esi, esi
cmp eax, dword [ebp - 0x2c]
jne 0x4037d9
mov esi, dword [ebp - 0x28]
jmp case.0x4016b3.2
mov eax, 0xfffffff0
call fcn.00401414
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00407feb
push esi
push esi
xor esi, esi
jmp 0x4037d9
mov eax, 1
xor esi, esi
call fcn.00401414
mov dword [esp], eax
call fcn.0040783d
push ecx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00407751
push ebx
push ebx
jmp 0x4037d9
mov eax, 2
call fcn.00401463
mov dword [ebp - 0x190], eax
mov eax, 3
call fcn.00401463
mov edx, eax
mov eax, 1
mov dword [ebp - 0x19c], edx
call fcn.00401414
mov edx, dword [ebp - 0x19c]
cmp dword [ebp - 0x190], 0
mov byte [ebx + section..ndata], 0
setne byte [ebp - 0x194]
mov ecx, eax
jne 0x401e9e
xor esi, esi
cmp dword [ebp - 0x34], 0
jne 0x4037d9
mov dword [ebp - 0x19c], edx
mov dword [esp], ecx
mov dword [ebp - 0x1a0], ecx
call fcn.0040783d
mov ecx, dword [ebp - 0x1a0]
push edx
mov edx, dword [ebp - 0x19c]
test edx, edx
jns 0x401ecd
xor esi, esi
add edx, eax
js 0x4037d9
cmp edx, eax
cmovg edx, eax
xor esi, esi
add ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.00407815
cmp byte [ebp - 0x194], 0
push eax
push eax
je 0x4037d9
cmp dword [ebp - 0x190], 0
jns 0x401f0b
mov dword [esp], edi
call fcn.0040783d
add dword [ebp - 0x190], eax
push esi
js 0x401f1f
xor esi, esi
cmp dword [ebp - 0x190], 0x1fff
jg 0x4037d9
jmp 0x401f29
mov dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
xor esi, esi
mov byte [eax + ebx + section..ndata], 0
jmp 0x4037d9
mov eax, 0x20
call fcn.00401414
mov ebx, eax
mov eax, 0x31
call fcn.00401414
cmp dword [ebp - 0x2c], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
jne 0x401f69
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
jmp 0x401f6f
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push ecx
push ecx
jne 0x40200c
jmp 0x40232f
mov eax, 1
call fcn.00401414
mov dword [esp + 8], 0x2000
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [ebp - 0x19c], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov edx, dword [ebp - 0x19c]
sub esp, 0xc
test eax, eax
je 0x401fcb
xor esi, esi
cmp dword [ebp - 0x34], 0
je 0x401fd7
mov dword [esp], edx
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
push edx
push edx
jne 0x401fd7
mov byte [ebx + section..ndata], 0
mov esi, 1
mov byte [edi + 0x1fff], 0
jmp 0x4037d9
xor eax, eax
call fcn.00401463
mov ebx, eax
mov eax, 1
call fcn.00401463
cmp dword [ebp - 0x28], 0
jne 0x402008
cmp ebx, eax
jl 0x40200c
jle 0x40232f
jmp 0x40201a
cmp ebx, eax
jae 0x402014
mov esi, dword [ebp - 0x30]
jmp case.0x4016b3.2
jbe 0x40232f
mov esi, dword [ebp - 0x2c]
jmp case.0x4016b3.2
mov eax, 1
xor esi, esi
call fcn.00401463
mov ebx, eax
mov eax, 2
call fcn.00401463
cmp dword [ebp - 0x30], 0xc
mov ecx, eax
ja case.default.0x402045
mov eax, dword [ebp - 0x30]
jmp dword [eax*4 + 0x40b10c]
add ebx, ecx
jmp 0x4020a8
sub ebx, ecx
jmp 0x4020a8
imul ebx, ecx
jmp 0x4020a8
test ecx, ecx
je 0x4020ac
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
jmp 0x4020a8
or ebx, ecx
jmp 0x4020a8
and ebx, ecx
jmp 0x4020a8
xor ebx, ecx
jmp 0x4020a8
test ebx, ebx
sete bl
jmp 0x40207e
or ecx, ebx
setne bl
movzx ebx, bl
jmp 0x4020a8
xor eax, eax
test ebx, ebx
setne al
xor ebx, ebx
test ecx, ecx
setne bl
and ebx, eax
jmp 0x4020a8
test ecx, ecx
je 0x4020ac
mov eax, ebx
cdq
idiv ecx
mov ebx, edx
jmp 0x4020a8
shl ebx, cl
jmp 0x4020a8
sar ebx, cl
xor esi, esi
jmp case.default.0x402045
xor ebx, ebx
mov esi, 1
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00407751
push eax
push eax
jmp 0x4037d9
mov eax, 1
xor esi, esi
call fcn.00401414
mov ebx, eax
mov eax, 2
call fcn.00401463
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4037d9
mov edx, dword [ebp - 0x34]
mov ebx, dword [0x418004]
test edx, edx
je 0x402169
mov eax, edx
jmp 0x40210b
test eax, eax
mov ebx, dword [ebx]
je 0x402115
dec eax
test ebx, ebx
jne 0x402105
jmp 0x402c05
test ebx, ebx
je 0x402c05
add ebx, 4
xor esi, esi
mov dword [esp + 4], ebx
mov dword [esp], 0x40e004
call fcn.00407815
push eax
push eax
mov eax, dword [0x418004]
mov dword [esp], ebx
add eax, 4
mov dword [esp + 4], eax
call fcn.00407815
push eax
push eax
mov eax, dword [0x418004]
mov dword [esp + 4], 0x40e004
add eax, 4
mov dword [esp], eax
call fcn.00407815
push eax
push eax
jmp 0x4037d9
test eax, eax
je 0x4021a4
test ebx, ebx
mov esi, 1
je 0x4037d9
lea eax, [ebx + 4]
xor si, si
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407815
push edi
push edi
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [0x418004], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
jmp 0x4037d9
mov dword [esp + 4], 0x2004
xor esi, esi
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
push edx
push edx
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.00407927
mov eax, dword [0x418004]
push ecx
push ecx
mov dword [ebx], eax
mov dword [0x418004], ebx
jmp 0x4037d9
mov eax, 3
call fcn.00401463
mov ebx, eax
mov eax, 4
call fcn.00401463
test byte [ebp - 0x28], 1
mov esi, eax
je 0x40220f
mov eax, 0x33
call fcn.00401414
mov ebx, eax
test byte [ebp - 0x28], 2
je 0x402221
mov eax, 0x44
call fcn.00401414
mov esi, eax
cmp dword [ebp - 0x40], 0x21
mov eax, 1
jne 0x4022aa
call fcn.00401463
mov edx, eax
mov eax, 2
mov dword [ebp - 0x19c], edx
call fcn.00401463
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x19c]
sar ecx, 2
mov dword [ebp - 0x190], ecx
je 0x402293
lea ecx, [ebp - 0x24]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x190]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
sub esp, 0x1c
test eax, eax
sete bl
mov esi, ebx
jmp 0x4022f2
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4022ea
call fcn.00401414
mov edx, eax
mov eax, 0x12
mov dword [ebp - 0x19c], edx
call fcn.00401414
mov edx, dword [ebp - 0x19c]
xor ecx, ecx
cmp byte [eax], 0
cmove eax, ecx
cmp byte [edx], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
cmove edx, ecx
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
sub esp, 0x10
xor esi, esi
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x3c], 0
js 0x4037d9
mov eax, dword [ebp - 0x24]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407751
push eax
push eax
jmp 0x4037d9
xor eax, eax
call fcn.00401463
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
push edi
je 0x40232f
mov esi, dword [ebp - 0x38]
jmp case.0x4016b3.2
mov esi, dword [ebp - 0x34]
jmp case.0x4016b3.2
mov eax, 2
call fcn.00401463
mov ebx, eax
mov eax, 1
call fcn.00401463
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00407751
push esi
push esi
xor esi, esi
jmp 0x4037d9
mov ebx, dword [0x44e828]
xor esi, esi
add ebx, eax
xor eax, eax
call fcn.00401463
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
sub esp, 0xc
jmp 0x4037d9
mov edx, dword [ebp - 0x194]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push edx
mov ebx, eax
push edx
lea eax, [ebp - 0x180]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x34]
xor eax, eax
mov edi, dword [ebp - 0x174]
imul edi, esi
push ecx
push ecx
imul esi, dword [ebp - 0x178]
call fcn.00401414
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.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 dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
test eax, eax
je 0x4037d9
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
jmp 0x4037d9
mov ebx, dword [ebp - 0x194]
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetDC]
push edx
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push ecx
mov ebx, eax
push ecx
mov eax, 2
call fcn.00401463
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x48
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
sub esp, 0xc
mov dword [0x418008], eax
mov eax, 3
call fcn.00401463
mov byte [0x41801f], 1
mov dword [esp], 0x418024
mov dword [0x418018], eax
mov al, byte [ebp - 0x2c]
mov dl, al
and edx, 1
mov byte [0x41801c], dl
mov dl, al
and eax, 4
mov byte [0x41801e], al
mov eax, dword [ebp - 0x38]
and edx, 2
mov byte [0x41801d], dl
mov dword [esp + 4], eax
call fcn.00407927
push ebx
push ebx
mov dword [esp], 0x418008
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push esi
xor esi, esi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407751
push edi
push edi
jmp 0x4037d9
xor eax, eax
call fcn.00401463
mov ebx, eax
mov eax, 1
call fcn.00401463
cmp dword [ebp - 0x30], 0
mov dword [esp], ebx
mov dword [esp + 4], eax
jne 0x402536
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
push eax
push eax
jmp 0x4037d9
call dword [sym.imp.USER32.dll_EnableWindow]
xor esi, esi
push eax
push eax
jmp 0x4037d9
xor eax, eax
call fcn.00401414
mov ebx, eax
mov eax, 0x31
call fcn.00401414
mov edi, eax
mov eax, 0x22
call fcn.00401414
mov esi, eax
mov eax, 0x15
call fcn.00401414
mov dword [esp], 0xffffffec
call fcn.00401630
mov edx, dword [ebp - 0x194]
push eax
xor eax, eax
cmp byte [esi], 0
cmove esi, eax
cmp byte [ebx], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x485000
cmove ebx, eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], edx
mov dword [esp + 0x14], eax
call dword [sym.imp.SHELL32.DLL_ShellExecuteA]
xor ecx, ecx
sub esp, 0x18
cmp eax, 0x21
setl cl
mov esi, ecx
jmp 0x4037d9
xor eax, eax
call fcn.00401414
mov dword [esp], 0xffffffeb
mov ebx, eax
mov dword [esp + 4], eax
call fcn.00406bb6
push esi
push esi
mov esi, 1
mov dword [esp], ebx
call fcn.0040727c
test eax, eax
mov ebx, eax
push edi
je 0x4037d9
cmp dword [ebp - 0x34], 0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jne 0x402615
jmp 0x40265a
mov dword [esp], 0xf
call fcn.00408298
push ecx
mov dword [esp + 4], 0x64
mov dword [esp], ebx
call esi
cmp eax, 0x102
push edx
push edx
je 0x402608
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x38], 0
push edi
push edi
js 0x40265e
mov esi, dword [ebp - 0x190]
mov eax, dword [ebp - 0x24]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00407751
push esi
push esi
xor esi, esi
jmp 0x402669
xor eax, eax
cmp dword [ebp - 0x24], 0
setne al
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
jmp 0x4037d9
mov eax, 2
call fcn.00401414
mov dword [esp], eax
call fcn.00407c08
test eax, eax
mov esi, eax
push edx
je 0x4026c0
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00407751
push ebx
push ebx
mov eax, dword [esi + 0x18]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407751
push esi
push esi
xor esi, esi
jmp 0x4037d9
mov ecx, dword [ebp - 0x198]
mov esi, 1
mov byte [ebx + section..ndata], 0
mov byte [ecx + section..ndata], 0
jmp 0x4037d9
mov eax, 0xffffffee
mov esi, 1
call fcn.00401414
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x194]
mov dword [esp], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov byte [ebx + section..ndata], 0
push ecx
test eax, eax
push ecx
mov ecx, dword [ebp - 0x198]
mov byte [ecx + section..ndata], 0
je 0x4037d9
mov dword [esp + 4], eax
mov dword [esp], 0x40
mov dword [ebp - 0x19c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov ebx, eax
push edx
push edx
mov edx, dword [ebp - 0x19c]
je 0x4037d9
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.VERSION.dll_GetFileVersionInfoA
sub esp, 0x10
test eax, eax
je 0x4027ca
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40b000
mov dword [esp], ebx
call sub.VERSION.dll_VerQueryValueA
sub esp, 0x10
test eax, eax
je 0x4027ca
mov eax, dword [ebp - 0x24]
xor si, si
mov eax, dword [eax + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00407751
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x190]
push edi
push edi
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00407751
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ecx
jmp 0x4037d9
cmp dword [0x44e7f4], 0
js 0x4028f3
mov eax, 0xfffffff0
call fcn.00401414
mov edi, eax
mov eax, 1
call fcn.00401414
cmp dword [ebp - 0x2c], 0
mov esi, eax
je 0x402814
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov ebx, eax
push edx
jne 0x40283a
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
sub esp, 0xc
test eax, eax
mov ebx, eax
je 0x4028dc
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
push edi
push edi
mov edi, eax
je 0x40289b
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40286c
mov dword [esp], eax
call fcn.00401630
push esi
call edi
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
jmp 0x4028b2
mov edx, dword [ebp - 0x194]
xor esi, esi
mov dword [esp + 0x10], 0x40a000
mov dword [esp + 0xc], 0x418004
mov dword [esp + 8], 0x459000
mov dword [esp + 4], 0x2000
mov dword [esp], edx
call edi
jmp 0x4028b2
mov dword [esp + 4], esi
mov esi, 1
mov dword [esp], 0xfffffff7
call fcn.00406bb6
push ecx
push ecx
cmp dword [ebp - 0x30], 0
jne 0x4037d9
mov dword [esp], ebx
call fcn.00404727
test eax, eax
push edx
je 0x4037d9
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
jmp 0x4037d9
mov dword [esp], 0xfffffff6
mov esi, 1
call fcn.00401630
push edi
jmp 0x4037d9
mov dword [esp], 0xffffffe7
call fcn.00401630
push esi
mov esi, 1
jmp 0x4037d9
mov eax, 0xfffffff0
call fcn.00401414
mov dword [ebp - 0x190], eax
mov eax, 0xffffffdf
call fcn.00401414
mov edi, eax
mov eax, 2
call fcn.00401414
mov dword [ebp - 0x194], eax
mov eax, 0xffffffcd
call fcn.00401414
mov esi, eax
mov eax, 0x45
call fcn.00401414
mov dword [esp], edi
mov dword [ebp - 0x198], eax
call fcn.00407462
test eax, eax
push ebx
jne 0x402966
mov al, 0x21
call fcn.00401414
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40cdc0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x40bae0
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x402aeb
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40c880
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov ebx, eax
js 0x402adb
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x50]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push edx
push edx
mov edx, dword [eax]
mov dword [esp + 4], 0x485000
mov dword [esp], eax
call dword [edx + 0x24]
mov edx, dword [ebp - 0x2c]
movzx edx, dh
test edx, edx
push ecx
push ecx
je 0x402a06
mov eax, dword [ebp - 0x1c]
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 - 0x1c]
movzx ecx, word [ebp - 0x2a]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp byte [esi], 0
je 0x402a3a
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [ebp - 0x2c]
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 - 0x1c]
mov ecx, dword [ebp - 0x194]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
mov esi, dword [ebp - 0x198]
push eax
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x1c]
test ebx, ebx
push eax
push eax
js 0x402acf
mov eax, dword [ebp - 0x190]
mov ebx, 0x80004005
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x10], 0x418044
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
je 0x402acf
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x418044
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
test ebx, ebx
push esi
jns 0x402b02
mov dword [esp], 0xfffffff0
mov esi, 1
call fcn.00401630
push ebx
jmp 0x4037d9
mov dword [esp], 0xfffffff4
xor esi, esi
call fcn.00401630
push ecx
jmp 0x4037d9
xor eax, eax
call fcn.00401414
mov ebx, eax
mov eax, 0x11
call fcn.00401414
mov esi, eax
mov eax, 0x23
call fcn.00401414
mov dword [esp], ebx
mov edi, eax
call fcn.00407c08
test eax, eax
push edx
jne 0x402b64
mov dword [esp + 4], 0
mov esi, 1
mov dword [esp], 0xfffffff9
call fcn.00406bb6
push edi
push edi
jmp 0x4037d9
mov edx, dword [ebp - 0x194]
mov dword [esp], ebx
mov dword [ebp - 0x17c], 2
mov dword [ebp - 0x180], edx
call fcn.0040783d
push edx
mov byte [ebx + eax + 1], 0
mov dword [esp], esi
call fcn.0040783d
push ecx
mov byte [esi + eax + 1], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x166], edi
mov word [ebp - 0x170], ax
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.00406bb6
lea eax, [ebp - 0x180]
push ebx
push ebx
mov dword [esp], eax
call dword [sym.imp.SHELL32.DLL_SHFileOperationA]
push esi
xor esi, esi
test eax, eax
je 0x4037d9
mov dword [esp + 4], 0
mov si, 1
mov dword [esp], 0xfffffff9
call fcn.00406bb6
push edi
push edi
jmp 0x4037d9
cmp esi, 0xbadf00d
je 0x402c30
mov dword [esp + 4], 0xffffffe8
mov dword [esp], 0
call fcn.00407927
push esi
push esi
mov dword [esp + 4], 0x200010
mov dword [esp], eax
call fcn.0040733a
jmp 0x401cb6
inc dword [0x44e7d0]
xor esi, esi
jmp 0x4037d9
xor ebx, ebx
test esi, esi
je 0x402c4c
xor eax, eax
call fcn.00401414
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x38], 0
je 0x402c60
mov eax, 0x11
call fcn.00401414
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x2c], 0
je 0x402c74
mov eax, 0x22
call fcn.00401414
mov edi, eax
mov eax, 0xffffffcd
call fcn.00401414
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor ecx, ecx
sub esp, 0x10
test eax, eax
sete cl
mov esi, ecx
jmp 0x4037d9
mov eax, 1
mov dword [ebp - 0x20], 0x7e4e21
call fcn.00401414
mov esi, eax
mov eax, 0x12
call fcn.00401414
mov edx, eax
mov eax, 0xffffffdd
mov dword [ebp - 0x19c], edx
call fcn.00401414
mov edx, dword [ebp - 0x19c]
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], 0x1fff
mov dword [esp + 0xc], edi
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x20]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x20]
sub esp, 0x18
cmp dword [ebx + section..ndata], eax
jne 0x4037d9
mov byte [ebx + section..ndata], 0
mov si, 1
jmp 0x4037d9
cmp dword [ebp - 0x2c], 0
jne 0x402d5e
mov eax, 2
call fcn.0040148f
test eax, eax
mov ebx, eax
je 0x402d92
mov eax, 0x33
call fcn.00401414
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ecx
mov edi, eax
push ecx
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
jmp 0x402d88
mov eax, 0x22
call fcn.00401414
mov ecx, dword [ebp - 0x2c]
and ecx, 2
mov edx, eax
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x402d81
mov eax, dword [0x44e7c0]
sub eax, 0x7fffffff
call fcn.004014f3
mov edi, eax
xor esi, esi
test edi, edi
je 0x4037d9
mov esi, 1
jmp 0x4037d9
test esi, esi
jne 0x402dac
mov esi, dword [0x44e7c0]
sub esi, 0x7fffffff
mov edx, dword [ebp - 0x28]
mov eax, 2
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x190], edx
call fcn.00401414
mov edi, eax
mov eax, 0x11
call fcn.00401414
lea edx, [ebp - 0x20]
mov dword [esp + 0x1c], edx
mov edx, dword [0x44e7ec]
mov dword [esp], esi
mov esi, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
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
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
jne 0x4037d9
cmp ebx, 1
jne 0x402e43
mov al, 0x23
call fcn.00401414
mov dword [esp], 0x412004
call fcn.0040783d
inc eax
push edx
jmp 0x402e8b
cmp ebx, 4
jne 0x402e5e
mov eax, 3
call fcn.00401463
mov dword [0x412004], eax
mov eax, 4
jmp 0x402e8b
xor eax, eax
cmp ebx, 3
jne 0x402e8b
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], 0x6000
mov dword [esp + 8], 0x412004
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00403a93
sub esp, 0x10
mov ecx, dword [ebp - 0x190]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], 0x412004
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x20]
setne bl
mov esi, ebx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
jmp 0x4037d9
mov eax, 0x20019
mov esi, 1
call fcn.0040148f
mov dword [ebp - 0x190], eax
mov eax, 0x33
call fcn.00401414
cmp dword [ebp - 0x190], 0
mov byte [ebx + section..ndata], 0
je 0x4037d9
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x20]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x20], 0x1fff
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x402f57
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x402f65
cmp eax, 4
je 0x402f65
cmp eax, 2
je 0x402f8b
mov byte [ebx + section..ndata], 0
mov esi, 1
jmp 0x402f99
cmp eax, 4
jne 0x402f8b
mov eax, dword [ebx + section..ndata]
xor edx, edx
cmp dword [ebp - 0x2c], 0
mov dword [esp], edi
sete dl
mov dword [esp + 4], eax
mov esi, edx
call fcn.00407751
push eax
push eax
jmp 0x402f99
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov byte [ebx + eax + section..ndata], 0
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
jmp 0x4037d9
mov eax, 0x20019
mov esi, 1
call fcn.0040148f
mov dword [ebp - 0x190], eax
mov eax, 3
call fcn.00401463
cmp dword [ebp - 0x190], 0
mov byte [ebx + section..ndata], 0
je 0x4037d9
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0x1fff
je 0x403012
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 0xc], 0x1fff
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
sub esp, 0x10
jmp 0x40305b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
sub esp, 0x20
test eax, eax
jne 0x4037d9
mov eax, dword [ebp - 0x190]
xor esi, esi
mov byte [edi + 0x1fff], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
jmp 0x4037d9
xor esi, esi
cmp byte [ebx + section..ndata], 0
je 0x4037d9
mov dword [esp], edi
call fcn.00407776
push ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
jmp 0x4037d9
mov eax, 0xffffffed
call fcn.00401414
mov edx, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004075da
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x4030d9
mov byte [ebx + section..ndata], 0
mov esi, 1
jmp 0x4037d9
mov dword [esp + 4], eax
xor esi, esi
mov dword [esp], edi
call fcn.00407751
push ecx
push ecx
jmp 0x4037d9
cmp dword [ebp - 0x34], 0
je 0x40310a
mov eax, 1
call fcn.00401463
mov edx, 1
mov byte [0x410004], al
jmp 0x40311f
mov eax, 0x11
call fcn.00401414
mov dword [esp], eax
call fcn.0040783d
push edx
mov edx, eax
cmp byte [ebx + section..ndata], 0
mov esi, 1
je 0x4037d9
mov dword [ebp - 0x19c], edx
mov dword [esp], edi
call fcn.00407776
mov edx, dword [ebp - 0x19c]
lea ecx, [ebp - 0x1c]
push esi
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x410004
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
sub esp, 0x14
test eax, eax
sete dl
mov esi, edx
jmp 0x4037d9
mov eax, 2
call fcn.00401463
test eax, eax
jle 0x4037d7
cmp eax, 0x1fff
mov dword [ebp - 0x194], 0x1fff
cmovg eax, dword [ebp - 0x194]
xor esi, esi
cmp byte [ebx + section..ndata], 0
mov dword [ebp - 0x194], eax
je 0x4032a7
mov dword [esp], edi
call fcn.00407776
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push ebx
mov edi, eax
xor ebx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
sub esp, 0x14
test eax, eax
je 0x4032a7
cmp dword [ebp - 0x1c], 1
jne 0x4032a7
cmp dword [ebp - 0x30], 0
je 0x40323c
mov ecx, dword [ebp - 0x190]
movzx eax, byte [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407751
push ecx
push ecx
jmp 0x4037df
cmp bl, 0xa
mov al, byte [ebp - 0x20]
je 0x403249
cmp bl, 0xd
jne 0x40328b
cmp bl, al
je 0x403255
cmp al, 0xa
je 0x40327b
cmp al, 0xd
je 0x40327b
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x4032a7
mov ebx, dword [ebp - 0x198]
mov byte [esi + ebx + section..ndata], al
inc esi
jmp 0x4032a7
mov ebx, dword [ebp - 0x190]
mov byte [ebx + esi], al
inc esi
test al, al
mov bl, al
je 0x4032a7
cmp esi, dword [ebp - 0x194]
jl 0x4031cb
mov edx, dword [ebp - 0x198]
xor ecx, ecx
test esi, esi
sete cl
mov byte [esi + edx + section..ndata], 0
mov esi, ecx
jmp 0x4037d9
xor esi, esi
cmp byte [ebx + section..ndata], 0
je 0x4037d9
mov eax, 2
mov ebx, dword [ebp - 0x30]
call fcn.00401463
mov dword [esp], edi
mov dword [ebp - 0x19c], eax
call fcn.00407776
push edx
mov edx, dword [ebp - 0x19c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
cmp dword [ebp - 0x38], 0
js 0x4037d9
mov ebx, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407751
push edi
push edi
jmp 0x4037d9
xor esi, esi
cmp byte [ebx + section..ndata], 0
je 0x4037d9
mov dword [esp], edi
call fcn.00407776
push ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
jmp 0x4037d9
mov esi, dword [ebp - 0x198]
cmp byte [esi + section..ndata], 0
je 0x4033ac
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.00407776
lea edx, [ebp - 0x180]
push esi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
push edx
push edx
je 0x4033ac
lea eax, [ebp - 0x154]
xor esi, esi
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00407815
push ecx
push ecx
jmp 0x4037d9
mov byte [ebx + section..ndata], 0
mov esi, 1
jmp 0x4037d9
mov eax, 2
call fcn.00401414
lea edx, [ebp - 0x180]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push edx
push edx
jne 0x4033ff
mov ecx, dword [ebp - 0x198]
mov esi, 1
mov byte [ecx + section..ndata], 0
mov byte [ebx + section..ndata], 0
jmp 0x4037d9
mov ebx, dword [ebp - 0x190]
xor esi, esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407751
push eax
push eax
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00407815
push eax
push eax
jmp 0x4037d9
mov eax, 0xfffffff0
call fcn.00401414
mov esi, eax
mov dword [esp], eax
call fcn.00407462
test eax, eax
push edi
jne 0x403451
mov eax, 0xffffffed
call fcn.00401414
mov dword [esp], esi
call fcn.004075a8
push ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], esi
call fcn.004075da
sub esp, 0xc
cmp eax, 0xffffffff
mov edi, eax
je 0x4035ed
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x44e84c]
mov dword [esp], 0x40
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x190], edx
mov dword [esp + 4], edx
call ecx
mov edx, 0xfffffd66
push ecx
test eax, eax
push ecx
mov ebx, eax
je 0x4035d3
mov dword [esp], 0
call fcn.00403a61
mov edx, dword [ebp - 0x190]
push eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00403a15
push eax
push eax
mov eax, dword [ebp - 0x34]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call dword [ebp - 0x18c]
test eax, eax
push edx
push edx
mov edx, eax
je 0x40357b
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov dword [ebp - 0x19c], edx
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00403a93
mov edx, dword [ebp - 0x19c]
mov eax, edx
mov dword [ebp - 0x194], edx
sub esp, 0x10
jmp 0x403566
mov edx, dword [eax]
lea ecx, [eax + 8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], ecx
add eax, ebx
mov dword [esp], eax
call fcn.0040757f
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
lea eax, [ecx + edx]
sub esp, 0xc
cmp byte [eax], 0
jne 0x40352e
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0xffffffff
call fcn.00403a93
sub esp, 0x10
mov edx, eax
mov dword [ebp - 0x19c], edx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov edx, dword [ebp - 0x19c]
test edx, edx
jns 0x403603
mov dword [esp], esi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
mov eax, 0xffffffef
jmp 0x40360a
mov eax, 0xfffffff3
xor esi, esi
mov dword [esp], eax
call fcn.00401630
push eax
jmp 0x4037d9
xor eax, eax
mov esi, 1
call fcn.00401463
cmp eax, dword [0x44e80c]
mov edi, eax
jae 0x4037d9
imul ebx, eax, 0x2018
mov eax, dword [ebp - 0x34]
add ebx, dword [0x44e808]
cmp eax, 0
jl 0x403685
mov eax, dword [ebx + eax*4]
jne 0x40366a
add ebx, 0x18
xor si, si
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x190]
mov dword [esp], ebx
call fcn.00407815
push eax
push eax
jmp 0x4037d9
mov esi, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], esi
xor esi, esi
call fcn.00407751
push eax
push eax
jmp 0x4037d9
not eax
test eax, eax
mov dword [ebp - 0x34], eax
je 0x40369d
mov eax, 1
call fcn.00401463
mov dword [ebp - 0x38], eax
jmp 0x4036b8
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.00407927
push eax
push eax
or dword [ebx + 8], 0x100
mov eax, dword [ebp - 0x34]
xor esi, esi
mov edx, dword [ebp - 0x38]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x30], 0
je 0x4037d9
mov dword [esp], edi
call fcn.00401220
push eax
jmp 0x4037d9
xor eax, eax
mov esi, 1
call fcn.00401463
cmp eax, 0x1f
ja 0x4037d9
cmp dword [ebp - 0x30], 0
je 0x40374b
cmp dword [ebp - 0x34], 0
je 0x403723
mov dword [esp], eax
xor si, si
call fcn.0040133f
push ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0040128f
push edi
push edi
jmp 0x4037d9
mov dword [esp], 0
xor esi, esi
call fcn.00401388
push edx
mov edx, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00407751
push ecx
push ecx
jmp 0x4037d9
cmp dword [ebp - 0x34], 0
mov edx, dword [0x44e7fc]
lea eax, [eax + 0x24]
je 0x403765
mov ecx, dword [ebp - 0x38]
xor esi, esi
mov dword [edx + eax*4 + 4], ecx
jmp 0x4037d9
mov eax, dword [edx + eax*4 + 4]
xor esi, esi
mov ecx, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00407927
push eax
push eax
jmp 0x4037d9
mov ebx, dword [ebp - 0x194]
and esi, dword [0x438414]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xb
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
cmp dword [ebp - 0x3c], 0
je 0x4037d9
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
jmp 0x4037d9
xor esi, esi
jmp 0x4037d9
xor esi, esi
add dword [0x44e7c4], esi
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret