Function at 0x401553
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, 0x2d0
mov eax, dword [0x467558]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2e0]
xor ebp, ebp
push edi
push 7
pop ecx
lea edi, [esp + 0x2c]
mov dword [esp + 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov eax, section..ndata
mov edx, dword [esp + 0x34]
mov edi, ecx
mov esi, edx
shl edi, 0xe
add edi, eax
shl esi, 0xe
add esi, eax
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [0x40c0e4], eax
mov ebx, ebp
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffe
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
cmp eax, 0x44
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
ja case.0x4015ce.67
mov ebx, dword [esp + 0x20]
jmp dword [ebx*4 + 0x4033cf]
push ecx
push str.Jump:__d
call fcn.00406f95
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
jmp 0x4033c0
push ebp
call fcn.00403557
push eax
push str.Aborting:___s_
call fcn.00406f95
pop ecx
pop ecx
push ebp
push dword [esp + 0x34]
call fcn.00406493
mov eax, 0x7fffffff
jmp 0x4033c0
inc dword [0x46754c]
test eax, eax
je 0x401608
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401608
push ecx
call fcn.00403616
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406f95
pop ecx
pop ecx
push ebp
push esi
call fcn.00401399
jmp 0x4033c0
push ebp
call fcn.00403557
push eax
push str.DetailPrint:__s
call fcn.00406f95
pop ecx
pop ecx
push ebp
push dword [esp + 0x34]
call fcn.00406493
jmp case.0x4015ce.67
push ebp
call fcn.0040351b
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406f95
xor eax, eax
add esp, 0xc
inc eax
cmp esi, eax
cmovg eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015ce.67
push str.BringToFront
call fcn.00406f95
mov eax, dword [esp + 0x20]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015ce.67
mov eax, dword [esp + 0x38]
test eax, eax
jg 0x4016e6
jne 0x4016c6
mov eax, dword [ecx*4 + 0x46f620]
mov dword [ecx*4 + 0x46f5e0], eax
push 1
call fcn.0040351b
mov ecx, eax
mov eax, dword [esp + 0x34]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x46f620], ecx
jmp 0x402385
mov eax, dword [ecx*4 + 0x46f5e0]
mov dword [ecx*4 + 0x46f620], eax
jmp case.0x4015ce.67
mov ecx, dword [esp + 0x38]
push 4
mov edx, dword [ecx*4 + 0x46f620]
mov eax, edx
and eax, dword [esp + 0x40]
mov dword [ecx*4 + 0x46f620], eax
xor eax, eax
test edx, edx
pop ecx
cmove eax, ecx
mov eax, dword [esp + eax + 0x30]
jmp 0x4033c0
push dword [edx*4 + 0x46f620]
push edi
call fcn.00406efe
jmp case.0x4015ce.67
mov eax, dword [0x467544]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40174d
push edx
push eax
call esi
mov ecx, dword [esp + 0x30]
mov eax, dword [0x467548]
test eax, eax
je case.0x4015ce.67
push ecx
push eax
call esi
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.00403557
push dword [esp + 0x34]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406f95
add esp, 0xc
push dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015ce.67
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
push str.SetFileAttributes_failed.
call fcn.00406f95
pop ecx
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.00403557
push dword [esp + 0x34]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406f95
add esp, 0xc
push esi
call fcn.004075cc
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
je 0x401861
push 0x5c
push edi
call fcn.00406ed5
mov edi, eax
xor eax, eax
movzx ebp, word [edi]
mov word [edi], ax
test bp, bp
jne 0x401805
cmp dword [esp + 0x38], eax
je 0x401805
call fcn.00406c43
test eax, eax
je 0x401805
push esi
call fcn.00406597
jmp 0x40180b
push esi
call fcn.00406577
test eax, eax
je 0x401841
cmp eax, 0xb7
je 0x401828
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406f95
add esp, 0xc
inc ebx
jmp 0x40184e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x40184e
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406f95
inc ebx
jmp 0x40184c
push esi
push str.CreateDirectory:___s__created
call fcn.00406f95
pop ecx
pop ecx
mov word [edi], bp
add edi, 2
test bp, bp
jne 0x4017d7
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x34], 0
push 0x4100e8
je 0x4018a9
push 0xffffffffffffffe6
call fcn.00406493
push esi
push 0x4c8000
call fcn.00407521
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4015ce.67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406f95
add esp, 0xc
inc ebx
jmp 0x401a35
push 0xfffffffffffffff5
jmp 0x40165f
push ebp
call fcn.00403557
mov esi, eax
push esi
call fcn.00406eae
test eax, eax
je 0x4018dd
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406f95
add esp, 0xc
mov eax, dword [esp + 0x34]
jmp 0x4033c0
push dword [esp + 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406f95
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x4033c0
push 0xffffffffffffffd0
call fcn.00403557
push 0xffffffffffffffdf
mov edi, eax
call fcn.00403557
push 0x13
mov ebp, eax
call fcn.00403557
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406f95
pop ecx
pop ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401938
push 0x4100e8
push 0xffffffffffffffe3
jmp 0x40165f
cmp dword [esp + 0x38], 0
je 0x401964
push edi
call fcn.00406eae
test eax, eax
je 0x401964
push ebp
push edi
call fcn.00406984
push 0x4100e8
push 0xffffffffffffffe4
call fcn.00406493
push esi
push str.Rename_on_reboot:__s
jmp 0x401971
push esi
push str.Rename_failed:__s
xor ebx, ebx
inc ebx
mov dword [esp + 0x18], ebx
call fcn.00406f95
pop ecx
jmp 0x4017a2
push ebp
call fcn.00403557
mov edi, eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x2000
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4019c0
mov eax, dword [esp + 0x18]
cmp eax, edi
jbe 0x4019cc
cmp word [eax], bp
je 0x4019cc
push edi
call fcn.00406eae
test eax, eax
je 0x4019c0
add eax, 0x2c
push eax
push dword [esp + 0x1c]
call fcn.00407521
jmp 0x4019cc
xor ebx, ebx
inc ebx
xor eax, eax
mov word [esi], ax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], ebp
jne case.0x4015ce.67
push 0x2000
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015ce.67
push 0xffffffffffffffff
call fcn.00403557
lea ecx, [esp + 0x54]
push ecx
push edi
push 0x2000
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015ce.67
xor ebx, ebx
inc ebx
xor eax, eax
mov dword [esp + 0x10], ebx
mov word [edi], ax
jmp case.0x4015ce.67
push 0xffffffffffffffef
call fcn.00403557
push eax
push edi
call fcn.0040745d
test eax, eax
jne case.0x4015ce.67
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp case.0x4015ce.67
push 0x31
call fcn.00403557
mov ecx, dword [esp + 0x30]
mov esi, eax
mov eax, ecx
mov dword [esp + 0x18], esi
sar ecx, 3
and eax, 7
push esi
and ecx, 2
mov dword [esp + 0x20], eax
push ecx
push eax
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
call fcn.00406f95
add esp, 0x10
push esi
call fcn.00407808
mov edi, 0x40c0e8
push esi
test eax, eax
je 0x401a86
push edi
call fcn.00407521
jmp 0x401a9d
push 0x4c8000
push edi
call fcn.00407521
push eax
call fcn.00406e35
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.00407744
xor esi, esi
inc esi
mov eax, dword [esp + 0x1c]
cmp eax, 3
jl 0x401ae3
push edi
call fcn.00406eae
mov ecx, ebp
test eax, eax
je 0x401acc
lea ecx, [esp + 0x3c]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x401aed
push edi
call fcn.004075a4
xor eax, eax
cmp dword [esp + 0x1c], esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00407322
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x401bdf
cmp dword [esp + 0x1c], ebp
jne 0x401bb3
push edi
push str.File:_error_creating___s_
call fcn.00406f95
pop ecx
pop ecx
push section..ndata
push 0x4140e8
call fcn.00407521
push edi
push section..ndata
call fcn.00407521
push dword [esp + 0x44]
push 0x4100e8
call fcn.004065f2
push 0x4140e8
push section..ndata
call fcn.00407521
mov eax, dword [esp + 0x30]
sar eax, 3
push eax
push 0x4100e8
call fcn.004074af
sub eax, 4
jne 0x401b85
push str.File:_error__user_retry
call fcn.00406f95
pop ecx
jmp 0x401aa6
sub eax, 1
je 0x401b9d
push str.File:_error__user_abort
call fcn.00406f95
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x401603
push str.File:_error__user_cancel
call fcn.00406f95
inc dword [0x46f628]
pop ecx
jmp 0x4033be
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffe2
call fcn.00406493
mov ebp, dword [esp + 0x1c]
push ebp
push edi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406f95
add esp, 0xc
xor ebx, ebx
cmp ebp, 2
sete bl
jmp 0x401a35
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffea
call fcn.00406493
inc dword [0x46f654]
push ebp
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x44]
call fcn.004037e0
dec dword [0x46f654]
push edi
push eax
push str.File:_wrote__d_to___s_
mov dword [esp + 0x2c], eax
call fcn.00406f95
add esp, 0xc
cmp dword [esp + 0x3c], 0xffffffff
jne 0x401c27
cmp dword [esp + 0x40], 0xffffffff
je 0x401c38
lea eax, [esp + 0x3c]
push eax
push ebp
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
test eax, eax
jns case.0x4015ce.67
cmp eax, 0xfffffffe
jne 0x401c64
push 0xffffffffffffffe9
push edi
call fcn.004065f2
push esi
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c6c
push 0xffffffffffffffee
push edi
call fcn.004065f2
push edi
push 0x409858
call fcn.00406f95
pop ecx
pop ecx
push 0x200010
push edi
call fcn.004074af
jmp 0x401608
push ebp
call fcn.00403557
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406f95
pop ecx
pop ecx
push dword [esp + 0x34]
push esi
call fcn.004070c6
jmp case.0x4015ce.67
push 0x31
call fcn.00403557
mov esi, eax
push esi
push dword [esp + 0x34]
push str.MessageBox:__d___s_
call fcn.00406f95
add esp, 0xc
push dword [esp + 0x30]
push esi
call fcn.004074af
test eax, eax
je 0x401a32
cmp eax, dword [esp + 0x38]
je 0x401e44
cmp eax, dword [esp + 0x40]
jne case.0x4015ce.67
mov eax, dword [esp + 0x44]
jmp 0x4033c0
push 0xfffffffffffffff0
call fcn.00403557
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c97
push 1
call fcn.00403557
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x40172b
push 2
call fcn.0040351b
push 3
mov ebp, eax
mov esi, edx
call fcn.0040351b
pop ecx
pop ecx
push 1
mov dword [esp + 0x24], eax
call fcn.00403557
push eax
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_lstrlenW
mov ecx, eax
xor eax, eax
test esi, esi
mov word [edi], ax
cmove ebp, ecx
test ebp, ebp
je case.0x4015ce.67
mov eax, dword [esp + 0x20]
test eax, eax
jns 0x401d68
add eax, ecx
js case.0x4015ce.67
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*2]
push eax
push edi
call fcn.00407521
test ebp, ebp
jns 0x401d87
push edi
call sub.KERNEL32.dll_lstrlenW
add ebp, eax
xor eax, eax
test ebp, ebp
cmovns eax, ebp
cmp eax, 0x2000
jge case.0x4015ce.67
xor ecx, ecx
mov word [edi + eax*2], cx
jmp case.0x4015ce.67
push 0x20
call fcn.00403557
push 0x31
mov esi, eax
call fcn.00403557
push eax
push esi
cmp dword [esp + 0x48], ebp
jne 0x401dcc
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4018ef
jmp 0x401e44
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401dc2
xor ebp, ebp
inc ebp
push ebp
call fcn.00403557
push 0x2000
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401e03
cmp dword [esp + 0x38], 0
je 0x401e0e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401e0e
mov ebx, ebp
xor eax, eax
mov dword [esp + 0x10], ebx
mov word [edi], ax
xor eax, eax
mov word [edi + 0x3ffe], ax
jmp case.0x4015ce.67
mov esi, dword [esp + 0x44]
push ebp
call fcn.0040351b
push 1
mov edi, eax
call fcn.0040351b
pop ecx
pop ecx
test esi, esi
jne 0x401e40
cmp edi, eax
jl 0x401e44
jg 0x401e53
jmp 0x4018ef
cmp edi, eax
jae 0x401e4d
mov eax, dword [esp + 0x3c]
jmp 0x4033c0
jbe 0x4018ef
mov eax, dword [esp + 0x40]
jmp 0x4033c0
push 1
call fcn.0040351b
push 2
mov esi, eax
call fcn.0040351b
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xd
ja case.default.0x401e79
jmp dword [eax*4 + 0x4034e3]
add esi, ecx
jmp case.default.0x401e79
sub esi, ecx
jmp case.default.0x401e79
imul esi, ecx
jmp case.default.0x401e79
test ecx, ecx
je 0x401e9a
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e9c
mov esi, ebp
xor ebx, ebx
test ecx, ecx
sete bl
mov dword [esp + 0x10], ebx
jmp case.default.0x401e79
or esi, ecx
jmp case.default.0x401e79
and esi, ecx
jmp case.default.0x401e79
xor esi, ecx
jmp case.default.0x401e79
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e79
test esi, esi
jne 0x401ec8
test ecx, ecx
je 0x401ed1
xor esi, esi
inc esi
jmp case.default.0x401e79
test esi, esi
jne 0x401ec4
mov esi, ebp
jmp case.default.0x401e79
test ecx, ecx
je 0x401e9a
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e9c
shl esi, cl
jmp case.default.0x401e79
sar esi, cl
jmp case.default.0x401e79
shr esi, cl
push esi
jmp 0x40172b
push 1
call fcn.00403557
push 2
mov esi, eax
call fcn.0040351b
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x4015ce.67
mov eax, dword [esp + 0x38]
mov esi, dword [0x40c0e0]
test eax, eax
je 0x401f80
dec eax
test esi, esi
je 0x401f5d
mov esi, dword [esi]
test eax, eax
jne 0x401f21
test esi, esi
je 0x401f5d
add esi, 4
mov edi, 0x40c0e8
push esi
push edi
call fcn.00407521
mov eax, dword [0x40c0e0]
add eax, 4
push eax
push esi
call fcn.00407521
mov eax, dword [0x40c0e0]
push edi
add eax, 4
push eax
jmp 0x403047
push dword [esp + 0x38]
push str.Exch:_stack____d_elements
call fcn.00406f95
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebp
call fcn.004065f2
push eax
jmp 0x401c7f
test edx, edx
je 0x401faf
test esi, esi
jne 0x401f98
push str.Pop:_stack_empty
call fcn.00406f95
pop ecx
jmp 0x401a32
lea eax, [esi + 4]
push eax
push edi
call fcn.00407521
mov eax, dword [esi]
mov dword [0x40c0e0], eax
push esi
jmp 0x4024f1
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x30]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004065f2
mov eax, dword [0x40c0e0]
mov dword [esi], eax
mov dword [0x40c0e0], esi
jmp case.0x4015ce.67
push 3
call fcn.0040351b
push 4
mov dword [esp + 0x30], eax
call fcn.0040351b
mov esi, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], esi
pop ecx
pop ecx
test al, 1
je 0x40200e
push 0x33
call fcn.00403557
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
test al, 2
je 0x40201f
push 0x44
call fcn.00403557
mov esi, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], 0x21
push 1
jne 0x40207d
call fcn.0040351b
push 2
mov dword [esp + 0x20], eax
call fcn.0040351b
pop ecx
pop ecx
mov ecx, dword [esp + 0x44]
sar ecx, 2
test ecx, ecx
je 0x40206b
lea edx, [esp + 0x14]
push edx
push ecx
push ebp
push esi
push dword [esp + 0x38]
push eax
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb ebx, ebx
mov eax, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x4020af
push esi
push dword [esp + 0x2c]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4020ab
call fcn.00403557
push 0x12
mov esi, eax
call fcn.00403557
xor ecx, ecx
cmp word [eax], bp
cmovne ecx, eax
push ecx
xor ecx, ecx
cmp word [esi], bp
cmovne ecx, esi
push ecx
push dword [esp + 0x20]
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x30], ebp
jl case.0x4015ce.67
jmp 0x401d15
push ebp
call fcn.0040351b
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018ef
jmp 0x4018d4
push 2
call fcn.0040351b
push 1
mov esi, eax
call fcn.0040351b
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d15
mov esi, dword [0x46f5a8]
push ebp
add esi, edx
call fcn.0040351b
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015ce.67
test dword [esp + 0x3c], 0x100
je 0x40212a
push 2
call fcn.0040351b
pop ecx
jmp 0x402135
push dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 4
mov ebp, eax
mov dword [esp + 0x50], ecx
mov esi, eax
shr ebp, 0x1e
mov ecx, eax
shr ecx, 0x1f
and esi, 3
and ebp, 1
mov dword [esp + 0x20], ecx
test eax, 0x10000
je 0x40216c
push 0x11
call fcn.00403557
jmp 0x402171
movzx eax, word [esp + 0x34]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x3c]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x64]
imul eax, ebp
push eax
mov eax, dword [esp + 0x64]
imul eax, dword [esp + 0x28]
push eax
xor eax, eax
cmp dword [esp + 0x5c], eax
push esi
push dword [esp + 0x28]
cmovne eax, dword [0x467554]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebp, eax
push ebp
push esi
push 0x172
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4021db
test esi, esi
jne 0x4021db
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x30], 0
jl case.0x4015ce.67
push ebp
jmp 0x40172b
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.0040351b
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 [0x4200e8], eax
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.0040351b
pop ecx
mov ecx, dword [esp + 0x40]
push dword [esp + 0x34]
mov dword [0x4200f8], eax
mov al, cl
and al, 1
mov byte [0x4200ff], 1
mov byte [0x4200fc], al
mov al, cl
and al, 2
and cl, 4
push 0x420104
mov byte [0x4200fd], al
mov byte [0x4200fe], cl
call fcn.004065f2
push 0x4200e8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebp, dword [esp + 0x18]
push eax
push ebp
jmp 0x40172c
push ebp
call fcn.0040351b
push 1
mov esi, eax
call fcn.0040351b
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x38], ebp
je 0x4022a0
push str.HideWindow
call fcn.00406f95
pop ecx
push edi
push esi
cmp dword [esp + 0x44], ebp
jne 0x4022b3
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015ce.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015ce.67
push ebp
call fcn.00403557
push 0x31
mov esi, eax
call fcn.00403557
push 0x22
mov dword [esp + 0x18], eax
call fcn.00403557
push 0x15
mov edi, eax
call fcn.00403557
push 0x4100e8
push 0xffffffffffffffec
call fcn.00406493
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
cmp word [esi], bp
cmovne eax, esi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
xor eax, eax
cmp word [edi], bp
mov dword [esp + 0x6c], 0x4c8000
cmovne eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
call fcn.004073fa
test eax, eax
jne 0x40235a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push dword [esp + 0x1c]
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406f95
add esp, 0x14
jmp 0x401a32
test byte [esp + 0x58], 0x40
je 0x40237a
push dword [esp + 0x8c]
call fcn.00406c5b
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [esp + 0x18]
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00406f95
jmp 0x401f0b
push ebp
call fcn.00403557
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406f95
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.00406493
push edi
call fcn.00407083
mov ebx, dword [esp + 0x10]
mov ebp, eax
push edi
test ebp, ebp
je 0x4023f8
push str.Exec:_success____s__
call fcn.00406f95
cmp dword [esp + 0x40], 0
pop ecx
pop ecx
je 0x4023f2
push ebp
call fcn.00406c5b
cmp dword [esp + 0x34], 0
jl 0x4023e6
push eax
push esi
call fcn.00406efe
jmp 0x4023f2
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
mov dword [esp + 0x10], ebx
push ebp
jmp 0x402cbf
push str.Exec:_failed_createprocess____s__
jmp 0x40196a
push 2
call fcn.00403557
push eax
call fcn.00406eae
mov ebp, eax
test ebp, ebp
je 0x402426
push dword [ebp + 0x14]
push esi
call fcn.00406efe
push dword [ebp + 0x18]
jmp 0x40172b
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x401a32
push 0xffffffffffffffee
call fcn.00403557
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], eax
push ecx
push eax
push 0xb
call fcn.004072ed
call eax
xor ecx, ecx
mov dword [esp + 0x20], eax
xor ebx, ebx
mov word [edi], cx
inc ebx
mov word [esi], cx
mov dword [esp + 0x10], ebx
test eax, eax
je case.0x4015ce.67
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
je case.0x4015ce.67
push 0xc
call fcn.004072ed
push 0xd
mov esi, eax
call fcn.004072ed
push dword [esp + 0x14]
mov dword [esp + 0x4c], eax
push dword [esp + 0x24]
push ebp
push dword [esp + 0x5c]
call esi
test eax, eax
je 0x4024ed
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x409aa4
push dword [esp + 0x20]
call dword [esp + 0x58]
test eax, eax
je 0x4024ed
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
push dword [ecx + eax*4 + 8]
push edi
call fcn.00406efe
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push dword [eax + ecx*4 + 0xc]
push edi
call fcn.00406efe
mov ebx, ebp
mov dword [esp + 0x10], ebx
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015ce.67
xor esi, esi
inc esi
mov ebx, esi
mov dword [esp + 0x10], ebx
cmp dword [0x46f5c0], ebp
jl 0x40260e
push 0xfffffffffffffff0
call fcn.00403557
mov edi, eax
push esi
mov dword [esp + 0x18], edi
call fcn.00403557
mov dword [esp + 0x18], eax
cmp dword [esp + 0x40], ebp
je 0x40253f
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x402553
mov edi, dword [esp + 0x14]
push 8
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4025f4
push dword [esp + 0x18]
push edi
call fcn.004069b0
mov ecx, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4025b1
mov ebx, ebp
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], ebx
je 0x402591
push 0x4100e8
push dword [esp + 0x3c]
call fcn.00406493
call dword [esp + 0x20]
test eax, eax
je 0x4025cf
mov ebx, esi
mov dword [esp + 0x10], ebx
jmp 0x4025cf
mov eax, dword [esp + 0x1c]
push section..data
push 0x40c0e0
push section..ndata
push 0x2000
push eax
call ecx
add esp, 0x14
jmp 0x4025cf
mov ebp, dword [esp + 0x18]
push ebp
push 0xfffffffffffffff7
call fcn.00406493
push dword [esp + 0x14]
push ebp
push 0x409aa8
call fcn.00406f95
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne case.0x4015ce.67
push edi
call fcn.0040435b
test eax, eax
je case.0x4015ce.67
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015ce.67
push 0x4100e8
push 0xfffffffffffffff6
call fcn.00406493
push dword [esp + 0x14]
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401971
push 0x4100e8
push 0xffffffffffffffe7
call fcn.00406493
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40179d
push 0xfffffffffffffff0
call fcn.00403557
push 0xffffffffffffffdf
mov dword [esp + 0x4c], eax
call fcn.00403557
push 2
mov dword [esp + 0x18], eax
call fcn.00403557
push 0xffffffffffffffcd
mov dword [esp + 0x54], eax
call fcn.00403557
mov ebx, eax
push 0x45
mov dword [esp + 0x50], ebx
call fcn.00403557
mov ecx, dword [esp + 0x40]
mov esi, ecx
push dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov edi, ecx
mov eax, ecx
sar edi, 0xc
and eax, 0x8000
sar ecx, 0x10
mov dword [esp + 0x24], eax
and esi, 0xfff
movzx eax, cx
and edi, 7
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call fcn.00407808
test eax, eax
jne 0x40269e
push 0x21
call fcn.00403557
push dword [esp + 0x18]
push edi
push esi
push ebx
push dword [esp + 0x60]
push dword [esp + 0x28]
push dword [esp + 0x60]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406f95
add esp, 0x20
lea eax, [esp + 0x10]
xor esi, esi
inc esi
push eax
push 0x40ab68
push esi
push ebp
push 0x40ab88
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x40279e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push 0x40ab78
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x402794
mov eax, dword [esp + 0x10]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov ebx, eax
cmp dword [esp + 0x20], ebp
jne 0x402724
mov eax, dword [esp + 0x10]
push 0x4c8000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test edi, edi
je 0x402733
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x4c]
cmp word [edx], bp
je 0x402759
mov eax, dword [esp + 0x10]
push dword [esp + 0x1c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
push dword [esp + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x10]
push dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test ebx, ebx
js 0x40278a
mov eax, dword [esp + 0x28]
push esi
push dword [esp + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
sar eax, 0x1f
and eax, 0xfffffffc
push 0x4100e8
sub eax, 0xc
push eax
call fcn.00406493
shr ebx, 0x1f
jmp 0x401a35
push ebp
call fcn.00403557
push 0x11
mov esi, eax
call fcn.00403557
push 0x23
mov edi, eax
call fcn.00403557
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [esp + 0x30], eax
call fcn.00406f95
add esp, 0xc
push esi
call fcn.00406eae
test eax, eax
jne 0x4027fe
push ebp
push 0xfffffffffffffff9
call fcn.00406493
jmp 0x401a32
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
mov word [edi + eax*2 + 2], cx
mov ecx, dword [esp + 0x24]
mov ax, word [esp + 0x38]
push ecx
push ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x76], ecx
mov word [esp + 0x6c], ax
call fcn.00406493
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015ce.67
jmp 0x4027f1
cmp ecx, 0xbadf00d
jne 0x401f6d
inc dword [0x46f634]
jmp case.0x4015ce.67
push str._RM_
mov esi, 0x4100e8
mov dword [esp + 0x18], ebp
push esi
mov dword [esp + 0x20], ebp
call fcn.00407521
push esi
mov edi, 0x4140e8
push edi
call fcn.00407521
cmp dword [esp + 0x30], ebp
je 0x4028a7
push ebp
call fcn.00403557
mov ebp, eax
cmp dword [esp + 0x34], 0
je 0x4028b9
push 0x11
call fcn.00403557
mov dword [esp + 0x14], eax
cmp dword [esp + 0x40], 0
je 0x4028cb
push 0x22
call fcn.00403557
mov dword [esp + 0x18], eax
push 0xffffffffffffffcd
call fcn.00403557
mov esi, eax
push esi
push edi
push 0x4100e8
push 0x40c0e8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406f95
add esp, 0x14
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a2a
push 1
mov dword [esp + 0x28], 0xa
call fcn.00403557
push 0x12
mov edi, eax
call fcn.00403557
push 0xffffffffffffffdd
mov esi, eax
call fcn.00403557
mov ebp, dword [esp + 0x18]
push eax
push 0x1fff
push ebp
lea eax, [esp + 0x30]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
pop eax
cmp word [ebp], ax
jne case.0x4015ce.67
xor esi, esi
xor eax, eax
mov word [ebp], ax
lea ebx, [esi + 1]
mov dword [esp + 0x10], ebx
jmp case.0x4015ce.67
xor ebp, ebp
push edx
inc ebp
call fcn.00406d17
cmp dword [esp + 0x44], 0
mov ebx, eax
pop ecx
jne 0x4029ac
push 2
call fcn.004035da
mov edi, eax
test edi, edi
je 0x4029d7
push 0x33
call fcn.00403557
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4140e8
push ebx
push str.DeleteRegValue:___s_s____s_
mov ebp, eax
call fcn.00406f95
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4029d7
push 0x22
call fcn.00403557
mov esi, eax
push esi
push ebx
push str.DeleteRegKey:___s_s_
call fcn.00406f95
mov ecx, dword [esp + 0x4c]
add esp, 0xc
sar ecx, 1
push ecx
push esi
push dword [esp + 0x2c]
call fcn.00403595
mov ebp, eax
xor ebx, ebx
test ebp, ebp
setne bl
jmp 0x401a35
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push 2
mov dword [esp + 0x54], eax
call fcn.00403557
push 0x11
mov dword [esp + 0x2c], eax
call fcn.00403557
mov edi, dword [esp + 0x48]
push edi
mov dword [esp + 0x20], eax
call fcn.00406d17
pop ecx
mov dword [esp + 0x4c], eax
xor esi, esi
lea eax, [esp + 0x24]
inc esi
push eax
push 0x100022
push dword [esp + 0x24]
mov ebx, esi
push edi
mov dword [esp + 0x20], ebx
call fcn.0040353c
push eax
call fcn.004069ec
mov ecx, dword [esp + 0x24]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x402b9f
mov eax, dword [esp + 0x14]
mov edi, 0x4140e8
cmp eax, esi
jne 0x402ab0
push 0x23
call fcn.00403557
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [esp + 0x50], esi
mov esi, dword [esp + 0x1c]
push edi
push dword [esp + 0x2c]
lea eax, [eax*2 + 2]
push esi
push dword [esp + 0x58]
mov dword [esp + 0x58], eax
jne 0x402a9d
push str.WriteRegStr:___s_s____s___s_
call fcn.00406f95
add esp, 0x14
jmp 0x402b58
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406f95
add esp, 0x14
mov eax, dword [esp + 0x14]
jmp 0x402aee
mov dword [esp + 0x48], ebp
cmp eax, 4
jne 0x402aea
push 3
call fcn.0040351b
mov esi, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
mov dword [0x4140e8], eax
push esi
push dword [esp + 0x5c]
mov dword [esp + 0x5c], 4
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406f95
add esp, 0x18
jmp 0x402aaa
mov esi, dword [esp + 0x1c]
cmp eax, 3
jne 0x402b58
push 0xc000
push edi
push ebp
push dword [esp + 0x48]
call fcn.004037e0
push eax
push edi
mov dword [esp + 0x50], eax
lea eax, [esp + 0x98]
push 0x80
push eax
call fcn.00406c9d
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x3c]
cmp edx, 7
mov eax, str.WriteRegBin
mov ecx, str.WriteRegMultiStr
cmovne ecx, eax
mov eax, str.WriteRegNone
push esi
push dword [esp + 0x68]
test edx, edx
cmovne eax, ecx
push eax
push str._s:___s_s____s___s_
call fcn.00406f95
add esp, 0x28
push dword [esp + 0x48]
push edi
push dword [esp + 0x58]
mov edi, dword [esp + 0x34]
push ebp
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402b7d
mov ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x402b90
push edi
push esi
push dword [esp + 0x54]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406f95
add esp, 0x10
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015ce.67
push dword [esp + 0x1c]
push dword [esp + 0x50]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406f95
add esp, 0xc
jmp case.0x4015ce.67
push 0x20019
call fcn.004035da
push 0x33
mov esi, eax
call fcn.00403557
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x401a32
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x4000
push ecx
push edi
lea ecx, [esp + 0x1c]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402c36
cmp dword [esp + 0x14], 4
je 0x402c1f
cmp dword [esp + 0x14], ecx
je 0x402c10
cmp dword [esp + 0x14], 2
jne 0x402c36
mov ebx, dword [esp + 0x40]
xor eax, eax
mov word [edi + 0x3ffe], ax
jmp 0x402c3d
push dword [edi]
xor ebx, ebx
cmp dword [esp + 0x44], ebx
push edi
sete bl
mov dword [esp + 0x18], ebx
call fcn.00406efe
jmp 0x402c41
xor eax, eax
mov ebx, ecx
mov word [edi], ax
mov dword [esp + 0x10], ebx
push esi
jmp 0x402b94
push 0x20019
call fcn.004035da
push 3
mov esi, eax
call fcn.0040351b
mov ebx, dword [esp + 0x14]
pop ecx
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x401a32
mov ecx, 0x1fff
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x40], ebp
je 0x402c87
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ca5
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x34]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [edi + 0x3ffe], ax
jmp 0x402c41
push edi
call fcn.0040762c
test eax, eax
je case.0x4015ce.67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015ce.67
push 0xffffffffffffffed
call fcn.00403557
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
call fcn.00407322
cmp eax, 0xffffffff
jne 0x401d15
xor eax, eax
mov word [edi], ax
jmp 0x401a32
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov edx, dword [esp + 0x38]
cmp ecx, 0x38
mov dword [esp + 0x24], edx
sete al
xor esi, esi
inc esi
mov dword [esp + 0x18], eax
test edx, edx
je 0x402d27
push esi
call fcn.0040351b
mov word [0x4100e8], ax
mov eax, dword [esp + 0x1c]
xor eax, esi
pop ecx
inc eax
jmp 0x402d66
cmp ecx, 0x38
jne 0x402d57
push 0x21
call fcn.00403557
push 0x2000
push 0x4100e8
push 0x4140e8
call fcn.00406bb0
add esp, 0xc
push 0x4100e8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402d66
push 0x11
call fcn.00403557
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov dword [esp + 0x14], eax
cmp word [edi], bp
je 0x402da9
push edi
call fcn.0040762c
mov edi, eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x24]
jne 0x402d92
cmp dword [esp + 0x3c], ebp
je 0x402d92
push edi
push edi
call fcn.00406bcb
test eax, eax
js 0x402da9
push dword [esp + 0x14]
push 0x4100e8
push edi
call fcn.00407412
test eax, eax
jne case.0x4015ce.67
mov ebx, esi
jmp 0x401a35
push 2
pop ecx
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
call fcn.0040351b
xor esi, esi
inc esi
pop ecx
cmp eax, esi
jl case.0x4015ce.67
mov ecx, 0x1fff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x20], eax
cmp word [edi], bp
je 0x402f85
push edi
mov dword [esp + 0x54], ebp
call fcn.0040762c
mov ecx, eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x20], ebp
jbe 0x402f89
mov dword [esp + 0x54], 0xd
mov ebx, ebp
cmp dword [esp + 0x2c], 0x39
jne 0x402ece
push ebp
lea eax, [esp + 0x4c]
push eax
push 2
pop eax
sub eax, dword [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402f89
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402f89
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x4c], eax
cmp dword [esp + 0x3c], ebp
jne 0x402f76
push esi
lea eax, [esp + 0x50]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402f00
mov ecx, dword [esp + 0x1c]
mov edx, ecx
neg edx
sub dword [esp + 0x48], 1
mov eax, 0xfffd
mov dword [esp + 0x4c], eax
je 0x402f08
push esi
dec ecx
inc edx
push ebp
push edx
push dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x1c]
push eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x402e81
jmp 0x402f00
cmp dword [esp + 0x3c], ebp
jne 0x402eeb
test ebx, ebx
jne 0x402eeb
push ebp
push ecx
call fcn.00406bcb
test eax, eax
js 0x402f89
mov ecx, dword [esp + 0x14]
push 2
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.0040734f
test eax, eax
je 0x402f89
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x3c], ebp
jne 0x402f76
push 0xd
pop edx
cmp word [esp + 0x50], dx
push 0xa
pop edx
je 0x402f47
cmp word [esp + 0x50], dx
je 0x402f47
mov word [edi + ebx*2], ax
inc ebx
movzx eax, ax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x50], eax
test ax, ax
je 0x402f89
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x20]
jl 0x402e0c
jmp 0x402f89
cmp word [esp + 0x50], ax
je 0x402f65
cmp ax, word [esp + 0x54]
je 0x402f5a
cmp ax, dx
jne 0x402f65
mov word [edi + ebx*2], ax
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x402f89
push esi
push ebp
neg ecx
push ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402f89
movzx eax, ax
push eax
push edi
call fcn.00406efe
jmp 0x4033be
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
xor ecx, ecx
xor ebx, ebx
test eax, eax
mov word [edi + eax*2], cx
jmp 0x401bd7
cmp word [edi], bp
je case.0x4015ce.67
push 2
call fcn.0040351b
pop ecx
push dword [esp + 0x3c]
push ebp
push eax
push edi
call fcn.0040762c
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x34], ebp
jl case.0x4015ce.67
push eax
push esi
jmp 0x40172c
push edi
call fcn.0040762c
test eax, eax
je case.0x4015ce.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015ce.67
push esi
call fcn.0040762c
test eax, eax
je 0x401a0b
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401a0b
jmp 0x40303e
push 2
call fcn.00403557
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x403037
xor eax, eax
mov word [esi], ax
jmp 0x402ce8
push eax
push esi
call fcn.00406efe
lea eax, [esp + 0xbc]
push eax
push edi
call fcn.00407521
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.00403557
mov esi, eax
push esi
mov dword [esp + 0x58], esi
call fcn.00407808
test eax, eax
jne 0x40306f
push 0xffffffffffffffed
call fcn.00403557
push esi
call fcn.004075a4
push 2
push 0x40000000
push esi
call fcn.00407322
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x403162
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], ebp
je 0x40314e
mov eax, dword [0x46f568]
push eax
push 0x40
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x403146
push ebp
call fcn.0040364a
push dword [esp + 0x20]
push edi
call fcn.00403634
push dword [esp + 0x38]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x403128
push dword [esp + 0x38]
push edi
push ebp
push dword [esp + 0x40]
call fcn.004037e0
cmp byte [edi], 0
je 0x40311e
mov ebx, dword [esp + 0x14]
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebx
push eax
call fcn.00407061
add edi, esi
cmp byte [edi], 0
jne 0x403101
mov esi, dword [esp + 0x54]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push edi
push dword [esp + 0x20]
call fcn.00407412
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x40314a
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push ebp
push ebp
push edi
push eax
call fcn.004037e0
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403167
mov ebp, 0xfffffd66
push esi
push ebp
push str.created_uninstaller:__d____s_
call fcn.00406f95
add esp, 0xc
push 0xfffffffffffffff3
pop edi
test ebp, ebp
jns 0x40318e
push 0xffffffffffffffef
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
push 0x4100e8
push edi
jmp 0x40165f
test ecx, ecx
je 0x4031db
push edx
push str.settings_logging_to__d
call fcn.00406f95
mov eax, dword [esp + 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x45e4e0], eax
call fcn.00406f95
add esp, 0x10
cmp dword [esp + 0x34], ebp
je 0x4031cf
call fcn.00405f57
jmp case.0x4015ce.67
push 1
call fcn.00406fc7
jmp case.0x4015ce.67
push 1
call fcn.00403557
push eax
push 0x409858
jmp 0x401971
push ebp
call fcn.0040351b
mov ebp, eax
pop ecx
cmp ebp, dword [0x46f58c]
jae 0x401a32
mov ecx, dword [esp + 0x38]
imul edi, ebp, 0x4018
add edi, dword [0x46f588]
test ecx, ecx
js 0x403229
mov eax, dword [edi + ecx*4]
jne 0x402fca
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x403047
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x38], eax
je 0x403244
push 1
call fcn.0040351b
pop ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x40325c
push dword [esp + 0x40]
lea eax, [edi + 0x18]
push eax
call fcn.004065f2
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x3c], 0
je case.0x4015ce.67
push ebp
call fcn.00401221
jmp case.0x4015ce.67
push ebp
call fcn.0040351b
mov edx, eax
pop ecx
cmp edx, 0x20
jae 0x401a32
cmp dword [esp + 0x3c], ebp
je 0x4032b4
cmp dword [esp + 0x38], ebp
je 0x4032a9
push edx
call fcn.00401290
push ebp
push ebp
call fcn.004012dd
jmp case.0x4015ce.67
push ebp
call fcn.004011a0
jmp 0x402fca
mov eax, dword [0x46f570]
cmp dword [esp + 0x38], ebp
je 0x4032cf
mov ecx, dword [esp + 0x34]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4015ce.67
push dword [eax + edx*4 + 0x94]
push esi
call fcn.004065f2
jmp case.0x4015ce.67
mov eax, dword [esp + 0x3c]
sub eax, ebp
je 0x403333
sub eax, 1
jne case.0x4015ce.67
push 2
call fcn.0040351b
push 4
mov esi, eax
call fcn.0040351b
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x46f620
test esi, esi
mov dword [esp + 0x20], ebp
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00407061
push dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
jmp 0x40172b
push 5
call fcn.004072ed
push 0x22
mov edi, eax
call fcn.00403557
test edi, edi
je 0x403382
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x403382
lea eax, [esp + 0x20]
push eax
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
js 0x403382
push dword [esp + 0x20]
push esi
call fcn.00407521
push dword [esp + 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x4015ce.67
xor ebx, ebx
inc ebx
xor eax, eax
mov dword [esp + 0x10], ebx
mov word [esi], ax
jmp case.0x4015ce.67
and ecx, dword [0x4341f8]
push ebp
push ecx
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x30], ebp
je case.0x4015ce.67
mov eax, dword [esp + 0x1c]
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [esp + 0x10]
add dword [0x46f628], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 4