Function at 0x401553
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Resolve function by parsing pe exports
Set current directory
Set file attributes
Set registry value

Disassembly:
sub esp, 0x248
push ebx
mov edx, dword [0x443018]
mov eax, section..ndata
push ebp
push esi
mov esi, dword [esp + 0x258]
xor ebx, ebx
push edi
push 9
pop ecx
lea edi, [esp + 0x30]
mov dword [esp + 0x14], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
mov edi, ecx
mov esi, dword [esp + 0x34]
mov ebp, esi
shl ebp, 0xd
add ebp, eax
shl edi, 0xd
add edi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov dword [0x40b0e4], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffffe
cmp eax, 0x44
ja case.0x4015b5.69
jmp dword [eax*4 + 0x4032e7]
push esi
push str.Jump:__d
call fcn.00406fd1
mov eax, dword [esp + 0x3c]
pop ecx
pop ecx
jmp 0x4032d8
push ebx
call fcn.0040346f
push eax
push str.Aborting:___s_
call fcn.00406fd1
pop ecx
pop ecx
push ebx
push dword [esp + 0x38]
call fcn.00406540
mov eax, 0x7fffffff
jmp 0x4032d8
inc dword [0x44300c]
test edx, edx
je 0x4015ef
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4015ef
push esi
call fcn.004034e9
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406fd1
pop ecx
pop ecx
push ebx
push esi
call fcn.00401399
jmp 0x4032d8
push ebx
call fcn.0040346f
push eax
push str.DetailPrint:__s
call fcn.00406fd1
pop ecx
pop ecx
push ebx
push dword [esp + 0x38]
call fcn.00406540
jmp case.0x4015b5.69
push ebx
call fcn.00403433
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406fd1
xor eax, eax
add esp, 0xc
inc eax
cmp esi, eax
cmovg eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015b5.69
push str.BringToFront
call fcn.00406fd1
mov eax, dword [esp + 0x18]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015b5.69
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x4016d5
jne 0x4016ad
mov eax, dword [esi*4 + 0x4470e0]
mov dword [esi*4 + 0x4470a0], eax
push 1
call fcn.00403433
mov ecx, eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x4470e0], ecx
call fcn.00406fd1
add esp, 0x10
jmp case.0x4015b5.69
mov eax, dword [esi*4 + 0x4470a0]
mov dword [esi*4 + 0x4470e0], eax
jmp case.0x4015b5.69
mov ecx, dword [esp + 0x3c]
push 4
mov edx, dword [ecx*4 + 0x4470e0]
mov eax, edx
and eax, dword [esp + 0x44]
mov dword [ecx*4 + 0x4470e0], eax
xor eax, eax
test edx, edx
pop ecx
cmove eax, ecx
mov eax, dword [esp + eax + 0x34]
jmp 0x4032d8
push dword [ecx*4 + 0x4470e0]
push ebp
call fcn.00406f3f
jmp case.0x4015b5.69
mov eax, dword [0x443004]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40173c
push ecx
push eax
call edi
mov esi, dword [esp + 0x34]
mov eax, dword [0x443008]
test eax, eax
je case.0x4015b5.69
push esi
push eax
call edi
jmp case.0x4015b5.69
push 0xfffffffffffffff0
call fcn.0040346f
push dword [esp + 0x38]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406fd1
add esp, 0xc
push dword [esp + 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x4015b5.69
push str.SetFileAttributes_failed.
call fcn.00406fd1
pop ecx
xor eax, eax
inc eax
jmp 0x4032d0
push 0xfffffffffffffff0
call fcn.0040346f
push dword [esp + 0x38]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406fd1
add esp, 0xc
push esi
call fcn.0040760b
mov edi, eax
test edi, edi
je 0x401849
push 0x5c
push edi
call fcn.00406f1b
mov edi, eax
mov al, byte [edi]
mov byte [esp + 0x14], al
mov byte [edi], bl
test al, al
jne 0x4017eb
cmp dword [esp + 0x3c], ebx
je 0x4017eb
call fcn.00406c8b
test eax, eax
je 0x4017eb
push esi
call fcn.00406688
jmp 0x4017f1
push esi
call fcn.00406668
test eax, eax
je 0x40182d
cmp eax, 0xb7
je 0x401811
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406fd1
add esp, 0xc
inc dword [esp + 0x10]
jmp 0x40183a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40183a
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406fd1
inc dword [esp + 0x18]
jmp 0x401838
push esi
push str.CreateDirectory:___s__created
call fcn.00406fd1
pop ecx
pop ecx
mov al, byte [esp + 0x14]
mov byte [edi], al
inc edi
test al, al
jne 0x4017be
push 0x40d0e8
cmp dword [esp + 0x3c], ebx
je 0x401894
push 0xffffffffffffffe6
call fcn.00406540
push esi
push 0x474000
call fcn.00407560
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne case.0x4015b5.69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406fd1
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
jmp 0x4032d0
push 0xfffffffffffffff5
jmp 0x401646
push ebx
call fcn.0040346f
mov esi, eax
push esi
call fcn.00406ef4
test eax, eax
je 0x4018c8
push dword [esp + 0x38]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406fd1
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x4032d8
push dword [esp + 0x3c]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406fd1
add esp, 0xc
mov eax, dword [esp + 0x3c]
jmp 0x4032d8
push 0xffffffffffffffd0
call fcn.0040346f
push 0xffffffffffffffdf
mov edi, eax
call fcn.0040346f
push 0x13
mov ebx, eax
call fcn.0040346f
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406fd1
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401923
push 0x40d0e8
push 0xffffffffffffffe3
jmp 0x401646
cmp dword [esp + 0x3c], 0
je 0x401959
push edi
call fcn.00406ef4
test eax, eax
je 0x401959
push ebx
push edi
call fcn.00406a84
push 0x40d0e8
push 0xffffffffffffffe4
call fcn.00406540
push esi
push str.Rename_on_reboot:__s
call fcn.00406fd1
pop ecx
pop ecx
jmp case.0x4015b5.69
push esi
push str.Rename_failed:__s
call fcn.00406fd1
pop ecx
jmp 0x40178a
push ebx
call fcn.0040346f
mov esi, eax
mov ebp, 0x2000
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x401994
xor eax, eax
mov byte [edi], bl
inc eax
mov dword [esp + 0x10], eax
jmp 0x4019bb
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x4019b7
cmp byte [eax], bl
je 0x4019b7
push esi
call fcn.00406ef4
test eax, eax
je 0x401989
add eax, 0x2c
push eax
push dword [esp + 0x1c]
call fcn.00407560
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x3c], ebx
jne 0x4032d0
push ebp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x4015b5.69
push 0xffffffffffffffff
call fcn.0040346f
lea ecx, [esp + 0x5c]
push ecx
push ebp
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x4015b5.69
xor eax, eax
mov byte [ebp], bl
inc eax
jmp 0x4032d0
push 0xffffffffffffffef
call fcn.0040346f
push eax
push ebp
call fcn.004074a7
test eax, eax
jne case.0x4015b5.69
jmp 0x40178b
push 0x31
call fcn.0040346f
mov ecx, dword [esp + 0x34]
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x24], ebp
sar ecx, 3
and eax, 7
push ebp
and ecx, 2
mov dword [esp + 0x18], eax
push ecx
push eax
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00406fd1
add esp, 0x10
push ebp
call fcn.00407834
mov edi, 0x40b0e8
push ebp
test eax, eax
je 0x401a64
push edi
call fcn.00407560
jmp 0x401a7b
push 0x474000
push edi
call fcn.00407560
push eax
call fcn.00406e7d
push eax
call sub.KERNEL32.dll_lstrcatA
push edi
call fcn.00407782
xor ebp, ebp
inc ebp
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, 3
jl 0x401ac4
push edi
call fcn.00406ef4
mov ecx, ebx
test eax, eax
je 0x401aad
lea ecx, [esp + 0x44]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x401ace
push edi
call fcn.004075e3
xor eax, eax
cmp dword [esp + 0x14], ebp
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00407370
mov dword [esp + 0x20], eax
cmp eax, esi
jne 0x401bbe
cmp dword [esp + 0x14], ebx
jne 0x401b93
push edi
push str.File:_error_creating___s_
call fcn.00406fd1
pop ecx
pop ecx
push section..ndata
push 0x40f0e8
call fcn.00407560
push edi
push section..ndata
call fcn.00407560
push dword [esp + 0x4c]
push 0x40d0e8
call fcn.004066e3
push 0x40f0e8
push section..ndata
call fcn.00407560
mov eax, dword [esp + 0x34]
sar eax, 3
push eax
push 0x40d0e8
call fcn.004074ee
sub eax, 4
jne 0x401b65
push str.File:_error__user_retry
call fcn.00406fd1
pop ecx
jmp 0x401a87
sub eax, 1
je 0x401b7d
push str.File:_error__user_abort
call fcn.00406fd1
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x4015ea
push str.File:_error__user_cancel
call fcn.00406fd1
inc dword [0x4470e8]
pop ecx
jmp 0x4032d6
push dword [esp + 0x24]
push 0xffffffffffffffe2
call fcn.00406540
mov ebx, dword [esp + 0x14]
push ebx
push edi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406fd1
add esp, 0xc
xor eax, eax
cmp ebx, 2
sete al
jmp 0x4032d0
push dword [esp + 0x24]
push 0xffffffffffffffea
call fcn.00406540
push dword [esp + 0x50]
inc dword [0x447114]
cmp dword [esp + 0x34], 0x15
push ebx
push ebx
push dword [esp + 0x2c]
push dword [esp + 0x50]
push dword [esp + 0x50]
jne 0x401bf8
push ebp
call fcn.004035c0
mov ebp, eax
mov eax, edx
mov dword [esp + 0x18], eax
jmp 0x401c06
push ebx
call fcn.004035c0
mov ebp, eax
mov dword [esp + 0x18], edx
mov eax, edx
dec dword [0x447114]
push edi
push eax
push ebp
push str.File:_wrote__d_to___s_
call fcn.00406fd1
add esp, 0x10
cmp dword [esp + 0x44], esi
jne 0x401c28
cmp dword [esp + 0x48], esi
je 0x401c39
lea eax, [esp + 0x44]
push eax
push ebx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jg case.0x4015b5.69
jl 0x401c59
cmp ebp, ebx
jae case.0x4015b5.69
cmp ebp, 0xfffffffe
jne 0x401c76
cmp eax, esi
jne 0x401c76
push 0xffffffffffffffe9
push edi
call fcn.004066e3
push dword [esp + 0x24]
push edi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401c7e
push 0xffffffffffffffee
push edi
call fcn.004066e3
push edi
push 0x409584
call fcn.00406fd1
pop ecx
pop ecx
push 0x200010
push edi
call fcn.004074ee
jmp 0x4015ef
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
cmp dword [0x447024], ebx
je 0x4032d0
or esi, 0xffffffff
cmp dword [0x40b014], esi
jne 0x401d18
push ebx
call fcn.0040346f
mov edi, eax
push edi
call fcn.00407834
test eax, eax
jne 0x401cf8
push 0x47e000
mov ebp, 0x40d0e8
push ebp
call fcn.00407560
push ebp
call fcn.00407718
push eax
push ebp
call fcn.00407560
push ebp
push str._s.nsisbin
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call fcn.00407782
push 3
push 0x80000000
push edi
call fcn.00407370
mov dword [0x40b014], eax
cmp eax, esi
je case.0x4015b5.69
mov eax, ebx
jmp 0x4032d0
push ebx
call fcn.0040346f
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406fd1
pop ecx
pop ecx
push dword [esp + 0x38]
push esi
call fcn.004070fd
jmp case.0x4015b5.69
push 0x31
call fcn.0040346f
mov esi, eax
push esi
push dword [esp + 0x38]
push str.MessageBox:__d___s_
call fcn.00406fd1
add esp, 0xc
push dword [esp + 0x34]
push esi
call fcn.004074ee
test eax, eax
je 0x40178b
cmp eax, dword [esp + 0x3c]
je 0x401ece
cmp eax, dword [esp + 0x44]
jne case.0x4015b5.69
mov eax, dword [esp + 0x48]
jmp 0x4032d8
push 0xfffffffffffffff0
call fcn.0040346f
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401d2d
push 1
call fcn.0040346f
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
jmp 0x40171a
push 2
call fcn.00403433
push 3
mov edi, eax
mov esi, edx
call fcn.00403433
pop ecx
pop ecx
push 1
mov dword [esp + 0x20], eax
call fcn.0040346f
push eax
mov dword [esp + 0x30], eax
call sub.KERNEL32.dll_lstrlenA
test esi, esi
mov byte [ebp], bl
mov ecx, eax
cmove edi, ecx
test edi, edi
je case.0x4015b5.69
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x401dfc
add eax, ecx
js case.0x4015b5.69
cmp eax, ecx
cmovg eax, ecx
add eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.00407560
test edi, edi
jns 0x401e18
push ebp
call sub.KERNEL32.dll_lstrlenA
add edi, eax
xor eax, eax
test edi, edi
cmovns eax, edi
cmp eax, 0x2000
jge case.0x4015b5.69
mov byte [eax + ebp], bl
jmp case.0x4015b5.69
push 0x20
call fcn.0040346f
push 0x31
mov esi, eax
call fcn.0040346f
push eax
push esi
cmp dword [esp + 0x4c], ebx
jne 0x401e5a
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4018da
jmp 0x401ece
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401e50
xor esi, esi
inc esi
push esi
call fcn.0040346f
push 0x2000
mov edi, eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401e90
cmp dword [esp + 0x3c], ebx
je 0x401e97
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401e97
mov eax, esi
mov byte [ebp], bl
jmp 0x401e9b
mov eax, dword [esp + 0x10]
mov byte [ebp + 0x1fff], bl
jmp 0x4032d0
mov esi, dword [esp + 0x48]
push ebx
call fcn.00403433
push 1
mov edi, eax
call fcn.00403433
pop ecx
pop ecx
test esi, esi
jne 0x401eca
cmp edi, eax
jl 0x401ece
jg 0x401edd
jmp 0x4018da
cmp edi, eax
jae 0x401ed7
mov eax, dword [esp + 0x40]
jmp 0x4032d8
jbe 0x4018da
mov eax, dword [esp + 0x44]
jmp 0x4032d8
xor edi, edi
inc edi
push edi
call fcn.00403433
push 2
mov esi, eax
call fcn.00403433
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x40]
cmp eax, 0xd
ja case.default.0x401f05
jmp dword [eax*4 + 0x4033fb]
add esi, ecx
jmp case.default.0x401f05
sub esi, ecx
jmp case.default.0x401f05
imul esi, ecx
jmp case.default.0x401f05
test ecx, ecx
je 0x401f26
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401f28
mov esi, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x10], eax
jmp case.default.0x401f05
or esi, ecx
jmp case.default.0x401f05
and esi, ecx
jmp case.default.0x401f05
xor esi, ecx
jmp case.default.0x401f05
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401f05
test esi, esi
jne 0x401f54
test ecx, ecx
je 0x401f5c
mov esi, edi
jmp case.default.0x401f05
test esi, esi
jne 0x401f50
mov esi, ebx
jmp case.default.0x401f05
test ecx, ecx
je 0x401f26
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401f28
shl esi, cl
jmp case.default.0x401f05
sar esi, cl
jmp case.default.0x401f05
shr esi, cl
push esi
jmp 0x40171a
push 1
call fcn.0040346f
push 2
mov esi, eax
call fcn.00403433
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x4016cd
mov eax, dword [esp + 0x3c]
mov esi, dword [0x40b0e0]
test eax, eax
je 0x40200d
dec eax
test esi, esi
je 0x401fea
mov esi, dword [esi]
test eax, eax
jne 0x401fa9
test esi, esi
je 0x401fea
add esi, 4
mov edi, 0x40b0e8
push esi
push edi
call fcn.00407560
mov eax, dword [0x40b0e0]
add eax, 4
push eax
push esi
call fcn.00407560
mov eax, dword [0x40b0e0]
push edi
add eax, 4
push eax
call fcn.00407560
jmp case.0x4015b5.69
push dword [esp + 0x3c]
push str.Exch:_stack____d_elements
call fcn.00406fd1
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004066e3
push eax
jmp 0x401c91
test ecx, ecx
je 0x40203c
test esi, esi
jne 0x40201f
push str.Pop:_stack_empty
jmp 0x401785
lea eax, [esi + 4]
push eax
push ebp
call fcn.00407560
mov eax, dword [esi]
mov dword [0x40b0e0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015b5.69
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x34]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004066e3
mov eax, dword [0x40b0e0]
mov dword [esi], eax
mov dword [0x40b0e0], esi
jmp case.0x4015b5.69
push 3
call fcn.00403433
mov esi, eax
push 4
mov dword [esp + 0x20], esi
call fcn.00403433
mov edi, eax
mov eax, dword [esp + 0x50]
pop ecx
pop ecx
test al, 1
je 0x40209b
push 0x33
call fcn.0040346f
mov esi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], esi
test al, 2
je 0x4020a8
push 0x44
call fcn.0040346f
mov edi, eax
cmp dword [esp + 0x30], 0x23
push 1
jne 0x402100
call fcn.00403433
push 2
mov dword [esp + 0x20], eax
call fcn.00403433
pop ecx
pop ecx
mov ecx, dword [esp + 0x48]
sar ecx, 2
test ecx, ecx
je 0x4020f1
lea edx, [esp + 0x20]
push edx
push ecx
push ebx
push edi
push esi
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x402133
push edi
push esi
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402129
call fcn.0040346f
push 0x12
mov esi, eax
call fcn.0040346f
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp byte [esi], cl
cmovne ecx, esi
push ecx
push edi
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x34], ebx
jl 0x4032d0
push ecx
jmp 0x40171a
push ebx
call fcn.00403433
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018da
jmp 0x4018bf
push 2
call fcn.00403433
push 1
mov esi, eax
call fcn.00403433
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401dab
mov esi, dword [0x447068]
push ebx
add esi, ecx
call fcn.00403433
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x4015b5.69
test dword [esp + 0x40], 0x100
je 0x4021af
push 2
call fcn.00403433
pop ecx
jmp 0x4021ba
push dword [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov eax, dword [esp + 0x40]
mov ecx, eax
mov edi, eax
and ecx, 4
shr edi, 0x1e
mov dword [esp + 0x2c], ecx
mov esi, eax
mov ecx, eax
and esi, 3
shr ecx, 0x1f
and edi, 1
mov dword [esp + 0x1c], ecx
test eax, 0x10000
je 0x4021ef
push 0x11
call fcn.0040346f
jmp 0x4021f4
movzx eax, word [esp + 0x38]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x6c]
imul eax, edi
push eax
mov eax, dword [esp + 0x6c]
imul eax, dword [esp + 0x24]
push eax
xor eax, eax
cmp dword [esp + 0x38], eax
push esi
push dword [esp + 0x28]
cmovne eax, dword [0x443014]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
push edi
push esi
push 0x172
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x402258
test esi, esi
jne 0x402258
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x34], 0
jl case.0x4015b5.69
push edi
jmp 0x40171a
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.00403433
pop ecx
push 0x48
push 0x5a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x4150e8], eax
mov eax, dword [esp + 0x14]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00403433
pop ecx
mov ecx, dword [esp + 0x44]
push dword [esp + 0x38]
mov dword [0x4150f8], eax
mov al, cl
and al, 1
mov byte [0x4150ff], 1
mov byte [0x4150fc], al
mov al, cl
and al, 2
and cl, 4
push 0x415104
mov byte [0x4150fd], al
mov byte [0x4150fe], cl
call fcn.004066e3
push 0x4150e8
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401dab
push ebx
call fcn.00403433
push 1
mov esi, eax
call fcn.00403433
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x3c], ebx
je 0x402317
push str.HideWindow
call fcn.00406fd1
pop ecx
push edi
push esi
cmp dword [esp + 0x48], ebx
jne 0x40232a
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015b5.69
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015b5.69
push ebx
call fcn.0040346f
push 0x31
mov esi, eax
call fcn.0040346f
push 0x22
mov ebx, eax
call fcn.0040346f
push 0x15
mov edi, eax
call fcn.0040346f
push 0x40d0e8
push 0xffffffffffffffec
call fcn.00406540
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x78], ecx
cmp byte [esi], al
mov dword [esp + 0x6c], ebx
cmovne eax, esi
mov dword [esp + 0x68], eax
xor eax, eax
cmp byte [edi], al
mov dword [esp + 0x74], 0x474000
cmovne eax, edi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
call fcn.00407444
test eax, eax
jne 0x4023c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406fd1
add esp, 0x14
jmp 0x40178b
test byte [esp + 0x60], 0x40
je 0x4023e6
push dword [esp + 0x94]
call fcn.00406ca3
push dword [esp + 0x94]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x4016c8
push ebx
call fcn.0040346f
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406fd1
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00406540
push esi
call fcn.004070ba
mov ebx, eax
push esi
test ebx, ebx
je 0x402464
push str.Exec:_success____s__
call fcn.00406fd1
cmp dword [esp + 0x44], 0
pop ecx
pop ecx
je 0x402458
push ebx
call fcn.00406ca3
cmp dword [esp + 0x38], 0
mov ecx, eax
jl 0x402448
push ecx
push edi
call fcn.00406f3f
jmp 0x402458
mov eax, dword [esp + 0x10]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015b5.69
push str.Exec:_failed_createprocess____s__
jmp 0x40195f
push 2
call fcn.0040346f
push eax
call fcn.00406ef4
mov esi, eax
test esi, esi
je 0x402492
push dword [esi + 0x14]
push edi
call fcn.00406f3f
push dword [esi + 0x18]
jmp 0x40171a
mov byte [ebp], bl
mov byte [edi], bl
jmp 0x40178b
push 0xffffffffffffffee
call fcn.0040346f
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], eax
push ecx
push eax
push 0xb
call fcn.0040733b
call eax
mov ecx, eax
mov byte [ebp], bl
xor eax, eax
mov dword [esp + 0x1c], ecx
inc eax
mov byte [edi], bl
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4032d0
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x20], eax
test eax, eax
je case.0x4015b5.69
push 0xc
call fcn.0040733b
push 0xd
mov esi, eax
call fcn.0040733b
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
push dword [esp + 0x20]
push ebx
push dword [esp + 0x38]
call esi
test eax, eax
je 0x40254f
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x4096c0
push dword [esp + 0x2c]
call dword [esp + 0x34]
test eax, eax
je 0x40254f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.00406f3f
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
push dword [eax + ecx*4 + 0xc]
push edi
call fcn.00406f3f
mov dword [esp + 0x10], ebx
push dword [esp + 0x20]
jmp 0x402031
xor ebp, ebp
inc ebp
mov dword [esp + 0x10], ebp
cmp dword [0x447080], ebx
jl 0x40265c
push 0xfffffffffffffff0
call fcn.0040346f
push ebp
mov edi, eax
call fcn.0040346f
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], ebx
je 0x402591
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4025a5
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x402645
push dword [esp + 0x18]
push esi
call sub.KERNEL32.dll_GetProcAddress
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402601
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x3c], ebx
je 0x4025e1
push 0x40d0e8
push dword [esp + 0x40]
call fcn.00406540
call dword [esp + 0x1c]
test eax, eax
je 0x40261c
mov eax, ebp
mov dword [esp + 0x10], eax
jmp 0x402620
mov eax, dword [esp + 0x14]
push section..data
push 0x40b0e0
push section..ndata
push 0x2000
push eax
call ecx
add esp, 0x14
jmp 0x40261c
mov ebx, dword [esp + 0x18]
push ebx
push 0xfffffffffffffff7
call fcn.00406540
push edi
push ebx
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406fd1
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x40], 0
jne 0x4032d0
push esi
call fcn.004044dc
test eax, eax
je case.0x4015b5.69
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015b5.69
push 0x40d0e8
push 0xfffffffffffffff6
call fcn.00406540
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x40194d
push 0x40d0e8
push 0xffffffffffffffe7
call fcn.00406540
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00406fd1
jmp 0x401953
push 0xfffffffffffffff0
call fcn.0040346f
push 0xffffffffffffffdf
mov dword [esp + 0x30], eax
call fcn.0040346f
push 2
mov esi, eax
call fcn.0040346f
push 0xffffffffffffffcd
mov dword [esp + 0x28], eax
call fcn.0040346f
mov ebp, eax
push 0x45
mov dword [esp + 0x58], ebp
call fcn.0040346f
mov ecx, dword [esp + 0x44]
mov edi, ecx
mov dword [esp + 0x5c], eax
mov eax, ecx
and eax, 0xfff
sar edi, 0xc
mov dword [esp + 0x20], eax
and edi, 7
mov eax, ecx
sar ecx, 0x10
and eax, 0x8000
mov dword [esp + 0x58], eax
movzx eax, cx
push esi
mov dword [esp + 0x1c], eax
call fcn.00407834
test eax, eax
jne 0x4026eb
push 0x21
call fcn.0040346f
push dword [esp + 0x18]
push edi
push dword [esp + 0x28]
push ebp
push dword [esp + 0x34]
push esi
push dword [esp + 0x44]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406fd1
add esp, 0x20
lea eax, [esp + 0x14]
xor ebp, ebp
inc ebp
push eax
push 0x40a040
push ebp
push ebx
push 0x40a060
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x10], eax
test eax, eax
js 0x402812
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x40a050
push eax
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
test eax, eax
js 0x402804
mov eax, dword [esp + 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x58], ebx
jne 0x402774
mov eax, dword [esp + 0x14]
push 0x474000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test edi, edi
je 0x402783
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x54]
cmp byte [edx], bl
je 0x4027a8
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x14]
push dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
push dword [esp + 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [esp + 0x10], ebx
jl 0x4027fa
push 0x2000
push esi
push 0xffffffffffffffff
push dword [esp + 0x38]
mov dword [esp + 0x20], 0x80004005
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4027fa
mov eax, dword [esp + 0x1c]
push ebp
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
sar eax, 0x1f
and eax, 0xfffffffc
push 0x40d0e8
sub eax, 0xc
push eax
call fcn.00406540
mov eax, dword [esp + 0x10]
shr eax, 0x1f
jmp 0x4032d0
push ebx
call fcn.0040346f
push 0x11
mov esi, eax
call fcn.0040346f
push 0x23
mov edi, eax
call fcn.0040346f
push edi
push esi
push str.CopyFiles___s_____s_
mov ebp, eax
call fcn.00406fd1
add esp, 0xc
push esi
call fcn.00406ef4
test eax, eax
jne 0x402872
push ebx
push 0xfffffffffffffff9
call fcn.00406540
jmp 0x40178b
mov eax, dword [esp + 0x14]
push esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 2
call sub.KERNEL32.dll_lstrlenA
push edi
mov byte [eax + esi + 1], bl
call sub.KERNEL32.dll_lstrlenA
push ebp
push ebx
mov byte [eax + edi + 1], bl
mov ax, word [esp + 0x44]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x7e], ebp
mov word [esp + 0x74], ax
call fcn.00406540
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x4015b5.69
jmp 0x402865
cmp esi, 0xbadf00d
jne 0x401ffa
inc dword [0x4470f4]
jmp case.0x4015b5.69
push str._RM_
mov ebp, 0x40d0e8
mov dword [esp + 0x30], ebx
push ebp
mov dword [esp + 0x24], ebx
call fcn.00407560
push ebp
mov edi, 0x40f0e8
push edi
call fcn.00407560
cmp dword [esp + 0x34], ebx
je 0x402911
push ebx
call fcn.0040346f
mov ebx, eax
cmp dword [esp + 0x38], 0
je 0x402923
push 0x11
call fcn.0040346f
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], 0
je 0x402935
push 0x22
call fcn.0040346f
mov dword [esp + 0x1c], eax
push 0xffffffffffffffcd
call fcn.0040346f
mov esi, eax
push esi
push edi
push ebp
push 0x40b0e8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406fd1
add esp, 0x14
push esi
push dword [esp + 0x20]
push dword [esp + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401a0f
push 0xa
pop eax
push 1
mov word [esp + 0x18], ax
call fcn.0040346f
push 0x12
mov edi, eax
call fcn.0040346f
push 0xffffffffffffffdd
mov esi, eax
call fcn.0040346f
push eax
push 0x1fff
push ebp
lea eax, [esp + 0x20]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp], 0xa
jmp 0x4019f0
xor edi, edi
push ecx
inc edi
call fcn.00406d5f
mov ebp, eax
pop ecx
cmp dword [esp + 0x44], ebx
jne 0x4029f9
push 2
call fcn.004034ad
mov ebx, eax
test ebx, ebx
je 0x402a56
push 0x33
call fcn.0040346f
mov esi, eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40f0e8
push ebp
push str.DeleteRegValue:___s_s____s_
mov edi, eax
call fcn.00406fd1
add esp, 0x10
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402a56
push 0x22
call fcn.0040346f
mov esi, eax
push esi
push ebp
push str.DeleteRegKey:___s_s_
call fcn.00406fd1
mov ecx, dword [esp + 0x50]
add esp, 0xc
sar ecx, 1
cmp byte [esi], bl
jne 0x402a22
mov edi, 0x3eb
jmp 0x402a56
lea eax, [esp + 0x1c]
or ecx, 0x100020
push eax
push dword [esp + 0x60]
mov dword [esp + 0x24], ecx
call fcn.00403454
push eax
call fcn.0040696b
test eax, eax
je 0x402a53
push dword [esp + 0x1c]
push esi
push eax
call fcn.0040141e
mov edi, eax
jmp 0x402a56
push 6
pop edi
xor eax, eax
test edi, edi
setne al
jmp 0x4032d0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
push 2
mov dword [esp + 0x1c], eax
call fcn.0040346f
push 0x11
mov dword [esp + 0x24], eax
call fcn.0040346f
mov edi, eax
push esi
mov dword [esp + 0x28], edi
call fcn.00406d5f
pop ecx
mov dword [esp + 0x14], eax
xor ebp, ebp
lea eax, [esp + 0x5c]
inc ebp
push eax
push 0x100022
push edi
push esi
mov dword [esp + 0x20], ebp
call fcn.00403454
push eax
call fcn.00406ab6
mov esi, dword [esp + 0x5c]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [esp + 0x58], esi
test esi, esi
je 0x402c1a
mov eax, dword [esp + 0x54]
mov esi, 0x40f0e8
cmp eax, ebp
jne 0x402b14
push 0x23
call fcn.0040346f
push esi
call sub.KERNEL32.dll_lstrlenA
cmp dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
lea edi, [eax + 1]
push ebp
push dword [esp + 0x20]
jne 0x402b0d
push str.WriteRegStr:___s_s____s___s_
call fcn.00406fd1
add esp, 0x14
jmp 0x402bda
push str.WriteRegExpandStr:___s_s____s___s_
jmp 0x402b00
push 4
pop edi
cmp eax, edi
jne 0x402b47
push 3
call fcn.00403433
mov ebp, dword [esp + 0x28]
push eax
push dword [esp + 0x28]
mov dword [0x40f0e8], eax
push ebp
push dword [esp + 0x24]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406fd1
add esp, 0x18
jmp 0x402bda
mov edi, ebx
cmp eax, 3
jne 0x402bd6
push dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov edx, str.WriteRegBin
push 0x6000
cmp ecx, 7
mov eax, str.WriteRegMultiStr
push esi
cmovne eax, edx
mov edx, str.WriteRegNone
test ecx, ecx
push ebx
push dword [esp + 0x54]
cmovne edx, eax
push dword [esp + 0x54]
mov dword [esp + 0x6c], edx
cmp dword [0x447024], ebx
je 0x402b92
push ebp
jmp 0x402b93
push ebx
call fcn.004035c0
mov edi, eax
lea eax, [esp + 0x98]
push edi
push esi
push 0x80
push eax
call fcn.00406ce5
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0x34]
push ebp
push dword [esp + 0x30]
push dword [esp + 0x74]
push str._s:___s_s____s___s_
call fcn.00406fd1
add esp, 0x28
jmp 0x402bda
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x5c]
push esi
push dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402bfb
mov dword [esp + 0x10], ebx
jmp 0x402c0e
push esi
push ebp
push dword [esp + 0x1c]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406fd1
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015b5.69
push edi
push dword [esp + 0x18]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406fd1
add esp, 0xc
jmp case.0x4015b5.69
push 0x20019
call fcn.004034ad
push 0x33
mov esi, eax
call fcn.0040346f
mov byte [ebp], bl
test esi, esi
je 0x40178b
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x2000
push ecx
push ebp
lea ecx, [esp + 0x20]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402cae
cmp dword [esp + 0x18], 4
je 0x402c96
cmp dword [esp + 0x18], ecx
je 0x402c86
cmp dword [esp + 0x18], 2
jne 0x402cae
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov byte [ebp + 0x1fff], bl
jmp 0x402cb5
push dword [ebp]
xor eax, eax
cmp dword [esp + 0x48], eax
push ebp
sete al
mov dword [esp + 0x18], eax
call fcn.00406f3f
jmp 0x402cb5
mov byte [ebp], bl
mov dword [esp + 0x10], ecx
push esi
jmp 0x402c0f
push 0x20019
call fcn.004034ad
push 3
mov esi, eax
call fcn.00403433
mov byte [ebp], bl
pop ecx
test esi, esi
je 0x40178b
mov ecx, 0x1fff
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x44], ebx
je 0x402cf5
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402c8e
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x402c8e
push ebp
call fcn.00407676
test eax, eax
je case.0x4015b5.69
push eax
jmp 0x402459
push 0xffffffffffffffed
call fcn.0040346f
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call fcn.00407370
cmp eax, 0xffffffff
jne 0x401dab
mov byte [ebp], bl
jmp 0x40178b
xor ebx, ebx
inc ebx
cmp dword [esp + 0x3c], 0
je 0x402d70
push ebx
call fcn.00403433
pop ecx
mov byte [0x40d0e8], al
mov esi, ebx
jmp 0x402d7f
push 0x11
call fcn.0040346f
push eax
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
cmp byte [ebp], 0
je 0x401d18
push ebp
call fcn.00407676
push esi
push 0x40d0e8
push eax
call fcn.0040745c
test eax, eax
jne case.0x4015b5.69
jmp 0x401d18
push 2
mov dword [esp + 0x1c], ebx
call fcn.00403433
xor esi, esi
inc esi
pop ecx
cmp eax, esi
jl case.0x4015b5.69
mov ecx, 0x1fff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x1c], eax
cmp byte [ebp], bl
je 0x402e28
push ebp
mov byte [esp + 0x18], bl
call fcn.00407676
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], ebx
jbe 0x402e28
mov ebp, ebx
push esi
lea ecx, [esp + 0x2f]
push ecx
push eax
call fcn.0040739d
test eax, eax
je 0x402e28
cmp dword [esp + 0x40], ebx
jne 0x402e64
mov al, byte [esp + 0x14]
cmp al, 0xd
je 0x402e38
cmp al, 0xa
je 0x402e38
mov al, byte [esp + 0x2b]
mov byte [edi + ebp], al
inc ebp
mov byte [esp + 0x14], al
mov dword [esp + 0x18], ebp
test al, al
je 0x402e28
mov eax, dword [esp + 0x2c]
cmp ebp, dword [esp + 0x1c]
jl 0x402de8
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov byte [ecx + edi], bl
jmp 0x401bb6
mov cl, byte [esp + 0x2b]
cmp al, cl
je 0x402e54
cmp cl, 0xd
je 0x402e4a
cmp cl, 0xa
jne 0x402e54
mov byte [edi + ebp], cl
inc ebp
mov dword [esp + 0x18], ebp
jmp 0x402e28
push esi
push ebx
push 0xffffffffffffffff
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402e28
movzx eax, byte [esp + 0x2b]
push eax
push edi
call fcn.00406f3f
jmp 0x4032d6
cmp byte [ebp], bl
je case.0x4015b5.69
push 2
call fcn.00403433
pop ecx
push dword [esp + 0x40]
push ebx
push eax
push ebp
call fcn.00407676
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x38], ebx
jl case.0x4015b5.69
push eax
push edi
jmp 0x40171b
push ebp
call fcn.00407676
test eax, eax
je case.0x4015b5.69
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015b5.69
push edi
call fcn.00407676
test eax, eax
je 0x4019f6
lea ecx, [esp + 0x118]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4019f6
lea eax, [esp + 0x144]
push eax
push ebp
jmp 0x401fe0
push 2
call fcn.0040346f
lea ecx, [esp + 0x118]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402f19
mov byte [edi], bl
jmp 0x402d4e
push eax
push edi
call fcn.00406f3f
jmp 0x402ee9
push 0xfffffffffffffff0
mov dword [esp + 0x28], 0xfffffd66
or esi, 0xffffffff
call fcn.0040346f
mov edi, eax
push edi
mov dword [esp + 0x58], edi
call fcn.00407834
test eax, eax
jne 0x402f4b
push 0xffffffffffffffec
call fcn.0040346f
push edi
call fcn.004075e3
push 2
push 0x40000000
push edi
call fcn.00407370
xor ebp, ebp
mov edx, eax
inc ebp
mov dword [esp + 0x20], edx
cmp edx, esi
je 0x40307d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x40], ebx
je 0x403052
mov eax, dword [0x447030]
push eax
push 0x40
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x403046
push ebx
call fcn.004035a9
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.0040351d
push dword [esp + 0x40]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x5c], edi
test edi, edi
je 0x403023
push dword [esp + 0x48]
push dword [esp + 0x44]
push edi
push ebx
push dword [esp + 0x24]
push dword [esp + 0x38]
cmp dword [0x447024], ebx
je 0x402fed
push ebp
jmp 0x402fee
push ebx
call fcn.004035c0
cmp byte [edi], bl
je 0x403019
mov ebx, dword [esp + 0x18]
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebx
push eax
call fcn.00407098
add edi, esi
cmp byte [edi], 0
jne 0x402ffb
xor ebx, ebx
or esi, 0xffffffff
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x28]
call fcn.0040745c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x54]
mov eax, esi
mov ecx, esi
jmp 0x40304e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
cmp dword [0x447024], 0
push dword [esp + 0x4c]
push ebx
push ebx
push edx
push ecx
push eax
je 0x403067
push ebp
jmp 0x403068
push ebx
call fcn.004035c0
push dword [esp + 0x20]
mov esi, edx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [esp + 0x2c]
push str.created_uninstaller:__d____s_
call fcn.00406fd1
add esp, 0x10
push 0xfffffffffffffff3
pop eax
cmp esi, ebx
jg 0x4030ad
jl 0x40309f
cmp dword [esp + 0x24], ebx
jae 0x4030ad
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffef
mov dword [esp + 0x14], ebp
pop eax
push 0x40d0e8
push eax
jmp 0x401646
test esi, esi
je 0x4030fa
push ecx
push str.settings_logging_to__d
call fcn.00406fd1
mov eax, dword [esp + 0x40]
push eax
push str.logging_set_to__d
mov dword [0x43e7a0], eax
call fcn.00406fd1
add esp, 0x10
cmp dword [esp + 0x38], ebx
je 0x4030ee
call fcn.0040601f
jmp case.0x4015b5.69
push 1
call fcn.00407001
jmp case.0x4015b5.69
push 1
call fcn.0040346f
push eax
push 0x409584
jmp 0x40194d
push ebx
call fcn.00403433
mov ebx, eax
pop ecx
cmp ebx, dword [0x44704c]
jae 0x40178b
mov ecx, dword [esp + 0x3c]
imul esi, ebx, 0x2018
add esi, dword [0x447048]
test ecx, ecx
js 0x403148
mov eax, dword [esi + ecx*4]
jne 0x402ea3
lea eax, [esi + 0x18]
push eax
push edi
jmp 0x401fe0
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x3c], eax
je 0x403163
push 1
call fcn.00403433
pop ecx
mov ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x40317b
push dword [esp + 0x44]
lea eax, [esi + 0x18]
push eax
call fcn.004066e3
or dword [esi + 8], 0x100
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi + eax*4], ecx
cmp dword [esp + 0x40], 0
je case.0x4015b5.69
push ebx
call fcn.00401221
jmp case.0x4015b5.69
push ebx
call fcn.00403433
mov edx, eax
pop ecx
cmp edx, 0x20
jae 0x40178b
cmp dword [esp + 0x40], ebx
je 0x4031d3
cmp dword [esp + 0x3c], ebx
je 0x4031c8
push edx
call fcn.00401290
push ebx
push ebx
call fcn.004012dd
jmp case.0x4015b5.69
push ebx
call fcn.004011a0
jmp 0x402ea3
mov eax, dword [0x447038]
cmp dword [esp + 0x3c], ebx
je 0x4031ee
mov ecx, dword [esp + 0x38]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4015b5.69
push dword [eax + edx*4 + 0x94]
push edi
call fcn.004066e3
jmp case.0x4015b5.69
mov eax, dword [esp + 0x40]
sub eax, ebx
je 0x40324e
sub eax, 1
jne case.0x4015b5.69
push 2
call fcn.00403433
push 4
mov esi, eax
call fcn.00403433
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x4470e0
test esi, esi
mov dword [esp + 0x1c], ebx
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00407098
push dword [esp + 0x1c]
jmp 0x402ea4
push 5
call fcn.0040733b
push 0x22
mov esi, eax
call fcn.0040346f
test esi, esi
je 0x4032a0
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00406625
pop ecx
pop ecx
test eax, eax
js 0x4032a0
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [esp + 0x48]
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
js 0x4032a0
push dword [esp + 0x1c]
push edi
call fcn.00407660
pop ecx
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x4015b5.69
xor eax, eax
mov byte [edi], bl
inc eax
jmp 0x4032d0
mov eax, dword [0x4291d0]
push ebx
and eax, esi
push eax
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x34], ebx
je case.0x4015b5.69
mov eax, dword [esp + 0x14]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [0x4470e8], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x248
ret 4