Function at 0x401593
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, 0x3ac
mov eax, dword [0x472dd4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
mov dword [ebp - 0xc], eax
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x4008
mov edi, esi
imul edi, edi, 0x4008
mov ecx, section..ndata
add eax, ecx
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
mov dword [0x40b0c4], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
add eax, 0xfffffffe
add edi, ecx
cmp eax, 0x47
mov dword [ebp - 4], ebx
ja case.0x4015f0.70
jmp dword [eax*4 + 0x40311f]
push esi
push str.Jump:__d
call fcn.00406401
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x403116
xor esi, esi
call fcn.00401453
push eax
push str.Aborting:___s_
call fcn.00406401
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.004050df
mov eax, 0x7fffffff
jmp 0x403116
inc dword [0x46ad94]
cmp dword [ebp - 0xc], ebx
je 0x401629
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401629
push esi
call fcn.00401373
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406401
pop ecx
pop ecx
push ebx
push esi
call fcn.00401392
jmp 0x403116
xor esi, esi
call fcn.00401453
push eax
push str.detailprint:__s
call fcn.00406401
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.004050df
jmp case.0x4015f0.70
xor ecx, ecx
call fcn.0040143d
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406401
cmp esi, 1
pop ecx
pop ecx
jg 0x4016a9
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015f0.70
push str.BringToFront
call fcn.00406401
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015f0.70
mov eax, esi
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x4016fb
mov ecx, dword [eax + 0x472e80]
mov dword [eax + 0x472e40], ecx
xor ecx, ecx
inc ecx
call fcn.0040143d
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x472e80], eax
jmp case.0x4015f0.70
mov ecx, dword [eax + 0x472e40]
mov dword [eax + 0x472e80], ecx
jmp case.0x4015f0.70
mov esi, dword [ebp - 0x24]
lea esi, [esi*4 + 0x472e80]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov dword [esi], ecx
mov eax, dword [ebp + eax*4 - 0x2c]
jmp 0x403116
push dword [edx*4 + 0x472e80]
jmp 0x403105
mov eax, dword [0x46ada0]
cmp eax, ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x40174f
push edx
push eax
call edi
mov esi, dword [ebp - 0x2c]
mov eax, dword [0x46ad8c]
cmp eax, ebx
je case.0x4015f0.70
push esi
push eax
call edi
jmp case.0x4015f0.70
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406401
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015f0.70
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406401
pop ecx
jmp case.0x4015f0.70
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push dword [ebp - 0x28]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.00406401
add esp, 0xc
push dword [ebp + 8]
call fcn.00405eba
mov esi, eax
cmp esi, ebx
je 0x401852
push 0x5c
push esi
call fcn.00405e66
mov esi, eax
movzx edi, word [esi]
push ebx
push dword [ebp + 8]
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401839
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40181a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406401
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401848
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401848
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406401
inc dword [ebp - 4]
jmp 0x401846
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.00406401
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4017d3
cmp dword [ebp - 0x28], ebx
je 0x401879
push 0xffffffffffffffe6
call fcn.0040142c
push dword [ebp + 8]
push 0x4cb0b0
call fcn.00406167
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x4015f0.70
push 0xfffffffffffffff5
call fcn.0040142c
jmp case.0x4015f0.70
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
call fcn.00406433
test eax, eax
je 0x4018b1
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406401
add esp, 0xc
mov eax, dword [ebp - 0x28]
jmp 0x403116
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406401
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x403116
push 0xffffffffffffffd0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401453
push 0x13
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406401
pop ecx
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40190b
push 0xffffffffffffffe3
jmp 0x40187b
cmp dword [ebp - 0x24], ebx
je 0x401932
push edi
call fcn.00406433
test eax, eax
je 0x401932
push dword [ebp + 8]
push edi
call fcn.00406db6
push 0xffffffffffffffe4
call fcn.0040142c
push esi
push str.Rename_on_reboot:__s
jmp 0x40193f
push esi
push str.Rename_failed:__s
mov dword [ebp - 4], 1
call fcn.00406401
pop ecx
jmp 0x4017a3
xor esi, esi
call fcn.00401453
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 8]
push eax
push edi
push 0x2004
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x40198f
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x401999
cmp word [eax], bx
je 0x401999
push esi
call fcn.00406433
cmp eax, ebx
je 0x40198f
add eax, 0x2c
push eax
push dword [ebp - 8]
call fcn.00406167
jmp 0x401999
mov word [edi], bx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], ebx
jne case.0x4015f0.70
push 0x2004
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015f0.70
or esi, 0xffffffff
call fcn.00401453
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015f0.70
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x4015f0.70
push 0xffffffffffffffef
pop esi
call fcn.00401453
push eax
push edi
call fcn.00405fe0
test eax, eax
jne case.0x4015f0.70
mov dword [ebp - 4], 1
jmp case.0x4015f0.70
push 0x31
pop esi
call fcn.00401453
mov esi, eax
mov eax, dword [ebp - 0x2c]
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 - 0xc], esi
mov dword [ebp + 8], ecx
call fcn.00406401
add esp, 0x10
push esi
call fcn.00405e85
test eax, eax
push esi
mov esi, 0x40b0c8
je 0x401a4f
push esi
call fcn.00406167
jmp 0x401a66
push 0x4cb0b0
push esi
call fcn.00406167
push eax
call fcn.00406877
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406196
mov edi, 0x4130d8
cmp dword [ebp + 8], 3
jl 0x401aa8
push esi
call fcn.00406433
xor ecx, ecx
cmp eax, ebx
je 0x401a93
lea ecx, [ebp - 0x20]
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 0x401ab3
push esi
call fcn.00405f91
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405fb1
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x401b94
cmp dword [ebp + 8], ebx
jne 0x401b51
push esi
push str.File:_error_creating___s_
call fcn.00406401
pop ecx
pop ecx
push section..ndata
push edi
call fcn.00406167
push esi
push section..ndata
call fcn.00406167
push dword [ebp - 0x18]
push 0x40f0d0
call fcn.0040695a
push edi
push section..ndata
call fcn.00406167
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40f0d0
call fcn.00405e02
sub eax, 4
jne 0x401b3b
push str.File:_error__user_retry
call fcn.00406401
pop ecx
jmp 0x401a71
dec eax
je 0x401b7e
push str.File:_error__user_abort
call fcn.00406401
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x401624
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.004050df
cmp dword [ebp + 8], 2
jne 0x401b68
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406401
add esp, 0xc
jmp case.0x4015f0.70
push str.File:_error__user_cancel
call fcn.00406401
inc dword [0x472e88]
pop ecx
jmp 0x403114
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.004050df
inc dword [0x472eb4]
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.00403577
dec dword [0x472eb4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406401
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401bd4
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401be3
lea eax, [ebp - 0x20]
push eax
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x4015f0.70
cmp edi, 0xfffffffe
jne 0x401c0c
push 0xffffffffffffffe9
push esi
call fcn.0040695a
push dword [ebp - 0xc]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c14
push 0xffffffffffffffee
push esi
call fcn.0040695a
push esi
push 0x408a84
call fcn.00406401
pop ecx
pop ecx
push 0x200010
push esi
call fcn.00405e02
jmp 0x401629
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406401
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00406de9
jmp case.0x4015f0.70
push 0x31
pop esi
call fcn.00401453
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.00406401
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00405e02
cmp eax, ebx
je 0x4019fd
cmp eax, dword [ebp - 0x24]
jne 0x401c8e
mov eax, dword [ebp - 0x20]
jmp 0x403116
cmp eax, dword [ebp - 0x1c]
jne case.0x4015f0.70
mov eax, dword [ebp - 0x18]
jmp 0x403116
push 0xfffffffffffffff0
pop esi
call fcn.00401453
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c40
xor esi, esi
inc esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x403104
push 2
pop ecx
call fcn.0040143d
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.0040143d
xor esi, esi
inc esi
mov dword [ebp - 0x10], eax
call fcn.00401453
cmp dword [ebp - 0x24], ebx
mov esi, eax
mov word [edi], bx
je 0x401cf5
cmp dword [ebp + 8], ebx
je case.0x4015f0.70
push esi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x10], ebx
jge 0x401d09
add dword [ebp - 0x10], eax
js case.0x4015f0.70
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
jle 0x401d12
mov ecx, eax
lea eax, [esi + ecx*2]
push eax
push edi
call fcn.00406167
cmp dword [ebp + 8], ebx
je case.0x4015f0.70
jge 0x401d35
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401d35
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], 0x2004
jge case.0x4015f0.70
mov eax, dword [ebp + 8]
mov word [edi + eax*2], bx
jmp case.0x4015f0.70
push 0x20
pop esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
cmp dword [ebp - 0x1c], ebx
push eax
push edi
jne 0x401d7a
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c86
jmp 0x4018c2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d6d
xor esi, esi
inc esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401dae
cmp dword [ebp - 0x24], ebx
je 0x401db8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401db8
mov dword [ebp - 4], 1
mov word [edi], bx
mov word [edi + 0x4006], bx
jmp case.0x4015f0.70
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x18], ebx
jne 0x401df0
cmp esi, eax
jl 0x401c86
jle 0x4018c2
mov eax, dword [ebp - 0x1c]
jmp 0x403116
cmp esi, eax
jb 0x401c86
jbe 0x4018c2
jmp 0x401de8
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401e1c
jmp dword [eax*4 + 0x40323f]
add esi, ecx
jmp case.default.0x401e1c
sub esi, ecx
jmp case.default.0x401e1c
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e1c
cmp ecx, ebx
je 0x401e3d
mov eax, esi
cdq
idiv ecx
jmp 0x401e5b
xor esi, esi
mov dword [ebp - 4], 1
jmp case.default.0x401e1c
or esi, ecx
jmp case.default.0x401e1c
and esi, ecx
jmp case.default.0x401e1c
xor esi, ecx
jmp case.default.0x401e1c
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
jmp case.default.0x401e1c
cmp esi, ebx
jne 0x401e67
cmp ecx, ebx
je 0x401e70
xor esi, esi
inc esi
jmp case.default.0x401e1c
cmp esi, ebx
jne 0x401e63
xor esi, esi
jmp case.default.0x401e1c
cmp ecx, ebx
je 0x401e3d
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e1c
shl esi, cl
jmp case.default.0x401e1c
sar esi, cl
push esi
jmp 0x403105
xor esi, esi
inc esi
call fcn.00401453
push 2
pop ecx
mov esi, eax
call fcn.0040143d
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401b76
mov eax, dword [ebp - 0x24]
cmp eax, ebx
mov esi, dword [0x40b0c0]
je 0x401f18
dec eax
cmp esi, ebx
je 0x401ec9
cmp eax, ebx
mov esi, dword [esi]
jne 0x401eba
cmp esi, ebx
jne 0x401eeb
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.00406401
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040695a
push eax
jmp 0x401c27
lea edi, [esi + 4]
push edi
mov esi, 0x40b0c8
push esi
call fcn.00406167
mov eax, dword [0x40b0c0]
add eax, 4
push eax
push edi
call fcn.00406167
mov eax, dword [0x40b0c0]
push esi
add eax, 4
push eax
jmp 0x402e73
cmp edx, ebx
je 0x401f47
cmp esi, ebx
jne 0x401f30
push str.Pop:_stack_empty
call fcn.00406401
pop ecx
jmp 0x4019fd
lea eax, [esi + 4]
push eax
push edi
call fcn.00406167
mov eax, dword [esi]
mov dword [0x40b0c0], eax
push esi
jmp 0x40239d
push 0x400c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040695a
mov eax, dword [0x40b0c0]
mov dword [esi], eax
mov dword [0x40b0c0], esi
jmp case.0x4015f0.70
push 3
pop ecx
call fcn.0040143d
push 4
pop ecx
mov dword [ebp - 0x10], eax
call fcn.0040143d
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401f9b
push 0x33
pop esi
call fcn.00401453
mov dword [ebp - 0x10], eax
test byte [ebp - 0x18], 2
je 0x401fac
push 0x44
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
jne 0x401ffa
xor ecx, ecx
inc ecx
call fcn.0040143d
push 2
pop ecx
mov esi, eax
call fcn.0040143d
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401fea
lea edx, [ebp - 0xc]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x402035
push dword [ebp + 8]
push dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402032
xor esi, esi
inc esi
call fcn.00401453
push 0x12
pop esi
mov dword [ebp - 0x44], eax
call fcn.00401453
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x44]
push ecx
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x4015f0.70
push dword [ebp - 0xc]
jmp 0x403105
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018c2
jmp 0x4018a9
push 2
pop ecx
call fcn.0040143d
xor ecx, ecx
push eax
inc ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x403104
mov eax, dword [0x472e08]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.0040143d
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015f0.70
push edx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x24]
push 0x10
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x24]
push eax
push ebx
xor esi, esi
call fcn.00401453
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x4015f0.70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x4015f0.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.0040143d
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 3
neg eax
pop ecx
mov dword [0x41f0f0], eax
call fcn.0040143d
push dword [ebp - 0x28]
mov dword [0x41f100], eax
mov al, byte [ebp - 0x1c]
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.0040695a
push 0x41f0f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x403104
xor ecx, ecx
call fcn.0040143d
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.0040143d
cmp dword [ebp - 0x24], ebx
mov edi, eax
je 0x402195
push str.HideWindow
call fcn.00406401
pop ecx
cmp dword [ebp - 0x20], ebx
push edi
push esi
jne 0x4021a7
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015f0.70
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015f0.70
xor esi, esi
call fcn.00401453
push 0x31
pop esi
mov edi, eax
call fcn.00401453
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push 0x15
pop esi
mov ebx, eax
call fcn.00401453
push 0xffffffffffffffec
call fcn.0040142c
mov ax, word [ebx]
push dword [ebp - 0x20]
neg ax
push 0x4cb0b0
sbb eax, eax
and eax, ebx
push eax
mov ax, word [edi]
push dword [ebp + 8]
neg ax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x402226
push eax
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406401
add esp, 0x14
jmp 0x4019fd
push ebx
push dword [ebp + 8]
push edi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406401
add esp, 0x10
jmp case.0x4015f0.70
xor esi, esi
call fcn.00401453
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406401
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.004050df
push esi
call fcn.00405da1
cmp eax, ebx
mov dword [ebp - 0x10], eax
push esi
je 0x4022d3
push str.Exec:_success____s__
call fcn.00406401
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x4022cb
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push dword [ebp - 0x10]
call esi
mov edi, 0x102
jmp 0x40229c
push 0xf
call fcn.00406491
push 0x64
push dword [ebp - 0x10]
call esi
cmp eax, edi
je 0x40228e
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x4022bf
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004060ae
jmp 0x4022cb
cmp dword [ebp - 8], ebx
je 0x4022cb
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
jmp 0x402b08
push str.Exec:_failed_createprocess____s__
jmp 0x401938
push 2
pop esi
call fcn.00401453
push eax
call fcn.00406433
mov esi, eax
cmp esi, ebx
je 0x402304
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.004060ae
push dword [esi + 0x18]
jmp 0x403105
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
jmp 0x4019fd
push 0xffffffffffffffee
pop esi
call fcn.00401453
lea ecx, [ebp - 0x34]
push ecx
push eax
mov dword [ebp - 0x44], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp + 8]
mov word [edi], bx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x4015f0.70
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je case.0x4015f0.70
push eax
push esi
push ebx
push dword [ebp - 0x44]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40239a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
push 0x408838
push dword [ebp - 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40239a
mov eax, dword [ebp - 8]
push dword [eax + 8]
push edi
call fcn.004060ae
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004060ae
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015f0.70
push 0x11
pop esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call fcn.0040728e
add esp, 0xc
test eax, eax
jne 0x4023cc
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFVersionString__s__returned__s
jmp 0x401b71
push 0x11
pop esi
call fcn.00401453
push 0x2004
mov esi, eax
push edi
push esi
call fcn.004072ff
add esp, 0xc
test eax, eax
jne 0x4023fc
mov dword [ebp - 4], 1
push edi
push esi
push str.GetTTFFontName__s__returned__s
jmp 0x401b71
cmp dword [0x472eb8], ebx
mov dword [ebp - 4], 1
jl 0x4024fa
push 0xfffffffffffffff0
pop esi
call fcn.00401453
xor esi, esi
inc esi
mov edi, eax
call fcn.00401453
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], eax
je 0x402443
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402458
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4024e8
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.004064c4
mov esi, eax
cmp esi, ebx
je 0x4024a6
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x402488
push dword [ebp - 0x24]
call fcn.0040142c
call esi
test eax, eax
je 0x4024c1
mov dword [ebp - 4], 1
jmp 0x4024c1
push section..data
push 0x40b0c0
push section..ndata
push 0x2004
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x4024c1
push dword [ebp - 0x10]
push 0xfffffffffffffff7
call fcn.004050df
push edi
push dword [ebp - 0x10]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406401
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne case.0x4015f0.70
push dword [ebp + 8]
call fcn.00403e3a
test eax, eax
je case.0x4015f0.70
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015f0.70
push 0xfffffffffffffff6
call fcn.0040142c
push edi
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x40193f
push 0xffffffffffffffe7
call fcn.0040142c
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40179e
push 0xfffffffffffffff0
pop esi
call fcn.00401453
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x3c], eax
call fcn.00401453
push 2
pop esi
mov edi, eax
call fcn.00401453
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401453
push 0x45
pop esi
mov dword [ebp - 8], eax
call fcn.00401453
push edi
mov dword [ebp - 0x34], eax
call fcn.00405e85
test eax, eax
jne 0x402553
push 0x21
pop esi
call fcn.00401453
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sar ecx, 0x10
push ecx
movzx ecx, ah
push ecx
mov esi, 0xff
and eax, esi
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x3c]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406401
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x409b34
push 1
push ebx
push 0x409b44
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402658
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push 0x409b54
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x40264a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4cb0b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x4025ee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x402613
mov edi, dword [ebp - 0x1c]
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 - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x10], ebx
jl 0x402641
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x3c]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
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 - 0x10], ebx
jge 0x402666
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x40187b
push 0xfffffffffffffff4
jmp 0x40187b
xor esi, esi
call fcn.00401453
push 0x11
pop esi
mov edi, eax
call fcn.00401453
push 0x23
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
mov esi, dword [ebp + 8]
push esi
push edi
push str.CopyFiles___s_____s_
mov dword [ebp - 0x34], eax
call fcn.00406401
add esp, 0xc
push edi
call fcn.00406433
test eax, eax
jne 0x4026b5
push ebx
push 0xfffffffffffffff9
call fcn.004050df
jmp 0x4019fd
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenW
push esi
mov word [edi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [esi + eax*2 + 2], bx
mov eax, dword [ebp - 0x34]
mov cx, word [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.004050df
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015f0.70
jmp 0x4026a8
cmp esi, 0xbadf00d
jne 0x401ed8
inc dword [0x472e94]
jmp case.0x4015f0.70
push str._RM_
mov esi, 0x40f0d0
push esi
mov dword [ebp - 0x44], ebx
mov dword [ebp + 8], ebx
call fcn.00406167
push esi
mov edi, 0x4130d8
push edi
call fcn.00406167
cmp dword [ebp - 0x2c], ebx
je 0x40274f
xor esi, esi
call fcn.00401453
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x28], ebx
je 0x40275f
push 0x11
pop esi
call fcn.00401453
mov dword [ebp + 8], eax
cmp dword [ebp - 0x1c], ebx
je 0x40276e
push 0x22
pop esi
call fcn.00401453
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401453
mov esi, eax
push esi
push edi
push 0x40f0d0
push 0x40b0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406401
add esp, 0x14
push esi
push ebx
push dword [ebp + 8]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4019f5
mov eax, dword [0x40858c]
mov dword [ebp - 0x48], eax
mov eax, dword [0x408590]
xor esi, esi
inc esi
mov dword [ebp - 0x44], eax
call fcn.00401453
push 0x12
pop esi
mov dword [ebp - 0x34], eax
call fcn.00401453
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.00401453
push eax
push 0x2003
push edi
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 8]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x4019cf
push edx
call fcn.0040631e
cmp dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x40284d
push 2
call fcn.00401544
mov edi, eax
cmp edi, ebx
je 0x4019fd
push 0x33
pop esi
call fcn.00401453
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 - 0x44], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406401
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40288a
push 0x22
pop esi
call fcn.00401453
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406401
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, ebx
jne 0x402879
mov eax, dword [0x472e84]
add eax, 0x80000001
mov ecx, dword [ebp - 0x1c]
and ecx, 2
push ecx
push esi
push eax
call fcn.0040148e
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], ebx
je case.0x4015f0.70
jmp 0x4019fd
cmp esi, ebx
je 0x4028a0
mov edi, esi
jmp 0x4028ac
mov edi, dword [0x472e84]
add edi, 0x80000001
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
push 2
pop esi
mov dword [ebp - 0x44], eax
call fcn.00401453
push 0x11
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401453
push edi
mov dword [ebp + 8], eax
call fcn.0040631e
pop ecx
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [0x472eb0]
push ebx
or eax, 2
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402a04
xor esi, esi
cmp dword [ebp - 8], 1
mov edi, 0x4130d8
jne 0x402951
push 0x23
pop esi
call fcn.00401453
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x44], 1
push edi
push dword [ebp - 0xc]
lea esi, [eax + eax + 2]
push dword [ebp + 8]
push dword [ebp - 0x10]
jne 0x402944
push str.WriteRegStr:___s_s____s___s_
call fcn.00406401
add esp, 0x14
jmp 0x4029c5
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406401
add esp, 0x14
cmp dword [ebp - 8], 4
jne 0x40297e
push 3
pop ecx
call fcn.0040143d
push 4
pop esi
push eax
push dword [ebp - 0xc]
mov dword [0x4130d8], eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406401
add esp, 0x14
cmp dword [ebp - 8], 3
jne 0x4029c5
push 0xc018
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00403577
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x15c]
push 0x100
push eax
call fcn.00406382
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteRegBin:___s_s____s___s_
call fcn.00406401
add esp, 0x24
push esi
push edi
push dword [ebp - 0x44]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4029e0
mov dword [ebp - 4], ebx
jmp 0x4029f6
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406401
add esp, 0x10
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015f0.70
push dword [ebp + 8]
push dword [ebp - 0x10]
push str.WriteReg:_error_creating_key___s_s_
jmp 0x401b71
push 0x20019
call fcn.00401544
push 0x33
pop esi
mov dword [ebp - 8], eax
call fcn.00401453
cmp dword [ebp - 8], ebx
mov word [edi], bx
je 0x4019fd
lea ecx, [ebp - 0x44]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push dword [ebp - 8]
mov dword [ebp - 0x44], 0x4008
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402a8c
cmp dword [ebp + 8], 4
je 0x402a77
cmp dword [ebp + 8], ecx
je 0x402a68
cmp dword [ebp + 8], 2
jne 0x402a8c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov word [edi + eax*2], bx
jmp 0x402a92
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.004060ae
jmp 0x402a92
mov word [edi], bx
mov dword [ebp - 4], ecx
push dword [ebp - 8]
jmp 0x4029f9
push 0x20019
call fcn.00401544
push 3
pop ecx
mov esi, eax
call fcn.0040143d
cmp esi, ebx
mov word [edi], bx
je 0x4019fd
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x2003
mov dword [ebp + 8], ecx
je 0x402ad2
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402aeb
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4019fd
mov word [edi + 0x4006], bx
push esi
jmp 0x4029f9
cmp word [edi], bx
je case.0x4015f0.70
push edi
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015f0.70
push 0xffffffffffffffed
pop esi
call fcn.00401453
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00405fb1
cmp eax, 0xffffffff
jne 0x403104
mov word [edi], bx
jmp 0x4019fd
push 0x2004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x24], ebx
mov esi, eax
mov dword [ebp + 8], esi
je 0x402b5e
xor ecx, ecx
inc ecx
call fcn.0040143d
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x402b88
push 0x11
pop esi
call fcn.00401453
push ebx
push ebx
push 0x2004
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 [edi], bx
je 0x402ba7
push ebx
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402bae
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x40239d
push 2
pop ecx
xor esi, esi
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x4015f0.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402bd8
mov dword [ebp - 8], ecx
cmp word [edi], bx
je 0x402c95
push edi
mov byte [ebp - 0x35], bl
call fcn.004060c7
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x44], eax
jle 0x402c95
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c98
cmp dword [ebp - 0x34], 1
jne 0x402c98
cmp dword [ebp - 0x20], ebx
jne 0x402c59
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 0x402c69
cmp al, 0xa
je 0x402c69
mov ax, word [ebp - 0xc]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
cmp al, bl
mov byte [ebp - 0x35], al
je 0x402c98
cmp esi, dword [ebp - 8]
jl 0x402bf9
jmp 0x402c98
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.004060ae
jmp 0x403114
cmp al, byte [ebp + 0xb]
je 0x402c85
cmp byte [ebp + 0xb], 0xd
je 0x402c7a
cmp byte [ebp + 0xb], 0xa
jne 0x402c85
mov ax, word [ebp - 0xc]
mov word [edi + esi*2], ax
inc esi
jmp 0x402c98
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402c98
mov edi, dword [ebp + 8]
mov word [edi + esi*2], bx
cmp esi, ebx
jmp 0x4019f7
cmp dword [ebp - 0x24], ebx
je 0x402cbb
xor ecx, ecx
inc ecx
call fcn.0040143d
mov word [0x40f0d0], ax
xor eax, eax
inc eax
jmp 0x402cc9
push 0x11
pop esi
call fcn.00401453
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [edi], bx
je 0x4019fd
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40f0d0
push edi
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4019f5
push 2
pop ecx
xor esi, esi
call fcn.0040143d
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x4015f0.70
mov ecx, 0x2003
cmp eax, ecx
jle 0x402d13
mov dword [ebp - 8], ecx
cmp word [edi], bx
je 0x402c95
push edi
mov dword [ebp - 0x10], ebx
call fcn.004060c7
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x44], eax
jle 0x402c95
mov edi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x34]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c98
cmp dword [ebp - 0x34], 2
jne 0x402c98
cmp dword [ebp - 0x20], ebx
jne 0x402d8f
cmp word [ebp - 0x10], 0xd
je 0x402d98
cmp word [ebp - 0x10], 0xa
je 0x402d98
mov ax, word [ebp + 8]
movzx ecx, ax
mov word [edi + esi*2], ax
inc esi
cmp ax, bx
mov dword [ebp - 0x10], ecx
je 0x402c98
cmp esi, dword [ebp - 8]
jl 0x402d34
jmp 0x402c98
movzx eax, word [ebp + 8]
jmp 0x402c5d
mov ax, word [ebp + 8]
cmp word [ebp - 0x10], ax
je 0x402db6
cmp ax, 0xd
je 0x402c7e
cmp ax, 0xa
je 0x402c7e
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x402c8a
cmp word [edi], bx
je case.0x4015f0.70
push dword [ebp - 0x20]
push ebx
push 2
pop ecx
call fcn.0040143d
push eax
push edi
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x4015f0.70
push eax
push dword [ebp + 8]
jmp 0x403106
cmp word [edi], bx
je case.0x4015f0.70
push edi
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015f0.70
mov eax, dword [ebp + 8]
cmp word [eax], bx
je 0x4019d7
lea eax, [ebp - 0x3ac]
push eax
push dword [ebp + 8]
call fcn.004060c7
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4019d7
jmp 0x402e6b
push 2
pop esi
call fcn.00401453
lea ecx, [ebp - 0x3ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402e62
mov eax, dword [ebp + 8]
mov word [eax], bx
jmp 0x402b30
push eax
push dword [ebp + 8]
call fcn.004060ae
lea eax, [ebp - 0x380]
push eax
push edi
call fcn.00406167
jmp case.0x4015f0.70
push 0xfffffffffffffff0
pop esi
mov dword [ebp - 8], 0xfffffd66
call fcn.00401453
mov edi, eax
push edi
mov dword [ebp - 0x3c], edi
call fcn.00405e85
test eax, eax
jne 0x402ea3
push 0xffffffffffffffed
pop esi
call fcn.00401453
push edi
call fcn.00405f91
push 2
push 0x40000000
push edi
call fcn.00405fb1
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402f5f
mov eax, dword [0x472e2c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x44], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402f56
push ebx
call fcn.004033e2
push dword [ebp - 0x44]
push edi
call fcn.004033b0
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x34], esi
je 0x402f2e
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00403577
jmp 0x402f21
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
add esi, 8
push esi
add eax, edi
push eax
mov dword [ebp - 0x14], ecx
call fcn.00405f6d
add esi, dword [ebp - 0x14]
cmp byte [esi], bl
jne 0x402f09
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x44]
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.00403577
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push str.created_uninstaller:__d____s_
call fcn.00406401
add esp, 0xc
cmp dword [ebp - 8], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402f8d
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40187b
cmp esi, ebx
je 0x402fd3
push edx
push str.settings_logging_to__d
call fcn.00406401
mov eax, dword [ebp - 0x28]
push eax
push str.logging_set_to__d
mov dword [0x461530], eax
call fcn.00406401
add esp, 0x10
cmp dword [ebp - 0x28], ebx
je 0x402fc7
call fcn.00403ff6
jmp case.0x4015f0.70
push 1
call fcn.00406245
jmp case.0x4015f0.70
xor esi, esi
inc esi
call fcn.00401453
push eax
push 0x408a84
jmp 0x40193f
xor ecx, ecx
call fcn.0040143d
mov edi, eax
cmp edi, dword [0x472dec]
jae 0x4019fd
mov eax, dword [ebp - 0x24]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x472de8]
cmp eax, ebx
jl 0x403027
mov ecx, dword [esi + eax*4]
jne 0x403021
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402e73
push ecx
jmp 0x402ded
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x40303e
xor ecx, ecx
inc ecx
call fcn.0040143d
mov dword [ebp - 0x28], eax
jmp 0x403051
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.0040695a
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x4015f0.70
push edi
call fcn.0040117d
jmp case.0x4015f0.70
xor ecx, ecx
call fcn.0040143d
cmp eax, 0x20
jae 0x4019fd
cmp dword [ebp - 0x20], ebx
je 0x4030a2
cmp dword [ebp - 0x24], ebx
je 0x403097
push eax
call fcn.0040129d
push ebx
push ebx
call fcn.004011ef
jmp case.0x4015f0.70
push ebx
call fcn.004012e8
jmp 0x402dec
cmp dword [ebp - 0x24], ebx
je 0x4030b9
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x472ddc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015f0.70
mov ecx, dword [0x472ddc]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.0040695a
jmp case.0x4015f0.70
mov eax, dword [0x457284]
push ebx
and eax, esi
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x4015f0.70
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4015f0.70
xor esi, esi
inc esi
call fcn.00401453
push eax
call fcn.0040650b
push eax
push edi
call fcn.004060ae
mov eax, dword [ebp - 4]
add dword [0x472e88], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4