Function at 0x401325
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
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x439f68]
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x10], eax
mov eax, section..ndata
shl esi, 0xb
shl edi, 0xb
add esi, eax
add edi, eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
mov dword [0x40d9f0], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 4], ebx
cmp eax, 0x4d
ja case.0x401377.4
jmp dword [eax*4 + 0x402f2a]
push ecx
push str.Jump:__d
call fcn.00408a35
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x402f23
push ebx
call fcn.004030b3
push eax
push str.Aborting:___s_
call fcn.00408a35
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00407811
jmp 0x40248d
inc dword [0x438f0c]
cmp dword [ebp - 0x10], ebx
je 0x40248d
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40248d
push ecx
call fcn.0040125e
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00408a35
pop ecx
pop ecx
push ebx
push esi
call fcn.0040127a
jmp 0x402f23
push ebx
call fcn.004030b3
push eax
push str.detailprint:__s
call fcn.00408a35
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00407811
jmp case.0x401377.4
push ebx
call fcn.00403096
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00408a35
pop ecx
cmp esi, 1
pop ecx
jg 0x40142f
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401377.4
push str.BringToFront
call fcn.00408a35
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401377.4
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x401480
mov ecx, dword [eax + 0x439fc0]
push 1
mov dword [eax + 0x43a000], ecx
call fcn.00403096
mov ecx, dword [ebp - 0x2c]
mov dword [ecx*4 + 0x439fc0], eax
jmp case.0x401377.4
mov ecx, dword [eax + 0x43a000]
mov dword [eax + 0x439fc0], ecx
jmp case.0x401377.4
mov eax, dword [ebp - 0x24]
lea esi, [eax*4 + 0x439fc0]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [esi], ecx
jmp 0x402f23
mov eax, dword [edx*4 + 0x439fc0]
push esi
jmp 0x402f10
mov eax, dword [0x438f10]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x4014d5
push edx
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x438f24]
cmp eax, ebx
je case.0x401377.4
push ecx
push eax
call esi
jmp case.0x401377.4
push 0xfffffffffffffff0
call fcn.004030b3
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00408a35
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401377.4
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00408a35
jmp 0x402269
push 0xfffffffffffffff0
call fcn.004030b3
push dword [ebp - 0x28]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.00408a35
add esp, 0xc
push dword [ebp + 8]
call fcn.004080b4
mov esi, eax
cmp esi, ebx
je 0x4015d5
push 0x5c
push esi
call fcn.00408036
mov esi, eax
push ebx
push dword [ebp + 8]
mov di, word [esi]
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4015bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40159d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00408a35
add esp, 0xc
inc dword [ebp - 4]
jmp 0x4015cb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4015cb
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00408a35
inc dword [ebp - 4]
jmp 0x4015c9
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.00408a35
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x401556
cmp dword [ebp - 0x28], ebx
je 0x4015fc
push 0xffffffffffffffe6
call fcn.00401314
push dword [ebp + 8]
push 0x446000
call fcn.0040852d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp case.0x401377.4
push 0xfffffffffffffff5
jmp 0x4023d1
push ebx
call fcn.004030b3
mov esi, eax
push esi
call fcn.00408a66
test eax, eax
je 0x40162b
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00408a35
add esp, 0xc
jmp 0x401e3e
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00408a35
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x402f23
push 0xffffffffffffffd0
call fcn.004030b3
push 0xffffffffffffffdf
mov esi, eax
call fcn.004030b3
push 0x13
mov dword [ebp + 8], eax
call fcn.004030b3
mov edi, eax
push edi
push str.Rename:__s
call fcn.00408a35
pop ecx
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401682
push 0xffffffffffffffe3
jmp 0x4023d1
cmp dword [ebp - 0x24], ebx
je 0x4016ac
push esi
call fcn.00408a66
test eax, eax
je 0x4016ac
push dword [ebp + 8]
push esi
call fcn.00408480
push 0xffffffffffffffe4
call fcn.00401314
push edi
push str.Rename_on_reboot:__s
jmp 0x402263
push edi
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x402263
push ebx
call fcn.004030b3
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4016ff
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401709
cmp word [eax], bx
je 0x401709
push esi
call fcn.00408a66
cmp eax, ebx
je 0x4016ff
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040852d
jmp 0x401709
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x24], ebx
jne case.0x401377.4
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401377.4
push 0xffffffffffffffff
call fcn.004030b3
lea ecx, [ebp + 8]
push ecx
push esi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401377.4
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x401377.4
push 0xffffffffffffffef
call fcn.004030b3
push eax
push esi
call fcn.00408261
test eax, eax
jne case.0x401377.4
jmp 0x402bba
push 0x31
call fcn.004030b3
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
push esi
sar eax, 3
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 0x34], esi
mov dword [ebp + 8], ecx
call fcn.00408a35
add esp, 0x10
push esi
call fcn.00408080
push esi
mov esi, 0x40d9f8
test eax, eax
je 0x4017b5
push esi
call fcn.0040852d
jmp 0x4017cc
push 0x446000
push esi
call fcn.0040852d
push eax
call fcn.00408009
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004087cd
mov edi, 0x40e9f8
cmp dword [ebp + 8], 3
jl 0x40180e
push esi
call fcn.00408a66
xor ecx, ecx
cmp eax, ebx
je 0x4017f9
lea ecx, [ebp - 0x20]
add eax, 0x14
push ecx
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 0x401819
push esi
call fcn.00408213
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00408232
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x4018f2
cmp dword [ebp + 8], ebx
jne 0x4018b7
push esi
push str.File:_error_creating___s_
call fcn.00408a35
pop ecx
pop ecx
push section..ndata
push edi
call fcn.0040852d
push esi
push section..ndata
call fcn.0040852d
push dword [ebp - 0x18]
push 0x40e1f8
call fcn.0040854f
push edi
push section..ndata
call fcn.0040852d
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40e1f8
call fcn.00407d75
sub eax, 4
jne 0x4018a1
push str.File:_error__user_retry
call fcn.00408a35
pop ecx
jmp 0x4017d7
dec eax
je 0x4018dc
push str.File:_error__user_abort
call fcn.00408a35
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x4013aa
push dword [ebp - 0x34]
push 0xffffffffffffffe2
call fcn.00407811
cmp dword [ebp + 8], 2
jne 0x4018ce
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
jmp 0x40276f
push str.File:_error__user_cancel
call fcn.00408a35
inc dword [0x439fc8]
pop ecx
jmp 0x402f21
push dword [ebp - 0x34]
push 0xffffffffffffffea
call fcn.00407811
inc dword [0x439ff4]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0040351b
dec dword [0x439ff4]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00408a35
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401932
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401944
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x401377.4
cmp edi, 0xfffffffe
jne 0x40196d
push 0xffffffffffffffe9
push esi
call fcn.0040854f
push dword [ebp - 0x34]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401975
push 0xffffffffffffffee
push esi
call fcn.0040854f
push esi
push 0x40c734
call fcn.00408a35
pop ecx
pop ecx
push 0x200010
push esi
jmp 0x402488
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x28]
push eax
push ebx
push dword [ebp - 0x24]
call fcn.0040351b
test eax, eax
jge 0x4019b7
mov dword [ebp - 4], 1
mov eax, edi
push esi
cdq
push edx
push eax
call fcn.00404d49
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp case.0x401377.4
push ebx
call fcn.004030b3
mov esi, eax
push esi
push str.Delete:___s_
jmp 0x401a32
push 0x31
call fcn.004030b3
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.00408a35
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00407d75
cmp eax, ebx
je 0x402bba
cmp eax, dword [ebp - 0x24]
je 0x401b88
cmp eax, dword [ebp - 0x1c]
jne case.0x401377.4
mov eax, dword [ebp - 0x18]
jmp 0x402f23
push 0xfffffffffffffff0
call fcn.004030b3
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00408a35
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00407dd9
jmp case.0x401377.4
push 1
call fcn.004030b3
push esi
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402f10
push 2
call fcn.00403096
push 3
mov dword [ebp + 8], eax
call fcn.00403096
push 1
mov edi, eax
call fcn.004030b3
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x44], eax
mov word [esi], bx
je 0x401a88
cmp dword [ebp + 8], ebx
je case.0x401377.4
push eax
call sub.KERNEL32.dll_lstrlenW
cmp edi, ebx
jge 0x401a9a
add edi, eax
js case.0x401377.4
cmp edi, eax
jle 0x401aa0
mov edi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.0040852d
mov edi, dword [ebp + 8]
cmp edi, ebx
je case.0x401377.4
jge 0x401ac9
push esi
call sub.KERNEL32.dll_lstrlenW
add edi, eax
jns 0x401ac9
mov dword [ebp + 8], ebx
mov edi, ebx
cmp edi, 0x400
jge case.0x401377.4
mov word [esi + edi*2], bx
jmp case.0x401377.4
push 0x20
call fcn.004030b3
push 0x31
mov esi, eax
call fcn.004030b3
cmp dword [ebp - 0x1c], ebx
push eax
push esi
jne 0x401b08
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401b88
jmp 0x40163c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401afb
xor edi, edi
inc edi
push edi
call fcn.004030b3
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401b40
cmp dword [ebp - 0x24], ebx
je 0x401b46
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401b46
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x401377.4
push ebx
call fcn.00403096
push 1
mov edi, eax
mov esi, edx
call fcn.00403096
cmp dword [ebp - 0x18], ebx
jne 0x401b7e
cmp esi, edx
jg 0x401ba2
jl 0x401b88
cmp edi, eax
jb 0x401b88
cmp esi, edx
jl 0x40163c
jg 0x401ba2
jmp 0x401b9a
cmp esi, edx
ja 0x401ba2
jb 0x401b88
cmp edi, eax
jae 0x401b90
mov eax, dword [ebp - 0x20]
jmp 0x402f23
cmp esi, edx
jb 0x40163c
ja 0x401ba2
cmp edi, eax
jbe 0x40163c
mov eax, dword [ebp - 0x1c]
jmp 0x402f23
push 1
call fcn.00403096
push 2
mov edi, eax
mov dword [ebp - 0x44], edx
call fcn.00403096
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xc
ja case.default.0x401bcb
jmp dword [eax*4 + 0x403062]
add edi, ecx
adc dword [ebp - 0x44], edx
jmp case.default.0x401bcb
sub edi, ecx
sbb dword [ebp - 0x44], edx
jmp case.default.0x401bcb
push dword [ebp - 0x44]
push edi
push edx
push ecx
call fcn.00409060
jmp 0x401c78
mov eax, ecx
or eax, edx
je 0x401c54
push edx
push ecx
push dword [ebp - 0x44]
push edi
call fcn.00408fb0
jmp 0x401c78
or edi, ecx
or dword [ebp - 0x44], edx
jmp case.default.0x401bcb
and edi, ecx
and dword [ebp - 0x44], edx
jmp case.default.0x401bcb
xor edi, ecx
xor dword [ebp - 0x44], edx
jmp case.default.0x401bcb
xor eax, eax
or edi, dword [ebp - 0x44]
jne 0x401c3e
inc eax
jmp 0x401c3e
or edi, dword [ebp - 0x44]
jne 0x401c38
jmp 0x401c34
or edi, dword [ebp - 0x44]
je 0x401c3c
or ecx, edx
je 0x401c3c
xor eax, eax
jmp 0x401c25
xor eax, eax
cdq
jmp 0x401c78
mov eax, ecx
or eax, edx
je 0x401c54
push edx
push ecx
push dword [ebp - 0x44]
push edi
call fcn.00408ef0
jmp 0x401c78
xor edi, edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 1
jmp case.default.0x401bcb
mov edx, dword [ebp - 0x44]
mov eax, edi
call fcn.00408ed0
jmp 0x401c78
mov edx, dword [ebp - 0x44]
mov eax, edi
call fcn.00408ea0
mov edi, eax
mov dword [ebp - 0x44], edx
push esi
push dword [ebp - 0x44]
push edi
jmp 0x402f13
push 1
call fcn.004030b3
push 2
mov edi, eax
call fcn.00403096
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x402774
mov eax, dword [ebp - 0x24]
mov edi, dword [0x43a038]
cmp eax, ebx
je 0x401d02
dec eax
cmp edi, ebx
je 0x401cc1
mov edi, dword [edi]
cmp eax, ebx
jne 0x401cb2
cmp edi, ebx
jne 0x401cd5
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.00408a35
pop ecx
pop ecx
jmp 0x40247a
add edi, 4
mov esi, 0x40d9f8
push edi
push esi
call fcn.0040852d
mov eax, dword [0x43a038]
add eax, 4
push eax
push edi
call fcn.0040852d
mov eax, dword [0x43a038]
push esi
add eax, 4
push eax
jmp 0x402d6f
cmp edx, ebx
je 0x401d37
cmp edi, ebx
jne 0x401d1a
push str.Pop:_stack_empty
call fcn.00408a35
pop ecx
jmp 0x402bba
lea eax, [edi + 4]
push eax
push esi
call fcn.0040852d
mov eax, dword [edi]
push edi
mov dword [0x43a038], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401377.4
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040854f
mov eax, dword [0x43a038]
mov dword [esi], eax
mov dword [0x43a038], esi
jmp case.0x401377.4
push 3
call fcn.00403096
push 4
mov dword [ebp - 0x34], eax
call fcn.00403096
test byte [ebp - 0x18], 1
mov dword [ebp + 8], eax
je 0x401d88
push 0x33
call fcn.004030b3
mov dword [ebp - 0x34], eax
test byte [ebp - 0x18], 2
je 0x401d98
push 0x44
call fcn.004030b3
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x23
push 1
jne 0x401de4
call fcn.00403096
push 2
mov edi, eax
call fcn.00403096
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401dd4
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e17
push dword [ebp + 8]
push dword [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e14
call fcn.004030b3
push 0x12
mov edi, eax
call fcn.004030b3
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [edi]
neg ax
sbb eax, eax
push ecx
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x401377.4
mov eax, dword [ebp - 8]
push esi
jmp 0x402f10
push ebx
call fcn.00403096
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40163c
mov eax, dword [ebp - 0x28]
jmp 0x402f23
push esi
push 2
call fcn.00403096
push eax
push 1
call fcn.00403096
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402f10
mov eax, dword [0x439fa8]
add eax, edx
push eax
push 0xffffffffffffffeb
push ebx
call fcn.00403096
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401377.4
push edx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
push 0x10
imul eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x24]
push eax
push ebx
push ebx
call fcn.004030b3
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x401377.4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x401377.4
push 0x48
push 0x5a
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 2
call fcn.00403096
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push 3
mov dword [0x4101f8], eax
call fcn.00403096
mov dword [0x410208], eax
mov al, byte [ebp - 0x1c]
push dword [ebp - 0x28]
mov cl, al
and cl, 1
mov byte [0x41020f], 1
mov byte [0x41020c], cl
mov cl, al
and cl, 2
and al, 4
push 0x410214
mov byte [0x41020d], cl
mov byte [0x41020e], al
call fcn.0040854f
push esi
push 0x4101f8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402f10
push ebx
call fcn.00403096
push 1
mov esi, eax
call fcn.00403096
cmp dword [ebp - 0x24], ebx
mov edi, eax
je 0x401f74
push str.HideWindow
call fcn.00408a35
pop ecx
cmp dword [ebp - 0x20], ebx
push edi
push esi
jne 0x401f86
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401377.4
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401377.4
push ebx
call fcn.004030b3
push 0x31
mov esi, eax
call fcn.004030b3
push 0x22
mov ebx, eax
call fcn.004030b3
push 0x15
mov edi, eax
call fcn.004030b3
push 0xffffffffffffffec
call fcn.00401314
mov ax, word [edi]
push dword [ebp - 0x20]
neg ax
sbb eax, eax
push 0x446000
and eax, edi
push eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ebx
and eax, esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
jge 0x401ffc
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00408a35
add esp, 0x14
jmp 0x402bba
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00408a35
add esp, 0x10
jmp case.0x401377.4
push ebx
call fcn.004030b3
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00408a35
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00407811
push esi
call fcn.00407d14
cmp eax, ebx
mov dword [ebp + 8], eax
push esi
je 0x4020a2
push str.Exec:_success____s__
call fcn.00408a35
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x402094
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40205c
push 0xf
call fcn.00408ac6
push 0x64
push dword [ebp + 8]
call esi
cmp eax, 0x102
je 0x402055
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x28], ebx
jl 0x402088
push edi
push ebx
push dword [ebp - 0xc]
call fcn.00404d49
jmp 0x402094
cmp dword [ebp - 0xc], ebx
je 0x402094
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401377.4
mov dword [ebp - 4], 1
push 0x40c4f0
jmp 0x402263
push 2
call fcn.004030b3
push eax
call fcn.00408a66
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4020de
push edi
push ebx
push dword [eax + 0x14]
call fcn.00404d49
mov eax, dword [ebp + 8]
push esi
push ebx
push dword [eax + 0x18]
jmp 0x402f13
mov word [esi], bx
mov word [edi], bx
jmp 0x402bba
push 0xffffffffffffffee
call fcn.004030b3
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], eax
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov word [esi], bx
cmp eax, ebx
mov dword [ebp - 0xc], eax
mov word [edi], bx
mov dword [ebp - 4], 1
je case.0x401377.4
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401377.4
push eax
push dword [ebp - 0xc]
push ebx
push dword [ebp - 0x44]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x402170
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
push 0x40c4ec
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x402170
mov eax, dword [ebp - 8]
push esi
push ebx
push dword [eax + 8]
call fcn.00404d49
mov eax, dword [ebp - 8]
push edi
push ebx
push dword [eax + 0xc]
call fcn.00404d49
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401d2c
cmp dword [0x439ff8], ebx
mov dword [ebp - 4], 1
jl 0x40226f
push 0xfffffffffffffff0
call fcn.004030b3
push 1
mov edi, eax
call fcn.004030b3
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], eax
je 0x4021b1
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4021c6
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402256
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00408af9
mov esi, eax
cmp esi, ebx
je 0x402214
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x4021f6
push dword [ebp - 0x24]
call fcn.00401314
call esi
test eax, eax
je 0x40222f
mov dword [ebp - 4], 1
jmp 0x40222f
push section..data
push 0x43a038
push section..ndata
push 0x400
push dword [ebp - 0x10]
call esi
add esp, 0x14
jmp 0x40222f
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00407811
push edi
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00408a35
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne case.0x401377.4
push dword [ebp + 8]
call fcn.00404aa8
test eax, eax
je case.0x401377.4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401377.4
push 0xfffffffffffffff6
call fcn.00401314
push edi
push str.Error_registering_DLL:_Could_not_load__s
call fcn.00408a35
pop ecx
pop ecx
jmp case.0x401377.4
push 0xffffffffffffffe7
call fcn.00401314
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x401523
push 0xfffffffffffffff0
call fcn.004030b3
push 0xffffffffffffffdf
mov dword [ebp - 0x10], eax
call fcn.004030b3
push 2
mov edi, eax
call fcn.004030b3
push 0xffffffffffffffcd
mov dword [ebp - 8], eax
call fcn.004030b3
push 0x45
mov dword [ebp - 0xc], eax
call fcn.004030b3
push edi
mov dword [ebp - 0x44], eax
call fcn.00408080
test eax, eax
jne 0x4022c2
push 0x21
call fcn.004030b3
mov eax, dword [ebp - 0x1c]
mov esi, 0xff
mov ecx, eax
sar ecx, 0x10
push ecx
xor ecx, ecx
mov cl, ah
and eax, esi
push ecx
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
push str.CreateShortCut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00408a35
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x40a5ac
push 1
push ebx
push 0x40a5bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4023c8
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0x40a5cc
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x34], eax
jl 0x4023ba
mov eax, dword [ebp + 8]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
push 0x446000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
sar eax, 8
and eax, esi
je 0x40235e
mov ecx, dword [ebp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
sar ecx, 0x10
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
je 0x402383
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
and edi, esi
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x34], ebx
jl 0x4023b1
mov eax, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x34], ebx
jge 0x4023db
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401314
jmp case.0x401377.4
push 0xfffffffffffffff4
jmp 0x4023d1
push ebx
call fcn.004030b3
push 0x11
mov esi, eax
call fcn.004030b3
push 0x23
mov edi, eax
call fcn.004030b3
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp + 8], eax
call fcn.00408a35
add esp, 0xc
push esi
call fcn.00408a66
test eax, eax
jne 0x402420
push ebx
push 0xfffffffffffffff9
call fcn.00407811
jmp 0x402bba
mov eax, dword [ebp - 0x10]
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 2
call sub.KERNEL32.dll_lstrlenW
push edi
mov word [esi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x42], eax
mov word [ebp - 0x4c], cx
call fcn.00407811
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401377.4
jmp 0x402413
cmp ecx, 0xbadf00d
je 0x402497
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.0040854f
push eax
call fcn.00407d75
mov eax, 0x7fffffff
jmp 0x402f23
inc dword [0x439fd4]
jmp case.0x401377.4
mov esi, 0x40e1f8
push str._RM_
push esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
call fcn.0040852d
mov edi, 0x40e9f8
push esi
push edi
call fcn.0040852d
cmp dword [ebp - 0x2c], ebx
je 0x4024d5
push ebx
call fcn.004030b3
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], ebx
je 0x4024e4
push 0x11
call fcn.004030b3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], ebx
je 0x4024f3
push 0x22
call fcn.004030b3
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.004030b3
mov ebx, eax
push ebx
push edi
push esi
push 0x40d9f8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00408a35
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401763
mov eax, dword [0x40c2cc]
push 1
mov dword [ebp - 0x48], eax
mov eax, dword [0x40c2d0]
mov dword [ebp - 0x44], eax
call fcn.004030b3
push 0x12
mov edi, eax
call fcn.004030b3
push 0xffffffffffffffdd
mov dword [ebp + 8], eax
call fcn.004030b3
push eax
push 0x3ff
lea eax, [ebp - 0x48]
push esi
push eax
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x40173e
push edx
call fcn.00408953
cmp dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x4025c8
push 2
call fcn.004031bd
mov edi, eax
cmp edi, ebx
je 0x402bba
push 0x33
call fcn.004030b3
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x40e9f8
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00408a35
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4025fb
push 0x22
call fcn.004030b3
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00408a35
mov eax, dword [ebp - 0x1c]
add esp, 0xc
and eax, 2
push eax
push esi
push dword [ebp - 0x28]
call fcn.004031a8
push eax
call fcn.004030f3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je case.0x401377.4
jmp 0x402bba
push ecx
call fcn.004031a8
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
push 2
mov dword [ebp - 0x14], eax
call fcn.004030b3
push 0x11
mov dword [ebp - 0x10], eax
call fcn.004030b3
push edi
mov dword [ebp + 8], eax
call fcn.00408953
pop ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push ebx
push eax
mov eax, dword [0x439ff0]
or al, 2
push ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
xor esi, esi
inc esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402764
cmp dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
mov edi, 0x40e9f8
jne 0x4026b3
push 0x23
call fcn.004030b3
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x14], esi
push edi
push dword [ebp - 0x10]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
push dword [ebp + 8]
push dword [ebp - 0x34]
jne 0x4026a6
push str.WriteRegStr:___s_s____s___s_
call fcn.00408a35
add esp, 0x14
jmp 0x402729
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00408a35
add esp, 0x14
push 4
pop esi
cmp dword [ebp - 0xc], esi
jne 0x4026e1
push 3
call fcn.00403096
push eax
mov dword [0x40e9f8], eax
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
push dword [ebp + 8]
push dword [ebp - 0x34]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00408a35
add esp, 0x14
cmp dword [ebp - 0xc], 3
jne 0x402729
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.0040351b
mov dword [ebp - 8], eax
push eax
push edi
lea eax, [ebp - 0x15c]
push 0x100
push eax
call fcn.004089b7
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [ebp - 0x34]
push str.WriteRegBin:___s_s____s___s_
call fcn.00408a35
add esp, 0x24
push dword [ebp - 8]
push edi
push dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402746
mov dword [ebp - 4], ebx
jmp 0x40275c
push dword [ebp - 0x10]
push dword [ebp + 8]
push dword [ebp - 0x34]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00408a35
add esp, 0x10
push dword [ebp - 0x44]
jmp 0x402850
push dword [ebp + 8]
push dword [ebp - 0x34]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00408a35
add esp, 0xc
jmp case.0x401377.4
push 0x20019
call fcn.004031bd
push 0x33
mov edi, eax
call fcn.004030b3
cmp edi, ebx
mov word [esi], bx
je 0x402bba
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x800
push ecx
lea ecx, [ebp + 8]
push esi
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4027f0
cmp dword [ebp + 8], 4
je 0x4027da
cmp dword [ebp + 8], ecx
je 0x4027cb
cmp dword [ebp + 8], 2
jne 0x4027f0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov word [esi + eax*2], bx
jmp 0x40284f
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push esi
push ebx
push dword [esi]
sete al
mov dword [ebp - 4], eax
call fcn.00404d49
jmp 0x40284f
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x40284f
push 0x20019
call fcn.004031bd
push 3
mov edi, eax
call fcn.00403096
cmp edi, ebx
mov word [esi], bx
je 0x402bba
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40282f
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402848
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x402bba
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401377.4
cmp word [esi], bx
je case.0x401377.4
push esi
call fcn.00404be9
push eax
jmp 0x402097
push 0xffffffffffffffed
call fcn.004030b3
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00408232
cmp eax, 0xffffffff
je 0x402bb7
push esi
jmp 0x402f10
mov edi, 0x400
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x24], ebx
mov dword [ebp + 8], eax
je 0x4028b9
push 1
call fcn.00403096
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x4028de
push 0x11
call fcn.004030b3
push ebx
push ebx
push edi
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40e1f8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp word [esi], bx
je 0x402901
lea ecx, [ebp - 0x44]
push ebx
push ecx
push eax
push dword [ebp + 8]
push esi
call fcn.00404be9
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402170
mov dword [ebp - 4], 1
jmp 0x402170
push 2
mov dword [ebp + 8], ebx
call fcn.00403096
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x401377.4
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40292f
mov dword [ebp - 8], ecx
cmp word [esi], bx
je 0x4029f6
push esi
mov byte [ebp - 0x39], bl
call fcn.00404be9
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x44], eax
jle 0x4029f6
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp + 0xb]
push 1
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b11
cmp dword [ebp - 0x14], 1
jne 0x402b11
cmp dword [ebp - 0x20], ebx
jne 0x4029bb
lea eax, [ebp - 0xe]
push 2
push eax
lea eax, [ebp + 0xb]
push 1
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov al, byte [ebp - 0x39]
cmp al, 0xd
je 0x4029c4
cmp al, 0xa
je 0x4029c4
mov ax, word [ebp - 0xe]
mov word [edi + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
cmp al, bl
mov byte [ebp - 0x39], al
je 0x402b11
cmp esi, dword [ebp - 8]
jl 0x402950
jmp 0x402b11
movzx eax, byte [ebp + 0xb]
jmp 0x402ad9
cmp al, byte [ebp + 0xb]
je 0x4029e3
cmp byte [ebp + 0xb], 0xd
je 0x4029d5
cmp byte [ebp + 0xb], 0xa
jne 0x4029e3
mov ax, word [ebp - 0xe]
mov word [edi + esi*2], ax
inc esi
jmp 0x402b11
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402b11
mov esi, dword [ebp + 8]
jmp 0x402b11
cmp dword [ebp - 0x24], ebx
je 0x402a15
push 1
call fcn.00403096
mov word [0x40e1f8], ax
xor eax, eax
inc eax
jmp 0x402a22
push 0x11
call fcn.004030b3
push eax
call sub.KERNEL32.dll_lstrlenW
cmp word [esi], bx
je 0x402bba
lea ecx, [ebp + 8]
push ebx
add eax, eax
push ecx
push eax
push 0x40e1f8
push esi
call fcn.00404be9
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401763
push 2
mov dword [ebp - 0x14], ebx
call fcn.00403096
cmp eax, 1
mov dword [ebp + 8], eax
jl case.0x401377.4
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402a6c
mov dword [ebp + 8], ecx
cmp word [esi], bx
je 0x402b0e
push esi
mov dword [ebp - 8], ebx
call fcn.00404be9
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x44], eax
jle 0x402b0e
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push ebx
push eax
lea eax, [ebp - 0xc]
push 2
push eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b11
cmp dword [ebp - 0x34], 2
jne 0x402b11
cmp dword [ebp - 0x20], ebx
jne 0x402ad5
cmp word [ebp - 8], 0xd
je 0x402ae7
cmp word [ebp - 8], 0xa
je 0x402ae7
mov eax, dword [ebp - 0xc]
mov word [edi + esi*2], ax
inc esi
cmp ax, bx
mov dword [ebp - 8], eax
je 0x402b11
cmp esi, dword [ebp + 8]
jl 0x402a8d
jmp 0x402b11
movzx eax, word [ebp - 0xc]
cdq
push edi
push edx
push eax
call fcn.00404d49
jmp 0x402f21
mov eax, dword [ebp - 0xc]
cmp word [ebp - 8], ax
je 0x402b04
cmp ax, 0xd
je 0x4029d9
cmp ax, 0xa
je 0x4029d9
push 1
push ebx
push 0xfffffffffffffffe
jmp 0x4029e8
mov esi, dword [ebp - 0x14]
mov word [edi + esi*2], bx
cmp esi, ebx
jmp 0x401765
cmp word [esi], bx
je case.0x401377.4
push dword [ebp - 0x20]
push ebx
push 2
call fcn.00403096
push eax
push esi
call fcn.00404be9
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x401377.4
push edi
jmp 0x402df0
cmp word [esi], bx
je case.0x401377.4
push esi
call fcn.00404be9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401377.4
cmp word [edi], bx
je 0x401746
lea eax, [ebp - 0x3ac]
push eax
push edi
call fcn.00404be9
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401746
lea eax, [ebp - 0x380]
push eax
push esi
jmp 0x402d6f
push 2
call fcn.004030b3
lea ecx, [ebp - 0x3ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402bc6
mov word [edi], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x401377.4
cdq
push edi
push edx
push eax
call fcn.00404d49
jmp 0x402b8d
push 0xfffffffffffffff0
mov dword [ebp - 0xc], 0xfffffd66
call fcn.004030b3
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.00408080
test eax, eax
jne 0x402bf5
push 0xffffffffffffffed
call fcn.004030b3
push esi
call fcn.00408213
push 2
push 0x40000000
push esi
call fcn.00408232
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402cb1
mov eax, dword [0x439f74]
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 0x402ca8
push ebx
call fcn.00403778
push dword [ebp - 0x44]
push edi
call fcn.00403746
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], esi
je 0x402c80
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.0040351b
jmp 0x402c73
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x38], ecx
call fcn.004081e5
add esi, dword [ebp - 0x38]
cmp byte [esi], bl
jne 0x402c5b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 8]
push ebx
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.0040351b
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push str.created_uninstaller:__d____s_
call fcn.00408a35
add esp, 0xc
cmp dword [ebp - 0xc], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402cdf
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x4023d1
cmp ecx, ebx
je 0x402d25
push edx
push str.settings_logging_to__d
call fcn.00408a35
mov eax, dword [ebp - 0x28]
push eax
push 0x40c010
mov dword [0x436ec0], eax
call fcn.00408a35
add esp, 0x10
cmp dword [ebp - 0x28], ebx
je 0x402d19
call fcn.00405eee
jmp case.0x401377.4
push 1
call fcn.0040887c
jmp case.0x401377.4
push 1
call fcn.004030b3
push eax
push 0x40c734
jmp 0x402263
push ebx
call fcn.00403096
cmp eax, dword [0x439f8c]
mov dword [ebp + 8], eax
jae 0x402bba
mov esi, eax
mov ecx, dword [ebp - 0x24]
imul esi, esi, 0x818
add esi, dword [0x439f88]
cmp ecx, ebx
jl 0x402d79
mov eax, dword [esi + ecx*4]
jne 0x402ec3
add esi, 0x18
push esi
push edi
call fcn.0040852d
jmp case.0x401377.4
or eax, 0xffffffff
sub eax, ecx
mov dword [ebp - 0x24], eax
je 0x402d8f
push 1
call fcn.00403096
mov dword [ebp - 0x28], eax
jmp 0x402d9f
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.0040854f
or byte [esi + 9], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x401377.4
push dword [ebp + 8]
call section..text
jmp case.0x401377.4
push ebx
call fcn.00403096
cmp eax, 0x20
jae 0x402bba
cmp dword [ebp - 0x20], ebx
je 0x402df6
cmp dword [ebp - 0x24], ebx
je 0x402de9
push eax
call fcn.0040111c
push ebx
push ebx
call fcn.00401072
jmp case.0x401377.4
push edi
push ebx
call fcn.00401165
push ebx
jmp 0x402f12
cmp dword [ebp - 0x24], ebx
je 0x402e10
mov edx, dword [0x439f70]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*4 + 0x80], ecx
jmp case.0x401377.4
mov ecx, dword [0x439f70]
push dword [ecx + eax*4 + 0x80]
push edi
call fcn.0040854f
jmp case.0x401377.4
mov eax, dword [0x433808]
push ebx
and eax, ecx
push eax
push 0xb
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x401377.4
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x401377.4
push esi
mov eax, edi
jmp 0x402f10
push 1
call fcn.00403096
push 2
mov esi, eax
call fcn.00403096
cmp dword [ebp - 0x2c], ebx
mov dword [ebp + 8], eax
je 0x402e7d
push ebx
call fcn.00403096
jmp 0x402e84
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp esi, ebx
mov edi, eax
jne 0x402e9b
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call fcn.00404e17
push edi
push dword [ebp + 8]
push esi
call fcn.004081e5
jmp case.0x401377.4
push ebx
call fcn.00403096
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x28], ebx
jge 0x402ec3
push eax
call fcn.00404e17
jmp case.0x401377.4
push edi
jmp 0x402f10
cmp ecx, ebx
je 0x402ed2
push ebx
call fcn.00403096
jmp 0x402ed7
call fcn.00404df1
push eax
jmp 0x401d2c
push ecx
push ebx
call fcn.0040854f
push eax
call fcn.00404e67
jmp 0x402269
push ecx
push ebx
call fcn.0040854f
push eax
call fcn.00404ff7
jmp 0x402269
push esi
push edx
push ebx
call fcn.0040854f
push eax
call fcn.00404fac
pop ecx
cdq
push edx
push eax
call fcn.00404d49
mov eax, dword [ebp - 4]
add dword [0x439fc8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4