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 [0x472218]
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 + 0x50], ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [0x40c104], 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 + 0x4033c7]
push ecx
push str.Jump:__d
call fcn.00406e71
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
jmp 0x4033b8
push ebp
call fcn.0040354f
push eax
push str.Aborting:___s_
call fcn.00406e71
pop ecx
pop ecx
push ebp
push dword [esp + 0x34]
call fcn.0040636f
mov eax, 0x7fffffff
jmp 0x4033b8
inc dword [0x47220c]
test eax, eax
je 0x401608
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401608
push ecx
call fcn.0040360e
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406e71
pop ecx
pop ecx
push ebp
push esi
call fcn.00401399
jmp 0x4033b8
push ebp
call fcn.0040354f
push eax
push str.DetailPrint:__s
call fcn.00406e71
pop ecx
pop ecx
push ebp
push dword [esp + 0x34]
call fcn.0040636f
jmp case.0x4015ce.67
push ebp
call fcn.00403513
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406e71
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.00406e71
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 + 0x47a2e0]
mov dword [ecx*4 + 0x47a2a0], eax
push 1
call fcn.00403513
mov ecx, eax
mov eax, dword [esp + 0x34]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x47a2e0], ecx
jmp 0x402385
mov eax, dword [ecx*4 + 0x47a2a0]
mov dword [ecx*4 + 0x47a2e0], eax
jmp case.0x4015ce.67
mov ecx, dword [esp + 0x38]
push 4
mov edx, dword [ecx*4 + 0x47a2e0]
mov eax, edx
and eax, dword [esp + 0x40]
mov dword [ecx*4 + 0x47a2e0], eax
xor eax, eax
test edx, edx
pop ecx
cmove eax, ecx
mov eax, dword [esp + eax + 0x30]
jmp 0x4033b8
push dword [edx*4 + 0x47a2e0]
push edi
call fcn.00406dda
jmp case.0x4015ce.67
mov eax, dword [0x472204]
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 [0x472208]
test eax, eax
je case.0x4015ce.67
push ecx
push eax
call esi
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.0040354f
push dword [esp + 0x34]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406e71
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.00406e71
pop ecx
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.0040354f
push dword [esp + 0x34]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406e71
add esp, 0xc
push esi
call fcn.004074a8
mov ebx, dword [esp + 0x10]
mov edi, eax
test edi, edi
je 0x401861
push 0x5c
push edi
call fcn.00406db1
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.00406b1f
test eax, eax
je 0x401805
push esi
call fcn.00406473
jmp 0x40180b
push esi
call fcn.00406453
test eax, eax
je 0x401841
cmp eax, 0xb7
je 0x401828
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406e71
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.00406e71
inc ebx
jmp 0x40184c
push esi
push str.CreateDirectory:___s__created
call fcn.00406e71
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 0x410108
je 0x4018a9
push 0xffffffffffffffe6
call fcn.0040636f
push esi
push 0x4d3000
call fcn.004073fd
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.00406e71
add esp, 0xc
inc ebx
jmp 0x401a35
push 0xfffffffffffffff5
jmp 0x40165f
push ebp
call fcn.0040354f
mov esi, eax
push esi
call fcn.00406d8a
test eax, eax
je 0x4018dd
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406e71
add esp, 0xc
mov eax, dword [esp + 0x34]
jmp 0x4033b8
push dword [esp + 0x38]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406e71
add esp, 0xc
mov eax, dword [esp + 0x38]
jmp 0x4033b8
push 0xffffffffffffffd0
call fcn.0040354f
push 0xffffffffffffffdf
mov edi, eax
call fcn.0040354f
push 0x13
mov ebp, eax
call fcn.0040354f
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406e71
pop ecx
pop ecx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401938
push 0x410108
push 0xffffffffffffffe3
jmp 0x40165f
cmp dword [esp + 0x38], 0
je 0x401964
push edi
call fcn.00406d8a
test eax, eax
je 0x401964
push ebp
push edi
call fcn.00406860
push 0x410108
push 0xffffffffffffffe4
call fcn.0040636f
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.00406e71
pop ecx
jmp 0x4017a2
push ebp
call fcn.0040354f
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.00406d8a
test eax, eax
je 0x4019c0
add eax, 0x2c
push eax
push dword [esp + 0x1c]
call fcn.004073fd
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.0040354f
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.0040354f
push eax
push edi
call fcn.00407339
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.0040354f
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.00406e71
add esp, 0x10
push esi
call fcn.004076e4
mov edi, 0x40c108
push esi
test eax, eax
je 0x401a86
push edi
call fcn.004073fd
jmp 0x401a9d
push 0x4d3000
push edi
call fcn.004073fd
push eax
call fcn.00406d11
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.00407620
xor esi, esi
inc esi
mov eax, dword [esp + 0x1c]
cmp eax, 3
jl 0x401ae3
push edi
call fcn.00406d8a
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.00407480
xor eax, eax
cmp dword [esp + 0x1c], esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.004071fe
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.00406e71
pop ecx
pop ecx
push section..ndata
push 0x414108
call fcn.004073fd
push edi
push section..ndata
call fcn.004073fd
push dword [esp + 0x44]
push 0x410108
call fcn.004064ce
push 0x414108
push section..ndata
call fcn.004073fd
mov eax, dword [esp + 0x30]
sar eax, 3
push eax
push 0x410108
call fcn.0040738b
sub eax, 4
jne 0x401b85
push str.File:_error__user_retry
call fcn.00406e71
pop ecx
jmp 0x401aa6
sub eax, 1
je 0x401b9d
push str.File:_error__user_abort
call fcn.00406e71
pop ecx
push edi
push 0xfffffffffffffffa
jmp 0x401603
push str.File:_error__user_cancel
call fcn.00406e71
inc dword [0x47a2e8]
pop ecx
jmp 0x4033b6
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffe2
call fcn.0040636f
mov ebp, dword [esp + 0x1c]
push ebp
push edi
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406e71
add esp, 0xc
xor ebx, ebx
cmp ebp, 2
sete bl
jmp 0x401a35
mov esi, dword [esp + 0x18]
push esi
push 0xffffffffffffffea
call fcn.0040636f
inc dword [0x47a314]
push ebp
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x44]
call fcn.00403659
dec dword [0x47a314]
push edi
push eax
push str.File:_wrote__d_to___s_
mov dword [esp + 0x2c], eax
call fcn.00406e71
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.004064ce
push esi
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c6c
push 0xffffffffffffffee
push edi
call fcn.004064ce
push edi
push 0x409858
call fcn.00406e71
pop ecx
pop ecx
push 0x200010
push edi
call fcn.0040738b
jmp 0x401608
push ebp
call fcn.0040354f
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406e71
pop ecx
pop ecx
push dword [esp + 0x34]
push esi
call fcn.00406fa2
jmp case.0x4015ce.67
push 0x31
call fcn.0040354f
mov esi, eax
push esi
push dword [esp + 0x34]
push str.MessageBox:__d___s_
call fcn.00406e71
add esp, 0xc
push dword [esp + 0x30]
push esi
call fcn.0040738b
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 0x4033b8
push 0xfffffffffffffff0
call fcn.0040354f
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c97
push 1
call fcn.0040354f
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x40172b
push 2
call fcn.00403513
push 3
mov ebp, eax
mov esi, edx
call fcn.00403513
pop ecx
pop ecx
push 1
mov dword [esp + 0x24], eax
call fcn.0040354f
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.004073fd
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.0040354f
push 0x31
mov esi, eax
call fcn.0040354f
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.0040354f
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.00403513
push 1
mov edi, eax
call fcn.00403513
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 0x4033b8
jbe 0x4018ef
mov eax, dword [esp + 0x40]
jmp 0x4033b8
push 1
call fcn.00403513
push 2
mov esi, eax
call fcn.00403513
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xd
ja case.default.0x401e79
jmp dword [eax*4 + 0x4034db]
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.0040354f
push 2
mov esi, eax
call fcn.00403513
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 [0x40c100]
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, 0x40c108
push esi
push edi
call fcn.004073fd
mov eax, dword [0x40c100]
add eax, 4
push eax
push esi
call fcn.004073fd
mov eax, dword [0x40c100]
push edi
add eax, 4
push eax
jmp 0x40303f
push dword [esp + 0x38]
push str.Exch:_stack____d_elements
call fcn.00406e71
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebp
call fcn.004064ce
push eax
jmp 0x401c7f
test edx, edx
je 0x401faf
test esi, esi
jne 0x401f98
push str.Pop:_stack_empty
call fcn.00406e71
pop ecx
jmp 0x401a32
lea eax, [esi + 4]
push eax
push edi
call fcn.004073fd
mov eax, dword [esi]
mov dword [0x40c100], 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.004064ce
mov eax, dword [0x40c100]
mov dword [esi], eax
mov dword [0x40c100], esi
jmp case.0x4015ce.67
push 3
call fcn.00403513
push 4
mov dword [esp + 0x30], eax
call fcn.00403513
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.0040354f
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
test al, 2
je 0x40201f
push 0x44
call fcn.0040354f
mov esi, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x2c], 0x21
push 1
jne 0x40207d
call fcn.00403513
push 2
mov dword [esp + 0x20], eax
call fcn.00403513
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.0040354f
push 0x12
mov esi, eax
call fcn.0040354f
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.00403513
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4018ef
jmp 0x4018d4
push 2
call fcn.00403513
push 1
mov esi, eax
call fcn.00403513
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d15
mov esi, dword [0x47a268]
push ebp
add esi, edx
call fcn.00403513
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.00403513
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.0040354f
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 [0x472214]
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.00403513
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 [0x420108], eax
mov eax, dword [esp + 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.00403513
pop ecx
mov ecx, dword [esp + 0x40]
push dword [esp + 0x34]
mov dword [0x420118], eax
mov al, cl
and al, 1
mov byte [0x42011f], 1
mov byte [0x42011c], al
mov al, cl
and al, 2
and cl, 4
push 0x420124
mov byte [0x42011d], al
mov byte [0x42011e], cl
call fcn.004064ce
push 0x420108
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebp, dword [esp + 0x18]
push eax
push ebp
jmp 0x40172c
push ebp
call fcn.00403513
push 1
mov esi, eax
call fcn.00403513
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x38], ebp
je 0x4022a0
push str.HideWindow
call fcn.00406e71
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.0040354f
push 0x31
mov esi, eax
call fcn.0040354f
push 0x22
mov dword [esp + 0x18], eax
call fcn.0040354f
push 0x15
mov edi, eax
call fcn.0040354f
push 0x410108
push 0xffffffffffffffec
call fcn.0040636f
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], 0x4d3000
cmovne eax, edi
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
call fcn.004072d6
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.00406e71
add esp, 0x14
jmp 0x401a32
test byte [esp + 0x58], 0x40
je 0x40237a
push dword [esp + 0x8c]
call fcn.00406b37
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.00406e71
jmp 0x401f0b
push ebp
call fcn.0040354f
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406e71
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.0040636f
push edi
call fcn.00406f5f
mov ebx, dword [esp + 0x10]
mov ebp, eax
push edi
test ebp, ebp
je 0x4023f8
push str.Exec:_success____s__
call fcn.00406e71
cmp dword [esp + 0x40], 0
pop ecx
pop ecx
je 0x4023f2
push ebp
call fcn.00406b37
cmp dword [esp + 0x34], 0
jl 0x4023e6
push eax
push esi
call fcn.00406dda
jmp 0x4023f2
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
mov dword [esp + 0x10], ebx
push ebp
jmp 0x402cb7
push str.Exec:_failed_createprocess____s__
jmp 0x40196a
push 2
call fcn.0040354f
push eax
call fcn.00406d8a
mov ebp, eax
test ebp, ebp
je 0x402426
push dword [ebp + 0x14]
push esi
call fcn.00406dda
push dword [ebp + 0x18]
jmp 0x40172b
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x401a32
push 0xffffffffffffffee
call fcn.0040354f
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], eax
push ecx
push eax
push 0xb
call fcn.004071c9
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.004071c9
push 0xd
mov esi, eax
call fcn.004071c9
push dword [esp + 0x14]
mov dword [esp + 0x50], 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 + 0x5c]
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.00406dda
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.00406dda
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 [0x47a280], ebp
jl 0x40260e
push 0xfffffffffffffff0
call fcn.0040354f
mov edi, eax
push esi
mov dword [esp + 0x18], edi
call fcn.0040354f
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.0040688c
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 0x410108
push dword [esp + 0x3c]
call fcn.0040636f
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 0x40c100
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.0040636f
push dword [esp + 0x14]
push ebp
push 0x409aa8
call fcn.00406e71
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne case.0x4015ce.67
push edi
call fcn.00404248
test eax, eax
je case.0x4015ce.67
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015ce.67
push 0x410108
push 0xfffffffffffffff6
call fcn.0040636f
push dword [esp + 0x14]
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401971
push 0x410108
push 0xffffffffffffffe7
call fcn.0040636f
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40179d
push 0xfffffffffffffff0
call fcn.0040354f
push 0xffffffffffffffdf
mov dword [esp + 0x50], eax
call fcn.0040354f
push 2
mov dword [esp + 0x18], eax
call fcn.0040354f
push 0xffffffffffffffcd
mov dword [esp + 0x54], eax
call fcn.0040354f
mov ebx, eax
push 0x45
mov dword [esp + 0x4c], ebx
call fcn.0040354f
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.004076e4
test eax, eax
jne 0x40269e
push 0x21
call fcn.0040354f
push dword [esp + 0x18]
push edi
push esi
push ebx
push dword [esp + 0x60]
push dword [esp + 0x28]
push dword [esp + 0x64]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406e71
add esp, 0x20
lea eax, [esp + 0x10]
xor esi, esi
inc esi
push eax
push 0x40ac4c
push esi
push ebp
push 0x40ac6c
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 0x40ac5c
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 0x4d3000
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 + 0x48]
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 + 0x50]
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 0x410108
sub eax, 0xc
push eax
call fcn.0040636f
shr ebx, 0x1f
jmp 0x401a35
push ebp
call fcn.0040354f
push 0x11
mov esi, eax
call fcn.0040354f
push 0x23
mov edi, eax
call fcn.0040354f
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [esp + 0x30], eax
call fcn.00406e71
add esp, 0xc
push esi
call fcn.00406d8a
test eax, eax
jne 0x4027fe
push ebp
push 0xfffffffffffffff9
call fcn.0040636f
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.0040636f
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 [0x47a2f4]
jmp case.0x4015ce.67
push str._RM_
mov esi, 0x410108
mov dword [esp + 0x18], ebp
push esi
mov dword [esp + 0x20], ebp
call fcn.004073fd
push esi
mov edi, 0x414108
push edi
call fcn.004073fd
cmp dword [esp + 0x30], ebp
je 0x4028a7
push ebp
call fcn.0040354f
mov ebp, eax
cmp dword [esp + 0x34], 0
je 0x4028b9
push 0x11
call fcn.0040354f
mov dword [esp + 0x14], eax
cmp dword [esp + 0x40], 0
je 0x4028cb
push 0x22
call fcn.0040354f
mov dword [esp + 0x18], eax
push 0xffffffffffffffcd
call fcn.0040354f
mov esi, eax
push esi
push edi
push 0x410108
push 0x40c108
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406e71
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.0040354f
push 0x12
mov edi, eax
call fcn.0040354f
push 0xffffffffffffffdd
mov esi, eax
call fcn.0040354f
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.00406bf3
cmp dword [esp + 0x44], 0
mov ebx, eax
pop ecx
jne 0x4029ac
push 2
call fcn.004035d2
mov edi, eax
test edi, edi
je 0x4029d7
push 0x33
call fcn.0040354f
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x414108
push ebx
push str.DeleteRegValue:___s_s____s_
mov ebp, eax
call fcn.00406e71
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4029d7
push 0x22
call fcn.0040354f
mov esi, eax
push esi
push ebx
push str.DeleteRegKey:___s_s_
call fcn.00406e71
mov ecx, dword [esp + 0x4c]
add esp, 0xc
sar ecx, 1
push ecx
push esi
push dword [esp + 0x2c]
call fcn.0040358d
mov ebp, eax
xor ebx, ebx
test ebp, ebp
setne bl
jmp 0x401a35
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
push 2
mov dword [esp + 0x18], eax
call fcn.0040354f
push 0x11
mov dword [esp + 0x2c], eax
call fcn.0040354f
mov edi, dword [esp + 0x50]
push edi
mov dword [esp + 0x20], eax
call fcn.00406bf3
pop ecx
mov dword [esp + 0x48], 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.00403534
push eax
call fcn.004068c8
mov edi, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov dword [esp + 0x18], edi
test edi, edi
je 0x402b97
mov ecx, dword [esp + 0x20]
mov edi, 0x414108
cmp ecx, esi
jne 0x402aa4
push 0x23
call fcn.0040354f
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
push edi
push dword [esp + 0x2c]
lea eax, [eax*2 + 2]
push esi
push dword [esp + 0x54]
mov dword [esp + 0x5c], eax
jne 0x402a9d
push str.WriteRegStr:___s_s____s___s_
call fcn.00406e71
add esp, 0x14
jmp 0x402b50
push str.WriteRegExpandStr:___s_s____s___s_
jmp 0x402a90
push 4
pop eax
mov dword [esp + 0x4c], eax
cmp ecx, eax
jne 0x402ad8
push 3
call fcn.00403513
mov esi, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
mov dword [0x414108], eax
push esi
push dword [esp + 0x58]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406e71
add esp, 0x18
jmp 0x402b50
mov dword [esp + 0x4c], ebp
cmp ecx, 3
jne 0x402b4c
push 0xc000
push edi
push ebp
push dword [esp + 0x48]
call fcn.00403659
push eax
push edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x98]
push 0x80
push eax
call fcn.00406b79
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x2c]
cmp edx, 7
push eax
push dword [esp + 0x3c]
mov eax, str.WriteRegBin
mov ecx, str.WriteRegMultiStr
cmovne ecx, eax
mov eax, str.WriteRegNone
push esi
push dword [esp + 0x64]
test edx, edx
cmovne eax, ecx
push eax
push str._s:___s_s____s___s_
call fcn.00406e71
add esp, 0x28
jmp 0x402b50
mov esi, dword [esp + 0x1c]
push dword [esp + 0x4c]
push edi
push dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push ebp
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402b75
mov ebx, ebp
mov dword [esp + 0x10], ebx
jmp 0x402b88
push edi
push esi
push dword [esp + 0x50]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406e71
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 + 0x4c]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406e71
add esp, 0xc
jmp case.0x4015ce.67
push 0x20019
call fcn.004035d2
push 0x33
mov esi, eax
call fcn.0040354f
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 0x402c2e
cmp dword [esp + 0x14], 4
je 0x402c17
cmp dword [esp + 0x14], ecx
je 0x402c08
cmp dword [esp + 0x14], 2
jne 0x402c2e
mov ebx, dword [esp + 0x40]
xor eax, eax
mov word [edi + 0x3ffe], ax
jmp 0x402c35
push dword [edi]
xor ebx, ebx
cmp dword [esp + 0x44], ebx
push edi
sete bl
mov dword [esp + 0x18], ebx
call fcn.00406dda
jmp 0x402c39
xor eax, eax
mov ebx, ecx
mov word [edi], ax
mov dword [esp + 0x10], ebx
push esi
jmp 0x402b8c
push 0x20019
call fcn.004035d2
push 3
mov esi, eax
call fcn.00403513
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 0x402c7f
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402c9d
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 0x402c39
push edi
call fcn.00407508
test eax, eax
je case.0x4015ce.67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015ce.67
push 0xffffffffffffffed
call fcn.0040354f
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
call fcn.004071fe
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 0x402d1f
push esi
call fcn.00403513
mov word [0x410108], ax
mov eax, dword [esp + 0x1c]
xor eax, esi
pop ecx
inc eax
jmp 0x402d5e
cmp ecx, 0x38
jne 0x402d4f
push 0x21
call fcn.0040354f
push 0x2000
push 0x410108
push 0x414108
call fcn.00406a8c
add esp, 0xc
push 0x410108
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402d5e
push 0x11
call fcn.0040354f
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
mov dword [esp + 0x14], eax
cmp word [edi], bp
je 0x402da1
push edi
call fcn.00407508
mov edi, eax
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x24]
jne 0x402d8a
cmp dword [esp + 0x3c], ebp
je 0x402d8a
push edi
push edi
call fcn.00406aa7
test eax, eax
js 0x402da1
push dword [esp + 0x14]
push 0x410108
push edi
call fcn.004072ee
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.00403513
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 0x402f7d
push edi
mov dword [esp + 0x54], ebp
call fcn.00407508
mov ecx, eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x20], ebp
jbe 0x402f81
mov dword [esp + 0x54], 0xd
mov ebx, ebp
cmp dword [esp + 0x2c], 0x39
jne 0x402ec6
push ebp
lea eax, [esp + 0x50]
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 0x402f81
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402f81
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x3c], ebp
jne 0x402f6e
push esi
lea eax, [esp + 0x4c]
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 0x402ef8
mov ecx, dword [esp + 0x1c]
mov edx, ecx
neg edx
sub dword [esp + 0x4c], 1
mov eax, 0xfffd
mov dword [esp + 0x48], eax
je 0x402f00
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 + 0x4c]
push eax
push dword [esp + 0x54]
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 0x402e79
jmp 0x402ef8
cmp dword [esp + 0x3c], ebp
jne 0x402ee3
test ebx, ebx
jne 0x402ee3
push ebp
push ecx
call fcn.00406aa7
test eax, eax
js 0x402f81
mov ecx, dword [esp + 0x14]
push 2
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.0040722b
test eax, eax
je 0x402f81
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x3c], ebp
jne 0x402f6e
push 0xd
pop edx
cmp word [esp + 0x50], dx
push 0xa
pop edx
je 0x402f3f
cmp word [esp + 0x50], dx
je 0x402f3f
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 0x402f81
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x20]
jl 0x402e04
jmp 0x402f81
cmp word [esp + 0x50], ax
je 0x402f5d
cmp ax, word [esp + 0x54]
je 0x402f52
cmp ax, dx
jne 0x402f5d
mov word [edi + ebx*2], ax
inc ebx
mov dword [esp + 0x18], ebx
jmp 0x402f81
push esi
push ebp
neg ecx
push ecx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402f81
movzx eax, ax
push eax
push edi
call fcn.00406dda
jmp 0x4033b6
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.00403513
pop ecx
push dword [esp + 0x3c]
push ebp
push eax
push edi
call fcn.00407508
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.00407508
test eax, eax
je case.0x4015ce.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015ce.67
push esi
call fcn.00407508
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 0x403036
push 2
call fcn.0040354f
lea ecx, [esp + 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x40302f
xor eax, eax
mov word [esi], ax
jmp 0x402ce0
push eax
push esi
call fcn.00406dda
lea eax, [esp + 0xbc]
push eax
push edi
call fcn.004073fd
jmp case.0x4015ce.67
push 0xfffffffffffffff0
call fcn.0040354f
mov esi, eax
push esi
mov dword [esp + 0x58], esi
call fcn.004076e4
test eax, eax
jne 0x403067
push 0xffffffffffffffed
call fcn.0040354f
push esi
call fcn.00407480
push 2
push 0x40000000
push esi
call fcn.004071fe
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x40315a
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], ebp
je 0x403146
mov eax, dword [0x47a228]
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 0x40313e
push ebp
call fcn.00403642
push dword [esp + 0x20]
push edi
call fcn.0040362c
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 0x403120
push dword [esp + 0x38]
push edi
push ebp
push dword [esp + 0x40]
call fcn.00403659
cmp byte [edi], 0
je 0x403116
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.00406f3d
add edi, esi
cmp byte [edi], 0
jne 0x4030f9
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.004072ee
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x403142
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push ebp
push ebp
push edi
push eax
call fcn.00403659
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40315f
mov ebp, 0xfffffd66
push esi
push ebp
push str.created_uninstaller:__d____s_
call fcn.00406e71
add esp, 0xc
push 0xfffffffffffffff3
pop edi
test ebp, ebp
jns 0x403186
push 0xffffffffffffffef
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
push 0x410108
push edi
jmp 0x40165f
test ecx, ecx
je 0x4031d3
push edx
push str.settings_logging_to__d
call fcn.00406e71
mov eax, dword [esp + 0x3c]
push eax
push str.logging_set_to__d
mov dword [0x4691a0], eax
call fcn.00406e71
add esp, 0x10
cmp dword [esp + 0x34], ebp
je 0x4031c7
call fcn.00405e33
jmp case.0x4015ce.67
push 1
call fcn.00406ea3
jmp case.0x4015ce.67
push 1
call fcn.0040354f
push eax
push 0x409858
jmp 0x401971
push ebp
call fcn.00403513
mov ebp, eax
pop ecx
cmp ebp, dword [0x47a24c]
jae 0x401a32
mov ecx, dword [esp + 0x38]
imul edi, ebp, 0x4018
add edi, dword [0x47a248]
test ecx, ecx
js 0x403221
mov eax, dword [edi + ecx*4]
jne 0x402fc2
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x40303f
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x38], eax
je 0x40323c
push 1
call fcn.00403513
pop ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
jmp 0x403254
push dword [esp + 0x40]
lea eax, [edi + 0x18]
push eax
call fcn.004064ce
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.00403513
mov edx, eax
pop ecx
cmp edx, 0x20
jae 0x401a32
cmp dword [esp + 0x3c], ebp
je 0x4032ac
cmp dword [esp + 0x38], ebp
je 0x4032a1
push edx
call fcn.00401290
push ebp
push ebp
call fcn.004012dd
jmp case.0x4015ce.67
push ebp
call fcn.004011a0
jmp 0x402fc2
mov eax, dword [0x47a230]
cmp dword [esp + 0x38], ebp
je 0x4032c7
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.004064ce
jmp case.0x4015ce.67
mov eax, dword [esp + 0x3c]
sub eax, ebp
je 0x40332b
sub eax, 1
jne case.0x4015ce.67
push 2
call fcn.00403513
push 4
mov esi, eax
call fcn.00403513
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x47a2e0
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.00406f3d
push dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
jmp 0x40172b
push 5
call fcn.004071c9
push 0x22
mov edi, eax
call fcn.0040354f
test edi, edi
je 0x40337a
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x40337a
lea eax, [esp + 0x20]
push eax
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x60]
push eax
call edi
test eax, eax
js 0x40337a
push dword [esp + 0x20]
push esi
call fcn.004073fd
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 [0x43dd40]
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 [0x47a2e8], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d0
ret 4