Function at 0x401593
Capabilities:
Copy file
Create directory
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Self delete
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, 0x218
mov eax, dword [0x44a86c]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 4], 0
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edi, edx
mov ebx, ecx
imul edi, edi, 0x2004
imul ebx, ebx, 0x2004
mov dword [ebp - 8], eax
mov eax, section..ndata
add edi, eax
add ebx, eax
lea eax, [ebp - 0x2c]
mov dword [0x416914], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
cmp eax, 0x45
ja case.0x4015ec.68
jmp dword [eax*4 + 0x402f73]
push edx
push str.Jump:__d
call fcn.0040614a
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x402f6b
xor esi, esi
call fcn.00401453
push eax
push str.Aborting:___s_
call fcn.0040614a
pop ecx
pop ecx
push esi
push dword [ebp - 0x2c]
call fcn.00404ed8
mov eax, 0x7fffffff
jmp 0x402f6b
inc dword [0x446834]
cmp dword [ebp - 8], 0
je 0x401625
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401625
push edx
call fcn.00401373
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.0040614a
pop ecx
pop ecx
push 0
push esi
call fcn.00401392
jmp 0x402f6b
xor esi, esi
call fcn.00401453
push eax
push str.detailprint:__s
call fcn.0040614a
pop ecx
pop ecx
push esi
push dword [ebp - 0x2c]
call fcn.00404ed8
jmp case.0x4015ec.68
xor ecx, ecx
call fcn.0040143d
mov esi, eax
push esi
push str.Sleep__d_
call fcn.0040614a
cmp esi, 1
pop ecx
pop ecx
jg 0x4016a8
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015ec.68
push str.BringToFront
call fcn.0040614a
pop ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015ec.68
mov eax, edx
shl eax, 2
cmp dword [ebp - 0x24], 0
jne 0x4016fb
mov ecx, dword [eax + 0x44a920]
mov dword [eax + 0x44a8e0], ecx
xor ecx, ecx
inc ecx
call fcn.0040143d
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x44a920], eax
jmp case.0x4015ec.68
mov ecx, dword [eax + 0x44a8e0]
mov dword [eax + 0x44a920], ecx
jmp case.0x4015ec.68
mov edx, dword [ebp - 0x24]
lea edx, [edx*4 + 0x44a920]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x20]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x402f6b
push dword [ecx*4 + 0x44a920]
jmp 0x402f5a
mov eax, dword [0x446840]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40174f
push ecx
push eax
call esi
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x44682c]
test eax, eax
je case.0x4015ec.68
push edx
push eax
call esi
jmp case.0x4015ec.68
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.0040614a
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x4015ec.68
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.0040614a
pop ecx
jmp case.0x4015ec.68
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push dword [ebp - 0x28]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.0040614a
add esp, 0xc
push edi
call fcn.00405c78
mov esi, eax
test esi, esi
je 0x401842
push 0x5c
push esi
call fcn.00405c32
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 0x40182e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401813
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.0040614a
add esp, 0xc
inc dword [ebp - 4]
jmp 0x40183b
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40183b
push edi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.0040614a
inc dword [ebp - 4]
jmp 0x401839
push edi
push str.CreateDirectory:___s__created
call fcn.0040614a
pop ecx
pop ecx
mov byte [esi], bl
inc esi
test bl, bl
jne 0x4017d0
cmp dword [ebp - 0x28], 0
je 0x401866
push 0xffffffffffffffe6
call fcn.0040142c
push edi
push 0x477058
call fcn.00405ef7
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp case.0x4015ec.68
push 0xfffffffffffffff5
call fcn.0040142c
jmp case.0x4015ec.68
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
call fcn.0040617a
test eax, eax
je 0x40189e
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.0040614a
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x402f6b
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.0040614a
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x402f6b
push 0xffffffffffffffd0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401453
push 0x13
pop esi
mov ebx, eax
call fcn.00401453
mov esi, eax
push esi
push str.Rename:__s
call fcn.0040614a
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4018f5
push 0xffffffffffffffe3
jmp 0x401868
cmp dword [ebp - 0x24], 0
je 0x40191b
push edi
call fcn.0040617a
test eax, eax
je 0x40191b
push ebx
push edi
call fcn.00406a31
push 0xffffffffffffffe4
call fcn.0040142c
push esi
push str.Rename_on_reboot:__s
jmp 0x401928
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.0040614a
pop ecx
jmp 0x4017a3
xor esi, esi
call fcn.00401453
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
mov edi, 0x2004
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x401976
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401980
cmp byte [eax], 0
je 0x401980
push esi
call fcn.0040617a
test eax, eax
je 0x401976
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405ef7
jmp 0x401980
mov byte [ebx], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
jne case.0x4015ec.68
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x4015ec.68
or esi, 0xffffffff
call fcn.00401453
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x4015ec.68
mov dword [ebp - 4], 1
mov byte [edi], 0
jmp case.0x4015ec.68
push 0xffffffffffffffef
pop esi
call fcn.00401453
push eax
push edi
call fcn.00405d96
test eax, eax
jne case.0x4015ec.68
mov dword [ebp - 4], 1
jmp case.0x4015ec.68
push 0x31
pop esi
call fcn.00401453
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
sar eax, 3
push esi
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 8], esi
mov dword [ebp + 8], ecx
call fcn.0040614a
add esp, 0x10
push esi
call fcn.00405c4e
test eax, eax
push esi
mov esi, 0x40c900
je 0x401a35
push esi
call fcn.00405ef7
jmp 0x401a4c
push 0x477058
push esi
call fcn.00405ef7
push eax
call fcn.00406573
push eax
call sub.KERNEL32.dll_lstrcatA
push esi
call fcn.00405f26
mov edi, 0x410908
mov ebx, 0x40e904
cmp dword [ebp + 8], 3
jl 0x401a93
push esi
call fcn.0040617a
xor ecx, ecx
test eax, eax
je 0x401a7e
lea ecx, [ebp - 0x20]
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 0x401a9f
push esi
call fcn.00405d47
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405d67
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x401b79
cmp dword [ebp + 8], 0
jne 0x401b36
push esi
push str.File:_error_creating___s_
call fcn.0040614a
pop ecx
pop ecx
push section..ndata
push edi
call fcn.00405ef7
push esi
push section..ndata
call fcn.00405ef7
push dword [ebp - 0x18]
push ebx
call fcn.00406649
push edi
push section..ndata
call fcn.00405ef7
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push ebx
call fcn.00405bce
sub eax, 4
jne 0x401b20
push str.File:_error__user_retry
call fcn.0040614a
pop ecx
jmp 0x401a5c
dec eax
je 0x401b63
push str.File:_error__user_abort
call fcn.0040614a
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401620
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404ed8
cmp dword [ebp + 8], 2
jne 0x401b4d
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.0040614a
add esp, 0xc
jmp case.0x4015ec.68
push str.File:_error__user_cancel
call fcn.0040614a
inc dword [0x44a928]
pop ecx
jmp 0x402f69
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404ed8
inc dword [0x44a954]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.004033bd
dec dword [0x44a954]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.0040614a
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401bbb
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401bca
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015ec.68
cmp edi, 0xfffffffe
jne 0x401bf3
push 0xffffffffffffffe9
push esi
call fcn.00406649
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x401bfb
push 0xffffffffffffffee
push esi
call fcn.00406649
push esi
push 0x4096f8
call fcn.0040614a
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405bce
jmp 0x401625
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
push str.Delete:___s_
call fcn.0040614a
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00406a64
jmp case.0x4015ec.68
push 0x31
pop esi
call fcn.00401453
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.0040614a
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00405bce
test eax, eax
je 0x4019e3
cmp eax, dword [ebp - 0x24]
jne 0x401c75
mov eax, dword [ebp - 0x20]
jmp 0x402f6b
cmp eax, dword [ebp - 0x1c]
jne case.0x4015ec.68
mov eax, dword [ebp - 0x18]
jmp 0x402f6b
push 0xfffffffffffffff0
pop esi
call fcn.00401453
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c27
xor esi, esi
inc esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x402f59
push 2
pop ecx
call fcn.0040143d
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.0040143d
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401453
cmp dword [ebp - 0x24], 0
mov esi, eax
mov byte [edi], 0
je 0x401cdd
cmp dword [ebp + 8], 0
je case.0x4015ec.68
push esi
call sub.KERNEL32.dll_lstrlenA
test ebx, ebx
jge 0x401cef
add ebx, eax
js case.0x4015ec.68
cmp ebx, eax
jle 0x401cf5
mov ebx, eax
add esi, ebx
push esi
push edi
call fcn.00405ef7
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4015ec.68
jge 0x401d1c
push edi
call sub.KERNEL32.dll_lstrlenA
add esi, eax
jns 0x401d1c
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x4015ec.68
mov byte [esi + edi], 0
jmp case.0x4015ec.68
push 0x20
pop esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
cmp dword [ebp - 0x1c], 0
push eax
push edi
jne 0x401d5e
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401c6d
jmp 0x4018af
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401d51
xor esi, esi
inc esi
call fcn.00401453
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401d93
cmp dword [ebp - 0x24], 0
je 0x401d99
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401d99
mov dword [ebp - 4], esi
mov byte [edi], 0
mov byte [edi + 0x2003], 0
jmp case.0x4015ec.68
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x18], 0
jne 0x401dd2
cmp esi, eax
jl 0x401c6d
jle 0x4018af
mov eax, dword [ebp - 0x1c]
jmp 0x402f6b
cmp esi, eax
jb 0x401c6d
jbe 0x4018af
jmp 0x401dca
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401e00
jmp dword [eax*4 + 0x40308b]
add esi, ecx
jmp case.default.0x401e00
sub esi, ecx
jmp case.default.0x401e00
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e00
test ecx, ecx
je 0x401e21
mov eax, esi
cdq
idiv ecx
jmp 0x401e3b
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401e00
or esi, ecx
jmp case.default.0x401e00
and esi, ecx
jmp case.default.0x401e00
xor esi, ecx
jmp case.default.0x401e00
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e00
test esi, esi
jne 0x401e47
test ecx, ecx
je 0x401e4f
mov esi, ebx
jmp case.default.0x401e00
test esi, esi
jne 0x401e43
xor esi, esi
jmp case.default.0x401e00
test ecx, ecx
je 0x401e21
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e00
shl esi, cl
jmp case.default.0x401e00
sar esi, cl
push esi
jmp 0x402f5a
xor esi, esi
inc esi
call fcn.00401453
push 2
pop ecx
mov esi, eax
call fcn.0040143d
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x401b5b
mov eax, dword [ebp - 0x24]
test eax, eax
mov esi, dword [0x40c0c0]
je 0x401ef8
dec eax
test esi, esi
je 0x401ea8
test eax, eax
mov esi, dword [esi]
jne 0x401e99
test esi, esi
jne 0x401ecb
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.0040614a
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406649
push eax
jmp 0x401c0e
lea edi, [esi + 4]
push edi
mov esi, 0x40c900
push esi
call fcn.00405ef7
mov eax, dword [0x40c0c0]
add eax, 4
push eax
push edi
call fcn.00405ef7
mov eax, dword [0x40c0c0]
push esi
add eax, 4
push eax
jmp 0x402cc9
test ecx, ecx
je 0x401f27
test esi, esi
jne 0x401f10
push str.Pop:_stack_empty
call fcn.0040614a
pop ecx
jmp 0x4019e3
lea eax, [esi + 4]
push eax
push edi
call fcn.00405ef7
mov eax, dword [esi]
mov dword [0x40c0c0], eax
push esi
jmp 0x402370
push 0x2008
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406649
mov eax, dword [0x40c0c0]
mov dword [esi], eax
mov dword [0x40c0c0], esi
jmp case.0x4015ec.68
push 3
pop ecx
call fcn.0040143d
push 4
pop ecx
mov dword [ebp - 0x10], eax
call fcn.0040143d
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401f7b
push 0x33
pop esi
call fcn.00401453
mov dword [ebp - 0x10], eax
test byte [ebp - 0x18], 2
je 0x401f8c
push 0x44
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x401fdb
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401fcb
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40200e
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40200b
xor esi, esi
inc esi
call fcn.00401453
push 0x12
pop esi
mov ebx, eax
call fcn.00401453
mov cl, byte [eax]
neg cl
sbb ecx, ecx
and ecx, eax
mov al, byte [ebx]
neg al
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], 0
jl case.0x4015ec.68
push dword [ebp - 8]
jmp 0x402f5a
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018af
jmp 0x401896
push 2
pop ecx
call fcn.0040143d
xor ecx, ecx
push eax
inc ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402f59
mov eax, dword [0x44a8a8]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x4015ec.68
push ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x24]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401453
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 case.0x4015ec.68
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015ec.68
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.0040143d
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40c0c4], eax
call fcn.0040143d
push dword [ebp - 0x28]
mov dword [0x40c0d4], eax
mov al, byte [ebp - 0x1c]
mov cl, al
and cl, 1
mov byte [0x40c0d8], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c0e0
mov byte [0x40c0d9], cl
mov byte [0x40c0da], al
mov byte [0x40c0db], 1
call fcn.00406649
push 0x40c0c4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x402f59
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x24], 0
mov edi, eax
je 0x402172
push str.HideWindow
call fcn.0040614a
pop ecx
cmp dword [ebp - 0x20], 0
push edi
push esi
jne 0x402185
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015ec.68
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015ec.68
xor esi, esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push 0x15
pop esi
mov ebx, eax
call fcn.00401453
push 0xffffffffffffffec
call fcn.0040142c
mov al, byte [ebx]
push dword [ebp - 0x20]
neg al
push 0x477058
sbb eax, eax
and eax, ebx
push eax
mov al, byte [edi]
push dword [ebp + 8]
neg al
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x402200
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.0040614a
add esp, 0x14
jmp 0x4019e3
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.0040614a
add esp, 0x10
jmp case.0x4015ec.68
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.0040614a
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00404ed8
push esi
call fcn.00405b6d
test eax, eax
mov dword [ebp + 8], eax
push esi
je 0x4022ae
push str.Exec:_success____s__
call fcn.0040614a
cmp dword [ebp - 0x24], 0
pop ecx
pop ecx
je 0x4022a6
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp + 8]
call esi
mov edi, 0x102
jmp 0x402277
push 0xf
call fcn.004061d8
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x402269
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], 0
jl 0x402299
push dword [ebp - 0xc]
push ebx
call fcn.00405e55
jmp 0x4022a6
cmp dword [ebp - 0xc], 0
je 0x4022a6
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402ae5
push str.Exec:_failed_createprocess____s__
jmp 0x401921
push 2
pop esi
call fcn.00401453
push eax
call fcn.0040617a
mov esi, eax
test esi, esi
je 0x4022dd
push dword [esi + 0x14]
push ebx
call fcn.00405e55
push dword [esi + 0x18]
jmp 0x402f5a
mov byte [edi], 0
mov byte [ebx], 0
jmp 0x4019e3
push 0xffffffffffffffee
pop esi
call fcn.00401453
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
mov byte [edi], 0
mov byte [ebx], 0
mov dword [ebp - 4], 1
je case.0x4015ec.68
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0xc], eax
je case.0x4015ec.68
push eax
push esi
push 0
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40236d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x4095c8
push dword [ebp - 0xc]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40236d
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405e55
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405e55
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015ec.68
push 0x11
pop esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call fcn.00406f0f
add esp, 0xc
test eax, eax
jne 0x40239f
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFVersionString__s__returned__s
jmp 0x401b56
push 0x11
pop esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call fcn.00406f7b
add esp, 0xc
test eax, eax
jne 0x4023cf
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFFontName__s__returned__s
jmp 0x401b56
cmp dword [0x44a958], 0
mov dword [ebp - 4], 1
jl 0x4024cc
push 0xfffffffffffffff0
pop esi
call fcn.00401453
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401453
cmp dword [ebp - 0x1c], 0
mov esi, eax
je 0x402417
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x40242d
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4024ba
push esi
push dword [ebp + 8]
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
test edi, edi
je 0x40247b
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x40245d
push dword [ebp - 0x24]
call fcn.0040142c
call edi
test eax, eax
je 0x402492
mov dword [ebp - 4], 1
jmp 0x402492
push section..data
push 0x40c0c0
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402492
push esi
push 0xfffffffffffffff7
call fcn.00404ed8
push ebx
push esi
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.0040614a
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne case.0x4015ec.68
push dword [ebp + 8]
call fcn.00403c94
test eax, eax
je case.0x4015ec.68
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015ec.68
push 0xfffffffffffffff6
call fcn.0040142c
push ebx
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401928
push 0xffffffffffffffe7
call fcn.0040142c
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40179e
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 8], eax
call fcn.00401453
push 2
pop esi
mov edi, eax
call fcn.00401453
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x10], eax
call fcn.00401453
push 0x45
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401453
push edi
mov dword [ebp - 0x14], eax
call fcn.00405c4e
test eax, eax
jne 0x402525
push 0x21
pop esi
call fcn.00401453
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 0x10
push ecx
movzx ecx, ah
push ecx
mov esi, 0xff
and eax, esi
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp - 8]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.0040614a
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x40a260
push 1
push 0
push 0x40a270
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402647
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push 0x40a280
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jl 0x40263a
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 0x477058
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4025bf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
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 0x4025e4
mov edi, dword [ebp - 0x1c]
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 - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test ebx, ebx
jl 0x402631
push 0x400
mov esi, 0x40c100
push esi
push 0xffffffffffffffff
push dword [ebp - 8]
mov ebx, 0x80004005
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402631
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x38]
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 0x402655
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401868
push 0xfffffffffffffff4
jmp 0x401868
xor esi, esi
call fcn.00401453
push 0x11
pop esi
mov edi, eax
call fcn.00401453
push 0x23
pop esi
mov ebx, eax
call fcn.00401453
push ebx
push edi
push str.CopyFiles___s_____s_
mov esi, eax
call fcn.0040614a
add esp, 0xc
push edi
call fcn.0040617a
test eax, eax
jne 0x4026a0
push 0
push 0xfffffffffffffff9
call fcn.00404ed8
jmp 0x4019e3
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 2
call sub.KERNEL32.dll_lstrlenA
push ebx
mov byte [eax + edi + 1], 0
call sub.KERNEL32.dll_lstrlenA
mov byte [eax + ebx + 1], 0
mov ax, word [ebp - 0x24]
push esi
push 0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x3e], esi
mov word [ebp - 0x48], ax
call fcn.00404ed8
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x4015ec.68
jmp 0x402692
cmp edx, 0xbadf00d
jne 0x401eb7
inc dword [0x44a934]
jmp case.0x4015ec.68
xor esi, esi
push str._RM_
mov ebx, 0x40e904
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x38], esi
mov dword [ebp + 8], esi
call fcn.00405ef7
push ebx
mov edi, 0x410908
push edi
call fcn.00405ef7
cmp dword [ebp - 0x2c], esi
je 0x40273b
call fcn.00401453
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], 0
je 0x40274c
push 0x11
pop esi
call fcn.00401453
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], 0
je 0x40275d
push 0x22
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.00401453
mov esi, eax
push esi
push edi
push ebx
push 0x40c900
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.0040614a
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4019db
xor esi, esi
inc esi
mov dword [ebp + 8], 0x7e4e21
call fcn.00401453
push 0x12
pop esi
mov ebx, eax
call fcn.00401453
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x14], eax
call fcn.00401453
push eax
push 0x2003
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x4019b5
push ecx
call fcn.00406067
cmp dword [ebp - 0x1c], 0
pop ecx
mov dword [ebp + 8], eax
jne 0x40282e
push 2
call fcn.00401544
mov edi, eax
test edi, edi
je 0x4019e3
push 0x33
pop esi
call fcn.00401453
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x410908
push dword [ebp + 8]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.0040614a
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40286a
push 0x22
pop esi
call fcn.00401453
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.0040614a
mov eax, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
jne 0x40285a
mov eax, dword [0x44a924]
add eax, 0x80000001
mov ecx, dword [ebp - 0x1c]
and ecx, 2
push ecx
push esi
push eax
call fcn.0040148e
mov ebx, eax
test ebx, ebx
je case.0x4015ec.68
jmp 0x4019e3
test edx, edx
je 0x40287f
mov edi, edx
jmp 0x40288b
mov edi, dword [0x44a924]
add edi, 0x80000001
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push 2
pop esi
mov dword [ebp - 0x38], eax
call fcn.00401453
push 0x11
pop esi
mov dword [ebp - 8], eax
call fcn.00401453
push edi
mov dword [ebp + 8], eax
call fcn.00406067
pop ecx
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [0x44a950]
push eax
or ecx, 2
push ecx
push eax
push eax
push eax
push dword [ebp + 8]
xor ebx, ebx
inc ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4029e4
xor esi, esi
cmp dword [ebp - 0xc], ebx
mov edi, 0x410908
jne 0x40292f
push 0x23
pop esi
call fcn.00401453
push edi
call sub.KERNEL32.dll_lstrlenA
push edi
push dword [ebp - 8]
mov esi, eax
push dword [ebp + 8]
inc esi
cmp dword [ebp - 0x38], ebx
push dword [ebp - 0x10]
jne 0x402922
push str.WriteRegStr:___s_s____s___s_
call fcn.0040614a
add esp, 0x14
jmp 0x4029a4
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.0040614a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jne 0x40295c
push 3
pop ecx
call fcn.0040143d
push 4
pop esi
push eax
push dword [ebp - 8]
mov dword [0x410908], eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.0040614a
add esp, 0x14
cmp dword [ebp - 0xc], 3
jne 0x4029a4
push 0x600c
push edi
push 0
push dword [ebp - 0x20]
call fcn.004033bd
mov esi, eax
push esi
push edi
lea eax, [ebp - 0xd8]
push 0x80
push eax
call fcn.004060cb
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteRegBin:___s_s____s___s_
call fcn.0040614a
add esp, 0x24
push esi
push edi
push dword [ebp - 0x38]
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4029c0
and dword [ebp - 4], eax
jmp 0x4029d6
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.0040614a
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015ec.68
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b56
push 0x20019
call fcn.00401544
push 0x33
pop esi
mov ebx, eax
call fcn.00401453
test ebx, ebx
mov byte [edi], 0
je 0x4019e3
lea ecx, [ebp - 0x14]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0x14], 0x2004
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a69
cmp dword [ebp + 8], 4
je 0x402a54
cmp dword [ebp + 8], ecx
je 0x402a45
cmp dword [ebp + 8], 2
jne 0x402a69
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov byte [eax + edi], 0
jmp 0x402a6f
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x1c], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405e55
jmp 0x402a6f
mov byte [edi], 0
mov dword [ebp - 4], ecx
push ebx
jmp 0x4029d9
push 0x20019
call fcn.00401544
push 3
pop ecx
mov esi, eax
call fcn.0040143d
xor edx, edx
cmp esi, edx
mov byte [edi], 0
je 0x4019e3
cmp dword [ebp - 0x1c], edx
mov ecx, 0x2003
mov dword [ebp + 8], ecx
je 0x402aaf
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402ac8
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 0x4019e3
mov byte [edi + 0x2003], 0
push esi
jmp 0x4029d9
cmp byte [edi], 0
je case.0x4015ec.68
push edi
call fcn.00405e6e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015ec.68
push 0xffffffffffffffed
pop esi
call fcn.00401453
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405d67
cmp eax, 0xffffffff
jne 0x402f59
mov byte [edi], 0
jmp 0x4019e3
cmp dword [ebp - 0x24], 0
je 0x402b2d
xor ecx, ecx
inc ecx
call fcn.0040143d
mov byte [0x40e904], al
xor eax, eax
inc eax
jmp 0x402b3b
push 0x11
pop esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x4019e3
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40e904
push edi
call fcn.00405e6e
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019db
push 2
pop ecx
xor esi, esi
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x4015ec.68
mov ecx, 0x2003
cmp eax, ecx
jle 0x402b84
mov dword [ebp - 0xc], ecx
cmp byte [edi], 0
je 0x402c15
push edi
mov byte [ebp + 0xb], 0
call fcn.00405e6e
cmp dword [ebp - 0xc], esi
mov edi, eax
jle 0x402c15
push 0
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x31]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c15
cmp dword [ebp - 0x14], 1
jne 0x402c15
cmp dword [ebp - 0x20], 0
jne 0x402be2
cmp byte [ebp + 0xb], 0xd
je 0x402bf2
cmp byte [ebp + 0xb], 0xa
je 0x402bf2
mov al, byte [ebp - 0x31]
mov byte [esi + ebx], al
inc esi
test al, al
mov byte [ebp + 0xb], al
je 0x402c15
cmp esi, dword [ebp - 0xc]
jl 0x402b9e
jmp 0x402c15
movzx eax, byte [ebp - 0x31]
push eax
push ebx
call fcn.00405e55
jmp 0x402f69
mov al, byte [ebp - 0x31]
cmp byte [ebp + 0xb], al
je 0x402c08
cmp al, 0xd
je 0x402c02
cmp al, 0xa
jne 0x402c08
mov byte [esi + ebx], al
inc esi
jmp 0x402c15
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [esi + ebx], 0
test esi, esi
jmp 0x4019dd
cmp byte [edi], 0
je case.0x4015ec.68
push dword [ebp - 0x20]
push 0
push 2
pop ecx
call fcn.0040143d
push eax
push edi
call fcn.00405e6e
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], 0
jl case.0x4015ec.68
push eax
push ebx
jmp 0x402f5b
cmp byte [edi], 0
je case.0x4015ec.68
push edi
call fcn.00405e6e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015ec.68
cmp byte [ebx], 0
je 0x4019bd
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00405e6e
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4019bd
jmp 0x402cc1
push 2
pop esi
call fcn.00401453
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402cba
mov byte [ebx], 0
jmp 0x402b0d
push eax
push ebx
call fcn.00405e55
lea eax, [ebp - 0x1ec]
push eax
push edi
call fcn.00405ef7
jmp case.0x4015ec.68
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.00401453
mov edi, eax
push edi
mov dword [ebp - 0x38], edi
call fcn.00405c4e
test eax, eax
jne 0x402cf7
push 0xffffffffffffffed
pop esi
call fcn.00401453
push edi
call fcn.00405d47
push 2
push 0x40000000
push edi
call fcn.00405d67
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402db3
mov eax, dword [0x44a8cc]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
test edi, edi
je 0x402daa
push 0
call fcn.00403228
push dword [ebp - 0x14]
push edi
call fcn.004031f6
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0xc], esi
je 0x402d81
push dword [ebp - 0x24]
push esi
push 0
push dword [ebp - 0x28]
call fcn.004033bd
jmp 0x402d73
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405d23
add esi, ebx
cmp byte [esi], 0
jne 0x402d5f
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004033bd
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x38]
push ebx
push str.created_uninstaller:__d____s_
call fcn.0040614a
add esp, 0xc
test ebx, ebx
push 0xfffffffffffffff3
pop esi
jge 0x402dde
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
jmp 0x401868
test edx, edx
je 0x402e25
push ecx
push str.settings_logging_to__d
call fcn.0040614a
mov eax, dword [ebp - 0x28]
push eax
push str.logging_set_to__d
mov dword [0x441bc8], eax
call fcn.0040614a
add esp, 0x10
cmp dword [ebp - 0x28], 0
je 0x402e19
call fcn.00403e50
jmp case.0x4015ec.68
push 1
call fcn.00405fc0
jmp case.0x4015ec.68
xor esi, esi
inc esi
call fcn.00401453
push eax
push 0x4096f8
jmp 0x401928
xor ecx, ecx
call fcn.0040143d
mov edi, eax
cmp edi, dword [0x44a88c]
jae 0x4019e3
mov eax, dword [ebp - 0x24]
mov esi, edi
imul esi, esi, 0x201c
add esi, dword [0x44a888]
test eax, eax
jl 0x402e77
mov ecx, dword [esi + eax*4]
jne 0x402e71
add esi, 0x18
push esi
push ebx
jmp 0x402cc9
push ecx
jmp 0x402c4f
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402e8e
xor ecx, ecx
inc ecx
call fcn.0040143d
mov dword [ebp - 0x28], eax
jmp 0x402ea1
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.00406649
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], 0
je case.0x4015ec.68
push edi
call fcn.0040117d
jmp case.0x4015ec.68
xor ecx, ecx
call fcn.0040143d
cmp eax, 0x20
jae 0x4019e3
xor esi, esi
cmp dword [ebp - 0x20], esi
je 0x402ef5
cmp dword [ebp - 0x24], esi
je 0x402eea
push eax
call fcn.0040129d
push esi
push esi
call fcn.004011ef
jmp case.0x4015ec.68
push esi
call fcn.004012e8
jmp 0x402c4e
cmp dword [ebp - 0x24], esi
je 0x402f0c
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x44a874]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015ec.68
mov ecx, dword [0x44a874]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406649
jmp case.0x4015ec.68
mov eax, dword [0x43ca24]
push 0
and eax, edx
push eax
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x2c], 0
je case.0x4015ec.68
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015ec.68
xor esi, esi
inc esi
call fcn.00401453
push eax
call fcn.00406211
push eax
push edi
call fcn.00405e55
mov eax, dword [ebp - 4]
add dword [0x44a928], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4