Function at 0x4014fa
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
sub esp, 0x3d4
push ebx
mov edx, dword [0x46b51c]
mov eax, section..ndata
push ebp
push esi
mov esi, dword [esp + 0x3e4]
xor ebx, ebx
push edi
push 7
pop ecx
lea edi, [esp + 0x24]
mov dword [esp + 0x1c], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov ebp, edi
mov ecx, dword [esp + 0x2c]
mov esi, ecx
shl ebp, 0xe
add ebp, eax
shl esi, 0xe
add esi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], edi
mov dword [0x40c0c4], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffffe
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], esi
cmp eax, 0x44
ja case.0x401564.66
jmp dword [eax*4 + 0x40318a]
push edi
push str.Jump:__d
call fcn.00406acd
mov eax, dword [esp + 0x30]
pop ecx
pop ecx
jmp 0x40317b
push ebx
call fcn.00403312
push eax
push str.Aborting:___s_
call fcn.00406acd
pop ecx
pop ecx
push ebx
push dword [esp + 0x2c]
call fcn.00405f72
mov eax, 0x7fffffff
jmp 0x40317b
inc dword [0x46b50c]
test edx, edx
je 0x40159e
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40159e
push edi
call fcn.004033d3
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406acd
pop ecx
pop ecx
push ebx
push esi
call fcn.004013af
jmp 0x40317b
push ebx
call fcn.00403312
push eax
push str.DetailPrint:__s
call fcn.00406acd
pop ecx
pop ecx
push ebx
push dword [esp + 0x2c]
call fcn.00405f72
jmp case.0x401564.66
push ebx
call fcn.004032d6
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406acd
xor edi, edi
add esp, 0xc
inc edi
cmp esi, edi
cmovg edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401564.66
push str.BringToFront
call fcn.00406acd
mov eax, dword [esp + 0x20]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401564.66
cmp dword [esp + 0x30], ebx
jne 0x401680
mov eax, dword [edi*4 + 0x4735e0]
push 1
mov dword [edi*4 + 0x4735a0], eax
call fcn.004032d6
mov ecx, eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x4735e0], ecx
call fcn.00406acd
add esp, 0x10
jmp case.0x401564.66
mov eax, dword [edi*4 + 0x4735a0]
mov dword [edi*4 + 0x4735e0], eax
jmp case.0x401564.66
mov edx, dword [esp + 0x30]
xor eax, eax
push 4
pop esi
mov ecx, dword [edx*4 + 0x4735e0]
test ecx, ecx
cmove eax, esi
and ecx, dword [esp + 0x34]
mov dword [edx*4 + 0x4735e0], ecx
mov eax, dword [esp + eax + 0x28]
jmp 0x40317b
push dword [ecx*4 + 0x4735e0]
push ebp
call fcn.00406a36
jmp case.0x401564.66
mov eax, dword [0x46b504]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4016e5
push ecx
push eax
call esi
mov edi, dword [esp + 0x28]
mov eax, dword [0x46b508]
test eax, eax
je case.0x401564.66
push edi
push eax
call esi
jmp case.0x401564.66
push 0xfffffffffffffff0
call fcn.00403312
push dword [esp + 0x2c]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406acd
add esp, 0xc
push dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401564.66
push str.SetFileAttributes_failed.
call fcn.00406acd
pop ecx
xor eax, eax
inc eax
jmp 0x403173
push 0xfffffffffffffff0
call fcn.00403312
push dword [esp + 0x2c]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406acd
add esp, 0xc
push esi
call fcn.004070fe
mov edi, eax
test edi, edi
je 0x4017f3
push 0x5c
push edi
call fcn.00406a17
mov edi, eax
xor eax, eax
movzx ebx, word [edi]
mov word [edi], ax
test bx, bx
jne 0x401795
cmp dword [esp + 0x30], eax
je 0x401795
call fcn.0040677e
test eax, eax
je 0x401795
push esi
call fcn.00406076
jmp 0x40179b
push esi
call fcn.00406056
test eax, eax
je 0x4017d7
cmp eax, 0xb7
je 0x4017bb
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406acd
add esp, 0xc
inc dword [esp + 0x10]
jmp 0x4017e4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4017e4
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406acd
inc dword [esp + 0x18]
jmp 0x4017e2
push esi
push str.CreateDirectory:___s__created
call fcn.00406acd
pop ecx
pop ecx
mov word [edi], bx
add edi, 2
test bx, bx
jne 0x401767
cmp dword [esp + 0x2c], 0
push 0x4100c8
je 0x40183f
push 0xffffffffffffffe6
call fcn.00405f72
push esi
push 0x4cc000
call fcn.00407067
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401564.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406acd
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
jmp 0x403173
push 0xfffffffffffffff5
jmp 0x4015f5
push ebx
call fcn.00403312
mov esi, eax
push esi
call fcn.004069f0
test eax, eax
je 0x401873
push dword [esp + 0x2c]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406acd
mov eax, dword [esp + 0x38]
add esp, 0xc
jmp 0x40317b
push dword [esp + 0x30]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406acd
add esp, 0xc
mov eax, dword [esp + 0x30]
jmp 0x40317b
push 0xffffffffffffffd0
call fcn.00403312
push 0xffffffffffffffdf
mov edi, eax
call fcn.00403312
push 0x13
mov ebx, eax
call fcn.00403312
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406acd
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4018ce
push 0x4100c8
push 0xffffffffffffffe3
jmp 0x4015f5
cmp dword [esp + 0x30], 0
je 0x401904
push edi
call fcn.004069f0
test eax, eax
je 0x401904
push ebx
push edi
call fcn.004064bb
push 0x4100c8
push 0xffffffffffffffe4
call fcn.00405f72
push esi
push str.Rename_on_reboot:__s
call fcn.00406acd
pop ecx
pop ecx
jmp case.0x401564.66
push esi
push str.Rename_failed:__s
call fcn.00406acd
pop ecx
jmp 0x401733
push ebx
call fcn.00403312
mov edi, eax
mov ebp, 0x2000
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x401942
xor eax, eax
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [esi], cx
jmp 0x40196a
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x401966
cmp word [eax], bx
je 0x401966
push edi
call fcn.004069f0
test eax, eax
je 0x401934
add eax, 0x2c
push eax
push dword [esp + 0x18]
call fcn.00407067
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], ebx
jne 0x403173
push ebp
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401564.66
push 0xffffffffffffffff
call fcn.00403312
lea ecx, [esp + 0x54]
push ecx
push ebp
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401564.66
xor eax, eax
inc eax
xor ecx, ecx
mov word [ebp], cx
jmp 0x403173
push 0xffffffffffffffef
call fcn.00403312
push eax
push ebp
call fcn.00406f9f
test eax, eax
jne case.0x401564.66
jmp 0x401734
push 0x31
call fcn.00403312
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov esi, ecx
mov dword [esp + 0x14], ebp
sar ecx, 3
and esi, 7
push ebp
and ecx, 2
push ecx
push esi
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00406acd
add esp, 0x10
push ebp
call fcn.004072e9
push ebp
mov ebp, 0x40c0c8
test eax, eax
je 0x401a12
push ebp
call fcn.00407067
jmp 0x401a29
push 0x4cc000
push ebp
call fcn.00407067
push eax
call fcn.00406977
push eax
call sub.KERNEL32.dll_lstrcatW
push ebp
call fcn.0040722d
xor edi, edi
inc edi
cmp esi, 3
jl 0x401a64
push ebp
call fcn.004069f0
mov ecx, ebx
test eax, eax
je 0x401a54
lea ecx, [esp + 0x34]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
add esi, 0xfffffffd
or esi, 0x80000000
and esi, ecx
neg esi
sbb esi, esi
inc esi
test esi, esi
jne 0x401a6e
push ebp
call fcn.004070d6
xor eax, eax
cmp esi, edi
setne al
inc eax
push eax
push 0x40000000
push ebp
call fcn.00406e5e
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x401b58
test esi, esi
jne 0x401b30
push ebp
push str.File:_error_creating___s_
call fcn.00406acd
pop ecx
pop ecx
push section..ndata
push 0x4140c8
call fcn.00407067
push ebp
push section..ndata
call fcn.00407067
push dword [esp + 0x3c]
push 0x4100c8
call fcn.004060f4
push 0x4140c8
push section..ndata
call fcn.00407067
mov eax, dword [esp + 0x28]
sar eax, 3
push eax
push 0x4100c8
call fcn.00406ff5
sub eax, 4
jne 0x401b02
push str.File:_error__user_retry
call fcn.00406acd
pop ecx
jmp 0x401a32
sub eax, 1
je 0x401b1a
push str.File:_error__user_abort
call fcn.00406acd
pop ecx
push ebp
push 0xfffffffffffffffa
jmp 0x401599
push str.File:_error__user_cancel
call fcn.00406acd
inc dword [0x4735e8]
pop ecx
jmp 0x403179
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffe2
call fcn.00405f72
push esi
push ebp
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406acd
add esp, 0xc
xor eax, eax
cmp esi, 2
sete al
jmp 0x403173
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffea
call fcn.00405f72
inc dword [0x473614]
push ebx
push ebx
push dword [esp + 0x20]
push dword [esp + 0x3c]
call fcn.0040342f
dec dword [0x473614]
mov esi, eax
push ebp
push esi
push str.File:_wrote__d_to___s_
call fcn.00406acd
add esp, 0xc
cmp dword [esp + 0x34], 0xffffffff
jne 0x401b9e
cmp dword [esp + 0x38], 0xffffffff
je 0x401baf
lea eax, [esp + 0x34]
push eax
push ebx
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jns case.0x401564.66
cmp esi, 0xfffffffe
jne 0x401bd7
push 0xffffffffffffffe9
push ebp
call fcn.004060f4
push edi
push ebp
call sub.KERNEL32.dll_lstrcatW
jmp 0x401bdf
push 0xffffffffffffffee
push ebp
call fcn.004060f4
push ebp
push 0x409860
call fcn.00406acd
pop ecx
pop ecx
push 0x200010
push ebp
call fcn.00406ff5
jmp 0x40159e
push ebx
call fcn.00403312
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406acd
pop ecx
pop ecx
push dword [esp + 0x2c]
push esi
call fcn.00406c00
jmp case.0x401564.66
push 0x31
call fcn.00403312
mov esi, eax
push esi
push dword [esp + 0x2c]
push str.MessageBox:__d___s_
call fcn.00406acd
add esp, 0xc
push dword [esp + 0x28]
push esi
call fcn.00406ff5
test eax, eax
je 0x401734
cmp eax, dword [esp + 0x30]
jne 0x401c5c
mov eax, dword [esp + 0x34]
jmp 0x40317b
cmp eax, dword [esp + 0x38]
jne case.0x401564.66
mov eax, dword [esp + 0x3c]
jmp 0x40317b
push 0xfffffffffffffff0
call fcn.00403312
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c0a
push 1
call fcn.00403312
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x4016c3
push 2
call fcn.004032d6
push 3
mov ebx, eax
mov esi, edx
call fcn.004032d6
pop ecx
pop ecx
push 1
mov edi, eax
call fcn.00403312
push eax
mov dword [esp + 0x4c], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
test esi, esi
mov word [ebp], cx
cmove ebx, eax
test ebx, ebx
je case.0x401564.66
test edi, edi
jns 0x401cd9
add edi, eax
js case.0x401564.66
cmp edi, eax
cmovg edi, eax
mov eax, dword [esp + 0x48]
lea eax, [eax + edi*2]
push eax
push ebp
call fcn.00407067
test ebx, ebx
jns 0x401cf8
push ebp
call sub.KERNEL32.dll_lstrlenW
add ebx, eax
xor eax, eax
test ebx, ebx
cmovns eax, ebx
cmp eax, 0x2000
jge case.0x401564.66
xor ecx, ecx
mov word [ebp + eax*2], cx
jmp case.0x401564.66
push 0x20
call fcn.00403312
push 0x31
mov esi, eax
call fcn.00403312
push eax
push esi
cmp dword [esp + 0x40], ebx
jne 0x401d41
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c53
jmp 0x401885
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d34
xor edi, edi
inc edi
push edi
call fcn.00403312
push 0x2000
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401d77
cmp dword [esp + 0x30], ebx
je 0x401d81
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401d81
xor ecx, ecx
mov eax, edi
mov word [ebp], cx
jmp 0x401d85
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [ebp + 0x3ffe], cx
jmp 0x403173
mov esi, dword [esp + 0x3c]
push ebx
call fcn.004032d6
push 1
mov edi, eax
call fcn.004032d6
pop ecx
pop ecx
test esi, esi
jne 0x401dc3
cmp edi, eax
jl 0x401c53
jle 0x401885
mov eax, dword [esp + 0x38]
jmp 0x40317b
cmp edi, eax
jb 0x401c53
jbe 0x401885
jmp 0x401dba
xor edi, edi
inc edi
push edi
call fcn.004032d6
push 2
mov esi, eax
call fcn.004032d6
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, 0xd
ja case.default.0x401df2
jmp dword [eax*4 + 0x40329e]
add esi, ecx
jmp case.default.0x401df2
sub esi, ecx
jmp case.default.0x401df2
imul esi, ecx
jmp case.default.0x401df2
test ecx, ecx
je 0x401e13
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e15
mov esi, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x10], eax
jmp case.default.0x401df2
or esi, ecx
jmp case.default.0x401df2
and esi, ecx
jmp case.default.0x401df2
xor esi, ecx
jmp case.default.0x401df2
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401df2
test esi, esi
jne 0x401e41
test ecx, ecx
je 0x401e49
mov esi, edi
jmp case.default.0x401df2
test esi, esi
jne 0x401e3d
mov esi, ebx
jmp case.default.0x401df2
test ecx, ecx
je 0x401e13
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e15
shl esi, cl
jmp case.default.0x401df2
sar esi, cl
jmp case.default.0x401df2
shr esi, cl
push esi
jmp 0x4016c3
push 1
call fcn.00403312
push 2
mov esi, eax
call fcn.004032d6
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x401678
mov edx, dword [esp + 0x30]
mov eax, edx
mov esi, dword [0x40c0c0]
test edx, edx
je 0x401ef9
dec eax
test esi, esi
je 0x401ed9
mov esi, dword [esi]
test eax, eax
jne 0x401e98
test esi, esi
je 0x401ed9
add esi, 4
mov ebp, 0x40c0c8
push esi
push ebp
call fcn.00407067
mov eax, dword [0x40c0c0]
add eax, 4
push eax
push esi
call fcn.00407067
mov eax, dword [0x40c0c0]
push ebp
add eax, 4
push eax
call fcn.00407067
jmp case.0x401564.66
push edx
push str.Exch:_stack____d_elements
call fcn.00406acd
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004060f4
push eax
jmp 0x401bf2
test ecx, ecx
je 0x401f28
test esi, esi
jne 0x401f0b
push str.Pop:_stack_empty
jmp 0x40172e
lea eax, [esi + 4]
push eax
push ebp
call fcn.00407067
mov eax, dword [esi]
mov dword [0x40c0c0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401564.66
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004060f4
mov eax, dword [0x40c0c0]
mov dword [esi], eax
mov dword [0x40c0c0], esi
jmp case.0x401564.66
push 3
call fcn.004032d6
mov esi, eax
push 4
mov dword [esp + 0x1c], esi
call fcn.004032d6
mov edi, eax
mov eax, dword [esp + 0x44]
pop ecx
pop ecx
test al, 1
je 0x401f87
push 0x33
call fcn.00403312
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
test al, 2
je 0x401f94
push 0x44
call fcn.00403312
mov edi, eax
cmp dword [esp + 0x24], 0x21
push 1
jne 0x401fec
call fcn.004032d6
push 2
mov dword [esp + 0x1c], eax
call fcn.004032d6
pop ecx
pop ecx
mov ecx, dword [esp + 0x3c]
sar ecx, 2
test ecx, ecx
je 0x401fdd
lea edx, [esp + 0x18]
push edx
push ecx
push ebx
push edi
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x10], eax
jmp 0x402021
push edi
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402017
call fcn.00403312
push 0x12
mov esi, eax
call fcn.00403312
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 edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x28], ebx
jl 0x403173
push ecx
jmp 0x4016c3
push ebx
call fcn.004032d6
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x30]
test eax, eax
cmovne ecx, dword [esp + 0x2c]
mov eax, ecx
jmp 0x40317b
push 2
call fcn.004032d6
push 1
mov esi, eax
call fcn.004032d6
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401c8d
mov esi, dword [0x473568]
push ebx
add esi, ecx
call fcn.004032d6
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401564.66
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x60]
imul ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
imul eax, dword [esp + 0x30]
push 0x10
push ecx
push eax
push ebx
push ebx
call fcn.00403312
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.0x401564.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x401564.66
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.004032d6
pop ecx
push 0x48
push 0x5a
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x4200c8], eax
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.004032d6
pop ecx
mov ecx, dword [esp + 0x38]
push dword [esp + 0x2c]
mov dword [0x4200d8], eax
mov al, cl
and al, 1
mov byte [0x4200df], 1
mov byte [0x4200dc], al
mov al, cl
and al, 2
and cl, 4
push 0x4200e4
mov byte [0x4200dd], al
mov byte [0x4200de], cl
call fcn.004060f4
push 0x4200c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401c8d
push ebx
call fcn.004032d6
push 1
mov esi, eax
call fcn.004032d6
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x30], ebx
je 0x402199
push str.HideWindow
call fcn.00406acd
pop ecx
push edi
push esi
cmp dword [esp + 0x3c], ebx
jne 0x4021ac
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401564.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401564.66
push ebx
call fcn.00403312
push 0x31
mov esi, eax
call fcn.00403312
push 0x22
mov ebp, eax
call fcn.00403312
push 0x15
mov edi, eax
call fcn.00403312
push 0x4100c8
push 0xffffffffffffffec
call fcn.00405f72
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
cmp word [esi], bx
mov dword [esp + 0x64], ebp
cmovne eax, esi
mov dword [esp + 0x60], eax
xor eax, eax
cmp word [edi], bx
mov dword [esp + 0x6c], 0x4cc000
cmovne eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
call fcn.00406f3a
test eax, eax
jne 0x40224a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebp
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406acd
add esp, 0x14
jmp 0x401734
test byte [esp + 0x58], 0x40
je 0x40226a
push dword [esp + 0x8c]
call fcn.00406796
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x401673
push ebx
call fcn.00403312
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406acd
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.00405f72
push edi
call fcn.00406bbb
mov ebx, eax
push edi
test ebx, ebx
je 0x4022e8
push str.Exec:_success____s__
call fcn.00406acd
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
je 0x4022dc
push ebx
call fcn.00406796
cmp dword [esp + 0x2c], 0
mov ecx, eax
jl 0x4022cc
push ecx
push esi
call fcn.00406a36
jmp 0x4022dc
mov eax, dword [esp + 0x10]
xor edx, edx
inc edx
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x10], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401564.66
push str.Exec:_failed_createprocess____s__
jmp 0x40190a
push 2
call fcn.00403312
push eax
call fcn.004069f0
mov edi, eax
test edi, edi
je 0x402316
push dword [edi + 0x14]
push esi
call fcn.00406a36
push dword [edi + 0x18]
jmp 0x4016c3
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
jmp 0x401734
push 0xffffffffffffffee
call fcn.00403312
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
push ecx
push eax
push 9
call fcn.00406e29
call eax
mov ecx, eax
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
inc eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x403173
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je case.0x401564.66
push 0xa
call fcn.00406e29
push 0xb
mov esi, eax
call fcn.00406e29
push edi
push dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
push ebx
push dword [esp + 0x24]
call esi
test eax, eax
je 0x4023ca
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x409aac
push edi
call dword [esp + 0x54]
test eax, eax
je 0x4023ca
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push ebp
call fcn.00406a36
mov eax, dword [esp + 0x14]
push dword [eax + 0xc]
push dword [esp + 0x44]
call fcn.00406a36
mov dword [esp + 0x10], ebx
push edi
jmp 0x401f1d
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
cmp dword [0x473580], ebx
jl 0x4024cf
push 0xfffffffffffffff0
call fcn.00403312
push edi
mov ebp, eax
call fcn.00403312
mov dword [esp + 0x14], eax
cmp dword [esp + 0x38], ebx
je 0x402409
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x40241d
push 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4024b8
push dword [esp + 0x14]
push esi
call fcn.004064e7
mov ecx, eax
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x402474
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x30], ebx
je 0x402454
push dword [esp + 0x30]
call fcn.004033f1
call dword [esp + 0x48]
test eax, eax
je 0x40248f
mov eax, edi
mov dword [esp + 0x10], eax
jmp 0x402493
mov eax, dword [esp + 0x1c]
push section..data
push 0x40c0c0
push section..ndata
push 0x2000
push eax
call ecx
add esp, 0x14
jmp 0x40248f
mov ebx, dword [esp + 0x14]
push ebx
push 0xfffffffffffffff7
call fcn.00405f72
push ebp
push ebx
push 0x409ab0
call fcn.00406acd
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], 0
jne 0x403173
push esi
call fcn.00403eac
test eax, eax
je case.0x401564.66
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401564.66
push 0x4100c8
push 0xfffffffffffffff6
call fcn.00405f72
push ebp
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x4018f8
push 0x4100c8
push 0xffffffffffffffe7
call fcn.00405f72
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00406acd
jmp 0x4018fe
push 0xfffffffffffffff0
call fcn.00403312
push 0xffffffffffffffdf
mov dword [esp + 0x44], eax
call fcn.00403312
push 2
mov dword [esp + 0x1c], eax
call fcn.00403312
push 0xffffffffffffffcd
mov dword [esp + 0x48], eax
call fcn.00403312
mov esi, eax
push 0x45
mov dword [esp + 0x94], esi
call fcn.00403312
mov ecx, dword [esp + 0x38]
mov edi, ecx
push dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov ebp, ecx
mov eax, ecx
sar ebp, 0xc
and eax, 0x8000
sar ecx, 0x10
mov dword [esp + 0x4c], eax
and edi, 0xfff
movzx eax, cx
and ebp, 7
mov dword [esp + 0x50], edi
mov dword [esp + 0x18], eax
call fcn.004072e9
test eax, eax
jne 0x402567
push 0x21
call fcn.00403312
push dword [esp + 0x14]
push ebp
push edi
push esi
push dword [esp + 0x54]
push dword [esp + 0x2c]
push dword [esp + 0x58]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406acd
add esp, 0x20
lea eax, [esp + 0x20]
xor edi, edi
inc edi
push eax
push 0x40ab58
push edi
push ebx
push 0x40ab78
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402678
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push 0x40ab68
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x40265e
mov eax, dword [esp + 0x20]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
cmp dword [esp + 0x48], ebx
jne 0x4025eb
mov eax, dword [esp + 0x20]
push 0x4cc000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test ebp, ebp
je 0x4025fa
mov eax, dword [esp + 0x20]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x20]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x90]
cmp word [edx], bx
je 0x402623
mov eax, dword [esp + 0x20]
push dword [esp + 0x4c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x20]
push dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x20]
push dword [esp + 0x54]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
js 0x402654
mov eax, dword [esp + 0x1c]
push edi
push dword [esp + 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x402678
push 0x4100c8
push 0xfffffffffffffff4
jmp 0x4015f5
push 0x4100c8
mov dword [esp + 0x14], edi
push 0xfffffffffffffff0
jmp 0x4015f5
push ebx
call fcn.00403312
push 0x11
mov esi, eax
call fcn.00403312
push 0x23
mov edi, eax
call fcn.00403312
push edi
push esi
push str.CopyFiles___s_____s_
mov ebp, eax
call fcn.00406acd
add esp, 0xc
push esi
call fcn.004069f0
test eax, eax
jne 0x4026c8
push ebx
push 0xfffffffffffffff9
call fcn.00405f72
jmp 0x401734
mov eax, dword [esp + 0x1c]
push esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push edi
mov word [esi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebp
push ebx
mov word [edi + eax*2 + 2], cx
mov ax, word [esp + 0x38]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x76], ebp
mov word [esp + 0x6c], ax
call fcn.00405f72
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401564.66
jmp 0x4026bb
cmp edi, 0xbadf00d
jne 0x401ee6
inc dword [0x4735f4]
jmp case.0x401564.66
push str._RM_
mov edi, 0x4100c8
mov dword [esp + 0x1c], ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.00407067
push edi
mov ebp, 0x4140c8
push ebp
call fcn.00407067
cmp dword [esp + 0x28], ebx
je 0x40276d
push ebx
call fcn.00403312
mov ebx, eax
cmp dword [esp + 0x2c], 0
je 0x40277f
push 0x11
call fcn.00403312
mov dword [esp + 0x18], eax
cmp dword [esp + 0x38], 0
je 0x402791
push 0x22
call fcn.00403312
mov dword [esp + 0x14], eax
push 0xffffffffffffffcd
call fcn.00403312
mov esi, eax
push esi
push ebp
push edi
push 0x40c0c8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406acd
add esp, 0x14
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4019c1
push 0xa
pop ebx
push 1
mov dword [esp + 0x58], ebx
call fcn.00403312
push 0x12
mov edi, eax
call fcn.00403312
push 0xffffffffffffffdd
mov esi, eax
call fcn.00403312
push eax
push 0x1fff
push ebp
lea eax, [esp + 0x60]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebp]
mov ecx, eax
cmp ax, bx
jne 0x402809
xor eax, eax
mov word [ebp], ax
xor eax, eax
cmp cx, bx
jmp 0x401b50
xor ebx, ebx
push ecx
inc ebx
call fcn.00406859
cmp dword [esp + 0x3c], 0
mov ebp, eax
pop ecx
jne 0x402863
push 2
call fcn.00403395
mov edi, eax
test edi, edi
je 0x40288e
push 0x33
call fcn.00403312
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4140c8
push ebp
push str.DeleteRegValue:___s_s____s_
mov ebx, eax
call fcn.00406acd
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40288e
push 0x22
call fcn.00403312
mov esi, eax
push esi
push ebp
push str.DeleteRegKey:___s_s_
call fcn.00406acd
mov ecx, dword [esp + 0x44]
add esp, 0xc
sar ecx, 1
push ecx
push esi
push dword [esp + 0x5c]
call fcn.00403350
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x403173
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
push 2
mov dword [esp + 0x44], eax
call fcn.00403312
push 0x11
mov dword [esp + 0x20], eax
call fcn.00403312
push edi
mov esi, eax
call fcn.00406859
pop ecx
mov ebp, eax
xor edi, edi
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ebp
push eax
push 0x100022
push esi
push dword [esp + 0x58]
inc edi
mov dword [esp + 0x20], edi
call fcn.004032f7
push eax
call fcn.0040652b
mov ecx, dword [esp + 0x54]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x402a40
mov eax, dword [esp + 0x44]
mov ebp, 0x4140c8
mov dword [esp + 0x20], ebx
cmp eax, edi
jne 0x402962
push 0x23
call fcn.00403312
push ebp
call sub.KERNEL32.dll_lstrlenW
cmp dword [esp + 0x40], edi
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x20]
lea eax, [eax*2 + 2]
push esi
mov dword [esp + 0x2c], eax
push edi
jne 0x40294f
push str.WriteRegStr:___s_s____s___s_
call fcn.00406acd
add esp, 0x14
jmp 0x4029fe
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406acd
mov eax, dword [esp + 0x58]
add esp, 0x14
jmp 0x402966
mov edi, dword [esp + 0x18]
cmp eax, 4
jne 0x402997
push 3
call fcn.004032d6
push eax
push dword [esp + 0x24]
mov dword [0x4140c8], eax
push esi
push edi
push str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 0x38], 4
call fcn.00406acd
mov eax, dword [esp + 0x5c]
add esp, 0x18
cmp eax, 3
jne 0x4029fe
push 0xc000
push ebp
push ebx
push dword [esp + 0x40]
call fcn.0040342f
push eax
push ebp
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9c]
push 0x80
push eax
call fcn.004067da
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xa4]
push eax
push dword [esp + 0x30]
cmp edx, 7
mov eax, str.WriteRegBin
mov ecx, str.WriteRegMultiStr
cmovne ecx, eax
mov eax, str.WriteRegNone
push esi
test edx, edx
push edi
cmovne eax, ecx
push eax
push str._s:___s_s____s___s_
call fcn.00406acd
add esp, 0x28
push dword [esp + 0x20]
push ebp
push dword [esp + 0x48]
mov ebp, dword [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402a21
mov dword [esp + 0x10], ebx
jmp 0x402a31
push ebp
push esi
push edi
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406acd
add esp, 0x10
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401564.66
push esi
push ebp
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406acd
add esp, 0xc
jmp case.0x401564.66
push 0x20019
call fcn.00403395
push 0x33
mov esi, eax
call fcn.00403312
xor ecx, ecx
mov word [ebp], cx
test esi, esi
je 0x401734
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0x4000
push ecx
push ebp
lea ecx, [esp + 0x20]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
inc edi
test eax, eax
jne 0x402ad7
cmp dword [esp + 0x18], 4
je 0x402abf
cmp dword [esp + 0x18], edi
je 0x402aac
cmp dword [esp + 0x18], 2
jne 0x402ad7
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [ebp + 0x3ffe], ax
jmp 0x402ae1
push dword [ebp]
xor eax, eax
cmp dword [esp + 0x3c], eax
push ebp
sete al
mov dword [esp + 0x18], eax
call fcn.00406a36
jmp 0x402ae1
xor eax, eax
mov dword [esp + 0x10], edi
mov word [ebp], ax
push esi
jmp 0x402a35
push 0x20019
call fcn.00403395
push 3
mov esi, eax
call fcn.004032d6
pop ecx
xor ecx, ecx
mov dword [esp + 0x58], edx
mov word [ebp], cx
test esi, esi
je 0x401734
mov ecx, 0x1fff
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x38], ebx
je 0x402b28
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ab4
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, dword [esp + 0x10]
xor edx, edx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x402ab4
push ebp
call fcn.0040715e
test eax, eax
je case.0x401564.66
push eax
jmp 0x4022dd
push 0xffffffffffffffed
call fcn.00403312
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.00406e5e
cmp eax, 0xffffffff
jne 0x401c8d
xor eax, eax
mov word [ebp], ax
jmp 0x401734
mov ecx, dword [esp + 0x24]
xor eax, eax
mov edx, dword [esp + 0x30]
cmp ecx, 0x38
mov dword [esp + 0x4c], edx
mov esi, 0x4100c8
sete al
xor edi, edi
inc edi
mov dword [esp + 0x14], eax
test edx, edx
je 0x402bcf
push edi
call fcn.004032d6
mov word [0x4100c8], ax
xor eax, eax
cmp dword [esp + 0x18], eax
pop ecx
sete al
inc eax
mov dword [esp + 0x54], eax
mov esi, eax
jmp 0x402c0e
cmp ecx, 0x38
jne 0x402bfd
push 0x21
call fcn.00403312
push ebx
push ebx
push 0x2000
push esi
push 0xffffffffffffffff
push 0x4140c8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x402c0e
push 0x11
call fcn.00403312
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [ebp], bx
je 0x402c4b
push ebp
call fcn.0040715e
mov ebx, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x4c]
jne 0x402c37
cmp dword [esp + 0x34], eax
je 0x402c37
push ebx
push ebx
call fcn.00406706
test eax, eax
js 0x402c4b
push esi
push 0x4100c8
push ebx
call fcn.00406f52
test eax, eax
jne case.0x401564.66
mov eax, edi
jmp 0x403173
push 2
pop ecx
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
call fcn.004032d6
xor edi, edi
inc edi
pop ecx
cmp eax, edi
jl case.0x401564.66
mov ecx, 0x1fff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x48], eax
cmp word [ebp], bx
je 0x402dd8
push ebp
mov dword [esp + 0x48], ebx
call fcn.0040715e
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x48], ebx
jle 0x402dd8
mov dword [esp + 0x4c], 0xd
mov ebp, ebx
cmp dword [esp + 0x24], 0x39
jne 0x402d69
push ebx
lea eax, [esp + 0x44]
push eax
push 2
pop eax
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402dd8
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402dd8
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x34], ebx
jne 0x402e18
push edi
lea eax, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402d93
mov ecx, dword [esp + 0x1c]
mov edx, ecx
neg edx
sub dword [esp + 0x40], 1
mov eax, 0xfffd
mov dword [esp + 0x20], eax
je 0x402d9b
push edi
dec ecx
inc edx
push ebx
push edx
push dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
test eax, eax
je 0x402d1c
jmp 0x402d93
cmp dword [esp + 0x34], ebx
jne 0x402d82
test ebp, ebp
jne 0x402d82
push ebx
push ecx
call fcn.00406706
test eax, eax
js 0x402dd8
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00406e8b
test eax, eax
je 0x402dd8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebx
jne 0x402e18
push 0xd
pop edx
cmp word [esp + 0x44], dx
push 0xa
pop edx
je 0x402de9
cmp word [esp + 0x44], dx
je 0x402de9
mov word [esi + ebp*2], ax
inc ebp
movzx ecx, ax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], ecx
test ax, ax
je 0x402dd8
mov ecx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x48]
jl 0x402cab
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov word [esi + ecx*2], ax
jmp 0x401b50
cmp word [esp + 0x44], ax
je 0x402e07
cmp ax, word [esp + 0x4c]
je 0x402dfc
cmp ax, dx
jne 0x402e07
mov word [esi + ebp*2], ax
inc ebp
mov dword [esp + 0x14], ebp
jmp 0x402dd8
push edi
push ebx
neg ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402dd8
movzx eax, ax
push eax
push esi
call fcn.00406a36
jmp 0x403179
cmp word [ebp], bx
je case.0x401564.66
push 2
call fcn.004032d6
pop ecx
push dword [esp + 0x34]
push ebx
push eax
push ebp
call fcn.0040715e
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x2c], ebx
jl case.0x401564.66
push eax
push esi
jmp 0x4016c4
push ebp
call fcn.0040715e
test eax, eax
je case.0x401564.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401564.66
push esi
call fcn.0040715e
test eax, eax
je 0x4019a5
lea ecx, [esp + 0x194]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4019a5
lea eax, [esp + 0x1c0]
push eax
push ebp
jmp 0x401ecf
push 2
call fcn.00403312
lea ecx, [esp + 0x194]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402ecf
xor eax, eax
mov word [esi], ax
jmp 0x402b81
push eax
push esi
call fcn.00406a36
jmp 0x402e9c
push 0xfffffffffffffff0
mov esi, 0xfffffd66
call fcn.00403312
mov ebp, eax
push ebp
mov dword [esp + 0x58], ebp
call fcn.004072e9
test eax, eax
jne 0x402efb
push 0xffffffffffffffed
call fcn.00403312
push ebp
call fcn.004070d6
push 2
push 0x40000000
push ebp
call fcn.00406e5e
mov edi, eax
mov dword [esp + 0x90], edi
cmp edi, 0xffffffff
je 0x402fd8
mov eax, dword [0x473528]
push eax
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x402fcc
push ebx
call fcn.00403418
push dword [esp + 0x14]
push esi
call fcn.00403402
push dword [esp + 0x30]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x4c], edi
test edi, edi
je 0x402fa5
push dword [esp + 0x30]
push edi
push ebx
push dword [esp + 0x38]
call fcn.0040342f
cmp byte [edi], bl
je 0x402f9b
mov ebp, esi
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebp
push eax
call fcn.00406b99
add edi, esi
cmp byte [edi], bl
jne 0x402f7b
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
mov edi, dword [esp + 0x94]
push esi
push edi
call fcn.00406f52
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push edi
push 0xffffffffffffffff
call fcn.0040342f
mov esi, eax
jmp 0x402fd1
mov esi, 0xfffffd66
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push esi
push str.created_uninstaller:__d____s_
call fcn.00406acd
add esp, 0xc
push 0xfffffffffffffff3
pop edi
test esi, esi
jns 0x403000
push 0xffffffffffffffef
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], 1
push edi
call fcn.004033f1
jmp case.0x401564.66
test edi, edi
je 0x40304d
push ecx
push str.settings_logging_to__d
call fcn.00406acd
mov eax, dword [esp + 0x34]
push eax
push str.logging_set_to__d
mov dword [0x4624a0], eax
call fcn.00406acd
add esp, 0x10
cmp dword [esp + 0x2c], ebx
je 0x403041
call fcn.00405a27
jmp case.0x401564.66
push 1
call fcn.00406aff
jmp case.0x401564.66
push 1
call fcn.00403312
push eax
push 0x409860
jmp 0x4018f8
push ebx
call fcn.004032d6
mov ebx, eax
pop ecx
cmp ebx, dword [0x47354c]
jae 0x401734
mov ecx, dword [esp + 0x30]
imul edi, ebx, 0x4018
add edi, dword [0x473548]
test ecx, ecx
js 0x40309b
mov eax, dword [edi + ecx*4]
jne 0x402e56
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x401ecf
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x30], eax
je 0x4030b6
push 1
call fcn.004032d6
pop ecx
mov ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x4030ce
push dword [esp + 0x38]
lea eax, [edi + 0x18]
push eax
call fcn.004060f4
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x34], 0
je case.0x401564.66
push ebx
call fcn.0040122b
jmp case.0x401564.66
push ebx
call fcn.004032d6
mov edi, eax
pop ecx
cmp edi, 0x20
jae 0x401734
cmp dword [esp + 0x34], ebx
je 0x403123
cmp dword [esp + 0x30], ebx
je 0x403118
push edi
call fcn.0040129a
push ebx
push ebx
call fcn.004012e7
jmp case.0x401564.66
push ebx
call fcn.004011a0
jmp 0x402e56
mov eax, dword [0x473530]
cmp dword [esp + 0x30], ebx
je 0x40313b
mov ecx, dword [esp + 0x2c]
mov dword [eax + edi*4 + 0x94], ecx
jmp case.0x401564.66
push dword [eax + edi*4 + 0x94]
push esi
call fcn.004060f4
jmp case.0x401564.66
mov eax, dword [0x4381c8]
push ebx
and eax, edi
push eax
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x28], ebx
je case.0x401564.66
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [0x4735e8], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d4
ret 4