Function at 0x401596
Capabilities:
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
sub esp, 0x194
mov eax, dword [0x446bc4]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov edi, esi
mov ecx, section..ndata
shl edi, 0xd
shl edx, 0xd
add edx, ecx
add edi, ecx
lea ecx, [ebp - 0x24]
mov dword [0x4130e0], ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x45
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], edx
jg 0x401f68
je 0x401f55
cmp ecx, 0x25
jg 0x40194b
je 0x401917
cmp ecx, 0x15
jg 0x40170b
je 0x4016e5
cmp ecx, 0xd
jg 0x40167b
je 0x40166e
sub ecx, 5
je 0x401667
push 2
pop ebx
sub ecx, ebx
je 0x401653
sub ecx, ebx
je 0x40163f
sub ecx, ebx
jne 0x402d04
push esi
call fcn.0040137c
dec eax
push 0
push eax
call fcn.00401398
jmp 0x402d0f
inc dword [0x442b94]
test eax, eax
je 0x40165d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40165d
push 0
push dword [ebp - 0x24]
call fcn.00404991
mov eax, 0x7fffffff
jmp 0x402d0f
mov eax, esi
jmp 0x402d0f
push 0
push esi
call fcn.00404991
jmp 0x402d04
sub ecx, 0xf
je 0x4016ca
push 2
pop ebx
sub ecx, ebx
je 0x4016be
sub ecx, ebx
jne 0x402d04
mov ecx, dword [0x442ba0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x4016a5
push dword [ebp - 0x20]
push ecx
call esi
mov ecx, dword [0x442b8c]
test ecx, ecx
je 0x402d04
push dword [ebp - 0x24]
push ecx
call esi
jmp 0x402d04
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x402d04
xor ecx, ecx
call fcn.00401443
cmp eax, 1
jg 0x4016d9
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402d04
push 0xfffffffffffffff0
pop esi
call fcn.00401459
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x402d04
mov dword [ebp - 4], 1
jmp 0x402d04
sub ecx, 0x17
je 0x401893
push 2
pop ebx
sub ecx, ebx
je 0x401876
sub ecx, ebx
je 0x401836
sub ecx, ebx
je 0x401815
sub ecx, ebx
je 0x401800
sub ecx, ebx
je 0x4017ab
sub ecx, ebx
jne 0x402d04
xor esi, esi
call fcn.00401459
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 8]
push eax
push edi
mov ebx, 0x2000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x401789
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x401793
cmp byte [eax], 0
je 0x401793
push esi
call fcn.004059bb
test eax, eax
je 0x401789
add eax, 0x2c
push eax
push dword [ebp - 8]
call fcn.004058ff
jmp 0x401793
mov byte [edi], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne 0x402d04
push ebx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x402d04
push 0xffffffffffffffd0
pop esi
call fcn.00401459
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401459
push 0x13
pop esi
mov ebx, eax
call fcn.00401459
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4017da
push 0xffffffffffffffe3
jmp 0x40190d
cmp dword [ebp - 0x1c], 0
je 0x4016ff
push edi
call fcn.004059bb
test eax, eax
je 0x4016ff
push ebx
push edi
call fcn.00405dd2
push 0xffffffffffffffe4
jmp 0x40190d
mov eax, dword [ebp - 0x20]
push dword [eax*4 + 0x446c80]
push edi
call fcn.0040585d
jmp 0x402d04
mov edx, dword [ebp - 0x1c]
lea edx, [edx*4 + 0x446c80]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x24]
jmp 0x402d0f
mov eax, dword [ebp - 0x24]
shl eax, 2
cmp dword [ebp - 0x1c], 0
jne 0x401865
mov ecx, dword [eax + 0x446c80]
mov dword [eax + 0x446c40], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp - 0x24]
mov dword [ecx*4 + 0x446c80], eax
jmp 0x402d04
mov ecx, dword [eax + 0x446c40]
mov dword [eax + 0x446c80], ecx
jmp 0x402d04
xor esi, esi
call fcn.00401459
push eax
call fcn.004059bb
test eax, eax
je 0x401c66
mov eax, dword [ebp - 0x20]
jmp 0x402d0f
push 0xfffffffffffffff0
pop esi
call fcn.00401459
mov edi, eax
push edi
call fcn.004056d8
mov esi, eax
test esi, esi
je 0x4018e7
push 0x5c
push esi
call fcn.00405694
mov esi, eax
mov bl, byte [esi]
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4018e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4018dd
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x4018e0
inc dword [ebp - 4]
mov byte [esi], bl
inc esi
test bl, bl
jne 0x4018a9
cmp dword [ebp - 0x20], 0
je 0x40190b
push 0xffffffffffffffe6
call fcn.00401432
push edi
push 0x473000
call fcn.004058ff
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x402d04
push 0xfffffffffffffff5
call fcn.00401432
jmp 0x402d04
or esi, 0xffffffff
call fcn.00401459
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2000
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x402d04
mov dword [ebp - 4], 1
mov byte [edi], 0
jmp 0x402d04
cmp ecx, 0x35
jg 0x401c76
je 0x401c3e
sub ecx, 0x27
je 0x401c2a
push 2
pop ebx
sub ecx, ebx
je 0x401a80
sub ecx, ebx
je 0x401a6b
sub ecx, ebx
je 0x401a34
sub ecx, ebx
je 0x401a2f
sub ecx, ebx
je 0x401a1b
sub ecx, ebx
jne 0x402d04
mov ecx, ebx
call fcn.00401443
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401443
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401459
cmp dword [ebp - 0x1c], 0
mov esi, eax
mov byte [edi], 0
je 0x4019c7
cmp dword [ebp + 8], 0
je 0x402d04
push esi
call sub.KERNEL32.dll_lstrlenA
test ebx, ebx
jge 0x4019d9
add ebx, eax
js 0x402d04
cmp ebx, eax
jle 0x4019df
mov ebx, eax
add esi, ebx
push esi
push edi
call fcn.004058ff
mov esi, dword [ebp + 8]
test esi, esi
je 0x402d04
jge 0x401a06
push edi
call sub.KERNEL32.dll_lstrlenA
add esi, eax
jns 0x401a06
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2000
jge 0x402d04
mov byte [esi + edi], 0
jmp 0x402d04
xor esi, esi
inc esi
call fcn.00401459
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
jmp 0x40180a
push 0xfffffffffffffff0
pop esi
jmp 0x401a6d
push 0x31
pop esi
call fcn.00401459
push dword [ebp - 0x24]
push eax
call fcn.0040562e
test eax, eax
je 0x4016ff
cmp eax, dword [ebp - 0x1c]
jne 0x401a5a
mov eax, dword [ebp - 0x18]
jmp 0x402d0f
cmp eax, dword [ebp - 0x14]
jne 0x402d04
mov eax, dword [ebp - 0x10]
jmp 0x402d0f
xor esi, esi
call fcn.00401459
push dword [ebp - 0x20]
push eax
call fcn.00405f6b
jmp 0x402d04
push 0x31
pop esi
call fcn.00401459
mov esi, eax
mov eax, dword [ebp - 0x24]
and eax, 7
push esi
mov dword [ebp - 8], esi
mov dword [ebp + 8], eax
call fcn.004056b0
push esi
mov esi, 0x4090e0
test eax, eax
je 0x401aae
push esi
call fcn.004058ff
jmp 0x401ac5
push 0x473000
push esi
call fcn.004058ff
push eax
call fcn.00405a4c
push eax
call sub.KERNEL32.dll_lstrcatA
push esi
call fcn.00405921
mov edi, 0x40d0e0
cmp dword [ebp + 8], 3
jl 0x401b07
push esi
call fcn.004059bb
xor ecx, ecx
test eax, eax
je 0x401af2
lea ecx, [ebp - 0x18]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x401b13
push esi
call fcn.0040574f
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.0040576f
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x401ba7
cmp dword [ebp + 8], 0
jne 0x401b8a
push section..ndata
push edi
call fcn.004058ff
push esi
push section..ndata
call fcn.004058ff
push dword [ebp - 0x10]
push 0x40b0e0
call fcn.00405b78
push edi
push section..ndata
call fcn.004058ff
mov eax, dword [ebp - 0x24]
sar eax, 3
push eax
push 0x40b0e0
call fcn.0040562e
sub eax, 4
je 0x401ad0
dec eax
je 0x401b9c
push esi
push 0xfffffffffffffffa
jmp 0x401658
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404991
cmp dword [ebp + 8], ebx
jmp 0x4016f9
inc dword [0x446c88]
jmp 0x402d0d
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404991
inc dword [0x446cb4]
xor edi, edi
push edi
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
call fcn.00403048
dec dword [0x446cb4]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
jne 0x401bda
cmp dword [ebp - 0x14], 0xffffffff
je 0x401be9
lea eax, [ebp - 0x18]
push eax
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jge 0x402d04
cmp ebx, 0xfffffffe
jne 0x401c12
push 0xffffffffffffffe9
push esi
call fcn.00405b78
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401c1a
push 0xffffffffffffffee
push esi
call fcn.00405b78
push 0x200010
push esi
call fcn.0040562e
jmp 0x40165d
push 0xffffffffffffffef
pop esi
call fcn.00401459
push eax
push edi
call fcn.0040579e
jmp 0x4016f7
push 0x20
pop esi
call fcn.00401459
push 0x31
pop esi
mov edi, eax
call fcn.00401459
cmp dword [ebp - 0x14], 0
push eax
push edi
jne 0x401c6e
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401a52
mov eax, dword [ebp - 0x1c]
jmp 0x402d0f
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401c5e
sub ecx, 0x37
je 0x401f16
push 2
pop ebx
sub ecx, ebx
je 0x401ed9
sub ecx, ebx
je 0x401e4d
sub ecx, ebx
je 0x401e2b
sub ecx, ebx
je 0x401d7c
sub ecx, ebx
je 0x401cae
sub ecx, ebx
jne 0x402d04
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.00401443
test byte [ebp - 0x10], 1
mov dword [ebp + 8], eax
je 0x401cd5
push 0x33
pop esi
call fcn.00401459
mov dword [ebp - 0xc], eax
test byte [ebp - 0x10], bl
je 0x401ce5
push 0x44
pop esi
call fcn.00401459
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], 0x43
jne 0x401d35
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, ebx
mov esi, eax
call fcn.00401443
mov ecx, dword [ebp - 0x10]
sar ecx, 2
test ecx, ecx
je 0x401d25
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401d6a
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401d67
xor esi, esi
inc esi
call fcn.00401459
push 0x12
pop esi
mov ebx, eax
call fcn.00401459
movsx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movsx eax, byte [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], 0
jl 0x402d04
push dword [ebp - 8]
jmp 0x40180a
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x4090a0]
test eax, eax
je 0x401dd9
dec eax
test esi, esi
je 0x401d98
mov esi, dword [esi]
test eax, eax
jne 0x401d89
test esi, esi
jne 0x401dac
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00405b78
push eax
jmp 0x401c20
lea edi, [esi + 4]
push edi
mov esi, 0x4090e0
push esi
call fcn.004058ff
mov eax, dword [0x4090a0]
add eax, 4
push eax
push edi
call fcn.004058ff
mov eax, dword [0x4090a0]
push esi
add eax, 4
push eax
jmp 0x402cc4
cmp dword [ebp - 0x20], 0
je 0x401dfe
test esi, esi
je 0x4016ff
lea eax, [esi + 4]
push eax
push edi
call fcn.004058ff
mov eax, dword [esi]
mov dword [0x4090a0], eax
push esi
jmp 0x40262c
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x24]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00405b78
mov eax, dword [0x4090a0]
mov dword [esi], eax
mov dword [0x4090a0], esi
jmp 0x402d04
xor esi, esi
inc esi
call fcn.00401459
mov ecx, ebx
mov esi, eax
call fcn.00401443
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x402d04
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, ebx
mov esi, eax
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xc
ja case.default.0x401e68
jmp dword [eax*4 + 0x402d16]
add esi, ecx
jmp case.default.0x401e68
sub esi, ecx
jmp case.default.0x401e68
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e68
test ecx, ecx
je 0x401e89
mov eax, esi
cdq
idiv ecx
jmp 0x401ea7
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401e68
or esi, ecx
jmp case.default.0x401e68
and esi, ecx
jmp case.default.0x401e68
xor esi, ecx
jmp case.default.0x401e68
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e68
test esi, esi
jne 0x401eb3
test ecx, ecx
je 0x401ebc
xor esi, esi
inc esi
jmp case.default.0x401e68
test esi, esi
jne 0x401eaf
xor esi, esi
jmp case.default.0x401e68
test ecx, ecx
je 0x401e89
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e68
shl esi, cl
jmp case.default.0x401e68
sar esi, cl
push esi
jmp 0x40180a
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
cmp dword [ebp - 0x10], 0
jne 0x401f06
cmp esi, eax
jl 0x401a52
jle 0x401c66
mov eax, dword [ebp - 0x14]
jmp 0x402d0f
cmp esi, eax
jb 0x401a52
jbe 0x401c66
jmp 0x401efe
xor esi, esi
inc esi
call fcn.00401459
push 0x2000
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401f43
cmp dword [ebp - 0x1c], 0
je 0x401f49
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401f49
mov dword [ebp - 4], esi
mov byte [edi], 0
mov byte [edi + 0x1fff], 0
jmp 0x402d04
xor ecx, ecx
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x401883
cmp ecx, 0x65
jg 0x4026a1
je 0x402637
cmp ecx, 0x55
jg 0x402211
push 2
je 0x4021de
sub ecx, 0x47
je 0x4021c3
pop ebx
sub ecx, ebx
je 0x4021a3
sub ecx, ebx
je 0x402146
sub ecx, ebx
je 0x4020ce
sub ecx, ebx
je 0x40209f
sub ecx, ebx
je 0x40203c
sub ecx, ebx
jne 0x402d04
xor esi, esi
call fcn.00401459
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404991
push esi
call fcn.004055cd
mov ebx, eax
test ebx, ebx
je 0x4016ff
cmp dword [ebp - 0x1c], 0
je 0x402036
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
mov edi, 0x102
jmp 0x402007
push 0xf
call fcn.00405a19
push 0x64
push ebx
call esi
cmp eax, edi
je 0x401ffb
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x20], 0
jl 0x402029
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040585d
jmp 0x402036
cmp dword [ebp - 8], 0
je 0x402036
mov dword [ebp - 4], 1
push ebx
jmp 0x402832
xor esi, esi
call fcn.00401459
push 0x31
pop esi
mov edi, eax
call fcn.00401459
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401459
push 0x15
pop esi
mov ebx, eax
call fcn.00401459
push 0xffffffffffffffec
call fcn.00401432
movsx eax, byte [ebx]
push dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, ebx
push 0x473000
push eax
movsx eax, byte [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x402d04
jmp 0x4016ff
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
cmp dword [ebp - 0x18], 0
push eax
push esi
jne 0x4020c3
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402d04
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402d04
push 0x48
push 0x5a
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
mov ecx, ebx
call fcn.00401443
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x4090a4], eax
call fcn.00401443
push dword [ebp - 0x20]
mov dword [0x4090b4], eax
mov al, byte [ebp - 0x14]
mov cl, al
and cl, 1
mov byte [0x4090b8], cl
mov cl, al
and cl, bl
and al, 4
push 0x4090c0
mov byte [0x4090b9], cl
mov byte [0x4090ba], al
mov byte [0x4090bb], 1
call fcn.00405b78
push 0x4090a4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401a29
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x1c]
push 0x10
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401459
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x402d04
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x402d04
mov ecx, dword [ebp - 0x20]
mov eax, dword [0x446c08]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x402d04
pop ecx
call fcn.00401443
xor ecx, ecx
push eax
inc ecx
call fcn.00401443
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401a29
pop esi
call fcn.00401459
push eax
call fcn.004059bb
mov esi, eax
test esi, esi
je 0x402203
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.0040585d
push dword [esi + 0x18]
jmp 0x40180a
mov eax, dword [ebp + 8]
mov byte [edi], 0
mov byte [eax], 0
jmp 0x4016ff
sub ecx, 0x57
je 0x4025a2
push 2
pop ebx
sub ecx, ebx
je 0x4024cd
sub ecx, ebx
je 0x402376
sub ecx, ebx
je 0x4022f1
sub ecx, ebx
je 0x4022d9
sub ecx, ebx
je 0x40228c
sub ecx, ebx
jne 0x402d04
xor esi, esi
inc esi
mov dword [ebp + 8], 0x7e4e21
call fcn.00401459
push 0x12
pop esi
mov ebx, eax
call fcn.00401459
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 8], eax
call fcn.00401459
push eax
push 0x1fff
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edi]
cmp eax, dword [ebp + 8]
jmp 0x401936
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x24], ebx
je 0x4022a1
xor esi, esi
call fcn.00401459
mov edi, eax
cmp dword [ebp - 0x20], ebx
je 0x4022b1
push 0x11
pop esi
call fcn.00401459
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], ebx
je 0x4022c0
push 0x22
pop esi
call fcn.00401459
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401459
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4016f7
cmp dword [ebp - 0x24], 0xbadf00d
jne 0x401d98
inc dword [0x446c94]
jmp 0x402d04
xor esi, esi
call fcn.00401459
push 0x11
pop esi
mov edi, eax
call fcn.00401459
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401459
push edi
mov esi, eax
call fcn.004059bb
test eax, eax
jne 0x402327
push 0
push 0xfffffffffffffff9
call fcn.00404991
jmp 0x4016ff
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
call sub.KERNEL32.dll_lstrlenA
mov ebx, dword [ebp + 8]
push ebx
mov byte [eax + edi + 1], 0
call sub.KERNEL32.dll_lstrlenA
mov byte [eax + ebx + 1], 0
mov ax, word [ebp - 0x1c]
push esi
push 0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3a], esi
mov word [ebp - 0x44], ax
call fcn.00404991
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x402d04
jmp 0x402319
push 0xfffffffffffffff0
pop esi
call fcn.00401459
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x2c], eax
call fcn.00401459
mov esi, ebx
mov edi, eax
call fcn.00401459
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x34], eax
call fcn.00401459
push 0x45
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401459
push edi
mov dword [ebp - 0x30], eax
call fcn.004056b0
test eax, eax
jne 0x4023bd
push 0x21
pop esi
call fcn.00401459
lea eax, [ebp + 8]
push eax
push 0x407640
push 1
push 0
push 0x407660
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4024b8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x407650
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jl 0x4024ab
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x473000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x402430
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0
je 0x402455
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
and edi, esi
push edi
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test ebx, ebx
jl 0x4024a2
push 0x400
mov esi, 0x4130e8
push esi
push 0xffffffffffffffff
push dword [ebp - 0x2c]
mov ebx, 0x80004005
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4024a2
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jge 0x4024c6
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x40190d
push 0xfffffffffffffff4
jmp 0x40190d
cmp dword [0x446cb8], 0
mov dword [ebp - 4], 1
jl 0x40259b
push 0xfffffffffffffff0
pop esi
call fcn.00401459
xor esi, esi
inc esi
mov edi, eax
call fcn.00401459
xor esi, esi
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], esi
je 0x40250a
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
cmp ebx, esi
jne 0x40251a
push 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
cmp ebx, esi
je 0x402594
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x402567
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x402549
push dword [ebp - 0x1c]
call fcn.00401432
call edi
test eax, eax
je 0x402571
mov dword [ebp - 4], 1
jmp 0x402571
push section..data
push 0x4090a0
push section..ndata
push 0x2000
push dword [ebp - 0xc]
call edi
add esp, 0x14
jmp 0x402571
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404991
cmp dword [ebp - 0x18], esi
jne 0x402d04
push ebx
call fcn.00403854
test eax, eax
je 0x402d04
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x402d04
push 0xfffffffffffffff6
jmp 0x40190d
push 0xffffffffffffffe7
jmp 0x40190d
push 0xffffffffffffffee
pop esi
call fcn.00401459
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, dword [ebp + 8]
mov byte [edi], 0
mov byte [eax], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x402d04
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x402d04
push eax
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402629
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push 0x407290
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402629
mov eax, dword [ebp - 8]
push dword [eax + 8]
push edi
call fcn.0040585d
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0040585d
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402d04
cmp dword [ebp - 0x14], 0
jne 0x402669
push 2
call fcn.00401547
mov edi, eax
test edi, edi
je 0x4016ff
push 0x33
pop esi
call fcn.00401459
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402694
push 0x22
pop esi
call fcn.00401459
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x402684
mov ecx, dword [0x446c84]
add ecx, 0x80000001
mov edx, dword [ebp - 0x14]
and edx, 2
push edx
push eax
push ecx
call fcn.00401491
mov esi, eax
test esi, esi
je 0x402d04
jmp 0x4016ff
cmp ecx, 0x75
jg 0x402a2c
je 0x4029f5
sub ecx, 0x67
je 0x402927
push 2
pop ebx
sub ecx, ebx
je 0x40289d
sub ecx, ebx
je 0x40283d
sub ecx, ebx
je 0x402822
sub ecx, ebx
je 0x4027fd
sub ecx, ebx
je 0x4027b0
sub ecx, ebx
jne 0x402d04
mov ecx, ebx
xor esi, esi
call fcn.00401443
cmp eax, 1
mov dword [ebp - 0xc], eax
jl 0x402d04
mov ecx, 0x1fff
cmp eax, ecx
jle 0x40270d
mov dword [ebp - 0xc], ecx
cmp byte [edi], 0
je 0x4027a2
push edi
xor bl, bl
call fcn.00405876
cmp dword [ebp - 0xc], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], eax
jle 0x4027a5
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4027a5
cmp dword [ebp - 0x2c], 1
jne 0x4027a5
cmp dword [ebp - 0x18], 0
jne 0x40276c
cmp bl, 0xd
je 0x40277c
cmp bl, 0xa
je 0x40277c
mov al, byte [ebp + 0xb]
mov byte [esi + edi], al
inc esi
mov bl, al
test al, al
je 0x4027a5
cmp esi, dword [ebp - 0xc]
jl 0x402729
jmp 0x4027a5
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.0040585d
jmp 0x402d0d
mov al, byte [ebp + 0xb]
cmp bl, al
je 0x402791
cmp al, 0xd
je 0x40278b
cmp al, 0xa
jne 0x402791
mov byte [esi + edi], al
inc esi
jmp 0x4027a5
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4027a5
mov edi, dword [ebp + 8]
mov byte [esi + edi], 0
test esi, esi
jmp 0x4016f9
cmp dword [ebp - 0x1c], 0
je 0x4027c8
xor ecx, ecx
inc ecx
call fcn.00401443
mov byte [0x40b0e0], al
xor eax, eax
inc eax
jmp 0x4027d6
push 0x11
pop esi
call fcn.00401459
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x4016ff
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40b0e0
push edi
call fcn.00405876
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4016f7
push 0xffffffffffffffed
pop esi
call fcn.00401459
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.0040576f
cmp eax, 0xffffffff
jne 0x401a29
mov byte [edi], 0
jmp 0x4016ff
cmp byte [edi], 0
je 0x402d04
push edi
call fcn.00405876
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d04
push 0x20019
call fcn.00401547
push 3
pop ecx
mov esi, eax
call fcn.00401443
xor edx, edx
mov byte [edi], 0
cmp esi, edx
je 0x4016ff
mov ecx, 0x1fff
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x14], edx
je 0x402877
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402890
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4016ff
mov byte [edi + 0x1fff], 0
push esi
jmp 0x4029ea
push 0x20019
call fcn.00401547
push 0x33
pop esi
mov dword [ebp - 8], eax
call fcn.00401459
cmp dword [ebp - 8], 0
mov byte [edi], 0
je 0x4016ff
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x1fff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40291c
cmp dword [ebp + 8], 4
je 0x402904
cmp dword [ebp + 8], ecx
je 0x4028f2
cmp dword [ebp + 8], ebx
jne 0x40291c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + edi], 0
jmp 0x4029e7
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x14], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.0040585d
jmp 0x4029e7
mov byte [edi], 0
mov dword [ebp - 4], ecx
jmp 0x4029e7
test esi, esi
je 0x40292f
mov edi, esi
jmp 0x40293b
mov edi, dword [0x446c84]
add edi, 0x80000001
mov eax, dword [ebp - 0x14]
push 2
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
pop ebx
mov esi, ebx
mov dword [ebp - 0x2c], eax
call fcn.00401459
push 0x11
pop esi
mov dword [ebp - 0x30], eax
call fcn.00401459
xor ecx, ecx
push ecx
lea edx, [ebp - 8]
push edx
mov edx, dword [0x446cb0]
push ecx
or edx, ebx
push edx
push ecx
push ecx
push ecx
push eax
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402d04
xor ebx, ebx
cmp dword [ebp + 8], 1
mov edi, 0x40d0e0
jne 0x4029a3
push 0x23
pop esi
call fcn.00401459
push edi
call sub.KERNEL32.dll_lstrlenA
inc eax
cmp dword [ebp + 8], 4
jne 0x4029b9
push 3
pop ecx
call fcn.00401443
push 4
mov dword [0x40d0e0], eax
pop eax
cmp dword [ebp + 8], 3
jne 0x4029ce
push 0x6000
push edi
push ebx
push dword [ebp - 0x18]
call fcn.00403048
push eax
push edi
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x30]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4029e7
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402d04
cmp byte [edi], 0
je 0x402d04
push dword [ebp - 0x18]
push 0
push 2
pop ecx
call fcn.00401443
push eax
push edi
call fcn.00405876
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0
jl 0x402d04
push eax
push dword [ebp + 8]
jmp 0x40180b
sub ecx, 0x77
je 0x402cf2
push 2
pop ebx
sub ecx, ebx
je 0x402ccb
sub ecx, ebx
je 0x402c8e
sub ecx, ebx
je 0x402b8d
sub ecx, 3
je 0x402b04
sub ecx, ebx
je 0x402a97
sub ecx, 6
jne 0x402d04
mov eax, dword [0x4399cc]
and eax, dword [ebp - 0x24]
push ecx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x24], 0
je 0x402d04
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402d04
xor ecx, ecx
call fcn.00401443
cmp eax, 0x20
jae 0x4016ff
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x402ad0
cmp dword [ebp - 0x1c], esi
je 0x402ac5
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp 0x402d04
push esi
call fcn.004012f1
jmp 0x402a23
cmp dword [ebp - 0x1c], esi
je 0x402aea
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x446bcc]
mov dword [edx + eax*4 + 0x94], ecx
jmp 0x402d04
mov ecx, dword [0x446bcc]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.00405b78
jmp 0x402d04
xor ecx, ecx
call fcn.00401443
mov edi, eax
cmp edi, dword [0x446bec]
jae 0x4016ff
mov eax, dword [ebp - 0x1c]
mov esi, edi
imul esi, esi, 0x2018
add esi, dword [0x446be8]
test eax, eax
jl 0x402b45
mov ecx, dword [esi + eax*4]
jne 0x402b3f
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402cc4
push ecx
jmp 0x402a24
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x402b5c
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp - 0x20], eax
jmp 0x402b6f
push dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00405b78
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x18], 0
je 0x402d04
push edi
call fcn.00401186
jmp 0x402d04
push 0xfffffffffffffff0
pop esi
mov edi, 0xfffffd66
call fcn.00401459
push eax
mov dword [ebp - 8], eax
call fcn.004056b0
test eax, eax
jne 0x402baf
push 0xffffffffffffffed
pop esi
call fcn.00401459
push dword [ebp - 8]
call fcn.0040574f
push ebx
push 0x40000000
push dword [ebp - 8]
call fcn.0040576f
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402c6e
mov eax, dword [0x446c2c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0xc], eax
call esi
mov ebx, eax
test ebx, ebx
je 0x402c65
push 0
call fcn.00402eb3
push dword [ebp - 0xc]
push ebx
call fcn.00402e81
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x402c3c
push dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x20]
call fcn.00403048
jmp 0x402c2e
mov edi, dword [esi]
mov eax, dword [esi + 4]
push edi
add esi, 8
push esi
add eax, ebx
push eax
call fcn.0040572b
add esi, edi
cmp byte [esi], 0
jne 0x402c1a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403048
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
test edi, edi
jge 0x402c88
push 0xffffffffffffffef
pop esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
jmp 0x40190d
mov esi, ebx
call fcn.00401459
lea ecx, [ebp - 0x194]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402cb3
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x40281a
push eax
push dword [ebp + 8]
call fcn.0040585d
lea eax, [ebp - 0x168]
push eax
push edi
call fcn.004058ff
jmp 0x402d04
cmp byte [edx], 0
je 0x40193c
lea eax, [ebp - 0x194]
push eax
push edx
call fcn.00405876
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40193c
jmp 0x402cbc
cmp byte [edi], 0
je 0x402d04
push edi
call fcn.00405876
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
add dword [0x446c88], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4