Function at 0x401611
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 [0x792b44]
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 - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov ecx, eax
shl ecx, 0xa
add ecx, section..ndata
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x40]
mov dword [0x40d100], ecx
mov ecx, dword [ebp - 0x44]
mov edx, esi
xor ebx, ebx
shl edx, 0xa
add ecx, 0xfffffffe
mov dword [ebp - 8], ebx
lea edi, [edx + section..ndata]
cmp ecx, 0x42
ja case.0x40166b.66
jmp dword [ecx*4 + 0x40303d]
push esi
push 0x40930c
call fcn.00406f22
mov eax, dword [ebp - 0x40]
pop ecx
pop ecx
jmp 0x403038
xor esi, esi
call fcn.004014d3
push eax
push str.Aborting:___s_
call fcn.00406f22
pop ecx
pop ecx
push ebx
push dword [ebp - 0x40]
call fcn.00405d24
mov eax, 0x7fffffff
jmp 0x403038
inc dword [0x79230c]
cmp dword [ebp - 0xc], ebx
je 0x4016a4
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4016a4
cmp esi, ebx
jge 0x4016da
mov ecx, section..ndata
sub ecx, edx
sub ecx, 0x400
call fcn.004069f3
jmp 0x4016dc
mov eax, esi
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406f22
pop ecx
pop ecx
push ebx
push esi
call fcn.00401402
jmp 0x403038
xor esi, esi
call fcn.004014d3
push eax
push str.detailprint:__s
call fcn.00406f22
pop ecx
pop ecx
push ebx
push dword [ebp - 0x40]
call fcn.00405d24
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014bd
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406f22
cmp esi, 1
pop ecx
pop ecx
jg 0x401738
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40166b.66
push str.BringToFront
call fcn.00406f22
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40166b.66
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x38], ebx
jne 0x40178a
mov ecx, dword [eax + 0x793020]
mov dword [eax + 0x792fe0], ecx
xor ecx, ecx
inc ecx
call fcn.004014bd
mov ecx, dword [ebp - 0x40]
mov dword [ecx*4 + 0x793020], eax
jmp case.0x40166b.66
mov ecx, dword [eax + 0x792fe0]
mov dword [eax + 0x793020], ecx
jmp case.0x40166b.66
mov esi, dword [ebp - 0x38]
lea esi, [esi*4 + 0x793020]
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 0x403038
push dword [eax*4 + 0x793020]
push edi
call fcn.004069da
jmp case.0x40166b.66
mov ecx, dword [0x792318]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x4017e5
push eax
push ecx
call edi
mov esi, dword [ebp - 0x40]
mov eax, dword [0x792304]
cmp eax, ebx
je case.0x40166b.66
push esi
push eax
call edi
jmp case.0x40166b.66
push 0xfffffffffffffff0
pop esi
call fcn.004014d3
push dword [ebp - 0x3c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406f22
add esp, 0xc
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne case.0x40166b.66
mov dword [ebp - 8], 1
push str.SetFileAttributes_failed.
call fcn.00406f22
pop ecx
jmp case.0x40166b.66
push 0xfffffffffffffff0
pop esi
call fcn.004014d3
push dword [ebp - 0x3c]
mov edi, eax
push edi
push str.CreateDirectory:___s____d_
call fcn.00406f22
add esp, 0xc
call fcn.004065d2
mov esi, eax
cmp esi, ebx
je 0x4018dc
push 0x5c
mov eax, esi
call fcn.00406578
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 0x4018c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4018aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406f22
add esp, 0xc
inc dword [ebp - 8]
jmp 0x4018d2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x4018d2
push edi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406f22
inc dword [ebp - 8]
jmp 0x4018d0
push edi
push str.CreateDirectory:___s__created
call fcn.00406f22
pop ecx
pop ecx
mov al, byte [ebp - 0x11]
mov byte [esi], al
inc esi
cmp al, bl
jne 0x401865
cmp dword [ebp - 0x3c], ebx
je 0x40191f
push 0xffffffffffffffe6
call fcn.004014ac
push edi
push 0x79a800
call fcn.00406a77
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne case.0x40166b.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406f22
add esp, 0xc
inc dword [ebp - 8]
jmp case.0x40166b.66
push 0xfffffffffffffff5
call fcn.004014ac
jmp case.0x40166b.66
xor esi, esi
call fcn.004014d3
mov esi, eax
push esi
call fcn.00406f52
test eax, eax
je 0x401957
push dword [ebp - 0x3c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406f22
add esp, 0xc
mov eax, dword [ebp - 0x3c]
jmp 0x403038
push dword [ebp - 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406f22
add esp, 0xc
mov eax, dword [ebp - 0x38]
jmp 0x403038
push 0xffffffffffffffd0
pop esi
call fcn.004014d3
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.004014d3
push 0x13
pop esi
mov dword [ebp - 0x1c], eax
call fcn.004014d3
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406f22
pop ecx
pop ecx
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4019b1
push 0xffffffffffffffe3
jmp 0x401921
cmp dword [ebp - 0x38], ebx
je 0x4019d8
push edi
call fcn.00406f52
test eax, eax
je 0x4019d8
push dword [ebp - 0x1c]
push edi
call fcn.00406937
push 0xffffffffffffffe4
call fcn.004014ac
push esi
push str.Rename_on_reboot:__s
jmp 0x4019e5
push esi
push str.Rename_failed:__s
mov dword [ebp - 8], 1
call fcn.00406f22
pop ecx
jmp 0x401839
xor esi, esi
call fcn.004014d3
mov edi, dword [ebp - 0x14]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x401a34
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jbe 0x401a3d
cmp byte [eax], bl
je 0x401a3d
push esi
call fcn.00406f52
cmp eax, ebx
je 0x401a34
add eax, 0x2c
push eax
push dword [ebp - 0x1c]
call fcn.00406a77
jmp 0x401a3d
mov byte [edi], bl
mov dword [ebp - 8], 1
cmp dword [ebp - 0x38], ebx
jne case.0x40166b.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp case.0x40166b.66
or esi, 0xffffffff
call fcn.004014d3
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.0x40166b.66
mov dword [ebp - 8], 1
mov byte [edi], bl
jmp case.0x40166b.66
push 0xffffffffffffffef
pop esi
call fcn.004014d3
push eax
call fcn.00406766
test eax, eax
jne case.0x40166b.66
mov dword [ebp - 8], 1
jmp case.0x40166b.66
push 0x31
pop esi
call fcn.004014d3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x14]
mov ecx, eax
sar eax, 3
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 0xc], ecx
call fcn.00406f22
mov edx, dword [ebp - 0x14]
add esp, 0x10
call fcn.004065af
mov edi, 0x40b500
test eax, eax
je 0x401af3
push edx
push edi
call fcn.00406a77
jmp 0x401b0f
push 0x79a800
push edi
call fcn.00406a77
mov esi, eax
call fcn.00406553
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
call fcn.00406d14
mov esi, section..ndata
cmp dword [ebp - 0xc], 3
jl 0x401b51
push edi
call fcn.00406f52
xor ecx, ecx
cmp eax, ebx
je 0x401b3c
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 - 0xc]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], ebx
jne 0x401b5c
push edi
call fcn.00406711
xor eax, eax
cmp dword [ebp - 0xc], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406737
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x401c38
cmp dword [ebp - 0xc], ebx
jne 0x401bf5
push edi
push str.File:_error_creating___s_
call fcn.00406f22
pop ecx
pop ecx
push esi
push 0x40bd00
call fcn.00406a77
push edi
push esi
call fcn.00406a77
push dword [ebp - 0x2c]
push 0x40b900
call fcn.00406a8d
push 0x40bd00
push esi
call fcn.00406a77
mov eax, dword [ebp - 0x40]
sar eax, 3
push 0x40b900
call fcn.00406291
sub eax, 4
jne 0x401bdf
push str.File:_error__user_retry
call fcn.00406f22
pop ecx
jmp 0x401b1a
dec eax
je 0x401c22
push str.File:_error__user_abort
call fcn.00406f22
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x40169f
push dword [ebp - 0x14]
push 0xffffffffffffffe2
call fcn.00405d24
cmp dword [ebp - 0xc], 2
jne 0x401c0c
mov dword [ebp - 8], 1
push dword [ebp - 0xc]
push edi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406f22
add esp, 0xc
jmp case.0x40166b.66
push str.File:_error__user_cancel
call fcn.00406f22
inc dword [0x793028]
pop ecx
jmp 0x403036
push dword [ebp - 0x14]
push 0xffffffffffffffea
call fcn.00405d24
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
inc dword [0x793054]
push ebx
push ebx
push dword [ebp - 4]
xor esi, esi
xor eax, eax
or ecx, esi
or eax, edx
push ecx
push eax
call fcn.0040382f
dec dword [0x793054]
push edi
mov esi, edx
push esi
push eax
push str.File:_wrote__I64d_to___s_
mov dword [ebp - 0x50], eax
call fcn.00406f22
add esp, 0x10
cmp dword [ebp - 0x34], 0xffffffff
jne 0x401c89
cmp dword [ebp - 0x30], 0xffffffff
je 0x401c98
lea eax, [ebp - 0x34]
push eax
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jg case.0x40166b.66
jl 0x401cb4
cmp dword [ebp - 0x50], ebx
jae case.0x40166b.66
cmp dword [ebp - 0x50], 0xfffffffe
jne 0x401cd3
cmp esi, 0xffffffff
jne 0x401cd3
push 0xffffffffffffffe9
push edi
call fcn.00406a8d
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x401cdb
push 0xffffffffffffffee
push edi
call fcn.00406a8d
push edi
push 0x4095e4
call fcn.00406f22
pop ecx
pop ecx
push edi
mov eax, 0x200010
call fcn.00406291
jmp 0x4016a4
xor esi, esi
call fcn.004014d3
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406f22
pop ecx
pop ecx
push dword [ebp - 0x3c]
push esi
call fcn.00406335
jmp case.0x40166b.66
push 0x31
pop esi
call fcn.004014d3
mov esi, eax
push esi
push dword [ebp - 0x40]
push str.MessageBox:__d___s_
call fcn.00406f22
mov eax, dword [ebp - 0x40]
add esp, 0xc
push esi
call fcn.00406291
cmp eax, ebx
je 0x401a9f
cmp eax, dword [ebp - 0x38]
jne 0x401d55
mov eax, dword [ebp - 0x34]
jmp 0x403038
cmp eax, dword [ebp - 0x30]
jne case.0x40166b.66
mov eax, dword [ebp - 0x2c]
jmp 0x403038
push 0xfffffffffffffff0
pop esi
call fcn.004014d3
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401d07
xor esi, esi
inc esi
call fcn.004014d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
jmp 0x4017c3
push 2
pop ecx
call fcn.004014bd
push 3
pop ecx
mov dword [ebp - 0xc], eax
call fcn.004014bd
xor esi, esi
inc esi
mov dword [ebp - 4], eax
call fcn.004014d3
mov dword [ebp - 0x20], eax
mov byte [edi], bl
cmp dword [ebp - 0x38], ebx
je 0x401dbe
cmp dword [ebp - 0xc], ebx
je case.0x40166b.66
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
cmp dword [ebp - 4], ebx
jge 0x401dd5
add dword [ebp - 4], eax
js case.0x40166b.66
mov ecx, dword [ebp - 4]
cmp ecx, eax
jle 0x401dde
mov ecx, eax
mov eax, dword [ebp - 0x20]
add eax, ecx
push eax
push edi
call fcn.00406a77
cmp dword [ebp - 0xc], ebx
je case.0x40166b.66
jge 0x401e00
push edi
call esi
add dword [ebp - 0xc], eax
jns 0x401e00
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 0x400
jge case.0x40166b.66
mov eax, dword [ebp - 0xc]
mov byte [eax + edi], bl
jmp case.0x40166b.66
push 0x20
pop esi
call fcn.004014d3
push 0x31
pop esi
mov edi, eax
call fcn.004014d3
push eax
push edi
cmp dword [ebp - 0x30], ebx
jne 0x401e44
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401d4d
jmp 0x401968
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
jmp 0x401e37
xor esi, esi
inc esi
call fcn.004014d3
push 0x400
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x401e78
cmp dword [ebp - 0x38], ebx
je 0x401e81
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401e81
mov dword [ebp - 8], 1
mov byte [edi], bl
mov byte [edi + 0x3ff], bl
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014bd
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014bd
cmp dword [ebp - 0x2c], ebx
jne 0x401eb8
cmp esi, eax
jl 0x401d4d
jle 0x401968
mov eax, dword [ebp - 0x30]
jmp 0x403038
cmp esi, eax
jb 0x401d4d
jbe 0x401968
jmp 0x401eb0
xor ecx, ecx
inc ecx
call fcn.004014bd
push 2
pop ecx
mov esi, eax
call fcn.004014bd
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp eax, 0xc
ja case.default.0x401ee4
jmp dword [eax*4 + 0x403149]
add esi, ecx
jmp case.default.0x401ee4
sub esi, ecx
jmp case.default.0x401ee4
imul ecx, esi
mov esi, ecx
jmp case.default.0x401ee4
cmp ecx, ebx
je 0x401f05
mov eax, esi
cdq
idiv ecx
jmp 0x401f23
xor esi, esi
mov dword [ebp - 8], 1
jmp case.default.0x401ee4
or esi, ecx
jmp case.default.0x401ee4
and esi, ecx
jmp case.default.0x401ee4
xor esi, ecx
jmp case.default.0x401ee4
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401ee4
cmp esi, ebx
jne 0x401f2f
cmp ecx, ebx
je 0x401f38
xor esi, esi
inc esi
jmp case.default.0x401ee4
cmp esi, ebx
jne 0x401f2b
xor esi, esi
jmp case.default.0x401ee4
cmp ecx, ebx
je 0x401f05
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401ee4
shl esi, cl
jmp case.default.0x401ee4
sar esi, cl
push esi
jmp 0x4017c3
xor esi, esi
inc esi
call fcn.004014d3
push 2
pop ecx
mov esi, eax
call fcn.004014bd
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x401c1a
mov ecx, dword [ebp - 0x38]
mov esi, dword [0x40b4c0]
cmp ecx, ebx
je 0x401fdb
dec ecx
cmp esi, ebx
je 0x401f91
mov esi, dword [esi]
cmp ecx, ebx
jne 0x401f82
cmp esi, ebx
jne 0x401fae
push dword [ebp - 0x38]
push str.Exch:_stack____d_elements
call fcn.00406f22
pop ecx
pop ecx
push 0xffffffffffffffe8
push ebx
call fcn.00406a8d
push eax
jmp 0x401ce9
add esi, 4
push esi
mov edi, 0x40b500
push edi
call fcn.00406a77
mov eax, dword [0x40b4c0]
add eax, 4
push eax
push esi
call fcn.00406a77
mov eax, dword [0x40b4c0]
push edi
add eax, 4
push eax
jmp 0x402d68
cmp eax, ebx
je 0x40200a
cmp esi, ebx
jne 0x401ff3
push str.Pop:_stack_empty
call fcn.00406f22
pop ecx
jmp 0x401a9f
lea eax, [esi + 4]
push eax
push edi
call fcn.00406a77
mov eax, dword [esi]
mov dword [0x40b4c0], eax
push esi
jmp 0x402453
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.00406a8d
mov eax, dword [0x40b4c0]
mov dword [esi], eax
mov dword [0x40b4c0], esi
jmp case.0x40166b.66
push 3
pop ecx
call fcn.004014bd
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.004014bd
test byte [ebp - 0x2c], 1
mov dword [ebp - 4], eax
je 0x40205e
push 0x33
pop esi
call fcn.004014d3
mov dword [ebp - 0xc], eax
test byte [ebp - 0x2c], 2
je 0x40206f
push 0x44
pop esi
call fcn.004014d3
mov dword [ebp - 4], eax
cmp dword [ebp - 0x44], 0x21
jne 0x4020bf
xor ecx, ecx
inc ecx
call fcn.004014bd
push 2
pop ecx
mov esi, eax
call fcn.004014bd
mov ecx, dword [ebp - 0x2c]
sar ecx, 2
cmp ecx, ebx
je 0x4020af
lea edx, [ebp - 0x14]
push edx
push ecx
push ebx
push dword [ebp - 4]
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 - 8], eax
jmp 0x4020f8
push dword [ebp - 4]
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4020f5
xor esi, esi
inc esi
call fcn.004014d3
push 0x12
pop esi
mov dword [ebp - 0x20], eax
call fcn.004014d3
movsx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x20]
push ecx
movsx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x40], ebx
jl case.0x40166b.66
push dword [ebp - 0x14]
jmp 0x4017c3
xor ecx, ecx
call fcn.004014bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401968
jmp 0x40194f
push 2
pop ecx
call fcn.004014bd
xor ecx, ecx
push eax
inc ecx
call fcn.004014bd
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d87
mov ecx, dword [0x792b88]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.004014bd
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp case.0x40166b.66
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push edi
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
xor esi, esi
call fcn.004014d3
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 - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
pop ecx
call fcn.004014bd
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x40b4c4], eax
call fcn.004014bd
push dword [ebp - 0x3c]
mov dword [0x40b4d4], eax
mov al, byte [ebp - 0x30]
mov cl, al
and cl, 1
mov byte [0x40b4d8], cl
mov cl, al
and cl, 2
and al, 4
push 0x40b4e0
mov byte [0x40b4d9], cl
mov byte [0x40b4da], al
mov byte [0x40b4db], 1
call fcn.00406a8d
push 0x40b4c4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x401d87
xor ecx, ecx
call fcn.004014bd
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014bd
mov edi, eax
cmp dword [ebp - 0x38], ebx
je 0x402259
push str.HideWindow
call fcn.00406f22
pop ecx
push edi
push esi
cmp dword [ebp - 0x34], ebx
jne 0x40226b
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.004014d3
push 0x31
pop esi
mov edi, eax
call fcn.004014d3
push 0x22
pop esi
mov dword [ebp - 4], eax
call fcn.004014d3
push 0x15
pop esi
mov ebx, eax
call fcn.004014d3
push 0xffffffffffffffec
call fcn.004014ac
movsx eax, byte [ebx]
push dword [ebp - 0x34]
neg eax
sbb eax, eax
and eax, ebx
push 0x79a800
push eax
movsx eax, byte [edi]
push dword [ebp - 4]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x4022e8
push eax
push ebx
push dword [ebp - 4]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406f22
add esp, 0x14
jmp 0x401a9f
push ebx
push dword [ebp - 4]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406f22
add esp, 0x10
jmp case.0x40166b.66
xor esi, esi
call fcn.004014d3
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406f22
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405d24
push esi
call fcn.00406235
mov dword [ebp - 4], eax
push esi
cmp eax, ebx
je 0x40238d
push str.Exec:_success____s__
call fcn.00406f22
pop ecx
pop ecx
cmp dword [ebp - 0x38], ebx
je 0x402385
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40234c
push 0xf
pop esi
call fcn.00406fac
push 0x64
push dword [ebp - 4]
call edi
cmp eax, 0x102
je 0x402344
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x3c], ebx
jl 0x402379
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.004069da
jmp 0x402385
cmp dword [ebp - 0x1c], ebx
je 0x402385
mov dword [ebp - 8], 1
push dword [ebp - 4]
jmp 0x402b76
push str.Exec:_failed_createprocess____s__
jmp 0x4019de
push 2
pop esi
call fcn.004014d3
push eax
call fcn.00406f52
mov esi, eax
cmp esi, ebx
je 0x4023be
push dword [esi + 0x14]
push dword [ebp - 0x14]
call fcn.004069da
push dword [esi + 0x18]
jmp 0x4017c3
mov eax, dword [ebp - 0x14]
mov byte [edi], bl
mov byte [eax], bl
jmp 0x401a9f
push 0xffffffffffffffee
pop esi
call fcn.004014d3
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x20], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, dword [ebp - 0x14]
mov byte [edi], bl
mov byte [eax], bl
mov dword [ebp - 8], 1
cmp esi, ebx
je case.0x40166b.66
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp eax, ebx
je case.0x40166b.66
push eax
push esi
push ebx
push dword [ebp - 0x20]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402450
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x409714
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402450
mov eax, dword [ebp - 0x1c]
push dword [eax + 8]
push edi
call fcn.004069da
mov eax, dword [ebp - 0x1c]
push dword [eax + 0xc]
push dword [ebp - 0x14]
call fcn.004069da
mov dword [ebp - 8], ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40166b.66
cmp dword [0x793058], ebx
mov dword [ebp - 8], 1
jl 0x402551
push 0xfffffffffffffff0
pop esi
call fcn.004014d3
xor esi, esi
inc esi
mov edi, eax
call fcn.004014d3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], ebx
je 0x402499
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x4024ae
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40253f
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4024fd
mov dword [ebp - 8], ebx
cmp dword [ebp - 0x38], ebx
je 0x4024df
push dword [ebp - 0x38]
call fcn.004014ac
call esi
test eax, eax
je 0x402518
mov dword [ebp - 8], 1
jmp 0x402518
push 0x40b090
push 0x40b4c0
push section..ndata
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x402518
push dword [ebp - 0x14]
push 0xfffffffffffffff7
call fcn.00405d24
push edi
push dword [ebp - 0x14]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406f22
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jne case.0x40166b.66
push dword [ebp - 4]
call fcn.0040459c
test eax, eax
je case.0x40166b.66
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40166b.66
push 0xfffffffffffffff6
call fcn.004014ac
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4019e5
push 0xffffffffffffffe7
call fcn.004014ac
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401834
push 0xfffffffffffffff0
pop esi
call fcn.004014d3
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x48], eax
call fcn.004014d3
push 2
pop esi
mov edi, eax
call fcn.004014d3
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0xc], eax
call fcn.004014d3
push 0x45
pop esi
mov dword [ebp - 0x1c], eax
call fcn.004014d3
mov edx, edi
mov dword [ebp - 0x4c], eax
call fcn.004065af
test eax, eax
jne 0x4025ab
push 0x21
pop esi
call fcn.004014d3
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 - 0x1c]
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x48]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406f22
add esp, 0x20
lea eax, [ebp - 0x14]
push eax
push 0x4092dc
push 1
push ebx
push 0x4092ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4026d4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x4092fc
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x4026c6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x79a800
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x40264a
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 - 0x1c]
cmp byte [eax], bl
je 0x40266e
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 - 0xc]
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 - 4], ebx
jl 0x4026bd
push 0x400
mov esi, 0x40c900
push esi
push 0xffffffffffffffff
push dword [ebp - 0x48]
mov dword [ebp - 4], 0x80004005
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4026bd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
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 - 4], ebx
jge 0x4026e2
mov dword [ebp - 8], 1
push 0xfffffffffffffff0
jmp 0x401921
push 0xfffffffffffffff4
jmp 0x401921
xor esi, esi
call fcn.004014d3
push 0x11
pop esi
mov edi, eax
call fcn.004014d3
push 0x23
pop esi
mov dword [ebp - 4], eax
call fcn.004014d3
push dword [ebp - 4]
mov dword [ebp - 0x4c], eax
push edi
push str.CopyFiles___s_____s_
call fcn.00406f22
add esp, 0xc
push edi
call fcn.00406f52
test eax, eax
jne 0x402730
push ebx
push 0xfffffffffffffff9
call fcn.00405d24
jmp 0x401a9f
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 2
call esi
push dword [ebp - 4]
mov byte [eax + edi + 1], bl
call esi
mov ecx, dword [ebp - 4]
mov byte [eax + ecx + 1], bl
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], ecx
mov cx, word [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x5e], eax
mov word [ebp - 0x68], cx
call fcn.00405d24
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je case.0x40166b.66
jmp 0x402723
cmp esi, 0xbadf00d
jne 0x401fa0
inc dword [0x793034]
jmp case.0x40166b.66
push str._RM_
mov edi, 0x40b900
push edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x20], ebx
call fcn.00406a77
push edi
push 0x40bd00
call fcn.00406a77
cmp dword [ebp - 0x40], ebx
je 0x4027cc
xor esi, esi
call fcn.004014d3
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], ebx
je 0x4027dc
push 0x11
pop esi
call fcn.004014d3
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], ebx
je 0x4027eb
push 0x22
pop esi
call fcn.004014d3
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.004014d3
mov esi, eax
push esi
push 0x40bd00
push edi
push 0x40b500
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406f22
add esp, 0x14
push esi
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x401a97
push 0xa
pop eax
xor esi, esi
inc esi
mov word [ebp - 0x14], ax
call fcn.004014d3
push 0x12
pop esi
mov dword [ebp - 0x20], eax
call fcn.004014d3
push 0xffffffffffffffdd
pop esi
mov dword [ebp - 0x4c], eax
call fcn.004014d3
push eax
push 0x3ff
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [edi], 0xa
jmp 0x401a75
call fcn.00406e50
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], ebx
jne 0x4028b7
push 2
call fcn.004015c2
mov edi, eax
cmp edi, ebx
je 0x401a9f
push 0x33
pop esi
call fcn.004014d3
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push 0x40bd00
push dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406f22
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4028f4
push 0x22
pop esi
call fcn.004014d3
mov esi, eax
push esi
push dword [ebp - 0x20]
push str.DeleteRegKey:___s_s_
call fcn.00406f22
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp eax, ebx
jne 0x4028e3
mov eax, dword [0x793024]
add eax, 0x80000001
mov ecx, dword [ebp - 0x30]
and ecx, 2
push ecx
push esi
push eax
call fcn.0040150b
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], ebx
je case.0x40166b.66
jmp 0x401a9f
cmp esi, ebx
je 0x40290a
mov edi, esi
jmp 0x402916
mov edi, dword [0x793024]
add edi, 0x80000001
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
push 2
pop esi
mov dword [ebp - 0x20], eax
call fcn.004014d3
push 0x11
pop esi
mov dword [ebp - 0x14], eax
call fcn.004014d3
mov dword [ebp - 0xc], eax
mov eax, edi
call fcn.00406e50
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x793050]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 8], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402a77
xor esi, esi
cmp dword [ebp - 0x1c], 1
mov edi, 0x40bd00
jne 0x4029bb
push 0x23
pop esi
call fcn.004014d3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0xc]
inc esi
cmp dword [ebp - 0x20], 1
push dword [ebp - 4]
jne 0x4029ae
push str.WriteRegStr:___s_s____s___s_
call fcn.00406f22
add esp, 0x14
jmp 0x402a38
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406f22
add esp, 0x14
cmp dword [ebp - 0x1c], 4
jne 0x4029e8
push 3
pop ecx
call fcn.004014bd
push 4
pop esi
push eax
push dword [ebp - 0x14]
mov dword [0x40bd00], eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406f22
add esp, 0x14
cmp dword [ebp - 0x1c], 3
jne 0x402a38
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
push 0xc00
push edi
push ebx
xor esi, esi
xor eax, eax
or ecx, esi
or eax, edx
push ecx
push eax
call fcn.0040382f
mov esi, eax
lea eax, [ebp - 0xf8]
push edi
push eax
mov eax, esi
call fcn.00406eb0
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 4]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406f22
add esp, 0x1c
push esi
push edi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402a53
mov dword [ebp - 8], ebx
jmp 0x402a69
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 4]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406f22
add esp, 0x10
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40166b.66
push dword [ebp - 0xc]
push dword [ebp - 4]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401c15
push 0x20019
call fcn.004015c2
push 0x33
pop esi
mov dword [ebp - 4], eax
call fcn.004014d3
mov byte [edi], bl
cmp dword [ebp - 4], ebx
je 0x401a9f
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 4]
mov dword [ebp - 0x4c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402afd
cmp dword [ebp - 0x1c], 4
je 0x402ae8
cmp dword [ebp - 0x1c], ecx
je 0x402ada
cmp dword [ebp - 0x1c], 2
jne 0x402afd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov byte [edi + 0x3ff], bl
jmp 0x402b02
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x30], ebx
push edi
sete al
mov dword [ebp - 8], eax
call fcn.004069da
jmp 0x402b02
mov byte [edi], bl
mov dword [ebp - 8], ecx
push dword [ebp - 4]
jmp 0x402a6c
push 0x20019
call fcn.004015c2
push 3
pop ecx
mov esi, eax
call fcn.004014bd
mov byte [edi], bl
cmp esi, ebx
je 0x401a9f
mov ecx, 0x3ff
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x30], ebx
je 0x402b41
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402b5a
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
jne 0x401a9f
mov byte [edi + 0x3ff], bl
push esi
jmp 0x402a6c
cmp byte [edi], bl
je case.0x40166b.66
mov ecx, edi
call fcn.004069f3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40166b.66
push 0xffffffffffffffed
pop esi
call fcn.004014d3
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.00406737
cmp eax, 0xffffffff
jne 0x401d87
mov byte [edi], bl
jmp 0x401a9f
cmp dword [ebp - 0x38], ebx
je 0x402bbc
xor ecx, ecx
inc ecx
call fcn.004014bd
mov byte [0x40b900], al
xor eax, eax
inc eax
jmp 0x402bcb
push 0x11
pop esi
call fcn.004014d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi], bl
je 0x401a9f
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 0x40b900
mov ecx, edi
call fcn.004069f3
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401a97
push 2
pop ecx
xor esi, esi
call fcn.004014bd
cmp eax, 1
mov dword [ebp - 0x1c], eax
jl case.0x40166b.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402c13
mov dword [ebp - 0x1c], ecx
cmp byte [edi], bl
je 0x402caa
mov ecx, edi
mov byte [ebp - 0x21], bl
call fcn.004069f3
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], eax
jle 0x402caa
mov edi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402cad
cmp dword [ebp - 0x4c], 1
jne 0x402cad
cmp dword [ebp - 0x34], ebx
jne 0x402c74
cmp byte [ebp - 0x21], 0xd
je 0x402c84
cmp byte [ebp - 0x21], 0xa
je 0x402c84
mov al, byte [ebp - 0x11]
mov byte [esi + edi], al
inc esi
mov byte [ebp - 0x21], al
cmp al, bl
je 0x402cad
cmp esi, dword [ebp - 0x1c]
jl 0x402c30
jmp 0x402cad
movzx eax, byte [ebp - 0x11]
push eax
push edi
call fcn.004069da
jmp 0x403036
mov al, byte [ebp - 0x11]
cmp byte [ebp - 0x21], al
je 0x402c9a
cmp al, 0xd
je 0x402c94
cmp al, 0xa
jne 0x402c9a
mov byte [esi + edi], al
inc esi
jmp 0x402cad
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402cad
mov edi, dword [ebp - 0x14]
mov byte [esi + edi], bl
cmp esi, ebx
jmp 0x401a99
cmp byte [edi], bl
je case.0x40166b.66
push dword [ebp - 0x34]
push ebx
push 2
pop ecx
call fcn.004014bd
push eax
mov ecx, edi
call fcn.004069f3
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x3c], ebx
jl case.0x40166b.66
push eax
push dword [ebp - 0x14]
jmp 0x4017c4
cmp byte [edi], bl
je case.0x40166b.66
mov ecx, edi
call fcn.004069f3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40166b.66
mov eax, dword [ebp - 0x14]
cmp byte [eax], bl
je 0x401a7b
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x238]
push eax
call fcn.004069f3
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x401a7b
jmp 0x402d60
push 2
pop esi
call fcn.004014d3
lea ecx, [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x402d57
mov eax, dword [ebp - 0x14]
mov byte [eax], bl
jmp 0x402b9e
push eax
push dword [ebp - 0x14]
call fcn.004069da
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00406a77
jmp case.0x40166b.66
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 0x18], 0xfffffd66
or edi, 0xffffffff
call fcn.004014d3
mov edx, eax
mov dword [ebp - 0xc], edx
call fcn.004065af
test eax, eax
jne 0x402d9a
push 0xffffffffffffffed
pop esi
call fcn.004014d3
push dword [ebp - 0xc]
call fcn.00406711
push 2
push 0x40000000
push dword [ebp - 0xc]
call fcn.00406737
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x402e8f
mov eax, dword [0x792fc4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x20], eax
call esi
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x402e86
push 3
push 0x80000000
push 0x79bc00
call fcn.00406737
push ebx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 4]
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 0x402e56
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
push esi
xor edi, edi
push ebx
xor eax, eax
or ecx, edi
or eax, edx
push ecx
push eax
call fcn.0040382f
jmp 0x402e49
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
add esi, 8
add eax, ecx
push edi
mov ecx, esi
call fcn.004066f4
add esi, edi
cmp byte [esi], bl
jne 0x402e32
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0040382f
mov dword [ebp - 0x18], eax
mov edi, edx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x18]
push str.created_uninstaller:__I64d____s_
call fcn.00406f22
add esp, 0x10
cmp edi, ebx
push 0xfffffffffffffff3
pop esi
jg 0x402ec4
jl 0x402eb1
cmp dword [ebp - 0x18], ebx
jae 0x402ec4
push 0xffffffffffffffef
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], 1
push esi
jmp 0x401921
cmp esi, ebx
je 0x402f0a
push eax
push str.settings_logging_to__d
call fcn.00406f22
mov eax, dword [ebp - 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x790ee8], eax
call fcn.00406f22
add esp, 0x10
cmp dword [ebp - 0x3c], ebx
je 0x402efe
call fcn.0040474b
jmp case.0x40166b.66
push 1
call fcn.00406db1
jmp case.0x40166b.66
xor esi, esi
inc esi
call fcn.004014d3
push eax
push 0x4095e4
jmp 0x4019e5
xor ecx, ecx
call fcn.004014bd
mov edi, eax
cmp edi, dword [0x792b6c]
jae 0x401a9f
mov eax, dword [ebp - 0x38]
mov esi, edi
imul esi, esi, 0x418
add esi, dword [0x792b68]
cmp eax, ebx
jl 0x402f5e
mov ecx, dword [esi + eax*4]
jne 0x402f58
add esi, 0x18
push esi
push dword [ebp - 0x14]
jmp 0x402d68
push ecx
jmp 0x402ce4
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x38], ecx
je 0x402f75
xor ecx, ecx
inc ecx
call fcn.004014bd
mov dword [ebp - 0x3c], eax
jmp 0x402f88
push dword [ebp - 0x30]
lea eax, [esi + 0x18]
push eax
call fcn.00406a8d
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x34], ebx
je case.0x40166b.66
mov ecx, edi
call fcn.004011ac
jmp case.0x40166b.66
xor ecx, ecx
call fcn.004014bd
cmp eax, 0x20
jae 0x401a9f
cmp dword [ebp - 0x34], ebx
je 0x402fdb
cmp dword [ebp - 0x38], ebx
je 0x402fd0
mov ecx, eax
call fcn.004012c6
push ebx
push ebx
call fcn.00401218
jmp case.0x40166b.66
push ebx
call fcn.0040130b
jmp 0x402ce3
cmp dword [ebp - 0x38], ebx
je 0x402ff2
mov ecx, dword [ebp - 0x3c]
mov edx, dword [0x792b4c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40166b.66
mov ecx, dword [0x792b4c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x14]
call fcn.00406a8d
jmp case.0x40166b.66
mov eax, dword [0x790b7c]
push ebx
and eax, esi
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x40], ebx
je case.0x40166b.66
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 8]
add dword [0x793028], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret