Function at 0x40143b
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
Resolve function by parsing pe exports
Self delete
Set current directory
Set file attributes
Set registry value
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x3a8
mov edx, dword [0x92dd98]
lea eax, [esp + 0x20]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3b8]
xor ebx, ebx
push edi
push 7
pop ecx
lea edi, [esp + 0x2c]
mov dword [0x40c0c4], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov ebp, ebx
imul esi, dword [esp + 0x34], 0x15f90
mov eax, dword [esp + 0x2c]
imul edi, ecx, 0x15f90
add eax, 0xfffffffe
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ebp
add esi, section..ndata
mov dword [esp + 0x14], esi
add edi, section..ndata
mov dword [esp + 0x18], edi
cmp eax, 0x47
ja case.0x4014a6.70
jmp dword [eax*4 + 0x403103]
push ecx
push str.Jump:__d
call fcn.00406c04
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
jmp 0x4030f6
push ebx
call fcn.00403288
push eax
push str.Aborting:___s_
call fcn.00406c04
pop ecx
pop ecx
push ebx
push dword [esp + 0x34]
call fcn.0040607c
mov eax, 0x7fffffff
jmp 0x4030f6
inc dword [0x92dd8c]
test edx, edx
je 0x4014e0
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4014e0
push ecx
call fcn.004033be
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406c04
pop ecx
pop ecx
push ebx
push esi
call fcn.0040139f
jmp 0x4030f6
push ebx
call fcn.00403288
push eax
push str.detailprint:__s
call fcn.00406c04
pop ecx
pop ecx
push ebx
push dword [esp + 0x34]
call fcn.0040607c
jmp case.0x4014a6.70
push ebx
call fcn.00403257
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406c04
xor eax, eax
inc eax
pop ecx
cmp esi, eax
pop ecx
cmovg eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4014a6.70
push str.BringToFront
call fcn.00406c04
mov eax, dword [esp + 0x14]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4014a6.70
cmp dword [esp + 0x38], ebx
jne 0x4015a6
mov eax, dword [ecx*4 + 0x959d80]
push 1
mov dword [ecx*4 + 0x959d40], eax
call fcn.00403257
mov ecx, dword [esp + 0x30]
jmp 0x4015ad
mov eax, dword [ecx*4 + 0x959d40]
mov dword [ecx*4 + 0x959d80], eax
jmp case.0x4014a6.70
mov edx, dword [esp + 0x38]
xor eax, eax
mov ecx, dword [edx*4 + 0x959d80]
test ecx, ecx
sete al
and ecx, dword [esp + 0x3c]
mov dword [edx*4 + 0x959d80], ecx
mov eax, dword [esp + eax*4 + 0x30]
jmp 0x4030f6
mov eax, dword [esp + 0x34]
push dword [eax*4 + 0x959d80]
jmp 0x4030e8
mov eax, dword [0x92dd84]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401609
push dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x30]
mov eax, dword [0x92dd88]
test eax, eax
je case.0x4014a6.70
push ecx
push eax
call esi
jmp case.0x4014a6.70
push 0xfffffffffffffff0
call fcn.00403288
push dword [esp + 0x34]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406c04
add esp, 0xc
push dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4014a6.70
xor ebp, ebp
inc ebp
push str.SetFileAttributes_failed.
call fcn.00406c04
pop ecx
jmp case.0x4014a6.70
push 0xfffffffffffffff0
call fcn.00403288
push dword [esp + 0x34]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406c04
add esp, 0xc
push esi
call fcn.004072f2
mov edi, eax
test edi, edi
je 0x401703
push 0x5c
push edi
call fcn.00406b67
mov edi, eax
push ebx
push esi
movzx eax, word [edi]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4016e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4016ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406c04
add esp, 0xc
inc ebp
jmp 0x4016f4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4016f4
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406c04
inc ebp
jmp 0x4016f2
push esi
push str.CreateDirectory:___s__created
call fcn.00406c04
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
mov word [edi], ax
add edi, 2
test ax, ax
jne 0x401687
push 0x422058
cmp dword [esp + 0x38], ebx
je 0x40172c
push 0xffffffffffffffe6
call fcn.0040607c
push esi
push 0xb3d660
call fcn.00407254
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4014a6.70
push 0xfffffffffffffff5
jmp 0x401537
push ebx
call fcn.00403288
mov esi, eax
push esi
call fcn.00406b40
test eax, eax
je 0x401760
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406c04
mov eax, dword [esp + 0x40]
add esp, 0xc
jmp 0x4030f6
push dword [esp + 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406c04
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x4030f6
push 0xffffffffffffffd0
call fcn.00403288
push 0xffffffffffffffdf
mov edi, eax
call fcn.00403288
push 0x13
mov ebx, eax
call fcn.00403288
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406c04
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4017bb
push 0x422058
push 0xffffffffffffffe3
jmp 0x401537
cmp dword [esp + 0x38], ebp
je 0x4017e6
push edi
call fcn.00406b40
test eax, eax
je 0x4017e6
push ebx
push edi
call fcn.004067e6
push 0x422058
push 0xffffffffffffffe4
call fcn.0040607c
push esi
push str.Rename_on_reboot:__s
jmp 0x4017ef
push esi
push str.Rename_failed:__s
xor ebp, ebp
inc ebp
call fcn.00406c04
pop ecx
jmp 0x40165a
push ebx
call fcn.00403288
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
push ecx
push esi
mov edi, 0xafc8
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401845
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jbe 0x40184d
cmp word [ecx], bx
je 0x40184d
push eax
call fcn.00406b40
test eax, eax
je 0x401845
add eax, 0x2c
push eax
push dword [esp + 0x20]
call fcn.00407254
jmp 0x40184d
xor ebp, ebp
inc ebp
xor eax, eax
mov word [esi], ax
cmp dword [esp + 0x38], ebx
jne case.0x4014a6.70
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4014a6.70
push 0xffffffffffffffff
call fcn.00403288
lea ecx, [esp + 0x18]
push ecx
push edi
push 0xafc8
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4014a6.70
xor ebp, ebp
inc ebp
xor eax, eax
mov word [edi], ax
jmp case.0x4014a6.70
push 0xffffffffffffffef
call fcn.00403288
push eax
push edi
call fcn.004070cf
test eax, eax
jne case.0x4014a6.70
xor ebp, ebp
inc ebp
jmp case.0x4014a6.70
push 0x31
call fcn.00403288
mov ecx, dword [esp + 0x30]
mov esi, eax
mov eax, ecx
mov dword [esp + 0x1c], esi
sar ecx, 3
and eax, 7
push esi
and ecx, 2
mov dword [esp + 0x14], eax
push ecx
push eax
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00406c04
add esp, 0x10
push esi
call fcn.0040743b
mov edi, 0x40c0c8
push esi
test eax, eax
je 0x4018fb
push edi
call fcn.00407254
jmp 0x401912
push 0xb3d660
push edi
call fcn.00407254
push eax
call fcn.00406b11
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.0040737f
xor esi, esi
inc esi
mov eax, dword [esp + 0x10]
cmp eax, 3
jl 0x401958
push edi
call fcn.00406b40
mov ecx, ebx
test eax, eax
je 0x401941
lea ecx, [esp + 0x3c]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x401962
push edi
call fcn.004072d2
xor eax, eax
cmp dword [esp + 0x10], esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00407005
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x401a4f
cmp dword [esp + 0x10], ebx
jne 0x401a26
push edi
push str.File:_error_creating___s_
call fcn.00406c04
pop ecx
pop ecx
push section..ndata
push 0x437fe8
call fcn.00407254
push edi
push section..ndata
call fcn.00407254
push dword [esp + 0x44]
push 0x422058
call fcn.004064f6
push 0x437fe8
push section..ndata
call fcn.00407254
mov eax, dword [esp + 0x30]
sar eax, 3
push eax
push 0x422058
call fcn.00407125
sub eax, 4
jne 0x4019fa
push str.File:_error__user_retry
call fcn.00406c04
pop ecx
jmp 0x40191b
dec eax
je 0x401a10
push str.File:_error__user_abort
call fcn.00406c04
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x4014db
push str.File:_error__user_cancel
call fcn.00406c04
inc dword [0x959d88]
pop ecx
jmp 0x4030f4
push dword [esp + 0x1c]
push 0xffffffffffffffe2
call fcn.0040607c
mov eax, dword [esp + 0x10]
cmp eax, 2
push eax
push edi
cmove ebp, esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406c04
add esp, 0xc
jmp case.0x4014a6.70
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffea
call fcn.0040607c
inc dword [0x959db4]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x44]
call fcn.004035dd
dec dword [0x959db4]
push edi
push eax
push str.File:_wrote__d_to___s_
mov dword [esp + 0x24], eax
call fcn.00406c04
add esp, 0xc
cmp dword [esp + 0x3c], 0xffffffff
jne 0x401a97
cmp dword [esp + 0x40], 0xffffffff
je 0x401aa8
lea eax, [esp + 0x3c]
push eax
push ebx
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
jns case.0x4014a6.70
cmp eax, 0xfffffffe
jne 0x401ad4
push 0xffffffffffffffe9
push edi
call fcn.004064f6
push esi
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401adc
push 0xffffffffffffffee
push edi
call fcn.004064f6
push edi
push 0x409808
call fcn.00406c04
pop ecx
pop ecx
push 0x200010
push edi
call fcn.00407125
jmp 0x4014e0
push ebx
call fcn.00403288
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406c04
pop ecx
pop ecx
push dword [esp + 0x34]
push esi
call fcn.00406d76
jmp case.0x4014a6.70
push 0x31
call fcn.00403288
mov esi, eax
push esi
push dword [esp + 0x34]
push str.MessageBox:__d___s_
call fcn.00406c04
add esp, 0xc
push dword [esp + 0x30]
push esi
call fcn.00407125
test eax, eax
je 0x4018ab
cmp eax, dword [esp + 0x38]
jne 0x401b59
mov eax, dword [esp + 0x3c]
jmp 0x4030f6
cmp eax, dword [esp + 0x40]
jne case.0x4014a6.70
mov eax, dword [esp + 0x44]
jmp 0x4030f6
push 0xfffffffffffffff0
call fcn.00403288
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401b07
push 1
call fcn.00403288
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4030e7
push 2
call fcn.00403257
push 3
mov esi, eax
call fcn.00403257
push 1
mov ebx, eax
call fcn.00403288
xor ecx, ecx
mov dword [esp + 0x18], eax
mov word [edi], cx
cmp dword [esp + 0x38], ecx
je 0x401bbf
test esi, esi
je case.0x4014a6.70
push eax
call sub.KERNEL32.dll_lstrlenW
test ebx, ebx
jns 0x401bd1
add ebx, eax
js case.0x4014a6.70
cmp ebx, eax
cmovg ebx, eax
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.00407254
test esi, esi
je case.0x4014a6.70
jns 0x401bfc
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
push 0
pop eax
cmovs esi, eax
cmp esi, 0xafc8
jge case.0x4014a6.70
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4014a6.70
push 0x20
call fcn.00403288
push 0x31
mov esi, eax
call fcn.00403288
push eax
push esi
cmp dword [esp + 0x48], ebx
jne 0x401c3e
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b50
jmp 0x401772
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401c31
xor ebx, ebx
inc ebx
push ebx
call fcn.00403288
push 0xafc8
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c74
cmp dword [esp + 0x38], ebp
je 0x401c7b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c7b
xor eax, eax
mov ebp, ebx
mov word [edi], ax
xor eax, eax
mov word [edi + 0x15f8e], ax
jmp case.0x4014a6.70
push ebx
call fcn.00403257
push 1
mov esi, eax
call fcn.00403257
cmp dword [esp + 0x44], ebx
jne 0x401cb5
cmp esi, eax
jl 0x401b50
jle 0x401772
mov eax, dword [esp + 0x40]
jmp 0x4030f6
cmp esi, eax
jb 0x401b50
jbe 0x401772
jmp 0x401cac
xor esi, esi
inc esi
push esi
call fcn.00403257
push 2
mov dword [esp + 0x18], eax
call fcn.00403257
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xc
ja case.default.0x401ce8
jmp dword [eax*4 + 0x403223]
mov edx, dword [esp + 0x14]
add edx, ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
sub edx, ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
imul edx, ecx
jmp 0x401d85
test ecx, ecx
je 0x401d1b
mov eax, dword [esp + 0x14]
cdq
idiv ecx
jmp 0x401d44
mov edx, ebx
mov ebp, esi
jmp 0x401d85
mov edx, dword [esp + 0x14]
or edx, ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
and edx, ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
xor edx, ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
sete al
mov edx, eax
jmp 0x401d85
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x401d54
test ecx, ecx
je 0x401d60
mov edx, esi
jmp 0x401d85
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x401d50
mov edx, ebx
jmp 0x401d85
test ecx, ecx
je 0x401d1b
mov eax, dword [esp + 0x14]
cdq
idiv ecx
jmp 0x401d85
mov edx, dword [esp + 0x14]
shl edx, cl
jmp 0x401d85
mov edx, dword [esp + 0x14]
sar edx, cl
jmp 0x401d85
mov edx, dword [esp + 0x14]
push edx
jmp 0x4030e8
push 1
call fcn.00403288
push 2
mov esi, eax
call fcn.00403257
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401a47
mov ecx, dword [esp + 0x38]
mov eax, ecx
mov esi, dword [0x40c0c0]
test ecx, ecx
je 0x401e15
dec eax
test esi, esi
je 0x401df5
mov esi, dword [esi]
test eax, eax
jne 0x401db9
test esi, esi
je 0x401df5
add esi, 4
mov edi, 0x40c0c8
push esi
push edi
call fcn.00407254
mov eax, dword [0x40c0c0]
add eax, 4
push eax
push esi
call fcn.00407254
mov eax, dword [0x40c0c0]
push edi
add eax, 4
push eax
jmp 0x402e32
push ecx
push str.Exch:_stack____d_elements
call fcn.00406c04
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004064f6
push eax
jmp 0x401aef
cmp dword [esp + 0x34], ebx
je 0x401e46
test esi, esi
jne 0x401e2f
push str.Pop:_stack_empty
call fcn.00406c04
pop ecx
jmp 0x4018ab
lea eax, [esi + 4]
push eax
push edi
call fcn.00407254
mov eax, dword [esi]
mov dword [0x40c0c0], eax
push esi
jmp 0x40229d
push 0x15f94
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004064f6
mov eax, dword [0x40c0c0]
mov dword [esi], eax
mov dword [0x40c0c0], esi
jmp case.0x4014a6.70
push 3
call fcn.00403257
push 4
mov dword [esp + 0x14], eax
call fcn.00403257
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], esi
test al, 1
je 0x401ea3
push 0x33
call fcn.00403288
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
test al, 2
je 0x401eb4
push 0x44
call fcn.00403288
mov esi, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x2c], 0x21
push 1
jne 0x401f0c
call fcn.00403257
push 2
mov dword [esp + 0x20], eax
call fcn.00403257
mov ecx, dword [esp + 0x44]
sar ecx, 2
test ecx, ecx
je 0x401efa
lea edx, [esp + 0x20]
push edx
push ecx
push ebx
push esi
push dword [esp + 0x20]
push eax
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb ebp, ebp
mov eax, dword [esp + 0x20]
inc ebp
jmp 0x401f3e
push esi
push dword [esp + 0x14]
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401f3a
call fcn.00403288
push 0x12
mov esi, eax
call fcn.00403288
xor ecx, ecx
cmp word [eax], bx
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp word [esi], bx
cmovne ecx, esi
push ecx
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x30], ebx
jl case.0x4014a6.70
jmp 0x4030e7
push ebx
call fcn.00403257
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x38]
test eax, eax
cmovne ecx, dword [esp + 0x34]
mov eax, ecx
jmp 0x4030f6
push 2
call fcn.00403257
push eax
push 1
call fcn.00403257
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4030e7
mov eax, dword [0x959d08]
add eax, dword [esp + 0x34]
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00403257
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4014a6.70
push dword [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x48]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
imul eax, dword [esp + 0x38]
push 0x10
push ecx
push eax
push ebx
push ebx
call fcn.00403288
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]
test eax, eax
je case.0x4014a6.70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4014a6.70
push 0x48
push 0x5a
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00403257
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x479e98], eax
call fcn.00403257
mov ecx, dword [esp + 0x40]
push dword [esp + 0x34]
mov dword [0x479ea8], eax
mov al, cl
and al, 1
mov byte [0x479eaf], 1
mov byte [0x479eac], al
mov al, cl
and al, 2
and cl, 4
push 0x479eb4
mov byte [0x479ead], al
mov byte [0x479eae], cl
call fcn.004064f6
push 0x479e98
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4030e7
push ebx
call fcn.00403257
push 1
mov esi, eax
call fcn.00403257
mov edi, eax
cmp dword [esp + 0x38], ebx
je 0x40209f
push str.HideWindow
call fcn.00406c04
pop ecx
push edi
push esi
cmp dword [esp + 0x44], ebx
jne 0x4020b2
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4014a6.70
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4014a6.70
push ebx
call fcn.00403288
push 0x31
mov esi, eax
call fcn.00403288
push 0x22
mov dword [esp + 0x24], eax
call fcn.00403288
push 0x15
mov edi, eax
call fcn.00403288
push 0x422058
push 0xffffffffffffffec
call fcn.0040607c
push dword [esp + 0x3c]
xor ecx, ecx
cmp word [edi], bx
push 0xb3d660
cmovne ecx, edi
xor eax, eax
cmp word [esi], bx
push ecx
push dword [esp + 0x2c]
cmovne eax, esi
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402134
push eax
push edi
push dword [esp + 0x28]
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406c04
add esp, 0x14
jmp 0x4018ab
push edi
push dword [esp + 0x24]
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406c04
add esp, 0x10
jmp case.0x4014a6.70
push ebx
call fcn.00403288
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406c04
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.0040607c
push edi
call fcn.00406d35
mov ebx, eax
push edi
test ebx, ebx
je 0x4021d1
push str.Exec:_success____s__
call fcn.00406c04
pop ecx
pop ecx
cmp dword [esp + 0x38], ebp
je 0x4021cb
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402197
push 0xf
call fcn.004067b6
push 0x64
push ebx
call edi
cmp eax, 0x102
je 0x402190
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x34], ebp
jl 0x4021c1
push dword [esp + 0x1c]
push esi
call fcn.00407235
jmp 0x4021cb
xor eax, eax
inc eax
cmp dword [esp + 0x1c], ebp
cmovne ebp, eax
push ebx
jmp 0x402a73
push str.Exec:_failed_createprocess____s__
jmp 0x4017ec
push 2
call fcn.00403288
push eax
call fcn.00406b40
mov ebx, eax
test ebx, ebx
je 0x4021ff
push dword [ebx + 0x14]
push esi
call fcn.00407235
push dword [ebx + 0x18]
jmp 0x4030e8
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x4018ab
push 0xffffffffffffffee
call fcn.00403288
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], eax
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor ecx, ecx
mov dword [esp + 0x18], eax
xor ebp, ebp
mov word [edi], cx
inc ebp
mov word [esi], cx
test eax, eax
je case.0x4014a6.70
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x20], eax
test eax, eax
je case.0x4014a6.70
push eax
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x54]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402299
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
push 0x409a54
push dword [esp + 0x2c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402299
mov eax, dword [esp + 0x1c]
push dword [eax + 8]
push edi
call fcn.00407235
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
push esi
call fcn.00407235
mov ebp, ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4014a6.70
push 0x11
call fcn.00403288
push 0xafc8
mov esi, eax
push edi
push esi
call fcn.004077fc
push edi
push esi
push 0x409a58
xor ecx, ecx
inc ecx
test eax, eax
cmove ebp, ecx
call fcn.00406c04
add esp, 0x18
jmp case.0x4014a6.70
push 0x11
call fcn.00403288
push 0xafc8
mov esi, eax
push edi
push esi
call fcn.00407474
push edi
push esi
push str.GetTTFFontName__s__returned__s
jmp 0x4022c4
xor esi, esi
inc esi
mov ebp, esi
cmp dword [0x959d24], ebx
jl 0x4023f8
push 0xfffffffffffffff0
call fcn.00403288
mov edi, eax
push esi
mov dword [esp + 0x24], edi
call fcn.00403288
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x40], ebx
je 0x402336
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x40234a
mov edi, dword [esp + 0x20]
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4023de
push dword [esp + 0x1c]
push edi
call fcn.00406819
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x40239b
mov ebp, ebx
cmp dword [esp + 0x38], ebx
je 0x40237b
push dword [esp + 0x38]
call fcn.004033dd
call dword [esp + 0x18]
test eax, eax
je 0x4023b9
mov ebp, esi
jmp 0x4023b9
mov eax, dword [esp + 0x10]
push section..data
push 0x40c0c0
push section..ndata
push 0xafc8
push eax
call ecx
add esp, 0x14
jmp 0x4023b9
mov ebx, dword [esp + 0x1c]
push ebx
push 0xfffffffffffffff7
call fcn.0040607c
push dword [esp + 0x20]
push ebx
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406c04
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne case.0x4014a6.70
push edi
call fcn.00403ff2
test eax, eax
je case.0x4014a6.70
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4014a6.70
push 0x422058
push 0xfffffffffffffff6
call fcn.0040607c
push dword [esp + 0x20]
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4017ef
push 0x422058
push 0xffffffffffffffe7
call fcn.0040607c
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401655
push 0xfffffffffffffff0
call fcn.00403288
push 0xffffffffffffffdf
mov dword [esp + 0x14], eax
call fcn.00403288
mov edi, eax
push 2
mov dword [esp + 0x1c], edi
call fcn.00403288
push 0xffffffffffffffcd
mov dword [esp + 0x24], eax
call fcn.00403288
mov esi, eax
push 0x45
mov dword [esp + 0x20], esi
call fcn.00403288
push edi
mov dword [esp + 0x4c], eax
call fcn.0040743b
test eax, eax
jne 0x40245a
push 0x21
call fcn.00403288
mov ecx, dword [esp + 0x40]
mov eax, ecx
sar eax, 0x10
push eax
mov eax, ecx
sar eax, 8
and eax, 0xff
push eax
movzx eax, cl
push eax
push esi
push dword [esp + 0x30]
push edi
push dword [esp + 0x28]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406c04
add esp, 0x20
lea eax, [esp + 0x14]
xor esi, esi
inc esi
push eax
push 0x40ab40
push esi
push ebx
push 0x40ab60
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40258e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0x40ab50
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
test edi, edi
js 0x402574
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [esp + 0x14]
push 0xb3d660
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x40]
mov eax, edx
sar eax, 8
and eax, 0xff
mov dword [esp + 0x18], eax
je 0x40250e
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
sar edx, 0x10
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x1c]
cmp word [eax], bx
je 0x402539
mov ecx, dword [esp + 0x14]
movzx eax, byte [esp + 0x40]
push eax
push dword [esp + 0x20]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x44]
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
push dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test edi, edi
js 0x40256a
mov eax, dword [esp + 0x24]
push esi
push dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x40258e
push 0x422058
push 0xfffffffffffffff4
jmp 0x401537
push 0x422058
mov ebp, esi
push 0xfffffffffffffff0
jmp 0x401537
push ebx
call fcn.00403288
push 0x11
mov esi, eax
call fcn.00403288
push 0x23
mov edi, eax
call fcn.00403288
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [esp + 0x24], eax
call fcn.00406c04
add esp, 0xc
push esi
call fcn.00406b40
test eax, eax
jne 0x4025de
push ebx
push 0xfffffffffffffff9
call fcn.0040607c
jmp 0x4018ab
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 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 ecx, dword [esp + 0x18]
mov ax, word [esp + 0x38]
push ecx
push ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6a], ecx
mov word [esp + 0x60], ax
call fcn.0040607c
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4014a6.70
jmp 0x4025d1
cmp ecx, 0xbadf00d
jne 0x401e02
inc dword [0x959d94]
jmp case.0x4014a6.70
push str._RM_
mov esi, 0x422058
mov dword [esp + 0x24], ebx
push esi
mov dword [esp + 0x24], ebx
call fcn.00407254
push esi
mov edi, 0x437fe8
push edi
call fcn.00407254
cmp dword [esp + 0x30], ebx
je 0x402687
push ebx
call fcn.00403288
mov ebx, eax
cmp dword [esp + 0x34], ebp
je 0x402698
push 0x11
call fcn.00403288
mov dword [esp + 0x20], eax
cmp dword [esp + 0x40], ebp
je 0x4026a9
push 0x22
call fcn.00403288
mov dword [esp + 0x1c], eax
push 0xffffffffffffffcd
call fcn.00403288
mov esi, eax
push esi
push edi
push 0x422058
push 0x40c0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406c04
add esp, 0x14
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4018a3
mov eax, dword [0x409cf8]
mov dword [esp + 0x48], eax
mov eax, dword [0x409cfc]
push 1
mov dword [esp + 0x50], eax
call fcn.00403288
push 0x12
mov edi, eax
call fcn.00403288
push 0xffffffffffffffdd
mov esi, eax
call fcn.00403288
mov ebx, dword [esp + 0x18]
push eax
push 0xafc7
push ebx
lea eax, [esp + 0x54]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x48]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne case.0x4014a6.70
xor ebp, ebp
mov word [ebx], ax
inc ebp
jmp case.0x4014a6.70
push dword [esp + 0x34]
call fcn.00406aa5
mov ebx, eax
pop ecx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x40], ebp
jne 0x40279c
push 2
call fcn.0040337f
mov edi, eax
test edi, edi
je 0x4018ab
push 0x33
call fcn.00403288
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x437fe8
push dword [esp + 0x20]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406c04
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4027ce
push 0x22
call fcn.00403288
mov esi, eax
push esi
push ebx
push str.DeleteRegKey:___s_s_
call fcn.00406c04
mov ecx, dword [esp + 0x4c]
add esp, 0xc
and ecx, 2
push ecx
push esi
push dword [esp + 0x3c]
call fcn.00403273
push eax
call fcn.004032c9
mov ebx, eax
test ebx, ebx
je case.0x4014a6.70
jmp 0x4018ab
push ecx
call fcn.00403273
mov esi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push 2
mov dword [esp + 0x4c], eax
call fcn.00403288
push 0x11
mov dword [esp + 0x18], eax
call fcn.00403288
push esi
mov dword [esp + 0x28], eax
call fcn.00406aa5
pop ecx
mov ecx, dword [0x959db0]
xor edi, edi
push ebx
mov dword [esp + 0x14], eax
or ecx, 2
lea eax, [esp + 0x1c]
inc edi
push eax
push ebx
push ecx
push ebx
push ebx
push ebx
push dword [esp + 0x40]
mov ebp, edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402962
mov eax, dword [esp + 0x1c]
mov esi, 0x437fe8
mov dword [esp + 0x20], ebx
cmp eax, edi
jne 0x4028a2
push 0x23
call fcn.00403288
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [esp + 0x48], edi
mov edi, dword [esp + 0x24]
push esi
push dword [esp + 0x18]
lea eax, [eax*2 + 2]
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jne 0x40288f
push str.WriteRegStr:___s_s____s___s_
call fcn.00406c04
add esp, 0x14
jmp 0x40291f
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406c04
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x4028a6
mov edi, dword [esp + 0x24]
cmp eax, 4
jne 0x4028da
push 3
call fcn.00403257
push eax
push dword [esp + 0x18]
mov dword [0x437fe8], eax
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x30], 4
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406c04
mov eax, dword [esp + 0x30]
add esp, 0x14
cmp eax, 3
jne 0x40291f
push 0x41eb0
push esi
push ebx
push dword [esp + 0x48]
call fcn.004035dd
push eax
push esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
push 0x100
push eax
call fcn.00406a26
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x28]
push edi
push dword [esp + 0x2c]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406c04
add esp, 0x24
push dword [esp + 0x20]
push esi
push dword [esp + 0x50]
mov esi, dword [esp + 0x20]
push ebx
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402940
mov ebp, ebx
jmp 0x402953
push esi
push edi
push dword [esp + 0x18]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406c04
add esp, 0x10
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4014a6.70
push dword [esp + 0x24]
push dword [esp + 0x14]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401a42
push 0x20019
call fcn.0040337f
push 0x33
mov esi, eax
call fcn.00403288
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x4018ab
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x15f90
push ecx
push edi
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4029f6
cmp dword [esp + 0x1c], 4
je 0x4029db
cmp dword [esp + 0x1c], ecx
je 0x4029cb
cmp dword [esp + 0x1c], 2
jne 0x4029f6
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov ebp, dword [esp + 0x40]
mov word [edi + eax*2], cx
jmp 0x4029fd
push dword [edi]
xor eax, eax
cmp dword [esp + 0x44], eax
push edi
sete al
mov dword [esp + 0x2c], eax
call fcn.00407235
mov ebp, dword [esp + 0x24]
jmp 0x4029fd
xor eax, eax
mov ebp, ecx
mov word [edi], ax
push esi
jmp 0x402957
push 0x20019
call fcn.0040337f
push 3
mov esi, eax
call fcn.00403257
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x4018ab
mov ecx, 0xafc7
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x40], ebx
je 0x402a3e
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402a58
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4018ab
xor eax, eax
mov word [edi + 0x15f8e], ax
jmp 0x4029fd
cmp word [edi], bx
je case.0x4014a6.70
push edi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4014a6.70
push 0xffffffffffffffed
call fcn.00403288
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
call fcn.00407005
cmp eax, 0xffffffff
jne 0x4030e7
xor eax, eax
mov word [edi], ax
jmp 0x4018ab
push 0xafc8
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [esp + 0x10], eax
inc esi
cmp dword [esp + 0x38], ebx
je 0x402ad0
push esi
call fcn.00403257
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov eax, esi
jmp 0x402aff
push 0x11
call fcn.00403288
push ebx
push ebx
push 0xafc8
push dword [esp + 0x1c]
push 0xffffffffffffffff
push 0x422058
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x10]
cmp word [edi], bx
je 0x402b1d
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push edi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402b1f
mov ebp, esi
push dword [esp + 0x10]
jmp 0x40229d
push 2
mov dword [esp + 0x14], ebx
call fcn.00403257
xor esi, esi
inc esi
cmp eax, esi
jl case.0x4014a6.70
mov ecx, 0xafc7
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x18], eax
cmp word [edi], bx
je 0x402c45
push edi
mov byte [esp + 0x28], bl
call fcn.00407191
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x18], ebx
jle 0x402c49
push ebx
lea ecx, [esp + 0x20]
push ecx
push esi
lea ecx, [esp + 0x37]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c1b
cmp dword [esp + 0x1c], esi
jne 0x402c1b
cmp dword [esp + 0x3c], ebx
jne 0x402c34
push 2
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x37]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [esp + 0x24]
cmp al, 0xd
je 0x402beb
cmp al, 0xa
je 0x402beb
mov ecx, dword [esp + 0x10]
mov ax, word [esp + 0x14]
mov word [edi + ecx*2], ax
inc ecx
mov al, byte [esp + 0x2b]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x24], al
test al, al
je 0x402c1f
mov eax, dword [esp + 0x48]
cmp ecx, dword [esp + 0x18]
jl 0x402b71
jmp 0x402c1f
mov cl, byte [esp + 0x2b]
cmp al, cl
je 0x402c0d
cmp cl, 0xd
je 0x402bfd
cmp cl, 0xa
jne 0x402c0d
mov ax, word [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov word [edi + ecx*2], ax
inc ecx
jmp 0x402c1f
push esi
push ebx
push 0xffffffffffffffff
push dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
mov word [edi + ecx*2], ax
jne case.0x4014a6.70
mov ebp, esi
jmp case.0x4014a6.70
movzx eax, byte [esp + 0x2b]
push eax
push edi
call fcn.00407235
jmp 0x4030f4
mov edi, dword [esp + 0x14]
mov ecx, ebx
jmp 0x402c1f
xor esi, esi
inc esi
cmp dword [esp + 0x38], ebx
je 0x402c66
push esi
call fcn.00403257
mov word [0x422058], ax
mov eax, esi
jmp 0x402c73
push 0x11
call fcn.00403288
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x402c2d
push ebx
lea ecx, [esp + 0x1c]
add eax, eax
push ecx
push eax
push 0x422058
push edi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x402c27
push 2
mov dword [esp + 0x14], ebx
call fcn.00403257
xor esi, esi
inc esi
cmp eax, esi
jl case.0x4014a6.70
mov ecx, 0xafc7
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x48], eax
cmp word [edi], bx
je 0x402c45
mov edx, ebx
push edi
mov dword [esp + 0x1c], edx
call fcn.00407191
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x48], ebx
jle 0x402c49
push ebx
lea ecx, [esp + 0x24]
push ecx
push 2
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c1b
cmp dword [esp + 0x20], 2
jne 0x402c1b
cmp dword [esp + 0x3c], ebx
jne 0x402d7c
mov ecx, dword [esp + 0x18]
push 0xd
pop edx
cmp cx, dx
je 0x402d50
push 0xa
pop eax
cmp cx, ax
je 0x402d50
mov ecx, dword [esp + 0x10]
mov ax, word [esp + 0x24]
movzx edx, ax
mov dword [esp + 0x18], edx
mov word [edi + ecx*2], ax
inc ecx
mov dword [esp + 0x10], ecx
test ax, ax
je 0x402c1f
mov eax, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x48]
jl 0x402cde
jmp 0x402c1f
mov ax, word [esp + 0x24]
cmp cx, ax
je 0x402d6f
cmp ax, dx
je 0x402c02
push 0xa
pop ecx
cmp ax, cx
je 0x402c02
push esi
push ebx
push 0xfffffffffffffffe
push dword [esp + 0x28]
jmp 0x402c15
movzx eax, word [esp + 0x24]
jmp 0x402c39
cmp word [edi], bx
je case.0x4014a6.70
push dword [esp + 0x3c]
push ebx
push 2
call fcn.00403257
push eax
push edi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x34], ebx
jl case.0x4014a6.70
push eax
push esi
jmp 0x4030e9
cmp word [edi], bx
je case.0x4014a6.70
push edi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4014a6.70
cmp word [esi], bx
je 0x401888
lea eax, [esp + 0x168]
push eax
push esi
call fcn.00407191
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401888
jmp 0x402e29
push 2
call fcn.00403288
lea ecx, [esp + 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e22
xor eax, eax
mov word [esi], ax
jmp 0x402a9c
push eax
push esi
call fcn.00407235
lea eax, [esp + 0x194]
push eax
push edi
call fcn.00407254
jmp case.0x4014a6.70
push 0xfffffffffffffff0
mov dword [esp + 0x4c], 0xfffffd66
call fcn.00403288
mov esi, eax
push esi
mov dword [esp + 0x20], esi
call fcn.0040743b
test eax, eax
jne 0x402e62
push 0xffffffffffffffed
call fcn.00403288
push esi
call fcn.004072d2
push 2
push 0x40000000
push esi
call fcn.00407005
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
je 0x402f44
mov eax, dword [0x959cc4]
push eax
push 0x40
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x20], eax
test eax, eax
je 0x402f3d
push ebx
call fcn.00403422
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.004033ee
push dword [esp + 0x38]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x402f0c
push dword [esp + 0x38]
push edi
push ebx
push dword [esp + 0x40]
call fcn.004035dd
cmp byte [edi], bl
je 0x402f02
mov ebp, dword [esp + 0x20]
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebp
push eax
call fcn.00406d13
add edi, esi
cmp byte [edi], bl
jne 0x402ee2
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ebx
push eax
push dword [esp + 0x20]
push dword [esp + 0x2c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push edi
push 0xffffffffffffffff
call fcn.004035dd
mov dword [esp + 0x48], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x48]
push esi
push edi
push str.created_uninstaller:__d____s_
call fcn.00406c04
add esp, 0xc
push 0xfffffffffffffff3
pop ebx
test edi, edi
jns 0x402f6b
push 0xffffffffffffffef
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebp, ebp
inc ebp
push ebx
call fcn.004033dd
jmp case.0x4014a6.70
test ecx, ecx
je 0x402fbb
push dword [esp + 0x34]
push str.settings_logging_to__d
call fcn.00406c04
mov eax, dword [esp + 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x900e00], eax
call fcn.00406c04
add esp, 0x10
cmp dword [esp + 0x34], ebx
je 0x402faf
call fcn.00405af9
jmp case.0x4014a6.70
push 1
call fcn.00406c36
jmp case.0x4014a6.70
push 1
call fcn.00403288
push eax
push 0x409808
jmp 0x4017ef
push ebx
call fcn.00403257
mov ebx, eax
cmp ebx, dword [0x959cec]
jae 0x4018ab
mov ecx, dword [esp + 0x38]
imul edi, ebx, 0x15fa8
add edi, dword [0x959ce8]
test ecx, ecx
js 0x403008
mov eax, dword [edi + ecx*4]
jne 0x402db3
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x402e32
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x38], eax
je 0x403022
push 1
call fcn.00403257
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x40303a
push dword [esp + 0x40]
lea eax, [edi + 0x18]
push eax
call fcn.004064f6
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x3c], ebp
je case.0x4014a6.70
push ebx
call fcn.0040122b
jmp case.0x4014a6.70
push ebx
call fcn.00403257
mov edx, eax
cmp edx, 0x20
jae 0x4018ab
cmp dword [esp + 0x3c], ebx
je 0x40308d
cmp dword [esp + 0x38], ebx
je 0x403082
push edx
call fcn.0040129a
push ebx
push ebx
call fcn.004012e7
jmp case.0x4014a6.70
push ebx
call fcn.004011a0
jmp 0x402db3
mov eax, dword [0x959ccc]
cmp dword [esp + 0x38], ebx
je 0x4030a5
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4014a6.70
push dword [eax + edx*4 + 0x94]
push esi
call fcn.004064f6
jmp case.0x4014a6.70
and ecx, dword [0x822778]
push ebx
push ecx
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x30], ebx
je case.0x4014a6.70
mov eax, dword [esp + 0x10]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4014a6.70
push 1
call fcn.00403288
push eax
call fcn.00406160
push eax
push edi
call fcn.00407235
add dword [0x959d88], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 4