Function at 0x40161a
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, 0x23c
mov eax, dword [0x792804]
push ebx
push esi
push edi
push 8
mov esi, edx
pop ecx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [0x40d0e0], ecx
mov ecx, dword [ebp - 0x44]
shl esi, 0xa
mov edx, eax
xor ebx, ebx
shl edx, 0xa
add ecx, 0xfffffffe
add esi, section..ndata
mov dword [ebp - 4], ebx
lea edi, [edx + section..ndata]
cmp ecx, 0x42
ja case.0x40166f.66
jmp dword [ecx*4 + 0x402ff6]
push eax
push 0x4092fc
call fcn.00406eed
mov eax, dword [ebp - 0x40]
pop ecx
pop ecx
jmp 0x402fee
push ebx
call fcn.004014d7
push eax
push str.Aborting:___s_
call fcn.00406eed
pop ecx
pop ecx
push ebx
push dword [ebp - 0x40]
call fcn.00405cda
mov eax, 0x7fffffff
jmp 0x402fee
inc dword [0x791fcc]
cmp dword [ebp - 0x14], ebx
je 0x4016a7
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4016a7
cmp eax, ebx
jge 0x4016db
mov ecx, section..ndata
sub ecx, edx
sub ecx, 0x400
call fcn.004069b8
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406eed
pop ecx
pop ecx
push ebx
push esi
call fcn.00401406
jmp 0x402fee
push ebx
call fcn.004014d7
push eax
push str.detailprint:__s
call fcn.00406eed
pop ecx
pop ecx
push ebx
push dword [ebp - 0x40]
call fcn.00405cda
jmp case.0x40166f.66
xor ecx, ecx
call fcn.004014c1
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406eed
pop ecx
pop ecx
cmp esi, 1
jg 0x401736
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40166f.66
push str.BringToFront
call fcn.00406eed
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40166f.66
cmp dword [ebp - 0x38], ebx
jne 0x401785
mov ecx, dword [eax*4 + 0x792ce0]
mov dword [eax*4 + 0x792ca0], ecx
xor ecx, ecx
inc ecx
call fcn.004014c1
mov ecx, dword [ebp - 0x40]
mov dword [ecx*4 + 0x792ce0], eax
jmp case.0x40166f.66
mov ecx, dword [eax*4 + 0x792ca0]
mov dword [eax*4 + 0x792ce0], ecx
jmp case.0x40166f.66
mov esi, dword [ebp - 0x38]
lea esi, [esi*4 + 0x792ce0]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x34]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x40]
jmp 0x402fee
mov eax, dword [ebp - 0x3c]
push dword [eax*4 + 0x792ce0]
push edi
call fcn.0040699d
jmp case.0x40166f.66
mov ecx, dword [0x791fd8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x4017e7
push dword [ebp - 0x3c]
push ecx
call esi
mov eax, dword [ebp - 0x40]
mov ecx, dword [0x791fc4]
cmp ecx, ebx
je case.0x40166f.66
push eax
push ecx
call esi
jmp case.0x40166f.66
push 0xfffffffffffffff0
call fcn.004014d7
push dword [ebp - 0x3c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406eed
add esp, 0xc
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40166f.66
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406eed
pop ecx
jmp case.0x40166f.66
push 0xfffffffffffffff0
call fcn.004014d7
push dword [ebp - 0x3c]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.00406eed
add esp, 0xc
call fcn.00406595
mov esi, eax
cmp esi, ebx
je 0x4018dd
push 0x5c
mov eax, esi
call fcn.00406538
mov esi, eax
mov al, byte [esi]
push ebx
push edi
mov byte [ebp - 0x11], al
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4018c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4018ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406eed
add esp, 0xc
inc dword [ebp - 4]
jmp 0x4018d3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x4018d3
push edi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406eed
inc dword [ebp - 4]
jmp 0x4018d1
push edi
push str.CreateDirectory:___s__created
call fcn.00406eed
pop ecx
pop ecx
mov al, byte [ebp - 0x11]
mov byte [esi], al
inc esi
cmp al, bl
jne 0x401866
push 0x40b8e0
cmp dword [ebp - 0x3c], ebx
je 0x401925
push 0xffffffffffffffe6
call fcn.00405cda
push edi
push 0x799800
call fcn.00406a3a
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne case.0x40166f.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406eed
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x40166f.66
push 0xfffffffffffffff5
jmp 0x40170e
push ebx
call fcn.004014d7
mov esi, eax
push esi
call fcn.00406f1f
test eax, eax
je 0x401957
push dword [ebp - 0x3c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406eed
add esp, 0xc
mov eax, dword [ebp - 0x3c]
jmp 0x402fee
push dword [ebp - 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406eed
add esp, 0xc
mov eax, dword [ebp - 0x38]
jmp 0x402fee
push 0xffffffffffffffd0
call fcn.004014d7
push 0xffffffffffffffdf
mov esi, eax
call fcn.004014d7
push 0x13
mov dword [ebp - 0xc], eax
call fcn.004014d7
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406eed
pop ecx
pop ecx
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4019b3
push 0x40b8e0
push 0xffffffffffffffe3
jmp 0x40170e
cmp dword [ebp - 0x38], ebx
je 0x4019df
push esi
call fcn.00406f1f
test eax, eax
je 0x4019df
push dword [ebp - 0xc]
push esi
call fcn.004068f9
push 0x40b8e0
push 0xffffffffffffffe4
call fcn.00405cda
push edi
push str.Rename_on_reboot:__s
jmp 0x4019ec
push edi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406eed
pop ecx
jmp 0x40183b
push ebx
call fcn.004014d7
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x401a37
mov eax, dword [ebp - 0xc]
cmp eax, edi
jbe 0x401a40
cmp byte [eax], bl
je 0x401a40
push edi
call fcn.00406f1f
cmp eax, ebx
je 0x401a37
add eax, 0x2c
push eax
push dword [ebp - 0xc]
call fcn.00406a3a
jmp 0x401a40
mov byte [esi], bl
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
jne case.0x40166f.66
push 0x400
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40166f.66
push 0xffffffffffffffff
call fcn.004014d7
lea ecx, [ebp - 0x4c]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne case.0x40166f.66
mov dword [ebp - 4], 1
mov byte [edi], bl
jmp case.0x40166f.66
push 0xffffffffffffffef
call fcn.004014d7
push eax
call fcn.00406731
test eax, eax
jne case.0x40166f.66
mov dword [ebp - 4], 1
jmp case.0x40166f.66
push 0x31
call fcn.004014d7
mov esi, eax
mov eax, dword [ebp - 0x40]
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 - 0x14], ecx
call fcn.00406eed
add esp, 0x10
mov ecx, esi
call fcn.00406572
mov edi, 0x40b4e0
test eax, eax
je 0x401af2
push esi
push edi
call fcn.00406a3a
jmp 0x401b0e
push 0x799800
push edi
call fcn.00406a3a
mov esi, eax
call fcn.00406513
push dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.00406cd9
mov esi, 0x40bce0
cmp dword [ebp - 0x14], 3
jl 0x401b50
push edi
call fcn.00406f1f
xor ecx, ecx
cmp eax, ebx
je 0x401b3b
lea ecx, [ebp - 0x34]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x401b5b
push edi
call fcn.004066da
xor eax, eax
cmp dword [ebp - 0x14], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406702
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x401c3b
cmp dword [ebp - 0x14], ebx
jne 0x401bf8
push edi
push str.File:_error_creating___s_
call fcn.00406eed
pop ecx
pop ecx
push section..ndata
push esi
call fcn.00406a3a
push edi
push section..ndata
call fcn.00406a3a
push dword [ebp - 0x2c]
push 0x40b8e0
call fcn.00406a52
push esi
push section..ndata
call fcn.00406a3a
mov eax, dword [ebp - 0x40]
sar eax, 3
push 0x40b8e0
call fcn.0040624d
sub eax, 4
jne 0x401be2
push str.File:_error__user_retry
call fcn.00406eed
pop ecx
jmp 0x401b19
dec eax
je 0x401c25
push str.File:_error__user_abort
call fcn.00406eed
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x4016a2
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405cda
cmp dword [ebp - 0x14], 2
jne 0x401c0f
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
push edi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406eed
add esp, 0xc
jmp case.0x40166f.66
push str.File:_error__user_cancel
call fcn.00406eed
inc dword [0x792ce8]
pop ecx
jmp 0x402fec
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405cda
mov ecx, dword [ebp - 0x28]
inc dword [0x792d14]
push ebx
push ebx
push dword [ebp - 0x10]
xor eax, eax
or eax, dword [ebp - 0x38]
xor esi, esi
or ecx, esi
push ecx
push eax
call fcn.004037e9
dec dword [0x792d14]
push edi
mov esi, edx
push esi
push eax
push str.File:_wrote__I64d_to___s_
mov dword [ebp - 0x50], eax
call fcn.00406eed
add esp, 0x10
cmp dword [ebp - 0x34], 0xffffffff
jne 0x401c8a
cmp dword [ebp - 0x30], 0xffffffff
je 0x401c99
lea eax, [ebp - 0x34]
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 esi, ebx
jg case.0x40166f.66
jl 0x401cb5
cmp dword [ebp - 0x50], ebx
jae case.0x40166f.66
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x401cd4
cmp esi, 0xffffffff
jne 0x401cd4
push 0xffffffffffffffe9
push edi
call fcn.00406a52
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x401cdc
push 0xffffffffffffffee
push edi
call fcn.00406a52
push edi
push 0x4095d4
call fcn.00406eed
pop ecx
pop ecx
push edi
mov eax, 0x200010
call fcn.0040624d
jmp 0x4016a7
push ebx
call fcn.004014d7
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406eed
pop ecx
pop ecx
push dword [ebp - 0x3c]
push esi
call fcn.004062f6
jmp case.0x40166f.66
push 0x31
call fcn.004014d7
mov esi, eax
push esi
push dword [ebp - 0x40]
push str.MessageBox:__d___s_
call fcn.00406eed
mov eax, dword [ebp - 0x40]
add esp, 0xc
push esi
call fcn.0040624d
cmp eax, ebx
je 0x401aa0
cmp eax, dword [ebp - 0x38]
jne 0x401d54
mov eax, dword [ebp - 0x34]
jmp 0x402fee
cmp eax, dword [ebp - 0x30]
jne case.0x40166f.66
mov eax, dword [ebp - 0x2c]
jmp 0x402fee
push 0xfffffffffffffff0
call fcn.004014d7
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401d07
push 1
call fcn.004014d7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
jmp 0x4017c3
push 2
pop ecx
call fcn.004014c1
push 3
pop ecx
mov dword [ebp - 8], eax
call fcn.004014c1
push 1
mov esi, eax
call fcn.004014d7
mov dword [ebp - 0xc], eax
mov byte [edi], bl
cmp dword [ebp - 0x38], ebx
je 0x401db9
cmp dword [ebp - 8], ebx
je case.0x40166f.66
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, ebx
jge 0x401dcc
add esi, eax
js case.0x40166f.66
cmp esi, eax
jle 0x401dd2
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, esi
push eax
push edi
call fcn.00406a3a
cmp dword [ebp - 8], ebx
je case.0x40166f.66
mov esi, dword [ebp - 8]
cmp esi, ebx
jge 0x401dfb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
jns 0x401dfb
xor esi, esi
cmp esi, 0x400
jge case.0x40166f.66
mov byte [esi + edi], bl
jmp case.0x40166f.66
push 0x20
call fcn.004014d7
push 0x31
mov esi, eax
call fcn.004014d7
push eax
push esi
cmp dword [ebp - 0x30], ebx
jne 0x401e39
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401d4c
jmp 0x401968
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401e2c
xor esi, esi
inc esi
push esi
call fcn.004014d7
push 0x400
push edi
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401e71
cmp dword [ebp - 0x38], ebx
je 0x401e76
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401e76
mov dword [ebp - 4], esi
mov byte [edi], bl
mov byte [edi + 0x3ff], bl
jmp case.0x40166f.66
xor ecx, ecx
call fcn.004014c1
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014c1
cmp dword [ebp - 0x2c], ebx
jne 0x401ead
cmp esi, eax
jl 0x401d4c
jle 0x401968
mov eax, dword [ebp - 0x30]
jmp 0x402fee
cmp esi, eax
jb 0x401d4c
jbe 0x401968
jmp 0x401ea5
xor ecx, ecx
inc ecx
call fcn.004014c1
push 2
pop ecx
mov esi, eax
call fcn.004014c1
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp eax, 0xc
ja case.default.0x401ed9
jmp dword [eax*4 + 0x403102]
add esi, ecx
jmp case.default.0x401ed9
sub esi, ecx
jmp case.default.0x401ed9
imul esi, ecx
jmp case.default.0x401ed9
cmp ecx, ebx
je 0x401ef8
mov eax, esi
cdq
idiv ecx
jmp 0x401f16
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401ed9
or esi, ecx
jmp case.default.0x401ed9
and esi, ecx
jmp case.default.0x401ed9
xor esi, ecx
jmp case.default.0x401ed9
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401ed9
cmp esi, ebx
jne 0x401f22
cmp ecx, ebx
je 0x401f2b
xor esi, esi
inc esi
jmp case.default.0x401ed9
cmp esi, ebx
jne 0x401f1e
xor esi, esi
jmp case.default.0x401ed9
cmp ecx, ebx
je 0x401ef8
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401ed9
shl esi, cl
jmp case.default.0x401ed9
sar esi, cl
push esi
jmp 0x4017c3
push 1
call fcn.004014d7
push 2
pop ecx
mov esi, eax
call fcn.004014c1
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x401c1d
mov eax, dword [ebp - 0x38]
mov esi, dword [0x40b4a0]
cmp eax, ebx
je 0x401fcd
dec eax
cmp esi, ebx
je 0x401f83
mov esi, dword [esi]
cmp eax, ebx
jne 0x401f74
cmp esi, ebx
jne 0x401fa0
push dword [ebp - 0x38]
push str.Exch:_stack____d_elements
call fcn.00406eed
pop ecx
pop ecx
push 0xffffffffffffffe8
push ebx
call fcn.00406a52
push eax
jmp 0x401cea
add esi, 4
push esi
mov edi, 0x40b4e0
push edi
call fcn.00406a3a
mov eax, dword [0x40b4a0]
add eax, 4
push eax
push esi
call fcn.00406a3a
mov eax, dword [0x40b4a0]
push edi
add eax, 4
push eax
jmp 0x402d1f
cmp dword [ebp - 0x3c], ebx
je 0x401ffd
cmp esi, ebx
jne 0x401fe6
push str.Pop:_stack_empty
call fcn.00406eed
pop ecx
jmp 0x401aa0
lea eax, [esi + 4]
push eax
push edi
call fcn.00406a3a
mov eax, dword [esi]
mov dword [0x40b4a0], eax
push esi
jmp 0x40242e
push 0x404
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x40]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406a52
mov eax, dword [0x40b4a0]
mov dword [esi], eax
mov dword [0x40b4a0], esi
jmp case.0x40166f.66
push 3
pop ecx
call fcn.004014c1
push 4
pop ecx
mov dword [ebp - 0x10], eax
call fcn.004014c1
test byte [ebp - 0x2c], 1
mov dword [ebp - 8], eax
je 0x402050
push 0x33
call fcn.004014d7
mov dword [ebp - 0x10], eax
test byte [ebp - 0x2c], 2
je 0x402060
push 0x44
call fcn.004014d7
mov dword [ebp - 8], eax
cmp dword [ebp - 0x44], 0x21
jne 0x4020b0
xor ecx, ecx
inc ecx
call fcn.004014c1
push 2
pop ecx
mov esi, eax
call fcn.004014c1
mov ecx, dword [ebp - 0x2c]
sar ecx, 2
cmp ecx, ebx
je 0x4020a0
lea edx, [ebp - 0x14]
push edx
push ecx
push ebx
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 0x4020e3
push dword [ebp - 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4020e0
push 1
call fcn.004014d7
push 0x12
mov esi, eax
call fcn.004014d7
movsx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movsx eax, byte [esi]
neg eax
push ecx
sbb eax, eax
and eax, esi
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x40], ebx
jl case.0x40166f.66
push dword [ebp - 0x14]
jmp 0x4017c3
xor ecx, ecx
call fcn.004014c1
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401968
jmp 0x40194f
push 2
pop ecx
call fcn.004014c1
xor ecx, ecx
push eax
inc ecx
call fcn.004014c1
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d84
mov eax, dword [0x792848]
add eax, dword [ebp - 0x3c]
xor ecx, ecx
push eax
push 0xffffffffffffffeb
call fcn.004014c1
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40166f.66
push dword [ebp - 0x3c]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x38]
push 0x10
push eax
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x38]
push eax
push ebx
push ebx
call fcn.004014d7
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je case.0x40166f.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40166f.66
push 0x48
push 0x5a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.004014c1
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40b4a4], eax
call fcn.004014c1
push dword [ebp - 0x3c]
mov dword [0x40b4b4], eax
mov al, byte [ebp - 0x30]
mov cl, al
and cl, 1
mov byte [0x40b4b8], cl
mov cl, al
and cl, 2
and al, 4
push 0x40b4c0
mov byte [0x40b4b9], cl
mov byte [0x40b4ba], al
mov byte [0x40b4bb], 1
call fcn.00406a52
push 0x40b4a4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401d84
xor ecx, ecx
call fcn.004014c1
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014c1
mov edi, eax
cmp dword [ebp - 0x38], ebx
je 0x402245
push str.HideWindow
call fcn.00406eed
pop ecx
push edi
push esi
cmp dword [ebp - 0x34], ebx
jne 0x402257
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40166f.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40166f.66
push ebx
call fcn.004014d7
push 0x31
mov esi, eax
call fcn.004014d7
push 0x22
mov ebx, eax
call fcn.004014d7
push 0x15
mov edi, eax
call fcn.004014d7
push 0x40b8e0
push 0xffffffffffffffec
call fcn.00405cda
movsx eax, byte [edi]
push dword [ebp - 0x34]
neg eax
sbb eax, eax
and eax, edi
push 0x799800
push eax
movsx eax, byte [esi]
neg eax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x4022d0
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406eed
add esp, 0x14
jmp 0x401aa0
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406eed
add esp, 0x10
jmp case.0x40166f.66
push ebx
call fcn.004014d7
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406eed
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.00405cda
push edi
call fcn.004061ee
mov dword [ebp - 8], eax
push edi
cmp eax, ebx
je 0x40236e
push str.Exec:_success____s__
call fcn.00406eed
pop ecx
pop ecx
cmp dword [ebp - 0x38], ebx
je 0x402366
jmp 0x40232b
push 0xf
pop edi
call fcn.00406f7b
push 0x64
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x402323
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x3c], ebx
jl 0x40235a
push dword [ebp - 0xc]
push esi
call fcn.0040699d
jmp 0x402366
cmp dword [ebp - 0xc], ebx
je 0x402366
mov dword [ebp - 4], 1
push dword [ebp - 8]
jmp 0x402b3f
push str.Exec:_failed_createprocess____s__
jmp 0x4019e5
push 2
call fcn.004014d7
push eax
call fcn.00406f1f
cmp eax, ebx
je 0x40239c
mov ebx, eax
push dword [ebx + 0x14]
push esi
call fcn.0040699d
push dword [ebx + 0x18]
jmp 0x4017c3
mov byte [edi], bl
mov byte [esi], bl
jmp 0x401aa0
push 0xffffffffffffffee
call fcn.004014d7
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov byte [edi], bl
mov dword [ebp - 0xc], eax
mov byte [esi], bl
mov dword [ebp - 4], 1
cmp eax, ebx
je case.0x40166f.66
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp eax, ebx
je case.0x40166f.66
push eax
push dword [ebp - 0xc]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x40242b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x409704
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x40242b
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
push edi
call fcn.0040699d
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push esi
call fcn.0040699d
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40166f.66
mov dword [ebp - 4], 1
cmp dword [0x792d18], ebx
jl 0x402538
push 0xfffffffffffffff0
call fcn.004014d7
push 1
mov edi, eax
call fcn.004014d7
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x30], ebx
je 0x402472
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x402487
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x402521
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4024d6
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x38], ebx
je 0x4024b8
push dword [ebp - 0x38]
call fcn.004014ad
call esi
test eax, eax
je 0x4024f1
mov dword [ebp - 4], 1
jmp 0x4024f1
push 0x40b090
push 0x40b4a0
push section..ndata
push 0x400
push dword [ebp - 0x14]
call esi
add esp, 0x14
jmp 0x4024f1
push dword [ebp - 0x10]
push 0xfffffffffffffff7
call fcn.00405cda
push edi
push dword [ebp - 0x10]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406eed
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jne case.0x40166f.66
mov eax, dword [0x790b58]
jmp 0x40250f
mov ecx, dword [ebp - 8]
cmp dword [eax + 8], ecx
je case.0x40166f.66
mov eax, dword [eax]
cmp eax, ebx
jne 0x402501
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40166f.66
push 0x40b8e0
push 0xfffffffffffffff6
call fcn.00405cda
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4019ec
push 0x40b8e0
push 0xffffffffffffffe7
call fcn.00405cda
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401836
push 0xfffffffffffffff0
call fcn.004014d7
push 0xffffffffffffffdf
mov dword [ebp - 0x24], eax
call fcn.004014d7
push 2
mov edi, eax
call fcn.004014d7
push 0xffffffffffffffcd
mov dword [ebp - 0x10], eax
call fcn.004014d7
push 0x45
mov dword [ebp - 0xc], eax
call fcn.004014d7
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.00406572
test eax, eax
jne 0x402591
push 0x21
call fcn.004014d7
mov eax, dword [ebp - 0x30]
mov ecx, eax
sar ecx, 0x10
push ecx
mov ecx, eax
sar ecx, 8
mov esi, 0xff
and ecx, esi
push ecx
and eax, esi
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x24]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406eed
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
push 0x4092cc
push 1
push ebx
push 0x4092dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4026ba
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4092ec
push eax
call dword [ecx]
mov dword [ebp - 8], eax
cmp eax, ebx
jl 0x4026ac
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x799800
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x402630
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0xc]
cmp byte [eax], bl
je 0x402654
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
and edi, esi
push edi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 8], ebx
jl 0x4026a3
push 0x400
mov esi, 0x40c8e0
push esi
push 0xffffffffffffffff
push dword [ebp - 0x24]
mov dword [ebp - 8], 0x80004005
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4026a3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], ebx
jge 0x4026cd
push 0x40b8e0
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x40170e
push 0x40b8e0
push 0xfffffffffffffff4
jmp 0x40170e
push ebx
call fcn.004014d7
push 0x11
mov esi, eax
call fcn.004014d7
push 0x23
mov edi, eax
call fcn.004014d7
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp - 0x4c], eax
call fcn.00406eed
add esp, 0xc
push esi
call fcn.00406f1f
test eax, eax
jne 0x40271a
push ebx
push 0xfffffffffffffff9
call fcn.00405cda
jmp 0x401aa0
mov eax, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 2
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov byte [eax + esi + 1], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [eax + edi + 1], bl
mov eax, dword [ebp - 0x4c]
mov cx, word [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5e], eax
mov word [ebp - 0x68], cx
call fcn.00405cda
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40166f.66
jmp 0x40270d
cmp eax, 0xbadf00d
jne 0x401f92
inc dword [0x792cf4]
jmp case.0x40166f.66
push str._RM_
mov edi, 0x40b8e0
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00406a3a
push edi
mov esi, 0x40bce0
push esi
call fcn.00406a3a
cmp dword [ebp - 0x40], ebx
je 0x4027b5
push ebx
call fcn.004014d7
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x3c], ebx
je 0x4027c4
push 0x11
call fcn.004014d7
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], ebx
je 0x4027d3
push 0x22
call fcn.004014d7
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffcd
call fcn.004014d7
mov ebx, eax
push ebx
push esi
push edi
push 0x40b4e0
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406eed
add esp, 0x14
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401a98
push 0xa
pop eax
push 1
mov word [ebp - 0x14], ax
call fcn.004014d7
push 0x12
mov esi, eax
call fcn.004014d7
push 0xffffffffffffffdd
mov dword [ebp - 0x4c], eax
call fcn.004014d7
push eax
push 0x3ff
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0xa
jmp 0x401a77
mov eax, dword [ebp - 0x3c]
call fcn.00406e1b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x30], ebx
jne 0x402898
push 2
call fcn.004015ce
mov edi, eax
cmp edi, ebx
je 0x401aa0
push 0x33
call fcn.004014d7
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40bce0
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406eed
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4028d4
push 0x22
call fcn.004014d7
mov esi, eax
push esi
push dword [ebp - 0x1c]
push str.DeleteRegKey:___s_s_
call fcn.00406eed
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp eax, ebx
jne 0x4028c3
mov eax, dword [0x792ce4]
add eax, 0x80000001
mov ecx, dword [ebp - 0x30]
and ecx, 2
push ecx
push esi
push eax
call fcn.00401517
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
je case.0x40166f.66
jmp 0x401aa0
cmp eax, ebx
je 0x4028ea
mov esi, eax
jmp 0x4028f6
mov esi, dword [0x792ce4]
add esi, 0x80000001
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
push 2
mov dword [ebp - 0x1c], eax
call fcn.004014d7
push 0x11
mov dword [ebp - 0x10], eax
call fcn.004014d7
mov dword [ebp - 0x14], eax
mov eax, esi
call fcn.00406e1b
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x792d10]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402a52
xor edi, edi
cmp dword [ebp - 0xc], 1
mov esi, 0x40bce0
jne 0x402998
push 0x23
call fcn.004014d7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x1c], 1
push esi
push dword [ebp - 0x10]
lea edi, [eax + 1]
push dword [ebp - 0x14]
push dword [ebp - 8]
jne 0x40298b
push str.WriteRegStr:___s_s____s___s_
call fcn.00406eed
add esp, 0x14
jmp 0x402a13
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406eed
add esp, 0x14
cmp dword [ebp - 0xc], 4
jne 0x4029c5
push 3
pop ecx
call fcn.004014c1
push 4
pop edi
push eax
push dword [ebp - 0x10]
mov dword [0x40bce0], eax
push dword [ebp - 0x14]
push dword [ebp - 8]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406eed
add esp, 0x14
cmp dword [ebp - 0xc], 3
jne 0x402a13
mov ecx, dword [ebp - 0x28]
push 0xc00
push esi
push ebx
xor eax, eax
or eax, dword [ebp - 0x34]
xor edi, edi
or ecx, edi
push ecx
push eax
call fcn.004037e9
mov edi, eax
lea eax, [ebp - 0xf8]
push esi
push eax
mov eax, edi
call fcn.00406e7b
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406eed
add esp, 0x1c
push edi
push esi
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402a2e
mov dword [ebp - 4], ebx
jmp 0x402a44
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406eed
add esp, 0x10
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40166f.66
push dword [ebp - 0x14]
push dword [ebp - 8]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401c18
push 0x20019
call fcn.004015ce
push 0x33
mov esi, eax
call fcn.004014d7
mov byte [edi], bl
cmp esi, ebx
je 0x401aa0
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0xc]
push ecx
push ebx
push eax
push esi
mov dword [ebp - 0x4c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402ad3
cmp dword [ebp - 0xc], 4
je 0x402abe
cmp dword [ebp - 0xc], ecx
je 0x402ab0
cmp dword [ebp - 0xc], 2
jne 0x402ad3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov byte [edi + 0x3ff], bl
jmp 0x402ad8
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x30], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.0040699d
jmp 0x402ad8
mov byte [edi], bl
mov dword [ebp - 4], ecx
push esi
jmp 0x402a47
push 0x20019
call fcn.004015ce
push 3
pop ecx
mov esi, eax
call fcn.004014c1
mov byte [edi], bl
cmp esi, ebx
je 0x401aa0
mov ecx, 0x3ff
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x30], ebx
je 0x402b15
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402ab6
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x402ab6
jmp 0x401aa0
cmp byte [edi], bl
je case.0x40166f.66
mov ecx, edi
call fcn.004069b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40166f.66
push 0xffffffffffffffed
call fcn.004014d7
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.00406702
cmp eax, 0xffffffff
jne 0x401d84
mov byte [edi], bl
jmp 0x401aa0
cmp dword [ebp - 0x38], ebx
je 0x402b84
xor ecx, ecx
inc ecx
call fcn.004014c1
mov byte [0x40b8e0], al
xor eax, eax
inc eax
jmp 0x402b92
push 0x11
call fcn.004014d7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi], bl
je 0x401aa0
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 0x40b8e0
mov ecx, edi
call fcn.004069b8
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401a98
push 2
pop ecx
call fcn.004014c1
mov dword [ebp - 8], eax
cmp eax, 1
jl case.0x40166f.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402bd8
mov dword [ebp - 8], ecx
cmp byte [edi], bl
je 0x402c6e
mov ecx, edi
mov byte [ebp - 0x1d], bl
call fcn.004069b8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], ebx
jle 0x402c6e
mov edi, ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c70
cmp dword [ebp - 0x4c], 1
jne 0x402c70
cmp dword [ebp - 0x34], ebx
jne 0x402c38
cmp byte [ebp - 0x1d], 0xd
je 0x402c48
cmp byte [ebp - 0x1d], 0xa
je 0x402c48
mov al, byte [ebp - 0x11]
mov byte [edi + esi], al
inc edi
mov byte [ebp - 0x1d], al
cmp al, bl
je 0x402c70
cmp edi, dword [ebp - 8]
jl 0x402bf4
jmp 0x402c70
movzx eax, byte [ebp - 0x11]
push eax
push esi
call fcn.0040699d
jmp 0x402fec
mov al, byte [ebp - 0x11]
cmp byte [ebp - 0x1d], al
je 0x402c5e
cmp al, 0xd
je 0x402c58
cmp al, 0xa
jne 0x402c5e
mov byte [edi + esi], al
inc edi
jmp 0x402c70
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402c70
mov edi, ebx
mov byte [edi + esi], bl
cmp edi, ebx
jmp 0x401a9a
cmp byte [edi], bl
je case.0x40166f.66
push dword [ebp - 0x34]
push ebx
push 2
pop ecx
call fcn.004014c1
push eax
mov ecx, edi
call fcn.004069b8
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x3c], ebx
jl case.0x40166f.66
push eax
push esi
jmp 0x4017c4
cmp byte [edi], bl
je case.0x40166f.66
mov ecx, edi
call fcn.004069b8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40166f.66
cmp byte [esi], bl
je 0x401a7d
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
call fcn.004069b8
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401a7d
jmp 0x402d17
push 2
call fcn.004014d7
lea ecx, [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402d10
mov byte [esi], bl
jmp 0x402b66
push eax
push esi
call fcn.0040699d
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00406a3a
jmp case.0x40166f.66
push 0xfffffffffffffff0
mov dword [ebp - 0x18], 0xfffffd66
or edi, 0xffffffff
call fcn.004014d7
mov ecx, eax
mov dword [ebp - 0x10], ecx
call fcn.00406572
test eax, eax
jne 0x402d4f
push 0xffffffffffffffed
call fcn.004014d7
push dword [ebp - 0x10]
call fcn.004066da
push 2
push 0x40000000
push dword [ebp - 0x10]
call fcn.00406702
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x402e40
mov eax, dword [0x792c84]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x1c], eax
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x402e37
push 3
push 0x80000000
push 0x79ac00
call fcn.00406702
push ebx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x38]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, ebx
je 0x402e07
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
push esi
xor edi, edi
push ebx
xor eax, eax
or eax, dword [ebp - 0x3c]
or ecx, edi
push ecx
push eax
call fcn.004037e9
jmp 0x402dfa
mov edi, dword [esi]
mov eax, dword [esi + 4]
add eax, dword [ebp - 8]
add esi, 8
push edi
mov ecx, esi
call fcn.004066bc
add esi, edi
cmp byte [esi], bl
jne 0x402de5
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp - 0xc]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004037e9
mov dword [ebp - 0x18], eax
mov edi, edx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x18]
push str.created_uninstaller:__I64d____s_
call fcn.00406eed
add esp, 0x10
push 0xfffffffffffffff3
pop esi
cmp edi, ebx
jg 0x402e75
jl 0x402e62
cmp dword [ebp - 0x18], ebx
jae 0x402e75
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 1
push esi
call fcn.004014ad
jmp case.0x40166f.66
cmp eax, ebx
je 0x402ec2
push dword [ebp - 0x3c]
push str.settings_logging_to__d
call fcn.00406eed
mov eax, dword [ebp - 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x790ba8], eax
call fcn.00406eed
add esp, 0x10
cmp dword [ebp - 0x3c], ebx
je 0x402eb6
call fcn.0040470c
jmp case.0x40166f.66
push 1
call fcn.00406d7c
jmp case.0x40166f.66
push 1
call fcn.004014d7
push eax
push 0x4095d4
jmp 0x4019ec
xor ecx, ecx
call fcn.004014c1
mov dword [ebp - 0x4c], eax
cmp eax, dword [0x79282c]
jae 0x401aa0
mov edi, eax
mov eax, dword [ebp - 0x38]
imul edi, edi, 0x418
add edi, dword [0x792828]
cmp eax, ebx
jl 0x402f14
mov ecx, dword [edi + eax*4]
jne 0x402f0e
add edi, 0x18
push edi
push esi
jmp 0x402d1f
push ecx
jmp 0x402ca7
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x402f2b
xor ecx, ecx
inc ecx
call fcn.004014c1
mov dword [ebp - 0x3c], eax
jmp 0x402f3e
push dword [ebp - 0x30]
lea eax, [edi + 0x18]
push eax
call fcn.00406a52
or dword [edi + 8], 0x100
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [edi + eax*4], ecx
cmp dword [ebp - 0x34], ebx
je case.0x40166f.66
mov ecx, dword [ebp - 0x4c]
call fcn.004011ac
jmp case.0x40166f.66
xor ecx, ecx
call fcn.004014c1
cmp eax, 0x20
jae 0x401aa0
cmp dword [ebp - 0x34], ebx
je 0x402f92
cmp dword [ebp - 0x38], ebx
je 0x402f87
mov ecx, eax
call fcn.004012c6
push ebx
push ebx
call fcn.00401218
jmp case.0x40166f.66
push ebx
call fcn.0040130b
jmp 0x402ca6
cmp dword [ebp - 0x38], ebx
je 0x402fa9
mov ecx, dword [ebp - 0x3c]
mov edx, dword [0x79280c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40166f.66
mov ecx, dword [0x79280c]
push dword [ecx + eax*4 + 0x94]
push esi
call fcn.00406a52
jmp case.0x40166f.66
mov ecx, dword [0x790b5c]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x40], ebx
je case.0x40166f.66
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x792ce8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret