Function at 0x40143c
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 [0x46bdb8]
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]
imul esi, dword [esp + 0x34], 0x4008
mov ebp, ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
imul edi, ecx, 0x4008
mov dword [esp + 0x10], edx
add esi, section..ndata
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], esi
add edi, section..ndata
dec eax
mov dword [esp + 0x18], edi
cmp eax, 0x48
ja case.0x4014a5.7
jmp dword [eax*4 + 0x4030e4]
push ecx
push str.Jump:__d
call fcn.00406a77
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
jmp 0x4030d4
push ebx
call fcn.0040326d
push eax
push str.Aborting:___s_
call fcn.00406a77
pop ecx
pop ecx
push ebx
push dword [esp + 0x34]
call fcn.00405eef
mov eax, 0x7fffffff
jmp 0x4030d4
inc dword [0x46bdac]
test edx, edx
je 0x4014df
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4014df
push ecx
call fcn.004033a3
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406a77
pop ecx
pop ecx
push ebx
push esi
call fcn.0040139f
jmp 0x4030d4
push ebx
call fcn.0040326d
push eax
push str.detailprint:__s
call fcn.00406a77
pop ecx
pop ecx
push ebx
push dword [esp + 0x34]
call fcn.00405eef
jmp case.0x4014a5.7
push ebx
call fcn.0040323c
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406a77
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.0x4014a5.7
push str.BringToFront
call fcn.00406a77
mov eax, dword [esp + 0x14]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4014a5.7
cmp dword [esp + 0x38], ebx
jne 0x4015a5
mov eax, dword [ecx*4 + 0x473e80]
push 1
mov dword [ecx*4 + 0x473e40], eax
call fcn.0040323c
mov ecx, dword [esp + 0x30]
jmp 0x4015ac
mov eax, dword [ecx*4 + 0x473e40]
mov dword [ecx*4 + 0x473e80], eax
jmp case.0x4014a5.7
mov edx, dword [esp + 0x38]
xor eax, eax
mov ecx, dword [edx*4 + 0x473e80]
test ecx, ecx
sete al
and ecx, dword [esp + 0x3c]
mov dword [edx*4 + 0x473e80], ecx
mov eax, dword [esp + eax*4 + 0x30]
jmp 0x4030d4
mov eax, dword [esp + 0x34]
push dword [eax*4 + 0x473e80]
jmp 0x4030c6
mov eax, dword [0x46bda4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401608
push dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x30]
mov eax, dword [0x46bda8]
test eax, eax
je case.0x4014a5.7
push ecx
push eax
call esi
jmp case.0x4014a5.7
push 0xfffffffffffffff0
call fcn.0040326d
push dword [esp + 0x34]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406a77
add esp, 0xc
push dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4014a5.7
xor ebp, ebp
inc ebp
push str.SetFileAttributes_failed.
call fcn.00406a77
pop ecx
jmp case.0x4014a5.7
push 0xfffffffffffffff0
call fcn.0040326d
push dword [esp + 0x34]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406a77
add esp, 0xc
push esi
call fcn.00407319
mov edi, eax
test edi, edi
je 0x401702
push 0x5c
push edi
call fcn.004069da
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 0x4016e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4016cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406a77
add esp, 0xc
inc ebp
jmp 0x4016f3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4016f3
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406a77
inc ebp
jmp 0x4016f1
push esi
push str.CreateDirectory:___s__created
call fcn.00406a77
pop ecx
pop ecx
mov eax, dword [esp + 0x18]
mov word [edi], ax
add edi, 2
test ax, ax
jne 0x401686
push 0x4100d0
cmp dword [esp + 0x38], ebx
je 0x40172b
push 0xffffffffffffffe6
call fcn.00405eef
push esi
push 0x4cc0b0
call fcn.00407220
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4014a5.7
push 0xfffffffffffffff5
jmp 0x401536
push ebx
call fcn.0040326d
mov esi, eax
push esi
call fcn.004069b3
test eax, eax
je 0x40175f
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406a77
mov eax, dword [esp + 0x40]
add esp, 0xc
jmp 0x4030d4
push dword [esp + 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406a77
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x4030d4
push 0xffffffffffffffd0
call fcn.0040326d
push 0xffffffffffffffdf
mov edi, eax
call fcn.0040326d
push 0x13
mov ebx, eax
call fcn.0040326d
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406a77
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4017ba
push 0x4100d0
push 0xffffffffffffffe3
jmp 0x401536
cmp dword [esp + 0x38], ebp
je 0x4017e5
push edi
call fcn.004069b3
test eax, eax
je 0x4017e5
push ebx
push edi
call fcn.00406659
push 0x4100d0
push 0xffffffffffffffe4
call fcn.00405eef
push esi
push str.Rename_on_reboot:__s
jmp 0x4017ee
push esi
push str.Rename_failed:__s
xor ebp, ebp
inc ebp
call fcn.00406a77
pop ecx
jmp 0x401659
push ebx
call fcn.0040326d
mov edi, eax
mov ebx, 0x2004
lea eax, [esp + 0x18]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401822
push edi
call fcn.004069b3
test eax, eax
jne 0x40182a
xor ebp, ebp
inc ebp
xor eax, eax
mov word [esi], ax
cmp dword [esp + 0x38], 0
jne case.0x4014a5.7
push ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4014a5.7
push 0xffffffffffffffff
call fcn.0040326d
lea ecx, [esp + 0x18]
push ecx
push edi
push 0x2004
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4014a5.7
xor ebp, ebp
inc ebp
xor eax, eax
mov word [edi], ax
jmp case.0x4014a5.7
push 0xffffffffffffffef
call fcn.0040326d
push eax
push edi
call fcn.00407044
test eax, eax
jne case.0x4014a5.7
xor ebp, ebp
inc ebp
jmp case.0x4014a5.7
push 0x31
call fcn.0040326d
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.00406a77
add esp, 0x10
push esi
call fcn.00407462
mov edi, 0x40c0c8
push esi
test eax, eax
je 0x4018d9
push edi
call fcn.00407220
jmp 0x4018f0
push 0x4cc0b0
push edi
call fcn.00407220
push eax
call fcn.00406984
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.004073a6
xor esi, esi
inc esi
mov eax, dword [esp + 0x10]
cmp eax, 3
jl 0x401936
push edi
call fcn.004069b3
mov ecx, ebx
test eax, eax
je 0x40191f
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 0x401940
push edi
call fcn.004072f9
xor eax, eax
cmp dword [esp + 0x10], esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406e77
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x401a2d
cmp dword [esp + 0x10], ebx
jne 0x401a04
push edi
push str.File:_error_creating___s_
call fcn.00406a77
pop ecx
pop ecx
push section..ndata
push 0x4140d8
call fcn.00407220
push edi
push section..ndata
call fcn.00407220
push dword [esp + 0x44]
push 0x4100d0
call fcn.00406369
push 0x4140d8
push section..ndata
call fcn.00407220
mov eax, dword [esp + 0x30]
sar eax, 3
push eax
push 0x4100d0
call fcn.0040709a
sub eax, 4
jne 0x4019d8
push str.File:_error__user_retry
call fcn.00406a77
pop ecx
jmp 0x4018f9
dec eax
je 0x4019ee
push str.File:_error__user_abort
call fcn.00406a77
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x4014da
push str.File:_error__user_cancel
call fcn.00406a77
inc dword [0x473e88]
pop ecx
jmp 0x4030d2
push dword [esp + 0x1c]
push 0xffffffffffffffe2
call fcn.00405eef
mov eax, dword [esp + 0x10]
cmp eax, 2
push eax
push edi
cmove ebp, esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406a77
add esp, 0xc
jmp case.0x4014a5.7
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffea
call fcn.00405eef
inc dword [0x473eb4]
push ebx
push ebx
push dword [esp + 0x28]
push dword [esp + 0x44]
call fcn.0040341e
dec dword [0x473eb4]
push edi
push eax
push str.File:_wrote__d_to___s_
mov dword [esp + 0x24], eax
call fcn.00406a77
add esp, 0xc
cmp dword [esp + 0x3c], 0xffffffff
jne 0x401a75
cmp dword [esp + 0x40], 0xffffffff
je 0x401a86
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.0x4014a5.7
cmp eax, 0xfffffffe
jne 0x401ab2
push 0xffffffffffffffe9
push edi
call fcn.00406369
push esi
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401aba
push 0xffffffffffffffee
push edi
call fcn.00406369
push edi
push 0x409808
call fcn.00406a77
pop ecx
pop ecx
push 0x200010
push edi
call fcn.0040709a
jmp 0x4014df
push ebx
call fcn.0040326d
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406a77
pop ecx
pop ecx
push dword [esp + 0x34]
push esi
call fcn.00406be9
jmp case.0x4014a5.7
push 0x31
call fcn.0040326d
mov esi, eax
push esi
push dword [esp + 0x34]
push str.MessageBox:__d___s_
call fcn.00406a77
add esp, 0xc
push dword [esp + 0x30]
push esi
call fcn.0040709a
test eax, eax
je 0x401889
cmp eax, dword [esp + 0x38]
jne 0x401b37
mov eax, dword [esp + 0x3c]
jmp 0x4030d4
cmp eax, dword [esp + 0x40]
jne case.0x4014a5.7
mov eax, dword [esp + 0x44]
jmp 0x4030d4
push 0xfffffffffffffff0
call fcn.0040326d
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401ae5
push 1
call fcn.0040326d
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4030c5
push 2
call fcn.0040323c
push 3
mov esi, eax
call fcn.0040323c
push 1
mov ebx, eax
call fcn.0040326d
xor ecx, ecx
mov dword [esp + 0x18], eax
mov word [edi], cx
cmp dword [esp + 0x38], ecx
je 0x401b9d
test esi, esi
je case.0x4014a5.7
push eax
call sub.KERNEL32.dll_lstrlenW
test ebx, ebx
jns 0x401baf
add ebx, eax
js case.0x4014a5.7
cmp ebx, eax
cmovg ebx, eax
mov eax, dword [esp + 0x18]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.00407220
test esi, esi
je case.0x4014a5.7
jns 0x401bda
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
push 0
pop eax
cmovs esi, eax
cmp esi, 0x2004
jge case.0x4014a5.7
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4014a5.7
push 0x20
call fcn.0040326d
push 0x31
mov esi, eax
call fcn.0040326d
push eax
push esi
cmp dword [esp + 0x48], ebx
jne 0x401c1c
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b2e
jmp 0x401771
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401c0f
xor ebx, ebx
inc ebx
push ebx
call fcn.0040326d
push 0x2004
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c52
cmp dword [esp + 0x38], ebp
je 0x401c59
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c59
xor eax, eax
mov ebp, ebx
mov word [edi], ax
xor eax, eax
mov word [edi + 0x4006], ax
jmp case.0x4014a5.7
push ebx
call fcn.0040323c
push 1
mov esi, eax
call fcn.0040323c
cmp dword [esp + 0x44], ebx
jne 0x401c93
cmp esi, eax
jl 0x401b2e
jle 0x401771
mov eax, dword [esp + 0x40]
jmp 0x4030d4
cmp esi, eax
jb 0x401b2e
jbe 0x401771
jmp 0x401c8a
xor esi, esi
inc esi
push esi
call fcn.0040323c
push 2
mov dword [esp + 0x18], eax
call fcn.0040323c
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xc
ja case.default.0x401cc6
jmp dword [eax*4 + 0x403208]
mov edx, dword [esp + 0x14]
add edx, ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
sub edx, ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
imul edx, ecx
jmp 0x401d63
test ecx, ecx
je 0x401cf9
mov eax, dword [esp + 0x14]
cdq
idiv ecx
jmp 0x401d22
mov edx, ebx
mov ebp, esi
jmp 0x401d63
mov edx, dword [esp + 0x14]
or edx, ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
and edx, ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
xor edx, ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
sete al
mov edx, eax
jmp 0x401d63
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x401d32
test ecx, ecx
je 0x401d3e
mov edx, esi
jmp 0x401d63
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x401d2e
mov edx, ebx
jmp 0x401d63
test ecx, ecx
je 0x401cf9
mov eax, dword [esp + 0x14]
cdq
idiv ecx
jmp 0x401d63
mov edx, dword [esp + 0x14]
shl edx, cl
jmp 0x401d63
mov edx, dword [esp + 0x14]
sar edx, cl
jmp 0x401d63
mov edx, dword [esp + 0x14]
push edx
jmp 0x4030c6
push 1
call fcn.0040326d
push 2
mov esi, eax
call fcn.0040323c
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401a25
mov ecx, dword [esp + 0x38]
mov eax, ecx
mov esi, dword [0x40c0c0]
test ecx, ecx
je 0x401df3
dec eax
test esi, esi
je 0x401dd3
mov esi, dword [esi]
test eax, eax
jne 0x401d97
test esi, esi
je 0x401dd3
add esi, 4
mov edi, 0x40c0c8
push esi
push edi
call fcn.00407220
mov eax, dword [0x40c0c0]
add eax, 4
push eax
push esi
call fcn.00407220
mov eax, dword [0x40c0c0]
push edi
add eax, 4
push eax
jmp 0x402e10
push ecx
push str.Exch:_stack____d_elements
call fcn.00406a77
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406369
push eax
jmp 0x401acd
cmp dword [esp + 0x34], ebx
je 0x401e24
test esi, esi
jne 0x401e0d
push str.Pop:_stack_empty
call fcn.00406a77
pop ecx
jmp 0x401889
lea eax, [esi + 4]
push eax
push edi
call fcn.00407220
mov eax, dword [esi]
mov dword [0x40c0c0], eax
push esi
jmp 0x40227b
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406369
mov eax, dword [0x40c0c0]
mov dword [esi], eax
mov dword [0x40c0c0], esi
jmp case.0x4014a5.7
push 3
call fcn.0040323c
push 4
mov dword [esp + 0x14], eax
call fcn.0040323c
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], esi
test al, 1
je 0x401e81
push 0x33
call fcn.0040326d
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
test al, 2
je 0x401e92
push 0x44
call fcn.0040326d
mov esi, eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x2c], 0xc
push 1
jne 0x401eea
call fcn.0040323c
push 2
mov dword [esp + 0x20], eax
call fcn.0040323c
mov ecx, dword [esp + 0x44]
sar ecx, 2
test ecx, ecx
je 0x401ed8
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 0x401f1c
push esi
push dword [esp + 0x14]
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401f18
call fcn.0040326d
push 0x12
mov esi, eax
call fcn.0040326d
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.0x4014a5.7
jmp 0x4030c5
push ebx
call fcn.0040323c
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 0x4030d4
push 2
call fcn.0040323c
push eax
push 1
call fcn.0040323c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4030c5
mov eax, dword [0x473e08]
add eax, dword [esp + 0x34]
push eax
push 0xffffffffffffffeb
push ebx
call fcn.0040323c
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4014a5.7
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.0040326d
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.0x4014a5.7
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4014a5.7
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.0040323c
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x4200f0], eax
call fcn.0040323c
mov ecx, dword [esp + 0x40]
push dword [esp + 0x34]
mov dword [0x420100], eax
mov al, cl
and al, 1
mov byte [0x420107], 1
mov byte [0x420104], al
mov al, cl
and al, 2
and cl, 4
push 0x42010c
mov byte [0x420105], al
mov byte [0x420106], cl
call fcn.00406369
push 0x4200f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4030c5
push ebx
call fcn.0040323c
push 1
mov esi, eax
call fcn.0040323c
mov edi, eax
cmp dword [esp + 0x38], ebx
je 0x40207d
push str.HideWindow
call fcn.00406a77
pop ecx
push edi
push esi
cmp dword [esp + 0x44], ebx
jne 0x402090
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4014a5.7
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4014a5.7
push ebx
call fcn.0040326d
push 0x31
mov esi, eax
call fcn.0040326d
push 0x22
mov dword [esp + 0x24], eax
call fcn.0040326d
push 0x15
mov edi, eax
call fcn.0040326d
push 0x4100d0
push 0xffffffffffffffec
call fcn.00405eef
push dword [esp + 0x3c]
xor ecx, ecx
cmp word [edi], bx
push 0x4cc0b0
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 0x402112
push eax
push edi
push dword [esp + 0x28]
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406a77
add esp, 0x14
jmp 0x401889
push edi
push dword [esp + 0x24]
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406a77
add esp, 0x10
jmp case.0x4014a5.7
push ebx
call fcn.0040326d
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406a77
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.00405eef
push edi
call fcn.00406ba8
mov ebx, eax
push edi
test ebx, ebx
je 0x4021af
push str.Exec:_success____s__
call fcn.00406a77
pop ecx
pop ecx
cmp dword [esp + 0x38], ebp
je 0x4021a9
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x402175
push 0xf
call fcn.00406629
push 0x64
push ebx
call edi
cmp eax, 0x102
je 0x40216e
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x34], ebp
jl 0x40219f
push dword [esp + 0x1c]
push esi
call fcn.004071aa
jmp 0x4021a9
xor eax, eax
inc eax
cmp dword [esp + 0x1c], ebp
cmovne ebp, eax
push ebx
jmp 0x402a51
push str.Exec:_failed_createprocess____s__
jmp 0x4017eb
push 2
call fcn.0040326d
push eax
call fcn.004069b3
mov ebx, eax
test ebx, ebx
je 0x4021dd
push dword [ebx + 0x14]
push esi
call fcn.004071aa
push dword [ebx + 0x18]
jmp 0x4030c6
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x401889
push 0xffffffffffffffee
call fcn.0040326d
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.0x4014a5.7
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x20], eax
test eax, eax
je case.0x4014a5.7
push eax
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x54]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402277
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 0x402277
mov eax, dword [esp + 0x1c]
push dword [eax + 8]
push edi
call fcn.004071aa
mov eax, dword [esp + 0x1c]
push dword [eax + 0xc]
push esi
call fcn.004071aa
mov ebp, ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4014a5.7
push 0x11
call fcn.0040326d
push 0x2004
mov esi, eax
push edi
push esi
call fcn.00407823
push edi
push esi
push 0x409a58
xor ecx, ecx
inc ecx
test eax, eax
cmove ebp, ecx
call fcn.00406a77
add esp, 0x18
jmp case.0x4014a5.7
push 0x11
call fcn.0040326d
push 0x2004
mov esi, eax
push edi
push esi
call fcn.0040749b
push edi
push esi
push str.GetTTFFontName__s__returned__s
jmp 0x4022a2
xor esi, esi
inc esi
mov ebp, esi
cmp dword [0x473e24], ebx
jl 0x4023d6
push 0xfffffffffffffff0
call fcn.0040326d
mov edi, eax
push esi
mov dword [esp + 0x24], edi
call fcn.0040326d
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x40], ebx
je 0x402314
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x402328
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 0x4023bc
push dword [esp + 0x1c]
push edi
call fcn.0040668c
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x402379
mov ebp, ebx
cmp dword [esp + 0x38], ebx
je 0x402359
push dword [esp + 0x38]
call fcn.004033c2
call dword [esp + 0x18]
test eax, eax
je 0x402397
mov ebp, esi
jmp 0x402397
mov eax, dword [esp + 0x10]
push section..data
push 0x40c0c0
push section..ndata
push 0x2004
push eax
call ecx
add esp, 0x14
jmp 0x402397
mov ebx, dword [esp + 0x1c]
push ebx
push 0xfffffffffffffff7
call fcn.00405eef
push dword [esp + 0x20]
push ebx
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406a77
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne case.0x4014a5.7
push edi
call fcn.00403e6d
test eax, eax
je case.0x4014a5.7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4014a5.7
push 0x4100d0
push 0xfffffffffffffff6
call fcn.00405eef
push dword [esp + 0x20]
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4017ee
push 0x4100d0
push 0xffffffffffffffe7
call fcn.00405eef
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401654
push 0xfffffffffffffff0
call fcn.0040326d
push 0xffffffffffffffdf
mov dword [esp + 0x14], eax
call fcn.0040326d
mov edi, eax
push 2
mov dword [esp + 0x1c], edi
call fcn.0040326d
push 0xffffffffffffffcd
mov dword [esp + 0x24], eax
call fcn.0040326d
mov esi, eax
push 0x45
mov dword [esp + 0x20], esi
call fcn.0040326d
push edi
mov dword [esp + 0x4c], eax
call fcn.00407462
test eax, eax
jne 0x402438
push 0x21
call fcn.0040326d
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.00406a77
add esp, 0x20
lea eax, [esp + 0x14]
xor esi, esi
inc esi
push eax
push 0x40ab48
push esi
push ebx
push 0x40ab68
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40256c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push 0x40ab58
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
test edi, edi
js 0x402552
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 0x4cc0b0
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 0x4024ec
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 0x402517
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 0x402548
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 0x40256c
push 0x4100d0
push 0xfffffffffffffff4
jmp 0x401536
push 0x4100d0
mov ebp, esi
push 0xfffffffffffffff0
jmp 0x401536
push ebx
call fcn.0040326d
push 0x11
mov esi, eax
call fcn.0040326d
push 0x23
mov edi, eax
call fcn.0040326d
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [esp + 0x24], eax
call fcn.00406a77
add esp, 0xc
push esi
call fcn.004069b3
test eax, eax
jne 0x4025bc
push ebx
push 0xfffffffffffffff9
call fcn.00405eef
jmp 0x401889
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.00405eef
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4014a5.7
jmp 0x4025af
cmp ecx, 0xbadf00d
jne 0x401de0
inc dword [0x473e94]
jmp case.0x4014a5.7
push str._RM_
mov esi, 0x4100d0
mov dword [esp + 0x24], ebx
push esi
mov dword [esp + 0x24], ebx
call fcn.00407220
push esi
mov edi, 0x4140d8
push edi
call fcn.00407220
cmp dword [esp + 0x30], ebx
je 0x402665
push ebx
call fcn.0040326d
mov ebx, eax
cmp dword [esp + 0x34], ebp
je 0x402676
push 0x11
call fcn.0040326d
mov dword [esp + 0x20], eax
cmp dword [esp + 0x40], ebp
je 0x402687
push 0x22
call fcn.0040326d
mov dword [esp + 0x1c], eax
push 0xffffffffffffffcd
call fcn.0040326d
mov esi, eax
push esi
push edi
push 0x4100d0
push 0x40c0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406a77
add esp, 0x14
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401881
mov eax, dword [0x409cf8]
mov dword [esp + 0x48], eax
mov eax, dword [0x409cfc]
push 1
mov dword [esp + 0x50], eax
call fcn.0040326d
push 0x12
mov edi, eax
call fcn.0040326d
push 0xffffffffffffffdd
mov esi, eax
call fcn.0040326d
mov ebx, dword [esp + 0x18]
push eax
push 0x2003
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.0x4014a5.7
xor ebp, ebp
mov word [ebx], ax
inc ebp
jmp case.0x4014a5.7
push dword [esp + 0x34]
call fcn.00406918
mov ebx, eax
pop ecx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x40], ebp
jne 0x40277a
push 2
call fcn.00403364
mov edi, eax
test edi, edi
je 0x401889
push 0x33
call fcn.0040326d
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4140d8
push dword [esp + 0x20]
mov ebx, eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406a77
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4027ac
push 0x22
call fcn.0040326d
mov esi, eax
push esi
push ebx
push str.DeleteRegKey:___s_s_
call fcn.00406a77
mov ecx, dword [esp + 0x4c]
add esp, 0xc
and ecx, 2
push ecx
push esi
push dword [esp + 0x3c]
call fcn.00403258
push eax
call fcn.004032ae
mov ebx, eax
test ebx, ebx
je case.0x4014a5.7
jmp 0x401889
push ecx
call fcn.00403258
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.0040326d
push 0x11
mov dword [esp + 0x18], eax
call fcn.0040326d
push esi
mov dword [esp + 0x28], eax
call fcn.00406918
pop ecx
mov ecx, dword [0x473eb0]
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 0x402940
mov eax, dword [esp + 0x1c]
mov esi, 0x4140d8
mov dword [esp + 0x20], ebx
cmp eax, edi
jne 0x402880
push 0x23
call fcn.0040326d
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 0x40286d
push str.WriteRegStr:___s_s____s___s_
call fcn.00406a77
add esp, 0x14
jmp 0x4028fd
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406a77
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x402884
mov edi, dword [esp + 0x24]
cmp eax, 4
jne 0x4028b8
push 3
call fcn.0040323c
push eax
push dword [esp + 0x18]
mov dword [0x4140d8], eax
push edi
push dword [esp + 0x1c]
mov dword [esp + 0x30], 4
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406a77
mov eax, dword [esp + 0x30]
add esp, 0x14
cmp eax, 3
jne 0x4028fd
push 0xc018
push esi
push ebx
push dword [esp + 0x48]
call fcn.0040341e
push eax
push esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
push 0x100
push eax
call fcn.00406899
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.00406a77
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 0x40291e
mov ebp, ebx
jmp 0x402931
push esi
push edi
push dword [esp + 0x18]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406a77
add esp, 0x10
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4014a5.7
push dword [esp + 0x24]
push dword [esp + 0x14]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401a20
push 0x20019
call fcn.00403364
push 0x33
mov esi, eax
call fcn.0040326d
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x401889
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x4008
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 0x4029d4
cmp dword [esp + 0x1c], 4
je 0x4029b9
cmp dword [esp + 0x1c], ecx
je 0x4029a9
cmp dword [esp + 0x1c], 2
jne 0x4029d4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov ebp, dword [esp + 0x40]
mov word [edi + eax*2], cx
jmp 0x4029db
push dword [edi]
xor eax, eax
cmp dword [esp + 0x44], eax
push edi
sete al
mov dword [esp + 0x2c], eax
call fcn.004071aa
mov ebp, dword [esp + 0x24]
jmp 0x4029db
xor eax, eax
mov ebp, ecx
mov word [edi], ax
push esi
jmp 0x402935
push 0x20019
call fcn.00403364
push 3
mov esi, eax
call fcn.0040323c
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x401889
mov ecx, 0x2003
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x40], ebx
je 0x402a1c
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402a36
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 0x401889
xor eax, eax
mov word [edi + 0x4006], ax
jmp 0x4029db
cmp word [edi], bx
je case.0x4014a5.7
push edi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4014a5.7
push 0xffffffffffffffed
call fcn.0040326d
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
call fcn.00406e77
cmp eax, 0xffffffff
jne 0x4030c5
xor eax, eax
mov word [edi], ax
jmp 0x401889
push 0x2004
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 0x402aae
push esi
call fcn.0040323c
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov eax, esi
jmp 0x402add
push 0x11
call fcn.0040326d
push ebx
push ebx
push 0x2004
push dword [esp + 0x1c]
push 0xffffffffffffffff
push 0x4100d0
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 0x402afb
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push edi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402afd
mov ebp, esi
push dword [esp + 0x10]
jmp 0x40227b
push 2
mov dword [esp + 0x14], ebx
call fcn.0040323c
xor esi, esi
inc esi
cmp eax, esi
jl case.0x4014a5.7
mov ecx, 0x2003
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x18], eax
cmp word [edi], bx
je 0x402c23
push edi
mov byte [esp + 0x28], bl
call fcn.00407106
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x18], ebx
jle 0x402c27
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 0x402bf9
cmp dword [esp + 0x1c], esi
jne 0x402bf9
cmp dword [esp + 0x3c], ebx
jne 0x402c12
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 0x402bc9
cmp al, 0xa
je 0x402bc9
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 0x402bfd
mov eax, dword [esp + 0x48]
cmp ecx, dword [esp + 0x18]
jl 0x402b4f
jmp 0x402bfd
mov cl, byte [esp + 0x2b]
cmp al, cl
je 0x402beb
cmp cl, 0xd
je 0x402bdb
cmp cl, 0xa
jne 0x402beb
mov ax, word [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov word [edi + ecx*2], ax
inc ecx
jmp 0x402bfd
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.0x4014a5.7
mov ebp, esi
jmp case.0x4014a5.7
movzx eax, byte [esp + 0x2b]
push eax
push edi
call fcn.004071aa
jmp 0x4030d2
mov edi, dword [esp + 0x14]
mov ecx, ebx
jmp 0x402bfd
xor esi, esi
inc esi
cmp dword [esp + 0x38], ebx
je 0x402c44
push esi
call fcn.0040323c
mov word [0x4100d0], ax
mov eax, esi
jmp 0x402c51
push 0x11
call fcn.0040326d
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x402c0b
push ebx
lea ecx, [esp + 0x1c]
add eax, eax
push ecx
push eax
push 0x4100d0
push edi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x402c05
push 2
mov dword [esp + 0x14], ebx
call fcn.0040323c
xor esi, esi
inc esi
cmp eax, esi
jl case.0x4014a5.7
mov ecx, 0x2003
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x48], eax
cmp word [edi], bx
je 0x402c23
mov edx, ebx
push edi
mov dword [esp + 0x1c], edx
call fcn.00407106
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x48], ebx
jle 0x402c27
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 0x402bf9
cmp dword [esp + 0x20], 2
jne 0x402bf9
cmp dword [esp + 0x3c], ebx
jne 0x402d5a
mov ecx, dword [esp + 0x18]
push 0xd
pop edx
cmp cx, dx
je 0x402d2e
push 0xa
pop eax
cmp cx, ax
je 0x402d2e
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 0x402bfd
mov eax, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x48]
jl 0x402cbc
jmp 0x402bfd
mov ax, word [esp + 0x24]
cmp cx, ax
je 0x402d4d
cmp ax, dx
je 0x402be0
push 0xa
pop ecx
cmp ax, cx
je 0x402be0
push esi
push ebx
push 0xfffffffffffffffe
push dword [esp + 0x28]
jmp 0x402bf3
movzx eax, word [esp + 0x24]
jmp 0x402c17
cmp word [edi], bx
je case.0x4014a5.7
push dword [esp + 0x3c]
push ebx
push 2
call fcn.0040323c
push eax
push edi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x34], ebx
jl case.0x4014a5.7
push eax
push esi
jmp 0x4030c7
cmp word [edi], bx
je case.0x4014a5.7
push edi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4014a5.7
cmp word [esi], bx
je 0x401866
lea eax, [esp + 0x168]
push eax
push esi
call fcn.00407106
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401866
jmp 0x402e07
push 2
call fcn.0040326d
lea ecx, [esp + 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e00
xor eax, eax
mov word [esi], ax
jmp 0x402a7a
push eax
push esi
call fcn.004071aa
lea eax, [esp + 0x194]
push eax
push edi
call fcn.00407220
jmp case.0x4014a5.7
push 0xfffffffffffffff0
mov dword [esp + 0x4c], 0xfffffd66
call fcn.0040326d
mov esi, eax
push esi
mov dword [esp + 0x20], esi
call fcn.00407462
test eax, eax
jne 0x402e40
push 0xffffffffffffffed
call fcn.0040326d
push esi
call fcn.004072f9
push 2
push 0x40000000
push esi
call fcn.00406e77
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
je 0x402f22
mov eax, dword [0x473dd4]
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 0x402f1b
push ebx
call fcn.00403407
push dword [esp + 0x18]
push dword [esp + 0x24]
call fcn.004033d3
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 0x402eea
push dword [esp + 0x38]
push edi
push ebx
push dword [esp + 0x40]
call fcn.0040341e
cmp byte [edi], bl
je 0x402ee0
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.00406b86
add edi, esi
cmp byte [edi], bl
jne 0x402ec0
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.0040341e
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.00406a77
add esp, 0xc
push 0xfffffffffffffff3
pop ebx
test edi, edi
jns 0x402f49
push 0xffffffffffffffef
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebp, ebp
inc ebp
push ebx
call fcn.004033c2
jmp case.0x4014a5.7
test ecx, ecx
je 0x402f99
push dword [esp + 0x34]
push str.settings_logging_to__d
call fcn.00406a77
mov eax, dword [esp + 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x462d20], eax
call fcn.00406a77
add esp, 0x10
cmp dword [esp + 0x34], ebx
je 0x402f8d
call fcn.00405972
jmp case.0x4014a5.7
push 1
call fcn.00406aa9
jmp case.0x4014a5.7
push 1
call fcn.0040326d
push eax
push 0x409808
jmp 0x4017ee
push ebx
call fcn.0040323c
mov ebx, eax
cmp ebx, dword [0x473dec]
jae 0x401889
mov ecx, dword [esp + 0x38]
imul edi, ebx, 0x4020
add edi, dword [0x473de8]
test ecx, ecx
js 0x402fe6
mov eax, dword [edi + ecx*4]
jne 0x402d91
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x402e10
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x38], eax
je 0x403000
push 1
call fcn.0040323c
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x403018
push dword [esp + 0x40]
lea eax, [edi + 0x18]
push eax
call fcn.00406369
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.0x4014a5.7
push ebx
call fcn.0040122b
jmp case.0x4014a5.7
push ebx
call fcn.0040323c
mov edx, eax
cmp edx, 0x20
jae 0x401889
cmp dword [esp + 0x3c], ebx
je 0x40306b
cmp dword [esp + 0x38], ebx
je 0x403060
push edx
call fcn.0040129a
push ebx
push ebx
call fcn.004012e7
jmp case.0x4014a5.7
push ebx
call fcn.004011a0
jmp 0x402d91
mov eax, dword [0x473ddc]
cmp dword [esp + 0x38], ebx
je 0x403083
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4014a5.7
push dword [eax + edx*4 + 0x94]
push esi
call fcn.00406369
jmp case.0x4014a5.7
and ecx, dword [0x4381f8]
push ebx
push ecx
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x30], ebx
je case.0x4014a5.7
mov eax, dword [esp + 0x10]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4014a5.7
push 1
call fcn.0040326d
push eax
call fcn.00405fd3
push eax
push edi
call fcn.004071aa
add dword [0x473e88], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 4