Function at 0x401610
Capabilities:
Copy file
Create process on windows
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Get file version info
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
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, 0x1a4
mov eax, dword [0x4310c0]
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop ecx
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
mov dword [0x40c0e4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov ebx, edx
shl ebx, 0xa
mov eax, esi
shl eax, 0xa
add ecx, 0xfffffffe
add ebx, section..ndata
cmp ecx, 0x42
lea edi, [eax + section..ndata]
ja case.0x40166b.66
jmp dword [ecx*4 + 0x4031e4]
push esi
push str.Jump:__d
call fcn.00405fab
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
jmp 0x4031dd
xor esi, esi
call fcn.00401508
push eax
push str.Aborting:___s_
call fcn.00405fab
pop ecx
pop ecx
push esi
push dword [ebp - 0x38]
call fcn.00404efe
jmp 0x402e4d
inc dword [0x430894]
cmp dword [ebp - 0x10], 0
je 0x402e4d
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402e4d
test esi, esi
jge 0x4016df
mov ecx, section..ndata
sub ecx, eax
sub ecx, 0x400
push ecx
call fcn.00405dd3
jmp 0x4016e1
mov eax, esi
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00405fab
pop ecx
pop ecx
push 0
push esi
call fcn.004013e7
jmp 0x4031dd
test edx, edx
je 0x40172b
test dl, 8
je 0x401716
mov eax, dword [0x40a008]
mov dword [0x40a03c], eax
jmp case.0x40166b.66
mov eax, dword [0x40a03c]
mov dword [0x40a008], eax
mov dword [0x40a03c], edx
jmp case.0x40166b.66
xor esi, esi
call fcn.00401508
push eax
push str.detailprint:__s
call fcn.00405fab
pop ecx
pop ecx
push esi
push dword [ebp - 0x38]
call fcn.00404efe
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014f2
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00405fab
cmp esi, 1
pop ecx
pop ecx
jg 0x40176b
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40166b.66
push str.BringToFront
call fcn.00405fab
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40166b.66
xor ecx, ecx
inc ecx
call fcn.004014f2
mov ecx, dword [ebp - 0x38]
mov dword [ecx*4 + 0x431140], eax
jmp case.0x40166b.66
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
xor eax, eax
lea ecx, [ecx*4 + 0x431140]
cmp dword [ecx], eax
sete al
and dword [ecx], edx
mov eax, dword [ebp + eax*4 - 0x38]
jmp 0x4031dd
push dword [edx*4 + 0x431140]
push edi
jmp 0x403168
mov eax, dword [0x4308a0]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4017e9
push edx
push eax
call edi
mov esi, dword [ebp - 0x38]
mov eax, dword [0x43088c]
test eax, eax
je case.0x40166b.66
push esi
push eax
call edi
jmp case.0x40166b.66
push 0xfffffffffffffff0
pop esi
call fcn.00401508
push dword [ebp - 0x34]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00405fab
add esp, 0xc
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40166b.66
push str.SetFileAttributes_failed.
mov dword [ebp - 4], 1
call fcn.00405fab
jmp 0x4030ab
push 0xfffffffffffffff0
pop esi
call fcn.00401508
push dword [ebp - 0x34]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00405fab
add esp, 0xc
cmp byte [esi], 0
je 0x401873
push esi
call fcn.00406160
test eax, eax
jne 0x401873
mov dword [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x401897
push 0xffffffffffffffe6
call fcn.004014e1
push esi
push 0x437800
call sub.KERNEL32.dll_lstrcpyA
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp case.0x40166b.66
push 0xfffffffffffffff5
jmp 0x40277c
xor esi, esi
call fcn.00401508
mov esi, eax
push esi
call fcn.00405fc7
test eax, eax
je 0x4018c7
push dword [ebp - 0x34]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00405fab
add esp, 0xc
jmp 0x402124
push dword [ebp - 0x30]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00405fab
add esp, 0xc
mov eax, dword [ebp - 0x30]
jmp 0x4031dd
push 0xffffffffffffffd0
pop esi
call fcn.00401508
push 0xffffffffffffffdf
pop esi
mov dword [ebp + 8], eax
call fcn.00401508
push dword [ebp + 8]
mov ebx, 0x40a8a8
push ebx
mov edi, eax
call sub.KERNEL32.dll_lstrcpyA
push edi
call sub.KERNEL32.dll_lstrlenA
push dword [ebp + 8]
mov esi, eax
call sub.KERNEL32.dll_lstrlenA
add esi, eax
cmp esi, 0x3fd
jge 0x40192f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4087b0
push ebx
call esi
push edi
push ebx
call esi
push ebx
push str.Rename:__s
call fcn.00405fab
pop ecx
pop ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x401951
push 0xffffffffffffffe3
jmp 0x40277c
cmp dword [ebp - 0x30], 0
je 0x40197e
push dword [ebp + 8]
call fcn.00405fc7
test eax, eax
je 0x40197e
push edi
push dword [ebp + 8]
call fcn.004061b6
push 0xffffffffffffffe4
call fcn.004014e1
push ebx
push str.Rename_on_reboot:__s
jmp 0x4030a5
push ebx
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x4030a5
xor esi, esi
call fcn.00401508
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
mov edi, 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4019d3
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4019dd
cmp byte [eax], 0
je 0x4019dd
push esi
call fcn.00405fc7
test eax, eax
je 0x4019d3
add eax, 0x2c
push eax
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x4019dd
mov dword [ebp - 4], 1
mov byte [ebx], 0
cmp dword [ebp - 0x30], 0
jne case.0x40166b.66
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40166b.66
or esi, 0xffffffff
call fcn.00401508
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x40166b.66
mov dword [ebp - 4], 1
mov byte [edi], 0
jmp case.0x40166b.66
push 0xffffffffffffffef
pop esi
call fcn.00401508
push eax
push edi
call fcn.00405d08
test eax, eax
jne case.0x40166b.66
mov dword [ebp - 4], 1
jmp case.0x40166b.66
and esi, 7
test byte [0x431125], 4
mov dword [ebp + 8], esi
jne 0x401a73
push 0x31
pop esi
call fcn.00401508
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call sub.KERNEL32.dll_lstrlenA
jmp 0x401b10
push 0x36
pop esi
call fcn.00401508
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call sub.KERNEL32.dll_lstrlenA
push dword [0x429cf4]
mov esi, eax
call sub.KERNEL32.dll_lstrlenA
lea ecx, [eax + esi + 1]
mov eax, 0x105
cmp ecx, eax
jb 0x401aaf
push dword [0x429cf4]
call sub.KERNEL32.dll_lstrlenA
lea eax, [eax + esi + 1]
push eax
call fcn.00405c1a
mov edi, eax
test edi, edi
mov dword [ebp - 0xc], edi
je 0x402e4d
push dword [0x429cf4]
push edi
call sub.KERNEL32.dll_lstrcpyA
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call sub.KERNEL32.dll_lstrlenA
lea esi, [eax + edi - 1]
jmp 0x401af1
cmp byte [esi], 0x5c
je 0x401af5
push esi
push edi
call dword [sym.imp.USER32.dll_CharPrevA]
mov esi, eax
cmp esi, edi
ja 0x401ae2
push edi
mov byte [esi], 0
call fcn.00406160
test eax, eax
je 0x402e4d
push edi
push ebx
mov byte [esi], 0x5c
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp - 0x38]
sar eax, 3
push ebx
and eax, 2
push eax
push dword [ebp + 8]
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00405fab
add esp, 0x10
push ebx
call fcn.00405c45
test eax, eax
mov esi, 0x40a4a8
push ebx
je 0x401b43
push esi
call sub.KERNEL32.dll_lstrcpyA
jmp 0x401b5b
push 0x437800
push esi
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406005
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call fcn.00405e68
mov ebx, 0x40a8a8
mov edi, 0x40aca8
cmp dword [ebp + 8], 3
jl 0x401ba2
push esi
call fcn.00405fc7
xor ecx, ecx
test eax, eax
je 0x401b8d
lea ecx, [ebp - 0x2c]
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 0x401bba
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405cd9
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401c93
cmp dword [ebp + 8], 0
jne 0x401c51
push esi
push str.File:_error_creating___s_
call fcn.00405fab
pop ecx
pop ecx
push section..ndata
push edi
call sub.KERNEL32.dll_lstrcpyA
push esi
push section..ndata
call sub.KERNEL32.dll_lstrcpyA
push dword [ebp - 0x24]
push ebx
call fcn.00406416
push edi
push section..ndata
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [ebp - 0x38]
sar eax, 3
push eax
push ebx
call fcn.00405bd8
sub eax, 4
jne 0x401c3b
push str.File:_error__user_retry
call fcn.00405fab
pop ecx
jmp 0x401b6b
dec eax
je 0x401c7d
push str.File:_error__user_abort
call fcn.00405fab
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x40169f
push dword [ebp - 0x10]
push 0xffffffffffffffe2
call fcn.00404efe
cmp dword [ebp + 8], 2
jne 0x401c67
inc dword [0x431148]
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00405fab
add esp, 0xc
jmp 0x4031c3
push str.File:_error__user_cancel
call fcn.00405fab
inc dword [0x431148]
pop ecx
jmp 0x4031db
push dword [ebp - 0x10]
push 0xffffffffffffffea
call fcn.00404efe
inc dword [0x40a03c]
xor ebx, ebx
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x30]
call fcn.004033f9
dec dword [0x40a03c]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00405fab
add esp, 0xc
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x401cd5
cmp dword [ebp - 0x28], 0xffffffff
je 0x401ce4
lea eax, [ebp - 0x2c]
push eax
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge 0x4031c3
cmp edi, 0xfffffffe
jne 0x401d0e
push 0xffffffffffffffe9
push esi
call fcn.00406416
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x401d16
push 0xffffffffffffffee
push esi
call fcn.00406416
push esi
push 0x408690
call fcn.00405fab
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405bd8
jmp 0x402e4d
xor esi, esi
call fcn.00401508
mov esi, eax
push esi
push str.Delete:___s_
jmp 0x401d9a
push 0x31
pop esi
call fcn.00401508
mov esi, eax
push esi
push dword [ebp - 0x38]
push str.MessageBox:__d___s_
call fcn.00405fab
add esp, 0xc
push dword [ebp - 0x38]
push esi
call fcn.00405bd8
test eax, eax
je 0x401a40
cmp eax, dword [ebp - 0x30]
je 0x401ecb
cmp eax, dword [ebp - 0x28]
jne case.0x40166b.66
mov eax, dword [ebp - 0x24]
jmp 0x4031dd
push 0xfffffffffffffff0
pop esi
call fcn.00401508
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00405fab
pop ecx
pop ecx
push dword [ebp - 0x34]
push esi
call fcn.00406645
jmp case.0x40166b.66
xor esi, esi
inc esi
call fcn.00401508
push eax
call sub.KERNEL32.dll_lstrlenA
push eax
jmp 0x4017cd
push 2
pop ecx
call fcn.004014f2
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.004014f2
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401508
cmp dword [ebp - 0x30], 0
mov esi, eax
mov byte [edi], 0
je 0x401df5
cmp dword [ebp + 8], 0
je case.0x40166b.66
push esi
call sub.KERNEL32.dll_lstrlenA
test ebx, ebx
jge 0x401e07
add ebx, eax
js case.0x40166b.66
cmp ebx, eax
jle 0x401e0d
mov ebx, eax
add esi, ebx
push esi
push edi
call sub.KERNEL32.dll_lstrcpyA
mov esi, dword [ebp + 8]
test esi, esi
je case.0x40166b.66
jge 0x401e34
push edi
call sub.KERNEL32.dll_lstrlenA
add esi, eax
jns 0x401e34
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x400
jge case.0x40166b.66
mov byte [esi + edi], 0
jmp case.0x40166b.66
push 0x20
pop esi
call fcn.00401508
push 0x31
pop esi
mov edi, eax
call fcn.00401508
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401ecb
jmp 0x4018d8
xor esi, esi
inc esi
call fcn.00401508
cmp dword [ebp - 0x30], 0
push 0x400
push edi
push eax
je 0x401e92
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x401e98
mov dword [ebp - 4], esi
mov byte [edi], al
jmp 0x401e98
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [edi + 0x3ff], 0
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014f2
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014f2
cmp dword [ebp - 0x24], 0
jne 0x401ec7
cmp esi, eax
jl 0x401ecb
jle 0x4018d8
jmp 0x401ed9
cmp esi, eax
jae 0x401ed3
mov eax, dword [ebp - 0x2c]
jmp 0x4031dd
jbe 0x4018d8
mov eax, dword [ebp - 0x28]
jmp 0x4031dd
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.004014f2
push 2
pop ecx
mov esi, eax
call fcn.004014f2
mov ecx, eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xc
ja case.default.0x401eff
jmp dword [eax*4 + 0x4032f0]
add esi, ecx
jmp case.default.0x401eff
sub esi, ecx
jmp case.default.0x401eff
imul ecx, esi
mov esi, ecx
jmp case.default.0x401eff
test ecx, ecx
je 0x401f5a
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp case.default.0x401eff
or esi, ecx
jmp case.default.0x401eff
and esi, ecx
jmp case.default.0x401eff
xor esi, ecx
jmp case.default.0x401eff
xor eax, eax
test esi, esi
sete al
jmp 0x401f1e
test esi, esi
jne 0x401f49
jmp 0x401f45
xor esi, esi
jmp case.default.0x401eff
test esi, esi
je 0x401f3d
test ecx, ecx
je 0x401f3d
mov esi, ebx
jmp case.default.0x401eff
test ecx, ecx
je 0x401f5a
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401eff
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401eff
shl esi, cl
jmp case.default.0x401eff
sar esi, cl
push esi
jmp 0x4017cd
xor esi, esi
inc esi
call fcn.00401508
push 2
pop ecx
mov esi, eax
call fcn.004014f2
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x402abf
mov eax, dword [ebp - 0x30]
test eax, eax
mov esi, dword [0x40a4a0]
je 0x401fea
dec eax
test esi, esi
je 0x401fa9
test eax, eax
mov esi, dword [esi]
jne 0x401f9a
test esi, esi
jne 0x401fbd
push dword [ebp - 0x30]
push str.Exch:_stack____d_elements
call fcn.00405fab
pop ecx
pop ecx
jmp 0x402821
lea edi, [esi + 4]
push edi
mov esi, 0x40a4a8
push esi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40a4a0]
add eax, 4
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [0x40a4a0]
push esi
add eax, 4
push eax
jmp 0x4030e5
test edx, edx
je 0x402019
test esi, esi
jne 0x402002
push str.Pop:_stack_empty
call fcn.00405fab
pop ecx
jmp 0x401a40
lea eax, [esi + 4]
push eax
push edi
call sub.KERNEL32.dll_lstrcpyA
mov eax, dword [esi]
mov dword [0x40a4a0], eax
push esi
jmp 0x4031cc
push 0x404
call fcn.00405c1a
push dword [ebp - 0x38]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406416
mov eax, dword [0x40a4a0]
mov dword [esi], eax
mov dword [0x40a4a0], esi
jmp case.0x40166b.66
push 0x33
pop esi
call fcn.00401508
push 0x44
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401508
xor esi, esi
inc esi
test byte [ebp - 0x24], 1
mov dword [ebp + 8], eax
jne 0x40206d
push dword [ebp - 0xc]
call fcn.00405dd3
mov dword [ebp - 0xc], eax
test byte [ebp - 0x24], 2
jne 0x40207e
push dword [ebp + 8]
call fcn.00405dd3
mov dword [ebp + 8], eax
cmp dword [ebp - 0x3c], 0x21
jne 0x4020cc
mov ecx, esi
call fcn.004014f2
push 2
pop ecx
mov esi, eax
call fcn.004014f2
mov ecx, dword [ebp - 0x24]
sar ecx, 2
je 0x4020bc
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 0x4020fc
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4020f9
call fcn.00401508
push 0x12
pop esi
mov ebx, eax
call fcn.00401508
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 - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], 0
jl case.0x40166b.66
push dword [ebp - 8]
jmp 0x4017cd
xor ecx, ecx
call fcn.004014f2
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018d8
mov eax, dword [ebp - 0x34]
jmp 0x4031dd
push 2
pop ecx
call fcn.004014f2
xor ecx, ecx
push eax
inc ecx
call fcn.004014f2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401dbd
mov eax, dword [0x431108]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.004014f2
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40166b.66
push edx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x30]
push 0x10
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x30]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401508
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.0x40166b.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40166b.66
push 0x48
push 0x5a
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.004014f2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40c0a8], eax
call fcn.004014f2
push dword [ebp - 0x34]
mov dword [0x40c0b8], eax
mov al, byte [ebp - 0x28]
mov cl, al
and cl, 1
mov byte [0x40c0bc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c0c4
mov byte [0x40c0bd], cl
mov byte [0x40c0be], al
mov byte [0x40c0bf], 1
call fcn.00406416
push 0x40c0a8
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401dbd
xor ecx, ecx
call fcn.004014f2
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014f2
cmp dword [ebp - 0x30], 0
mov edi, eax
je 0x402263
push str.HideWindow
call fcn.00405fab
pop ecx
cmp dword [ebp - 0x2c], 0
push edi
push esi
jne 0x402276
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40166b.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40166b.66
xor esi, esi
call fcn.00401508
push 0x31
pop esi
mov edi, eax
call fcn.00401508
push 0x22
pop esi
mov ebx, eax
call fcn.00401508
push ebx
push edi
push str._s__s
push 0x40a8a8
mov esi, eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0xffffffffffffffec
call fcn.004014e1
mov al, byte [esi]
push dword [ebp - 0x2c]
neg al
push 0x437800
sbb eax, eax
and eax, esi
push eax
mov al, byte [edi]
neg al
push ebx
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x4022f9
push eax
push esi
push ebx
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00405fab
add esp, 0x14
jmp 0x401a40
push esi
push ebx
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00405fab
add esp, 0x10
jmp case.0x40166b.66
xor esi, esi
call fcn.00401508
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00405fab
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00404efe
push 0x437800
push esi
call fcn.00405b60
test eax, eax
mov dword [ebp + 8], eax
push esi
je 0x4023cf
push str.Exec:_success____s__
call fcn.00405fab
cmp dword [ebp - 0x30], 0
pop ecx
pop ecx
je 0x4023c7
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x102
cmp eax, esi
jne 0x40239c
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x40237b
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
lea eax, [ebp - 0x60]
push 0
push eax
call edi
test eax, eax
jne 0x402371
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x40237b
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x34], 0
jl 0x4023ba
push dword [ebp - 0x18]
push ebx
call fcn.00405dba
jmp 0x4023c7
cmp dword [ebp - 0x18], 0
je 0x4023c7
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402bad
mov dword [ebp - 4], 1
push str.Exec:_failed_createprocess____s__
jmp 0x4030a5
push 2
pop esi
call fcn.00401508
push eax
call fcn.00405fc7
mov esi, eax
test esi, esi
je 0x402405
push dword [esi + 0x14]
push ebx
call fcn.00405dba
push dword [esi + 0x18]
jmp 0x4017cd
mov byte [edi], 0
mov byte [ebx], 0
jmp 0x401a40
push 0xffffffffffffffee
lea eax, [ebp - 0x54]
pop esi
mov dword [ebp + 8], eax
call fcn.00401508
lea ecx, [ebp - 0x40]
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.0x40166b.66
push esi
call fcn.00405c1a
test eax, eax
mov dword [ebp - 0x18], eax
je case.0x40166b.66
push eax
push esi
push 0
push dword [ebp - 0x14]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402498
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push 0x408558
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402498
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405dba
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405dba
and dword [ebp - 4], 0
push dword [ebp - 0x18]
jmp 0x4031cc
xor edi, edi
inc edi
push 0x8001
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x431170], 0
jl 0x4025e9
push 0xfffffffffffffff0
pop esi
call fcn.00401508
mov esi, edi
mov dword [ebp + 8], eax
call fcn.00401508
cmp dword [ebp - 0x28], 0
mov dword [ebp - 8], eax
je 0x4024e9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x40253e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push 0x400
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push edi
mov edi, 0x1300
push edi
call ebx
push dword [ebp + 8]
push 0xfffffffffffffff6
call fcn.00404efe
push dword [ebp - 0x14]
push dword [ebp + 8]
push str.RegDLL:_Could_not_load__s_____s
call fcn.00405fab
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x4025b8
xor edi, edi
inc edi
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40258b
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
je 0x40256d
push dword [ebp - 0x30]
call fcn.004014e1
call esi
test eax, eax
je 0x4025a8
mov dword [ebp - 4], edi
jmp 0x4025a8
push section..data
push 0x40a4a0
push section..ndata
push 0x400
push dword [ebp - 0x10]
call esi
add esp, 0x14
jmp 0x4025a8
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00404efe
push dword [ebp + 8]
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00405fab
add esp, 0xc
cmp dword [ebp - 0x2c], ebx
jne 0x4025fb
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4025fb
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x400
call esi
push eax
push 0
push edi
call ebx
push 0xfffffffffffffff6
call fcn.004014e1
push dword [ebp - 0x14]
push dword [ebp + 8]
push str.Error_registering_DLL:_Could_not_load__s_____s
call fcn.00405fab
add esp, 0xc
jmp 0x4025fb
push 0xffffffffffffffe7
call fcn.004014e1
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00405fab
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
jmp case.0x40166b.66
push 0xfffffffffffffff0
pop esi
call fcn.00401508
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 8], eax
call fcn.00401508
push 2
pop esi
mov edi, eax
call fcn.00401508
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0x40], eax
call fcn.00401508
push 0x45
pop esi
mov dword [ebp - 0x18], eax
call fcn.00401508
push edi
mov dword [ebp - 0x14], eax
call fcn.00405c45
test eax, eax
jne 0x402650
push 0x21
pop esi
call fcn.00401508
mov eax, dword [ebp - 0x28]
mov ecx, eax
sar ecx, 0x10
push ecx
movzx ecx, ah
push ecx
mov esi, 0xff
and eax, esi
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x40]
push edi
push dword [ebp - 8]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00405fab
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x408ecc
push 1
push 0
push 0x408edc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40276f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x408eec
push eax
call dword [ecx]
mov ebx, eax
test ebx, ebx
jl 0x402762
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 0x437800
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4026ea
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [ebp - 0x18]
cmp byte [ecx], 0
je 0x40270f
mov edi, dword [ebp - 0x28]
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 - 0x40]
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]
xor eax, eax
cmp ebx, eax
jl 0x402759
push 0x400
mov esi, 0x40b8a8
push esi
push 0xffffffffffffffff
push dword [ebp - 8]
mov word [0x40b8a8], ax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0xc]
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 0x40277a
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x40277c
push 0xfffffffffffffff4
call fcn.004014e1
jmp case.0x40166b.66
xor esi, esi
call fcn.00401508
push 0x11
pop esi
mov ebx, eax
call fcn.00401508
mov esi, eax
push esi
push ebx
push str.CopyFiles___s_____s_
call fcn.00405fab
mov eax, dword [ebp - 0x10]
add esp, 0xc
push ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 2
call sub.KERNEL32.dll_lstrlenA
push esi
mov byte [eax + ebx + 1], 0
call sub.KERNEL32.dll_lstrlenA
push 0xfffffffffffffff8
mov edi, 0x40aca8
push edi
mov byte [eax + esi + 1], 0
call fcn.00406416
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ax, word [ebp - 0x30]
push edi
push 0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x46], edi
mov word [ebp - 0x50], ax
call fcn.00404efe
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40166b.66
push 0
push 0xfffffffffffffff9
call fcn.00404efe
jmp 0x401a40
cmp esi, 0xbadf00d
je 0x402835
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.00406416
push eax
jmp 0x401d29
inc dword [0x431154]
jmp case.0x40166b.66
xor esi, esi
push str._RM_
mov ebx, 0x40a8a8
push ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], esi
call sub.KERNEL32.dll_lstrcpyA
push ebx
mov edi, 0x40aca8
push edi
call sub.KERNEL32.dll_lstrcpyA
cmp dword [ebp - 0x38], esi
je 0x402874
call fcn.00401508
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x34], 0
je 0x402885
push 0x11
pop esi
call fcn.00401508
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x28], 0
je 0x402896
push 0x22
pop esi
call fcn.00401508
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
pop esi
call fcn.00401508
mov esi, eax
push esi
push edi
push ebx
push 0x40a4a8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00405fab
add esp, 0x14
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401a38
xor esi, esi
inc esi
mov dword [ebp + 8], 0x7e4e21
call fcn.00401508
push 0x12
pop esi
mov ebx, eax
call fcn.00401508
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x14], eax
call fcn.00401508
push eax
push 0x3ff
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [edi]
cmp eax, dword [ebp + 8]
jmp 0x401a14
cmp dword [ebp - 0x28], 0
jne 0x402957
push 2
call fcn.004015c7
mov edi, eax
test edi, edi
je 0x401a40
push 0x33
pop esi
call fcn.00401508
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40aca8
push dword [ebp - 0x34]
mov ebx, eax
push str.DeleteRegValue:__d_s_s
call fcn.00405fab
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402993
push 0x22
pop esi
call fcn.00401508
mov esi, eax
push esi
push dword [ebp - 0x34]
push str.DeleteRegKey:__d_s
call fcn.00405fab
mov eax, dword [ebp - 0x34]
add esp, 0xc
test eax, eax
jne 0x402983
mov eax, dword [0x431144]
add eax, 0x80000001
mov ecx, dword [ebp - 0x28]
and ecx, 2
push ecx
push esi
push eax
call fcn.00401540
mov ebx, eax
test ebx, ebx
je case.0x40166b.66
jmp 0x401a40
xor ebx, ebx
cmp esi, ebx
je 0x4029ab
mov dword [ebp + 8], esi
jmp 0x4029b8
mov eax, dword [0x431144]
add eax, 0x80000001
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
push 2
pop esi
mov dword [ebp - 0x14], eax
call fcn.00401508
push 0x11
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401508
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 2
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402aaf
xor esi, esi
cmp dword [ebp - 8], 1
mov edi, 0x40aca8
jne 0x402a33
push 0x23
pop esi
call fcn.00401508
push edi
call sub.KERNEL32.dll_lstrlenA
push edi
push dword [ebp - 0xc]
mov esi, eax
push dword [ebp - 0x10]
inc esi
push dword [ebp + 8]
push str.WriteRegStr:_set__d_s_s_to__s
call fcn.00405fab
add esp, 0x14
cmp dword [ebp - 8], 4
jne 0x402a60
push 3
pop ecx
call fcn.004014f2
push 4
pop esi
push eax
push dword [ebp - 0xc]
mov dword [0x40aca8], eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push str.WriteRegDWORD:_set__d_s_s_to__d
call fcn.00405fab
add esp, 0x14
cmp dword [ebp - 8], 3
jne 0x402a8e
push 0xc00
push edi
push ebx
push dword [ebp - 0x2c]
call fcn.004033f9
mov esi, eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
push str.WriteRegBin:_set__d_s_s_with__d_bytes
call fcn.00405fab
add esp, 0x14
push esi
push edi
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402aa7
mov dword [ebp - 4], ebx
push dword [ebp - 0x18]
jmp 0x402b92
push dword [ebp - 0x10]
push dword [ebp + 8]
push str.WriteReg:_error_creating_key__d_s
call fcn.00405fab
add esp, 0xc
jmp case.0x40166b.66
push 0x20019
call fcn.004015c7
push 0x33
pop esi
mov ebx, eax
call fcn.00401508
xor esi, esi
cmp ebx, esi
mov byte [edi], 0
je 0x401a40
lea ecx, [ebp - 0x14]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push ebx
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402b36
cmp dword [ebp + 8], 4
je 0x402b20
cmp dword [ebp + 8], ecx
je 0x402b19
cmp dword [ebp + 8], 2
jne 0x402b36
cmp dword [ebp - 0x28], esi
je 0x402b3c
jmp 0x402b39
cmp dword [ebp - 0x28], esi
jne 0x402b2c
mov dword [ebp - 4], 1
push dword [edi]
push edi
call fcn.00405dba
jmp 0x402b3c
mov byte [edi], 0
mov dword [ebp - 4], ecx
push ebx
jmp 0x402b92
push 0x20019
call fcn.004015c7
push 3
pop ecx
mov esi, eax
call fcn.004014f2
xor edx, edx
cmp esi, edx
mov byte [edi], 0
je 0x401a40
cmp dword [ebp - 0x28], edx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x402b79
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402b8a
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]
mov byte [edi + 0x3ff], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40166b.66
cmp byte [edi], 0
je case.0x40166b.66
push edi
call fcn.00405dd3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40166b.66
push 0xffffffffffffffed
pop esi
call fcn.00401508
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push eax
call fcn.00405cd9
cmp eax, 0xffffffff
jne 0x401dbd
mov byte [edi], 0
jmp 0x401a40
cmp dword [ebp - 0x30], 0
je 0x402bf5
xor ecx, ecx
inc ecx
call fcn.004014f2
mov byte [0x40a8a8], al
xor eax, eax
inc eax
jmp 0x402c03
push 0x11
pop esi
call fcn.00401508
push eax
call sub.KERNEL32.dll_lstrlenA
cmp byte [edi], 0
je 0x401a40
push 0
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40a8a8
push edi
call fcn.00405dd3
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401a38
push 2
pop ecx
xor esi, esi
call fcn.004014f2
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x40166b.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402c4c
mov dword [ebp - 8], ecx
cmp byte [edi], 0
je 0x402cde
push edi
mov byte [ebp + 0xb], 0
call fcn.00405dd3
cmp dword [ebp - 8], 0
mov edi, eax
jle 0x402cde
push 0
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x19]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402cde
cmp dword [ebp - 0x14], 1
jne 0x402cde
cmp dword [ebp - 0x2c], 0
jne 0x402cab
cmp byte [ebp + 0xb], 0xd
je 0x402cbb
cmp byte [ebp + 0xb], 0xa
je 0x402cbb
mov al, byte [ebp - 0x19]
mov byte [esi + ebx], al
inc esi
test al, al
mov byte [ebp + 0xb], al
je 0x402cde
cmp esi, dword [ebp - 8]
jl 0x402c67
jmp 0x402cde
movzx eax, byte [ebp - 0x19]
push eax
push ebx
call fcn.00405dba
jmp 0x4031db
mov al, byte [ebp - 0x19]
cmp byte [ebp + 0xb], al
je 0x402cd1
cmp al, 0xd
je 0x402ccb
cmp al, 0xa
jne 0x402cd1
mov byte [esi + ebx], al
inc esi
jmp 0x402cde
push 1
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [esi + ebx], 0
test esi, esi
jmp 0x401a3a
cmp byte [edi], 0
je case.0x40166b.66
push dword [ebp - 0x2c]
push 0
push 2
pop ecx
call fcn.004014f2
push eax
push edi
call fcn.00405dd3
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x34], 0
jl case.0x40166b.66
jmp 0x403166
cmp byte [edi], 0
je case.0x40166b.66
push edi
call fcn.00405dd3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40166b.66
cmp byte [ebx], 0
je 0x401a1a
lea eax, [ebp - 0x1a4]
push eax
push ebx
call fcn.00405dd3
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401a1a
lea eax, [ebp - 0x178]
push eax
push edi
jmp 0x4030e5
push 2
pop esi
call fcn.00401508
lea ecx, [ebp - 0x1a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402d8c
mov byte [ebx], 0
jmp 0x402bd5
push eax
push ebx
call fcn.00405dba
jmp 0x402d5c
xor esi, esi
mov dword [ebp - 0x40], 0xfffffd66
call fcn.00401508
and dword [ebp - 0x18], esi
test byte [0x431125], 4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp + 8], eax
je 0x402e63
push eax
call sub.KERNEL32.dll_lstrlenA
push dword [0x429cf4]
mov esi, eax
call sub.KERNEL32.dll_lstrlenA
lea ecx, [eax + esi + 1]
mov eax, 0x105
cmp ecx, eax
jb 0x402deb
push dword [0x429cf4]
call sub.KERNEL32.dll_lstrlenA
lea eax, [eax + esi + 1]
push eax
call fcn.00405c1a
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0xc], ebx
je 0x402e4d
push dword [0x429cf4]
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 0x5c
push dword [ebp + 8]
call fcn.00406032
test eax, eax
je 0x402e18
inc eax
push eax
jmp 0x402e1b
push dword [ebp + 8]
push ebx
call edi
push ebx
call sub.KERNEL32.dll_lstrlenA
lea esi, [eax + ebx - 1]
jmp 0x402e39
cmp byte [esi], 0x5c
je 0x402e40
push esi
push ebx
call dword [sym.imp.USER32.dll_CharPrevA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
ja 0x402e2a
push ebx
mov byte [esi], 0
call fcn.00406160
test eax, eax
jne 0x402e57
mov eax, 0x7fffffff
jmp 0x4031dd
push ebx
push dword [ebp + 8]
mov byte [esi], 0x5c
call sub.KERNEL32.dll_lstrcpyA
push dword [ebp + 8]
call fcn.00405c45
test eax, eax
push dword [ebp + 8]
mov ebx, 0x40a8a8
je 0x402e7f
push ebx
call sub.KERNEL32.dll_lstrcpyA
jmp 0x402e93
push 0x437400
push ebx
call sub.KERNEL32.dll_lstrcpyA
push eax
call fcn.00406005
push eax
call edi
push ebx
call fcn.00405e68
push 2
push 0x40000000
push ebx
call fcn.00405cd9
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x402f5e
mov eax, dword [0x431128]
push eax
mov dword [ebp - 0x14], eax
call fcn.00405c1a
test eax, eax
mov dword [ebp - 0x10], eax
je 0x402f55
push 0
call fcn.004033e2
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004033b0
push dword [ebp - 0x30]
call fcn.00405c1a
mov esi, eax
test esi, esi
mov dword [ebp - 0x40], esi
je 0x402f27
push dword [ebp - 0x30]
push esi
push 0
push dword [ebp - 0x34]
call fcn.004033f9
jmp 0x402f19
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x10]
add esi, 8
push esi
add eax, ecx
push eax
call fcn.00405cb9
add esi, dword [ebp - 0x4c]
cmp byte [esi], 0
jne 0x402efe
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push esi
push dword [ebp - 8]
push 0xffffffffffffffff
call fcn.004033f9
mov dword [ebp - 0x40], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x40]
push str.created_uninstaller:__d____s_
call fcn.00405fab
add esp, 0xc
cmp dword [ebp - 0x40], 0
push 0xfffffffffffffff3
pop esi
jge 0x402f89
push 0xffffffffffffffef
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
call fcn.004014e1
test byte [0x431125], 4
je 0x4031c3
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
push str.__x__
push esi
mov byte [eax], 0
call edi
push dword [0x429cf4]
push esi
call edi
push str.____
push esi
call edi
push dword [ebp - 0xc]
push esi
call edi
push dword [ebp - 0xc]
push esi
call fcn.00405b60
test eax, eax
mov dword [ebp + 8], eax
push esi
je 0x40304a
push str.File_Extraction:_success____s__
call fcn.00405fab
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ecx
pop ecx
push 0x64
push dword [ebp + 8]
call edi
mov esi, 0x102
cmp eax, esi
jne 0x403026
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x403009
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
lea eax, [ebp - 0x60]
push 0
push eax
call ebx
test eax, eax
jne 0x402fff
push 0x64
push dword [ebp + 8]
call edi
cmp eax, esi
je 0x403009
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x14], 0
je 0x40303c
inc dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4031c3
inc dword [ebp - 4]
push str.File_Extraction:_failed_createprocess_on_uninstaller____s__
call fcn.00405fab
pop ecx
pop ecx
jmp 0x4031c3
test esi, esi
je 0x403097
push edx
push str.settings_logging_to__d
call fcn.00405fab
mov eax, dword [ebp - 0x34]
push eax
push str.logging_set_to__d
mov dword [0x42ec48], eax
call fcn.00405fab
add esp, 0x10
cmp dword [ebp - 0x34], 0
je case.0x40166b.66
call fcn.00403f48
jmp case.0x40166b.66
xor esi, esi
inc esi
call fcn.00401508
push eax
push 0x408690
call fcn.00405fab
pop ecx
pop ecx
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014f2
mov edi, eax
cmp edi, dword [0x4310ec]
jae 0x401a40
mov eax, dword [ebp - 0x30]
mov esi, edi
imul esi, esi, 0x418
add esi, dword [0x4310e8]
test eax, eax
jl 0x4030f2
mov ecx, dword [esi + eax*4]
jne 0x4030ef
add esi, 0x18
push esi
push ebx
call sub.KERNEL32.dll_lstrcpyA
jmp case.0x40166b.66
push ecx
jmp 0x403167
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x30], ecx
je 0x403109
xor ecx, ecx
inc ecx
call fcn.004014f2
mov dword [ebp - 0x34], eax
jmp 0x403119
push dword [ebp - 0x28]
lea eax, [esi + 0x18]
push eax
call fcn.00406416
or byte [esi + 9], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x2c], 0
je case.0x40166b.66
push edi
call fcn.0040117d
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014f2
cmp eax, 0x20
jae 0x401a40
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
je 0x40316f
cmp dword [ebp - 0x30], ecx
je 0x403160
push eax
call fcn.004012a8
call fcn.0040129e
jmp case.0x40166b.66
push ecx
call fcn.004012f3
push eax
push ebx
call fcn.00405dba
jmp case.0x40166b.66
cmp dword [ebp - 0x30], ecx
je 0x403186
mov ecx, dword [ebp - 0x34]
mov edx, dword [0x4310c8]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40166b.66
mov ecx, dword [0x4310c8]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.00406416
jmp case.0x40166b.66
mov eax, dword [0x42c528]
push 0
and eax, esi
push eax
push 0xb
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x38], 0
je case.0x40166b.66
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp - 0xc], 0
je case.0x40166b.66
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
add dword [0x431148], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4