Function at 0x40159f
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, 0x3b0
mov eax, dword [0x466dd4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop ecx
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov esi, edx
mov edi, ecx
imul esi, esi, 0x4008
imul edi, edi, 0x4008
mov dword [ebp - 0xc], eax
mov eax, section..ndata
add esi, eax
add edi, eax
lea eax, [ebp - 0x30]
mov dword [0x40b0c4], eax
mov eax, dword [ebp - 0x34]
xor ebx, ebx
add eax, 0xfffffffe
mov dword [ebp - 4], ebx
cmp eax, 0x47
ja case.0x4015f9.70
jmp dword [eax*4 + 0x40311b]
push edx
push str.Jump:__d
call fcn.00406476
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
jmp 0x403114
push ebx
call fcn.0040145c
push eax
push str.Aborting:___s_
call fcn.00406476
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.00405145
mov eax, 0x7fffffff
jmp 0x403114
inc dword [0x45ed94]
cmp dword [ebp - 0xc], ebx
je 0x401631
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401631
push edx
call fcn.0040137e
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406476
pop ecx
pop ecx
push ebx
push esi
call fcn.0040139d
jmp 0x403114
push ebx
call fcn.0040145c
push eax
push str.detailprint:__s
call fcn.00406476
pop ecx
pop ecx
push ebx
push dword [ebp - 0x30]
call fcn.00405145
jmp case.0x4015f9.70
xor ecx, ecx
call fcn.00401446
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406476
pop ecx
pop ecx
cmp esi, 1
jg 0x4016b0
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f9.70
push str.BringToFront
call fcn.00406476
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f9.70
mov eax, edx
cmp dword [ebp - 0x28], ebx
jne 0x401701
mov ecx, dword [eax*4 + 0x466e80]
mov dword [eax*4 + 0x466e40], ecx
xor ecx, ecx
inc ecx
call fcn.00401446
mov ecx, dword [ebp - 0x30]
mov dword [ecx*4 + 0x466e80], eax
jmp case.0x4015f9.70
mov ecx, dword [eax*4 + 0x466e40]
mov dword [eax*4 + 0x466e80], ecx
jmp case.0x4015f9.70
mov esi, dword [ebp - 0x28]
lea esi, [esi*4 + 0x466e80]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x24]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x30]
jmp 0x403114
push dword [ecx*4 + 0x466e80]
jmp 0x403103
mov eax, dword [0x45eda0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x401757
push ecx
push eax
call esi
mov edx, dword [ebp - 0x30]
mov eax, dword [0x45ed8c]
cmp eax, ebx
je case.0x4015f9.70
push edx
push eax
call esi
jmp case.0x4015f9.70
push 0xfffffffffffffff0
call fcn.0040145c
push dword [ebp - 0x2c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406476
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f9.70
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406476
pop ecx
jmp case.0x4015f9.70
push 0xfffffffffffffff0
call fcn.0040145c
push dword [ebp - 0x2c]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.00406476
add esp, 0xc
push dword [ebp + 8]
call fcn.00405f2c
mov esi, eax
cmp esi, ebx
je 0x401863
push 0x5c
push esi
call fcn.00405ed9
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
xor eax, eax
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401845
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401826
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406476
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401854
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401854
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406476
inc dword [ebp - 4]
jmp 0x401852
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.00406476
pop ecx
pop ecx
mov word [esi], di
add esi, 2
cmp di, bx
jne 0x4017dd
push 0x40f0d0
cmp dword [ebp - 0x2c], ebx
je 0x40188f
push 0xffffffffffffffe6
call fcn.00405145
push dword [ebp + 8]
push 0x4bf0b0
call fcn.004061dc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f9.70
push 0xfffffffffffffff5
jmp 0x401688
push ebx
call fcn.0040145c
mov esi, eax
push esi
call fcn.004064a8
test eax, eax
je 0x4018c1
push dword [ebp - 0x2c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406476
add esp, 0xc
mov eax, dword [ebp - 0x2c]
jmp 0x403114
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406476
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x403114
push 0xffffffffffffffd0
call fcn.0040145c
push 0xffffffffffffffdf
mov esi, eax
call fcn.0040145c
push 0x13
mov dword [ebp + 8], eax
call fcn.0040145c
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406476
pop ecx
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40191d
push 0x40f0d0
push 0xffffffffffffffe3
jmp 0x401688
cmp dword [ebp - 0x28], ebx
je 0x401949
push esi
call fcn.004064a8
test eax, eax
je 0x401949
push dword [ebp + 8]
push esi
call fcn.00406e3b
push 0x40f0d0
push 0xffffffffffffffe4
call fcn.00405145
push edi
push str.Rename_on_reboot:__s
jmp 0x401956
push edi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406476
pop ecx
jmp 0x4017aa
push ebx
call fcn.0040145c
lea ecx, [ebp - 0x10]
push ecx
push edi
mov esi, 0x2004
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4019a7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jbe 0x4019b3
cmp word [eax], bx
je 0x4019b3
push dword [ebp + 8]
call fcn.004064a8
cmp eax, ebx
je 0x4019a7
add eax, 0x2c
push eax
push dword [ebp - 0x10]
call fcn.004061dc
jmp 0x4019b3
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], ebx
jne case.0x4015f9.70
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f9.70
push 0xffffffffffffffff
call fcn.0040145c
lea ecx, [ebp + 8]
push ecx
push esi
push 0x2004
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f9.70
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi], ax
jmp case.0x4015f9.70
push 0xffffffffffffffef
call fcn.0040145c
push eax
push esi
call fcn.00406052
test eax, eax
jne case.0x4015f9.70
mov dword [ebp - 4], 1
jmp case.0x4015f9.70
push 0x31
call fcn.0040145c
mov esi, eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
sar eax, 3
push esi
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 8], esi
mov dword [ebp + 8], ecx
call fcn.00406476
add esp, 0x10
push esi
call fcn.00405ef8
push esi
mov esi, 0x40b0c8
test eax, eax
je 0x401a64
push esi
call fcn.004061dc
jmp 0x401a7b
push 0x4bf0b0
push esi
call fcn.004061dc
push eax
call fcn.004068f5
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040620b
mov edi, 0x4130d8
cmp dword [ebp + 8], 3
jl 0x401abd
push esi
call fcn.004064a8
xor ecx, ecx
cmp eax, ebx
je 0x401aa8
lea ecx, [ebp - 0x24]
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], ebx
jne 0x401ac8
push esi
call fcn.00406003
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406023
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x401ba9
cmp dword [ebp + 8], ebx
jne 0x401b66
push esi
push str.File:_error_creating___s_
call fcn.00406476
pop ecx
pop ecx
push section..ndata
push edi
call fcn.004061dc
push esi
push section..ndata
call fcn.004061dc
push dword [ebp - 0x1c]
push 0x40f0d0
call fcn.004069d8
push edi
push section..ndata
call fcn.004061dc
mov eax, dword [ebp - 0x30]
sar eax, 3
push eax
push 0x40f0d0
call fcn.00405e73
sub eax, 4
jne 0x401b50
push str.File:_error__user_retry
call fcn.00406476
pop ecx
jmp 0x401a86
dec eax
je 0x401b93
push str.File:_error__user_abort
call fcn.00406476
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x40162c
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405145
cmp dword [ebp + 8], 2
jne 0x401b7d
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406476
add esp, 0xc
jmp case.0x4015f9.70
push str.File:_error__user_cancel
call fcn.00406476
inc dword [0x466e88]
pop ecx
jmp 0x403112
mov eax, dword [0x40b0c4]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push dword [eax + 0x18]
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405145
inc dword [0x466eb4]
push ebx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call fcn.004035c1
dec dword [0x466eb4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406476
add esp, 0xc
cmp dword [ebp - 0x24], 0xffffffff
jne 0x401c0f
cmp dword [ebp - 0x20], 0xffffffff
je 0x401c1e
lea eax, [ebp - 0x24]
push eax
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f9.70
cmp edi, 0xfffffffe
jne 0x401c47
push 0xffffffffffffffe9
push esi
call fcn.004069d8
push dword [ebp - 8]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c4f
push 0xffffffffffffffee
push esi
call fcn.004069d8
push esi
push 0x408a94
call fcn.00406476
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405e73
jmp 0x401631
push ebx
call fcn.0040145c
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406476
pop ecx
pop ecx
push dword [ebp - 0x2c]
push esi
call fcn.00406e6e
jmp case.0x4015f9.70
push 0x31
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp - 0x30]
push str.MessageBox:__d___s_
call fcn.00406476
add esp, 0xc
push dword [ebp - 0x30]
push esi
call fcn.00405e73
cmp eax, ebx
je 0x401a13
cmp eax, dword [ebp - 0x28]
jne 0x401cc7
mov eax, dword [ebp - 0x24]
jmp 0x403114
cmp eax, dword [ebp - 0x20]
jne case.0x4015f9.70
mov eax, dword [ebp - 0x1c]
jmp 0x403114
push 0xfffffffffffffff0
call fcn.0040145c
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c7a
push 1
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x403102
push 2
pop ecx
call fcn.00401446
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401446
push 1
mov edi, eax
call fcn.0040145c
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov word [esi], cx
cmp dword [ebp - 0x28], ebx
je 0x401d2d
cmp dword [ebp + 8], ebx
je case.0x4015f9.70
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x401d3f
add edi, eax
js case.0x4015f9.70
cmp edi, eax
jle 0x401d45
mov edi, eax
mov eax, dword [ebp - 0x48]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.004061dc
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x4015f9.70
jge 0x401d6b
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x401d6b
mov edi, ebx
cmp edi, 0x2004
jge case.0x4015f9.70
xor eax, eax
mov word [esi + edi*2], ax
jmp case.0x4015f9.70
push 0x20
call fcn.0040145c
push 0x31
mov esi, eax
call fcn.0040145c
push eax
push esi
cmp dword [ebp - 0x20], ebx
jne 0x401dac
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401cbf
jmp 0x4018d2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d9f
push 1
call fcn.0040145c
push 0x2004
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401ddf
cmp dword [ebp - 0x28], ebx
je 0x401deb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401deb
xor eax, eax
mov dword [ebp - 4], 1
mov word [esi], ax
xor eax, eax
mov word [esi + 0x4006], ax
jmp case.0x4015f9.70
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
cmp dword [ebp - 0x1c], ebx
jne 0x401e25
cmp esi, eax
jl 0x401cbf
jle 0x4018d2
mov eax, dword [ebp - 0x20]
jmp 0x403114
cmp esi, eax
jb 0x401cbf
jbe 0x4018d2
jmp 0x401e1d
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov edi, eax
call fcn.00401446
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, 0xc
ja case.default.0x401e51
jmp dword [eax*4 + 0x40323b]
add edi, ecx
jmp case.default.0x401e51
sub edi, ecx
jmp case.default.0x401e51
imul edi, ecx
jmp case.default.0x401e51
cmp ecx, ebx
je 0x401e70
mov eax, edi
cdq
idiv ecx
jmp 0x401e8e
xor edi, edi
mov dword [ebp - 4], 1
jmp case.default.0x401e51
or edi, ecx
jmp case.default.0x401e51
and edi, ecx
jmp case.default.0x401e51
xor edi, ecx
jmp case.default.0x401e51
xor eax, eax
cmp edi, ebx
sete al
mov edi, eax
jmp case.default.0x401e51
cmp edi, ebx
jne 0x401e9a
cmp ecx, ebx
je 0x401ea3
xor edi, edi
inc edi
jmp case.default.0x401e51
cmp edi, ebx
jne 0x401e96
xor edi, edi
jmp case.default.0x401e51
cmp ecx, ebx
je 0x401e70
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x401e51
shl edi, cl
jmp case.default.0x401e51
sar edi, cl
push edi
jmp 0x403103
push 1
call fcn.0040145c
push 2
pop ecx
mov edi, eax
call fcn.00401446
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401b8b
mov eax, dword [ebp - 0x28]
mov edi, dword [0x40b0c0]
cmp eax, ebx
je 0x401f4a
dec eax
cmp edi, ebx
je 0x401efb
mov edi, dword [edi]
cmp eax, ebx
jne 0x401eec
cmp edi, ebx
jne 0x401f1d
push dword [ebp - 0x28]
push str.Exch:_stack____d_elements
call fcn.00406476
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004069d8
push eax
jmp 0x401c62
add edi, 4
push edi
mov esi, 0x40b0c8
push esi
call fcn.004061dc
mov eax, dword [0x40b0c0]
add eax, 4
push eax
push edi
call fcn.004061dc
mov eax, dword [0x40b0c0]
push esi
add eax, 4
push eax
jmp 0x402e71
cmp ecx, ebx
je 0x401f79
cmp edi, ebx
jne 0x401f62
push str.Pop:_stack_empty
call fcn.00406476
pop ecx
jmp 0x401a13
lea eax, [edi + 4]
push eax
push esi
call fcn.004061dc
mov eax, dword [edi]
mov dword [0x40b0c0], eax
push edi
jmp 0x4023ad
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004069d8
mov eax, dword [0x40b0c0]
mov dword [esi], eax
mov dword [0x40b0c0], esi
jmp case.0x4015f9.70
push 3
pop ecx
call fcn.00401446
push 4
pop ecx
mov dword [ebp - 0x3c], eax
call fcn.00401446
test byte [ebp - 0x1c], 1
mov dword [ebp + 8], eax
je 0x401fcc
push 0x33
call fcn.0040145c
mov dword [ebp - 0x3c], eax
test byte [ebp - 0x1c], 2
je 0x401fdc
push 0x44
call fcn.0040145c
mov dword [ebp + 8], eax
cmp dword [ebp - 0x34], 0x21
jne 0x40202c
xor ecx, ecx
inc ecx
call fcn.00401446
push 2
pop ecx
mov edi, eax
call fcn.00401446
mov ecx, dword [ebp - 0x1c]
sar ecx, 2
cmp ecx, ebx
je 0x40201c
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40205f
push dword [ebp + 8]
push dword [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40205c
push 1
call fcn.0040145c
push 0x12
mov edi, eax
call fcn.0040145c
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [edi]
neg eax
push ecx
sbb eax, eax
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x30], ebx
jl case.0x4015f9.70
push dword [ebp - 8]
jmp 0x403103
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018d2
jmp 0x4018b9
push 2
pop ecx
call fcn.00401446
xor ecx, ecx
push eax
inc ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x403102
mov eax, dword [0x466e08]
add eax, ecx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401446
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f9.70
push ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x28]
push 0x10
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x28]
push eax
push ebx
push ebx
call fcn.0040145c
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015f9.70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f9.70
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.00401446
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41f0f0], eax
call fcn.00401446
push dword [ebp - 0x2c]
mov dword [0x41f100], eax
mov al, byte [ebp - 0x20]
mov cl, al
and cl, 1
mov byte [0x41f104], cl
mov cl, al
and cl, 2
and al, 4
push 0x41f10c
mov byte [0x41f105], cl
mov byte [0x41f106], al
mov byte [0x41f107], 1
call fcn.004069d8
push 0x41f0f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x403102
xor ecx, ecx
call fcn.00401446
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401446
mov edi, eax
cmp dword [ebp - 0x28], ebx
je 0x4021be
push str.HideWindow
call fcn.00406476
pop ecx
push edi
push esi
cmp dword [ebp - 0x24], ebx
jne 0x4021d0
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f9.70
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f9.70
push ebx
call fcn.0040145c
push 0x31
mov esi, eax
call fcn.0040145c
push 0x22
mov ebx, eax
call fcn.0040145c
push 0x15
mov edi, eax
call fcn.0040145c
push 0x40f0d0
push 0xffffffffffffffec
call fcn.00405145
movzx eax, word [edi]
push dword [ebp - 0x24]
neg eax
sbb eax, eax
and eax, edi
push 0x4bf0b0
push eax
movzx eax, word [esi]
neg eax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402249
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406476
add esp, 0x14
jmp 0x401a13
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406476
add esp, 0x10
jmp case.0x4015f9.70
push ebx
call fcn.0040145c
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406476
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405145
push esi
call fcn.00405e12
mov dword [ebp + 8], eax
push esi
cmp eax, ebx
je 0x4022e8
push str.Exec:_success____s__
call fcn.00406476
pop ecx
pop ecx
cmp dword [ebp - 0x28], ebx
je 0x4022e0
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4022a9
push 0xf
call fcn.00406505
push 0x64
push dword [ebp + 8]
call esi
cmp eax, 0x102
je 0x4022a2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x2c], ebx
jl 0x4022d4
push dword [ebp - 0x10]
push edi
call fcn.00406124
jmp 0x4022e0
cmp dword [ebp - 0x10], ebx
je 0x4022e0
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402b18
push str.Exec:_failed_createprocess____s__
jmp 0x40194f
push 2
call fcn.0040145c
push eax
call fcn.004064a8
cmp eax, ebx
je 0x402316
mov ebx, eax
push dword [ebx + 0x14]
push edi
call fcn.00406124
push dword [ebx + 0x18]
jmp 0x403103
xor eax, eax
mov word [esi], ax
mov word [edi], ax
jmp 0x401a13
push 0xffffffffffffffee
call fcn.0040145c
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x48], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor ecx, ecx
mov word [esi], cx
mov dword [ebp - 0x10], eax
mov word [edi], cx
mov dword [ebp - 4], 1
cmp eax, ebx
je case.0x4015f9.70
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 8], eax
cmp eax, ebx
je case.0x4015f9.70
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x48]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4023aa
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 8]
push eax
push 0x408848
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4023aa
mov eax, dword [ebp - 8]
push dword [eax + 8]
push esi
call fcn.00406124
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push edi
call fcn.00406124
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f9.70
push 0x11
call fcn.0040145c
push 0x2004
mov edi, eax
push esi
push edi
call fcn.004073cb
add esp, 0xc
test eax, eax
jne 0x4023db
mov dword [ebp - 4], 1
push esi
push edi
push str.GetTTFVersionString__s__returned__s
jmp 0x401b86
push 0x11
call fcn.0040145c
push 0x2004
mov edi, eax
push esi
push edi
call fcn.0040743d
add esp, 0xc
test eax, eax
jne 0x40240a
mov dword [ebp - 4], 1
push esi
push edi
push str.GetTTFFontName__s__returned__s
jmp 0x401b86
mov dword [ebp - 4], 1
cmp dword [0x466eb8], ebx
jl 0x40250b
push 0xfffffffffffffff0
call fcn.0040145c
push 1
mov edi, eax
call fcn.0040145c
mov dword [ebp - 8], eax
cmp dword [ebp - 0x20], ebx
je 0x40244f
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x402464
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x4024f4
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00406538
mov esi, eax
cmp esi, ebx
je 0x4024b2
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x28], ebx
je 0x402494
push dword [ebp - 0x28]
call fcn.00401435
call esi
test eax, eax
je 0x4024cd
mov dword [ebp - 4], 1
jmp 0x4024cd
push section..data
push 0x40b0c0
push section..ndata
push 0x2004
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x4024cd
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00405145
push edi
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406476
add esp, 0xc
cmp dword [ebp - 0x24], ebx
jne case.0x4015f9.70
push dword [ebp + 8]
call fcn.00403e8b
test eax, eax
je case.0x4015f9.70
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f9.70
push 0x40f0d0
push 0xfffffffffffffff6
call fcn.00405145
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401956
push 0x40f0d0
push 0xffffffffffffffe7
call fcn.00405145
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4017a5
push 0xfffffffffffffff0
call fcn.0040145c
push 0xffffffffffffffdf
mov dword [ebp - 0xc], eax
call fcn.0040145c
push 2
mov edi, eax
call fcn.0040145c
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.0040145c
push 0x45
mov dword [ebp - 0x10], eax
call fcn.0040145c
push edi
mov dword [ebp - 0x48], eax
call fcn.00405ef8
test eax, eax
jne 0x402563
push 0x21
call fcn.0040145c
mov eax, dword [ebp - 0x20]
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 - 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406476
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409b44
push 1
push ebx
push 0x409b64
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40266c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x409b54
push eax
call dword [ecx]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jl 0x40265e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4bf0b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x402602
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x10]
cmp word [eax], bx
je 0x402627
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edi, esi
push edi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x3c], ebx
jl 0x402655
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 1
push dword [ebp - 0xc]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
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]
cmp dword [ebp - 0x3c], ebx
jge 0x40267f
push 0x40f0d0
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401688
push 0x40f0d0
push 0xfffffffffffffff4
jmp 0x401688
push ebx
call fcn.0040145c
push 0x11
mov esi, eax
call fcn.0040145c
push 0x23
mov edi, eax
call fcn.0040145c
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp + 8], eax
call fcn.00406476
add esp, 0xc
push esi
call fcn.004064a8
test eax, eax
jne 0x4026cc
push ebx
push 0xfffffffffffffff9
call fcn.00405145
jmp 0x401a13
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [edi + eax*2 + 2], cx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x46], eax
mov word [ebp - 0x50], cx
call fcn.00405145
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f9.70
jmp 0x4026bf
cmp edx, 0xbadf00d
jne 0x401f0a
inc dword [0x466e94]
jmp case.0x4015f9.70
push str._RM_
mov esi, 0x40f0d0
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
call fcn.004061dc
push esi
mov edi, 0x4130d8
push edi
call fcn.004061dc
cmp dword [ebp - 0x30], ebx
je 0x40276c
push ebx
call fcn.0040145c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x2c], ebx
je 0x40277b
push 0x11
call fcn.0040145c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x20], ebx
je 0x40278a
push 0x22
call fcn.0040145c
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.0040145c
mov ebx, eax
push ebx
push edi
push esi
push 0x40b0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406476
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a0b
mov eax, dword [0x40859c]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x4085a0]
push 1
mov dword [ebp - 0x48], eax
call fcn.0040145c
push 0x12
mov edi, eax
call fcn.0040145c
push 0xffffffffffffffdd
mov ebx, eax
call fcn.0040145c
push eax
push 0x2003
push esi
lea eax, [ebp - 0x4c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4019e4
push ecx
call fcn.00406393
pop ecx
mov dword [ebp + 8], eax
cmp dword [ebp - 0x20], ebx
jne 0x40285c
push 2
call fcn.00401553
mov edi, eax
cmp edi, ebx
je 0x401a13
push 0x33
call fcn.0040145c
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4130d8
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406476
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402898
push 0x22
call fcn.0040145c
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406476
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, ebx
jne 0x402887
mov eax, dword [0x466e84]
add eax, 0x80000001
mov ecx, dword [ebp - 0x20]
and ecx, 2
push ecx
push esi
push eax
call fcn.0040149d
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je case.0x4015f9.70
jmp 0x401a13
cmp edx, ebx
je 0x4028ae
mov edi, edx
jmp 0x4028ba
mov edi, dword [0x466e84]
add edi, 0x80000001
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x14], eax
call fcn.0040145c
push 0x11
mov dword [ebp - 0xc], eax
call fcn.0040145c
push edi
mov dword [ebp + 8], eax
call fcn.00406393
pop ecx
push ebx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x466eb0]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
xor esi, esi
inc esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402a15
mov dword [ebp - 8], ebx
mov edi, 0x4130d8
cmp dword [ebp - 0x10], esi
jne 0x40295d
push 0x23
call fcn.0040145c
push edi
call sub.KERNEL32.dll_lstrlenW
push edi
push dword [ebp - 0xc]
lea eax, [eax + eax + 2]
push dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 0x3c]
cmp dword [ebp - 0x14], esi
jne 0x402950
push str.WriteRegStr:___s_s____s___s_
call fcn.00406476
add esp, 0x14
jmp 0x4029d4
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406476
add esp, 0x14
push 4
pop esi
cmp dword [ebp - 0x10], esi
jne 0x40298c
push 3
pop ecx
call fcn.00401446
push eax
push dword [ebp - 0xc]
mov dword [0x4130d8], eax
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 0x3c]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406476
add esp, 0x14
cmp dword [ebp - 0x10], 3
jne 0x4029d4
push 0xc018
push edi
push ebx
push dword [ebp - 0x24]
call fcn.004035c1
push eax
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x160]
push 0x100
push eax
call fcn.004063f7
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x3c]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406476
add esp, 0x24
push dword [ebp - 8]
push edi
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4029f1
mov dword [ebp - 4], ebx
jmp 0x402a07
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x3c]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406476
add esp, 0x10
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f9.70
push dword [ebp + 8]
push dword [ebp - 0x3c]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b86
push 0x20019
call fcn.00401553
push 0x33
mov edi, eax
call fcn.0040145c
xor ecx, ecx
mov word [esi], cx
cmp edi, ebx
je 0x401a13
lea ecx, [ebp - 0x48]
push ecx
push esi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
mov dword [ebp - 0x48], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a9c
cmp dword [ebp + 8], 4
je 0x402a87
cmp dword [ebp + 8], ecx
je 0x402a76
cmp dword [ebp + 8], 2
jne 0x402a9c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 4], eax
xor eax, eax
mov word [esi + ecx*2], ax
jmp 0x402aa4
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x20], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.00406124
jmp 0x402aa4
xor eax, eax
mov word [esi], ax
mov dword [ebp - 4], ecx
push edi
jmp 0x402a0a
push 0x20019
call fcn.00401553
push 3
pop ecx
mov edi, eax
call fcn.00401446
xor ecx, ecx
mov word [esi], cx
cmp edi, ebx
je 0x401a13
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x20], ebx
je 0x402ae4
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402afd
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x401a13
xor eax, eax
mov word [esi + 0x4006], ax
jmp 0x402aa4
cmp word [esi], bx
je case.0x4015f9.70
push esi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f9.70
push 0xffffffffffffffed
call fcn.0040145c
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.00406023
cmp eax, 0xffffffff
jne 0x403102
xor eax, eax
mov word [esi], ax
jmp 0x401a13
mov edi, 0x2004
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], ebx
je 0x402b71
xor ecx, ecx
inc ecx
call fcn.00401446
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x402b96
push 0x11
call fcn.0040145c
push ebx
push ebx
push edi
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40f0d0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [esi], bx
je 0x402bb9
push ebx
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [ebp + 8]
push esi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4023aa
mov dword [ebp - 4], 1
jmp 0x4023aa
push 2
pop ecx
call fcn.00401446
mov dword [ebp - 8], eax
cmp eax, 1
jl case.0x4015f9.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402be5
mov dword [ebp - 8], ecx
cmp word [esi], bx
je 0x402ca1
push esi
mov byte [ebp - 0x35], bl
call fcn.0040613d
mov dword [ebp - 0x48], eax
cmp dword [ebp - 8], ebx
jle 0x402ca1
mov esi, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ca3
cmp dword [ebp - 0x14], 1
jne 0x402ca3
cmp dword [ebp - 0x24], ebx
jne 0x402c65
push 2
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x35]
cmp al, 0xd
je 0x402c75
cmp al, 0xa
je 0x402c75
mov ax, word [ebp - 0xc]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x35], al
cmp al, bl
je 0x402ca3
cmp esi, dword [ebp - 8]
jl 0x402c05
jmp 0x402ca3
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00406124
jmp 0x403112
cmp al, byte [ebp + 0xb]
je 0x402c91
cmp byte [ebp + 0xb], 0xd
je 0x402c86
cmp byte [ebp + 0xb], 0xa
jne 0x402c91
mov ax, word [ebp - 0xc]
mov word [edi + esi*2], ax
inc esi
jmp 0x402ca3
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402ca3
mov esi, ebx
xor eax, eax
mov word [edi + esi*2], ax
cmp esi, ebx
jmp 0x401a0d
cmp dword [ebp - 0x28], ebx
je 0x402cc8
xor ecx, ecx
inc ecx
call fcn.00401446
mov word [0x40f0d0], ax
xor eax, eax
inc eax
jmp 0x402cd5
push 0x11
call fcn.0040145c
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [esi], bx
je 0x401a13
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40f0d0
push esi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401a0b
push 2
pop ecx
call fcn.00401446
mov dword [ebp - 8], eax
cmp eax, 1
jl case.0x4015f9.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402d1d
mov dword [ebp - 8], ecx
cmp word [esi], bx
je 0x402ca1
push esi
mov dword [ebp - 0x3c], ebx
call fcn.0040613d
mov dword [ebp - 0x48], eax
cmp dword [ebp - 8], ebx
jle 0x402ca1
mov esi, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ca3
cmp dword [ebp - 0x14], 2
jne 0x402ca3
cmp dword [ebp - 0x24], ebx
jne 0x402d98
cmp word [ebp - 0x3c], 0xd
je 0x402da1
cmp word [ebp - 0x3c], 0xa
je 0x402da1
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [edi + esi*2], ax
inc esi
mov dword [ebp - 0x3c], ecx
cmp ax, bx
je 0x402ca3
cmp esi, dword [ebp - 8]
jl 0x402d3d
jmp 0x402ca3
movzx eax, word [ebp + 8]
jmp 0x402c69
mov ax, word [ebp + 8]
cmp word [ebp - 0x3c], ax
je 0x402dbf
cmp ax, 0xd
je 0x402c8a
cmp ax, 0xa
je 0x402c8a
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x402c96
cmp word [esi], bx
je case.0x4015f9.70
push dword [ebp - 0x24]
push ebx
push 2
pop ecx
call fcn.00401446
push eax
push esi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2c], ebx
jl case.0x4015f9.70
push eax
push edi
jmp 0x403104
cmp word [esi], bx
je case.0x4015f9.70
push esi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f9.70
cmp word [edi], bx
je 0x4019ec
lea eax, [ebp - 0x3b0]
push eax
push edi
call fcn.0040613d
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4019ec
jmp 0x402e69
push 2
call fcn.0040145c
lea ecx, [ebp - 0x3b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e62
xor eax, eax
mov word [edi], ax
jmp 0x402b3f
push eax
push edi
call fcn.00406124
lea eax, [ebp - 0x384]
push eax
push esi
call fcn.004061dc
jmp case.0x4015f9.70
push 0xfffffffffffffff0
mov dword [ebp - 0x10], 0xfffffd66
call fcn.0040145c
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.00405ef8
test eax, eax
jne 0x402e9f
push 0xffffffffffffffed
call fcn.0040145c
push esi
call fcn.00406003
push 2
push 0x40000000
push esi
call fcn.00406023
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402f5b
mov eax, dword [0x466e2c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x48], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402f52
push ebx
call fcn.00403423
push dword [ebp - 0x48]
push edi
call fcn.004033f1
push dword [ebp - 0x28]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, ebx
je 0x402f2a
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.004035c1
jmp 0x402f1d
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x40], ecx
call fcn.00405fdf
add esi, dword [ebp - 0x40]
cmp byte [esi], bl
jne 0x402f05
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x48]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.004035c1
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str.created_uninstaller:__d____s_
call fcn.00406476
add esp, 0xc
push 0xfffffffffffffff3
pop esi
cmp dword [ebp - 0x10], ebx
jge 0x402f89
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
call fcn.00401435
jmp case.0x4015f9.70
cmp edx, ebx
je 0x402fd4
push ecx
push str.settings_logging_to__d
call fcn.00406476
mov eax, dword [ebp - 0x2c]
push eax
push str.logging_set_to__d
mov dword [0x455538], eax
call fcn.00406476
add esp, 0x10
cmp dword [ebp - 0x2c], ebx
je 0x402fc8
call fcn.00404047
jmp case.0x4015f9.70
push 1
call fcn.004062ba
jmp case.0x4015f9.70
push 1
call fcn.0040145c
push eax
push 0x408a94
jmp 0x401956
xor ecx, ecx
call fcn.00401446
mov dword [ebp + 8], eax
cmp eax, dword [0x466dec]
jae 0x401a13
mov esi, eax
mov eax, dword [ebp - 0x28]
imul esi, esi, 0x4020
add esi, dword [0x466de8]
cmp eax, ebx
jl 0x403026
mov ecx, dword [esi + eax*4]
jne 0x403020
add esi, 0x18
push esi
push edi
jmp 0x402e71
push ecx
jmp 0x402df6
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x28], ecx
je 0x40303d
xor ecx, ecx
inc ecx
call fcn.00401446
mov dword [ebp - 0x2c], eax
jmp 0x403050
push dword [ebp - 0x20]
lea eax, [esi + 0x18]
push eax
call fcn.004069d8
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x24], ebx
je case.0x4015f9.70
push dword [ebp + 8]
call fcn.00401186
jmp case.0x4015f9.70
xor ecx, ecx
call fcn.00401446
cmp eax, 0x20
jae 0x401a13
cmp dword [ebp - 0x24], ebx
je 0x4030a3
cmp dword [ebp - 0x28], ebx
je 0x403098
push eax
call fcn.004012a6
push ebx
push ebx
call fcn.004011f8
jmp case.0x4015f9.70
push ebx
call fcn.004012f1
jmp 0x402df5
cmp dword [ebp - 0x28], ebx
je 0x4030ba
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x466ddc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f9.70
mov ecx, dword [0x466ddc]
push dword [ecx + eax*4 + 0x94]
push edi
call fcn.004069d8
jmp case.0x4015f9.70
mov eax, dword [0x44b28c]
push ebx
and eax, edx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x30], ebx
je case.0x4015f9.70
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f9.70
push 1
call fcn.0040145c
push eax
call fcn.0040657f
push eax
push esi
call fcn.00406124
mov eax, dword [ebp - 4]
add dword [0x466e88], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4