Function at 0x401560
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, 0x3dc
mov eax, dword [0x46b558]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3ec]
xor ebx, ebx
push edi
push 7
pop ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x20], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x2c]
mov eax, section..ndata
mov ecx, dword [esp + 0x30]
mov ebp, edi
mov edx, dword [esp + 0x28]
mov esi, ecx
shl ebp, 0xe
add ebp, eax
shl esi, 0xe
add esi, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], edi
mov dword [0x40c0e4], eax
lea eax, [edx - 2]
cmp eax, 0x44
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esi
ja case.0x4015d0.67
lea edi, [edx - 2]
jmp dword [edi*4 + 0x403378]
mov edi, dword [esp + 0x1c]
push edi
push str.Jump:__d
call fcn.00406eae
mov eax, dword [esp + 0x34]
pop ecx
pop ecx
jmp 0x403369
push ebx
call fcn.00403500
push eax
push str.Aborting:___s_
call fcn.00406eae
pop ecx
pop ecx
push ebx
push dword [esp + 0x30]
call fcn.0040637b
mov eax, 0x7fffffff
jmp 0x403369
inc dword [0x46b528]
test eax, eax
je 0x40160e
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x40160e
mov edi, dword [esp + 0x1c]
push edi
call fcn.004035c1
lea esi, [eax - 1]
push esi
push str.Call:__d
call fcn.00406eae
pop ecx
pop ecx
push ebx
push esi
call fcn.004013af
jmp 0x403369
push ebx
call fcn.00403500
push eax
push str.DetailPrint:__s
call fcn.00406eae
pop ecx
pop ecx
push ebx
push dword [esp + 0x30]
call fcn.0040637b
jmp case.0x4015d0.67
push ebx
call fcn.004034c4
mov esi, eax
push esi
push str.Sleep__d_
call fcn.00406eae
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.0x4015d0.67
push str.BringToFront
call fcn.00406eae
mov eax, dword [esp + 0x24]
pop ecx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015d0.67
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x34], ebx
jne 0x4016f8
mov eax, dword [edi*4 + 0x473620]
push 1
mov dword [edi*4 + 0x4735e0], eax
call fcn.004034c4
mov ecx, eax
mov eax, dword [esp + 0x30]
push ecx
push eax
push str.SetFlag:__d_d
mov dword [eax*4 + 0x473620], ecx
call fcn.00406eae
add esp, 0x10
jmp case.0x4015d0.67
mov eax, dword [edi*4 + 0x4735e0]
mov dword [edi*4 + 0x473620], eax
jmp case.0x4015d0.67
mov edx, dword [esp + 0x34]
xor eax, eax
push 4
pop esi
mov ecx, dword [edx*4 + 0x473620]
test ecx, ecx
cmove eax, esi
and ecx, dword [esp + 0x38]
mov dword [edx*4 + 0x473620], ecx
mov eax, dword [esp + eax + 0x2c]
jmp 0x403369
push dword [ecx*4 + 0x473620]
push ebp
call fcn.00406e17
jmp case.0x4015d0.67
mov eax, dword [0x46b548]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x401761
push ecx
push eax
call esi
mov edi, dword [esp + 0x2c]
mov eax, dword [0x46b54c]
test eax, eax
je case.0x4015d0.67
push edi
push eax
call esi
jmp case.0x4015d0.67
push 0xfffffffffffffff0
call fcn.00403500
push dword [esp + 0x30]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406eae
add esp, 0xc
push dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015d0.67
push str.SetFileAttributes_failed.
call fcn.00406eae
pop ecx
xor eax, eax
inc eax
jmp 0x403361
push 0xfffffffffffffff0
call fcn.00403500
push dword [esp + 0x30]
mov esi, eax
push esi
push str.CreateDirectory:___s____d_
call fcn.00406eae
add esp, 0xc
push esi
call fcn.004074df
mov edi, eax
test edi, edi
je 0x40186f
push 0x5c
push edi
call fcn.00406df8
mov edi, eax
xor eax, eax
movzx ebx, word [edi]
mov word [edi], ax
test bx, bx
jne 0x401811
cmp dword [esp + 0x34], eax
je 0x401811
call fcn.00406b5f
test eax, eax
je 0x401811
push esi
call fcn.0040647f
jmp 0x401817
push esi
call fcn.0040645f
test eax, eax
je 0x401853
cmp eax, 0xb7
je 0x401837
push eax
push esi
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406eae
add esp, 0xc
inc dword [esp + 0x10]
jmp 0x401860
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401860
push esi
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406eae
inc dword [esp + 0x18]
jmp 0x40185e
push esi
push str.CreateDirectory:___s__created
call fcn.00406eae
pop ecx
pop ecx
mov word [edi], bx
add edi, 2
test bx, bx
jne 0x4017e3
cmp dword [esp + 0x30], 0
push 0x4100e8
je 0x4018bb
push 0xffffffffffffffe6
call fcn.0040637b
push esi
push 0x4cc000
call fcn.00407448
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4015d0.67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406eae
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc eax
jmp 0x403361
push 0xfffffffffffffff5
jmp 0x401669
push ebx
call fcn.00403500
mov esi, eax
push esi
call fcn.00406dd1
test eax, eax
je 0x4018ef
push dword [esp + 0x30]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406eae
mov eax, dword [esp + 0x3c]
add esp, 0xc
jmp 0x403369
push dword [esp + 0x34]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406eae
add esp, 0xc
mov eax, dword [esp + 0x34]
jmp 0x403369
push 0xffffffffffffffd0
call fcn.00403500
push 0xffffffffffffffdf
mov edi, eax
call fcn.00403500
push 0x13
mov ebx, eax
call fcn.00403500
mov esi, eax
push esi
push str.Rename:__s
call fcn.00406eae
pop ecx
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40194a
push 0x4100e8
push 0xffffffffffffffe3
jmp 0x401669
cmp dword [esp + 0x34], 0
je 0x401980
push edi
call fcn.00406dd1
test eax, eax
je 0x401980
push ebx
push edi
call fcn.00406887
push 0x4100e8
push 0xffffffffffffffe4
call fcn.0040637b
push esi
push str.Rename_on_reboot:__s
call fcn.00406eae
pop ecx
pop ecx
jmp case.0x4015d0.67
push esi
push str.Rename_failed:__s
call fcn.00406eae
pop ecx
jmp 0x4017af
push ebx
call fcn.00403500
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 0x4019be
xor eax, eax
inc eax
xor ecx, ecx
mov dword [esp + 0x10], eax
mov word [esi], cx
jmp 0x4019e6
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x4019e2
cmp word [eax], bx
je 0x4019e2
push edi
call fcn.00406dd1
test eax, eax
je 0x4019b0
add eax, 0x2c
push eax
push dword [esp + 0x18]
call fcn.00407448
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], ebx
jne 0x403361
push ebp
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x4015d0.67
push 0xffffffffffffffff
call fcn.00403500
lea ecx, [esp + 0x4c]
push ecx
push ebp
push 0x2000
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015d0.67
xor eax, eax
inc eax
xor ecx, ecx
mov word [ebp], cx
jmp 0x403361
push 0xffffffffffffffef
call fcn.00403500
push eax
push ebp
call fcn.00407380
test eax, eax
jne case.0x4015d0.67
jmp 0x4017b0
push 0x31
call fcn.00403500
mov ecx, dword [esp + 0x2c]
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.00406eae
add esp, 0x10
push ebp
call fcn.004076ca
push ebp
mov ebp, 0x40c0e8
test eax, eax
je 0x401a8e
push ebp
call fcn.00407448
jmp 0x401aa5
push 0x4cc000
push ebp
call fcn.00407448
push eax
call fcn.00406d58
push eax
call sub.KERNEL32.dll_lstrcatW
push ebp
call fcn.0040760e
xor edi, edi
inc edi
cmp esi, 3
jl 0x401ae0
push ebp
call fcn.00406dd1
mov ecx, ebx
test eax, eax
je 0x401ad0
lea ecx, [esp + 0x38]
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 0x401aea
push ebp
call fcn.004074b7
xor eax, eax
cmp esi, edi
setne al
inc eax
push eax
push 0x40000000
push ebp
call fcn.0040723f
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x401bd4
test esi, esi
jne 0x401bac
push ebp
push str.File:_error_creating___s_
call fcn.00406eae
pop ecx
pop ecx
push section..ndata
push 0x4140e8
call fcn.00407448
push ebp
push section..ndata
call fcn.00407448
push dword [esp + 0x40]
push 0x4100e8
call fcn.004064fd
push 0x4140e8
push section..ndata
call fcn.00407448
mov eax, dword [esp + 0x2c]
sar eax, 3
push eax
push 0x4100e8
call fcn.004073d6
sub eax, 4
jne 0x401b7e
push str.File:_error__user_retry
call fcn.00406eae
pop ecx
jmp 0x401aae
sub eax, 1
je 0x401b96
push str.File:_error__user_abort
call fcn.00406eae
pop ecx
push ebp
push 0xfffffffffffffffa
jmp 0x401609
push str.File:_error__user_cancel
call fcn.00406eae
inc dword [0x473628]
pop ecx
jmp 0x403367
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffe2
call fcn.0040637b
push esi
push ebp
push str.File:_skipped:___s___overwriteflag_d_
call fcn.00406eae
add esp, 0xc
xor eax, eax
cmp esi, 2
sete al
jmp 0x403361
mov edi, dword [esp + 0x14]
push edi
push 0xffffffffffffffea
call fcn.0040637b
inc dword [0x473654]
push ebx
push ebx
push dword [esp + 0x20]
push dword [esp + 0x40]
call fcn.0040379c
dec dword [0x473654]
mov esi, eax
push ebp
push esi
push str.File:_wrote__d_to___s_
call fcn.00406eae
add esp, 0xc
cmp dword [esp + 0x38], 0xffffffff
jne 0x401c1a
cmp dword [esp + 0x3c], 0xffffffff
je 0x401c2b
lea eax, [esp + 0x38]
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.0x4015d0.67
cmp esi, 0xfffffffe
jne 0x401c53
push 0xffffffffffffffe9
push ebp
call fcn.004064fd
push edi
push ebp
call sub.KERNEL32.dll_lstrcatW
jmp 0x401c5b
push 0xffffffffffffffee
push ebp
call fcn.004064fd
push ebp
push 0x409860
call fcn.00406eae
pop ecx
pop ecx
push 0x200010
push ebp
call fcn.004073d6
jmp 0x40160e
push ebx
call fcn.00403500
mov esi, eax
push esi
push str.Delete:___s_
call fcn.00406eae
pop ecx
pop ecx
push dword [esp + 0x30]
push esi
call fcn.00406fe1
jmp case.0x4015d0.67
push 0x31
call fcn.00403500
mov esi, eax
push esi
push dword [esp + 0x30]
push str.MessageBox:__d___s_
call fcn.00406eae
add esp, 0xc
push dword [esp + 0x2c]
push esi
call fcn.004073d6
test eax, eax
je 0x4017b0
cmp eax, dword [esp + 0x34]
jne 0x401cd8
mov eax, dword [esp + 0x38]
jmp 0x403369
cmp eax, dword [esp + 0x3c]
jne case.0x4015d0.67
mov eax, dword [esp + 0x40]
jmp 0x403369
push 0xfffffffffffffff0
call fcn.00403500
mov esi, eax
push esi
push str.RMDir:___s_
jmp 0x401c86
push 1
call fcn.00403500
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x40173b
push 2
call fcn.004034c4
push 3
mov ebx, eax
mov esi, edx
call fcn.004034c4
pop ecx
pop ecx
push 1
mov edi, eax
call fcn.00403500
push eax
mov dword [esp + 0x28], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
test esi, esi
mov word [ebp], cx
cmove ebx, eax
test ebx, ebx
je case.0x4015d0.67
test edi, edi
jns 0x401d55
add edi, eax
js case.0x4015d0.67
cmp edi, eax
cmovg edi, eax
mov eax, dword [esp + 0x24]
lea eax, [eax + edi*2]
push eax
push ebp
call fcn.00407448
test ebx, ebx
jns 0x401d74
push ebp
call sub.KERNEL32.dll_lstrlenW
add ebx, eax
xor eax, eax
test ebx, ebx
cmovns eax, ebx
cmp eax, 0x2000
jge case.0x4015d0.67
xor ecx, ecx
mov word [ebp + eax*2], cx
jmp case.0x4015d0.67
push 0x20
call fcn.00403500
push 0x31
mov esi, eax
call fcn.00403500
push eax
push esi
cmp dword [esp + 0x44], ebx
jne 0x401dbd
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ccf
jmp 0x401901
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401db0
xor edi, edi
inc edi
push edi
call fcn.00403500
push 0x2000
mov esi, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401df3
cmp dword [esp + 0x34], ebx
je 0x401dfd
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401dfd
xor ecx, ecx
mov eax, edi
mov word [ebp], cx
jmp 0x401e01
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [ebp + 0x3ffe], cx
jmp 0x403361
mov esi, dword [esp + 0x40]
push ebx
call fcn.004034c4
push 1
mov edi, eax
call fcn.004034c4
pop ecx
pop ecx
test esi, esi
jne 0x401e3f
cmp edi, eax
jl 0x401ccf
jle 0x401901
mov eax, dword [esp + 0x3c]
jmp 0x403369
cmp edi, eax
jb 0x401ccf
jbe 0x401901
jmp 0x401e36
xor edi, edi
inc edi
push edi
call fcn.004034c4
push 2
mov esi, eax
call fcn.004034c4
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, 0xd
ja case.default.0x401e6e
jmp dword [eax*4 + 0x40348c]
add esi, ecx
jmp case.default.0x401e6e
sub esi, ecx
jmp case.default.0x401e6e
imul esi, ecx
jmp case.default.0x401e6e
test ecx, ecx
je 0x401e8f
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401e91
mov esi, ebx
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x10], eax
jmp case.default.0x401e6e
or esi, ecx
jmp case.default.0x401e6e
and esi, ecx
jmp case.default.0x401e6e
xor esi, ecx
jmp case.default.0x401e6e
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e6e
test esi, esi
jne 0x401ebd
test ecx, ecx
je 0x401ec5
mov esi, edi
jmp case.default.0x401e6e
test esi, esi
jne 0x401eb9
mov esi, ebx
jmp case.default.0x401e6e
test ecx, ecx
je 0x401e8f
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401e91
shl esi, cl
jmp case.default.0x401e6e
sar esi, cl
jmp case.default.0x401e6e
shr esi, cl
push esi
jmp 0x40173b
push 1
call fcn.00403500
push 2
mov esi, eax
call fcn.004034c4
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x4016f0
mov edx, dword [esp + 0x34]
mov eax, edx
mov esi, dword [0x40c0e0]
test edx, edx
je 0x401f75
dec eax
test esi, esi
je 0x401f55
mov esi, dword [esi]
test eax, eax
jne 0x401f14
test esi, esi
je 0x401f55
add esi, 4
mov ebp, 0x40c0e8
push esi
push ebp
call fcn.00407448
mov eax, dword [0x40c0e0]
add eax, 4
push eax
push esi
call fcn.00407448
mov eax, dword [0x40c0e0]
push ebp
add eax, 4
push eax
call fcn.00407448
jmp case.0x4015d0.67
push edx
push str.Exch:_stack____d_elements
call fcn.00406eae
pop ecx
pop ecx
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.004064fd
push eax
jmp 0x401c6e
test ecx, ecx
je 0x401fa4
test esi, esi
jne 0x401f87
push str.Pop:_stack_empty
jmp 0x4017aa
lea eax, [esi + 4]
push eax
push ebp
call fcn.00407448
mov eax, dword [esi]
mov dword [0x40c0e0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015d0.67
push 0x4004
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004064fd
mov eax, dword [0x40c0e0]
mov dword [esi], eax
mov dword [0x40c0e0], esi
jmp case.0x4015d0.67
push 3
call fcn.004034c4
mov esi, eax
push 4
mov dword [esp + 0x1c], esi
call fcn.004034c4
mov edi, eax
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
test al, 1
je 0x402003
push 0x33
call fcn.00403500
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
test al, 2
je 0x402010
push 0x44
call fcn.00403500
mov edi, eax
cmp dword [esp + 0x28], 0x21
push 1
jne 0x402068
call fcn.004034c4
push 2
mov dword [esp + 0x1c], eax
call fcn.004034c4
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
je 0x402059
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 0x40209d
push edi
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402093
call fcn.00403500
push 0x12
mov esi, eax
call fcn.00403500
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 + 0x2c], ebx
jl 0x403361
push ecx
jmp 0x40173b
push ebx
call fcn.004034c4
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x34]
test eax, eax
cmovne ecx, dword [esp + 0x30]
mov eax, ecx
jmp 0x403369
push 2
call fcn.004034c4
push 1
mov esi, eax
call fcn.004034c4
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401d09
mov esi, dword [0x4735a8]
push ebx
add esi, ecx
call fcn.004034c4
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015d0.67
test dword [esp + 0x38], 0x100
je 0x40211e
push 2
call fcn.004034c4
pop ecx
jmp 0x402129
push dword [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, ecx
mov edi, ecx
and eax, 4
shr edi, 0x1e
mov dword [esp + 0x18], eax
mov esi, ecx
mov eax, ecx
and esi, 3
shr eax, 0x1f
and edi, 1
mov dword [esp + 0x24], eax
test ecx, 0x10000
je 0x40215f
push 0x11
call fcn.00403500
jmp 0x402164
movzx eax, word [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x9c]
imul eax, edi
push eax
mov eax, dword [esp + 0x9c]
imul eax, dword [esp + 0x2c]
push eax
xor eax, eax
cmp dword [esp + 0x24], eax
push esi
push dword [esp + 0x24]
cmovne eax, dword [0x46b554]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
push edi
push esi
push 0x172
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4021d1
test esi, esi
jne 0x4021d1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x2c], 0
jl case.0x4015d0.67
push edi
jmp 0x40173b
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.004034c4
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 + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.004034c4
pop ecx
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x30]
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.004064fd
push 0x4200e8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401d09
push ebx
call fcn.004034c4
push 1
mov esi, eax
call fcn.004034c4
mov edi, eax
pop ecx
pop ecx
cmp dword [esp + 0x34], ebx
je 0x402290
push str.HideWindow
call fcn.00406eae
pop ecx
push edi
push esi
cmp dword [esp + 0x40], ebx
jne 0x4022a3
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015d0.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015d0.67
push ebx
call fcn.00403500
push 0x31
mov esi, eax
call fcn.00403500
push 0x22
mov ebp, eax
call fcn.00403500
push 0x15
mov edi, eax
call fcn.00403500
push 0x4100e8
push 0xffffffffffffffec
call fcn.0040637b
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
cmp word [esi], bx
mov dword [esp + 0x5c], ebp
cmovne eax, esi
mov dword [esp + 0x58], eax
xor eax, eax
cmp word [edi], bx
mov dword [esp + 0x64], 0x4cc000
cmovne eax, edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040731b
test eax, eax
jne 0x402341
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.00406eae
add esp, 0x14
jmp 0x4017b0
test byte [esp + 0x50], 0x40
je 0x402361
push dword [esp + 0x84]
call fcn.00406b77
push dword [esp + 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x4016eb
push ebx
call fcn.00403500
mov edi, eax
push edi
push str.Exec:_command__s_
call fcn.00406eae
pop ecx
pop ecx
push edi
push 0xffffffffffffffeb
call fcn.0040637b
push edi
call fcn.00406f9c
mov ebx, eax
push edi
test ebx, ebx
je 0x4023df
push str.Exec:_success____s__
call fcn.00406eae
cmp dword [esp + 0x3c], 0
pop ecx
pop ecx
je 0x4023d3
push ebx
call fcn.00406b77
cmp dword [esp + 0x30], 0
mov ecx, eax
jl 0x4023c3
push ecx
push esi
call fcn.00406e17
jmp 0x4023d3
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.0x4015d0.67
push str.Exec:_failed_createprocess____s__
jmp 0x401986
push 2
call fcn.00403500
push eax
call fcn.00406dd1
mov edi, eax
test edi, edi
je 0x40240d
push dword [edi + 0x14]
push esi
call fcn.00406e17
push dword [edi + 0x18]
jmp 0x40173b
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
jmp 0x4017b0
push 0xffffffffffffffee
call fcn.00403500
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], eax
push ecx
push eax
push 0xa
call fcn.0040720a
call eax
mov ecx, eax
xor eax, eax
mov word [ebp], ax
mov word [esi], ax
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x403361
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je case.0x4015d0.67
push 0xb
call fcn.0040720a
push 0xc
mov esi, eax
call fcn.0040720a
push edi
push dword [esp + 0x28]
mov dword [esp + 0x4c], eax
push ebx
push dword [esp + 0x54]
call esi
test eax, eax
je 0x4024ce
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x18]
push eax
push 0x409aac
push edi
call dword [esp + 0x54]
test eax, eax
je 0x4024ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push dword [ecx + eax*4 + 8]
push ebp
call fcn.00406e17
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
push dword [eax + ecx*4 + 0xc]
push dword [esp + 0x1c]
call fcn.00406e17
mov dword [esp + 0x10], ebx
push edi
jmp 0x401f99
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
cmp dword [0x4735c4], ebx
jl 0x4025d3
push 0xfffffffffffffff0
call fcn.00403500
push edi
mov ebp, eax
call fcn.00403500
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], ebx
je 0x40250d
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x402521
push 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x4025bc
push dword [esp + 0x14]
push esi
call fcn.004068b3
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x402578
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x34], ebx
je 0x402558
push dword [esp + 0x34]
call fcn.004035df
call dword [esp + 0x24]
test eax, eax
je 0x402593
mov eax, edi
mov dword [esp + 0x10], eax
jmp 0x402597
mov eax, dword [esp + 0x20]
push section..data
push 0x40c0e0
push section..ndata
push 0x2000
push eax
call ecx
add esp, 0x14
jmp 0x402593
mov ebx, dword [esp + 0x14]
push ebx
push 0xfffffffffffffff7
call fcn.0040637b
push ebp
push ebx
push 0x409ab0
call fcn.00406eae
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], 0
jne 0x403361
push esi
call fcn.00404277
test eax, eax
je case.0x4015d0.67
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x4015d0.67
push 0x4100e8
push 0xfffffffffffffff6
call fcn.0040637b
push ebp
push str.Error_registering_DLL:_Could_not_load__s
jmp 0x401974
push 0x4100e8
push 0xffffffffffffffe7
call fcn.0040637b
push str.Error_registering_DLL:_Could_not_initialize_OLE
call fcn.00406eae
jmp 0x40197a
push 0xfffffffffffffff0
call fcn.00403500
push 0xffffffffffffffdf
mov dword [esp + 0x48], eax
call fcn.00403500
push 2
mov dword [esp + 0x1c], eax
call fcn.00403500
push 0xffffffffffffffcd
mov dword [esp + 0x4c], eax
call fcn.00403500
mov esi, eax
push 0x45
mov dword [esp + 0x8c], esi
call fcn.00403500
mov ecx, dword [esp + 0x3c]
mov edi, ecx
push dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ebp, ecx
mov eax, ecx
sar ebp, 0xc
and eax, 0x8000
sar ecx, 0x10
mov dword [esp + 0x28], eax
and edi, 0xfff
movzx eax, cx
and ebp, 7
mov dword [esp + 0x90], edi
mov dword [esp + 0x18], eax
call fcn.004076ca
test eax, eax
jne 0x40266e
push 0x21
call fcn.00403500
push dword [esp + 0x14]
push ebp
push edi
push esi
push dword [esp + 0x58]
push dword [esp + 0x2c]
push dword [esp + 0x5c]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406eae
add esp, 0x20
lea eax, [esp + 0x1c]
xor edi, edi
inc edi
push eax
push 0x40ab90
push edi
push ebx
push 0x40abb0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402782
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push 0x40aba0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x402768
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
cmp dword [esp + 0x24], ebx
jne 0x4026f2
mov eax, dword [esp + 0x1c]
push 0x4cc000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test ebp, ebp
je 0x402701
mov eax, dword [esp + 0x1c]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x88]
cmp word [edx], bx
je 0x40272d
mov eax, dword [esp + 0x1c]
push dword [esp + 0x8c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
js 0x40275e
mov eax, dword [esp + 0x20]
push edi
push dword [esp + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x402782
push 0x4100e8
push 0xfffffffffffffff4
jmp 0x401669
push 0x4100e8
mov dword [esp + 0x14], edi
push 0xfffffffffffffff0
jmp 0x401669
push ebx
call fcn.00403500
push 0x11
mov esi, eax
call fcn.00403500
push 0x23
mov edi, eax
call fcn.00403500
push edi
push esi
push str.CopyFiles___s_____s_
mov ebp, eax
call fcn.00406eae
add esp, 0xc
push esi
call fcn.00406dd1
test eax, eax
jne 0x4027d2
push ebx
push 0xfffffffffffffff9
call fcn.0040637b
jmp 0x4017b0
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 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 + 0x3c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6e], ebp
mov word [esp + 0x64], ax
call fcn.0040637b
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015d0.67
jmp 0x4027c5
cmp dword [esp + 0x1c], 0xbadf00d
jne 0x401f62
inc dword [0x473634]
jmp case.0x4015d0.67
push str._RM_
mov edi, 0x4100e8
mov dword [esp + 0x1c], ebx
push edi
mov dword [esp + 0x1c], ebx
call fcn.00407448
push edi
mov ebp, 0x4140e8
push ebp
call fcn.00407448
cmp dword [esp + 0x2c], ebx
je 0x402879
push ebx
call fcn.00403500
mov ebx, eax
cmp dword [esp + 0x30], 0
je 0x40288b
push 0x11
call fcn.00403500
mov dword [esp + 0x18], eax
cmp dword [esp + 0x3c], 0
je 0x40289d
push 0x22
call fcn.00403500
mov dword [esp + 0x14], eax
push 0xffffffffffffffcd
call fcn.00403500
mov esi, eax
push esi
push ebp
push edi
push 0x40c0e8
push str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00406eae
add esp, 0x14
push esi
push dword [esp + 0x18]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401a3d
push 0xa
pop ebx
push 1
mov dword [esp + 0x50], ebx
call fcn.00403500
push 0x12
mov edi, eax
call fcn.00403500
push 0xffffffffffffffdd
mov esi, eax
call fcn.00403500
push eax
push 0x1fff
push ebp
lea eax, [esp + 0x58]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [ebp]
mov ecx, eax
cmp ax, bx
jne 0x402915
xor eax, eax
mov word [ebp], ax
xor eax, eax
cmp cx, bx
jmp 0x401bcc
xor ebx, ebx
push ecx
inc ebx
call fcn.00406c3a
cmp dword [esp + 0x40], 0
mov ebp, eax
pop ecx
jne 0x40296f
push 2
call fcn.00403583
mov edi, eax
test edi, edi
je 0x40299a
push 0x33
call fcn.00403500
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x4140e8
push ebp
push str.DeleteRegValue:___s_s____s_
mov ebx, eax
call fcn.00406eae
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40299a
push 0x22
call fcn.00403500
mov esi, eax
push esi
push ebp
push str.DeleteRegKey:___s_s_
call fcn.00406eae
mov ecx, dword [esp + 0x48]
add esp, 0xc
sar ecx, 1
push ecx
push esi
push dword [esp + 0x54]
call fcn.0040353e
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x403361
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push 2
mov dword [esp + 0x48], eax
call fcn.00403500
push 0x11
mov dword [esp + 0x24], eax
call fcn.00403500
mov edi, dword [esp + 0x1c]
mov esi, eax
push edi
call fcn.00406c3a
pop ecx
mov ebp, eax
xor edi, edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], ebp
push eax
push 0x100022
push esi
push dword [esp + 0x28]
inc edi
mov dword [esp + 0x20], edi
call fcn.004034e5
push eax
call fcn.004068f1
mov ecx, dword [esp + 0x4c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x402b50
mov eax, dword [esp + 0x48]
mov ebp, 0x4140e8
mov dword [esp + 0x1c], ebx
cmp eax, edi
jne 0x402a72
push 0x23
call fcn.00403500
push ebp
call sub.KERNEL32.dll_lstrlenW
cmp dword [esp + 0x44], edi
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x24]
lea eax, [eax*2 + 2]
push esi
mov dword [esp + 0x28], eax
push edi
jne 0x402a5f
push str.WriteRegStr:___s_s____s___s_
call fcn.00406eae
add esp, 0x14
jmp 0x402b0e
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406eae
mov eax, dword [esp + 0x5c]
add esp, 0x14
jmp 0x402a76
mov edi, dword [esp + 0x18]
cmp eax, 4
jne 0x402aa7
push 3
call fcn.004034c4
push eax
push dword [esp + 0x28]
mov dword [0x4140e8], eax
push esi
push edi
push str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 0x34], 4
call fcn.00406eae
mov eax, dword [esp + 0x60]
add esp, 0x18
cmp eax, 3
jne 0x402b0e
push 0xc000
push ebp
push ebx
push dword [esp + 0x44]
call fcn.0040379c
push eax
push ebp
mov dword [esp + 0x24], eax
lea eax, [esp + 0xa4]
push 0x80
push eax
call fcn.00406bbb
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x34]
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.00406eae
add esp, 0x28
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x4c]
mov ebp, dword [esp + 0x2c]
push ebx
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402b31
mov dword [esp + 0x10], ebx
jmp 0x402b41
push ebp
push esi
push edi
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406eae
add esp, 0x10
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015d0.67
push esi
push ebp
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406eae
add esp, 0xc
jmp case.0x4015d0.67
push 0x20019
call fcn.00403583
push 0x33
mov esi, eax
call fcn.00403500
xor ecx, ecx
mov word [ebp], cx
test esi, esi
je 0x4017b0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 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 0x402be7
cmp dword [esp + 0x18], 4
je 0x402bcf
cmp dword [esp + 0x18], edi
je 0x402bbc
cmp dword [esp + 0x18], 2
jne 0x402be7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
xor eax, eax
mov word [ebp + 0x3ffe], ax
jmp 0x402bf1
push dword [ebp]
xor eax, eax
cmp dword [esp + 0x40], eax
push ebp
sete al
mov dword [esp + 0x18], eax
call fcn.00406e17
jmp 0x402bf1
xor eax, eax
mov dword [esp + 0x10], edi
mov word [ebp], ax
push esi
jmp 0x402b45
push 0x20019
call fcn.00403583
push 3
mov esi, eax
call fcn.004034c4
pop ecx
xor ecx, ecx
mov dword [esp + 0x50], edx
mov word [ebp], cx
test esi, esi
je 0x4017b0
mov ecx, 0x1fff
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x3c], ebx
je 0x402c38
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402bc4
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x5c]
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 0x402bc4
push ebp
call fcn.0040753f
test eax, eax
je case.0x4015d0.67
push eax
jmp 0x4023d4
push 0xffffffffffffffed
call fcn.00403500
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call fcn.0040723f
cmp eax, 0xffffffff
jne 0x401d09
xor eax, eax
mov word [ebp], ax
jmp 0x4017b0
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edx, 0x38
mov dword [esp + 0x8c], ecx
mov esi, 0x4100e8
sete al
xor edi, edi
inc edi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x402cde
push edi
call fcn.004034c4
mov word [0x4100e8], ax
xor eax, eax
cmp dword [esp + 0x18], eax
pop ecx
sete al
inc eax
mov dword [esp + 0x4c], eax
mov esi, eax
jmp 0x402d19
cmp edx, 0x38
jne 0x402d08
push 0x21
call fcn.00403500
push 0x2000
push esi
push 0x4140e8
call fcn.00406acc
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x402d19
push 0x11
call fcn.00403500
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [ebp], bx
je 0x402d59
push ebp
call fcn.0040753f
mov ebx, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x8c]
jne 0x402d45
cmp dword [esp + 0x38], eax
je 0x402d45
push ebx
push ebx
call fcn.00406ae7
test eax, eax
js 0x402d59
push esi
push 0x4100e8
push ebx
call fcn.00407333
test eax, eax
jne case.0x4015d0.67
mov eax, edi
jmp 0x403361
push 2
pop ecx
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
call fcn.004034c4
xor edi, edi
inc edi
pop ecx
cmp eax, edi
jl case.0x4015d0.67
mov ecx, 0x1fff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x24], eax
cmp word [ebp], bx
je 0x402ee9
push ebp
mov dword [esp + 0x4c], ebx
call fcn.0040753f
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x24], ebx
jle 0x402ee9
mov dword [esp + 0x8c], 0xd
mov ebp, ebx
cmp dword [esp + 0x28], 0x39
jne 0x402e7a
push ebx
lea eax, [esp + 0x48]
push eax
push 2
pop eax
sub eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ee9
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x402ee9
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x38], ebx
jne 0x402f2c
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 0x402ea4
mov ecx, dword [esp + 0x1c]
mov edx, ecx
neg edx
sub dword [esp + 0x44], 1
mov eax, 0xfffd
mov dword [esp + 0x20], eax
je 0x402eac
push edi
dec ecx
inc edx
push ebx
push edx
push dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x4c]
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 + 0x4c]
test eax, eax
je 0x402e2d
jmp 0x402ea4
cmp dword [esp + 0x38], ebx
jne 0x402e93
test ebp, ebp
jne 0x402e93
push ebx
push ecx
call fcn.00406ae7
test eax, eax
js 0x402ee9
mov ecx, dword [esp + 0x18]
push 2
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0040726c
test eax, eax
je 0x402ee9
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x38], ebx
jne 0x402f2c
push 0xd
pop edx
cmp word [esp + 0x48], dx
push 0xa
pop edx
je 0x402efa
cmp word [esp + 0x48], dx
je 0x402efa
mov word [esi + ebp*2], ax
inc ebp
movzx ecx, ax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x48], ecx
test ax, ax
je 0x402ee9
mov ecx, dword [esp + 0x18]
cmp ebp, dword [esp + 0x24]
jl 0x402dbc
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
mov word [esi + ecx*2], ax
jmp 0x401bcc
cmp word [esp + 0x48], ax
je 0x402f1b
cmp ax, word [esp + 0x8c]
je 0x402f10
cmp ax, dx
jne 0x402f1b
mov word [esi + ebp*2], ax
inc ebp
mov dword [esp + 0x14], ebp
jmp 0x402ee9
push edi
push ebx
neg ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402ee9
movzx eax, ax
push eax
push esi
call fcn.00406e17
jmp 0x403367
cmp word [ebp], bx
je case.0x4015d0.67
push 2
call fcn.004034c4
pop ecx
push dword [esp + 0x38]
push ebx
push eax
push ebp
call fcn.0040753f
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x30], ebx
jl case.0x4015d0.67
push eax
push esi
jmp 0x40173c
push ebp
call fcn.0040753f
test eax, eax
je case.0x4015d0.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015d0.67
push esi
call fcn.0040753f
test eax, eax
je 0x401a21
lea ecx, [esp + 0x19c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401a21
lea eax, [esp + 0x1c8]
push eax
push ebp
jmp 0x401f4b
push 2
call fcn.00403500
lea ecx, [esp + 0x19c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402fe3
xor eax, eax
mov word [esi], ax
jmp 0x402c91
push eax
push esi
call fcn.00406e17
jmp 0x402fb0
push 0xfffffffffffffff0
mov esi, 0xfffffd66
call fcn.00403500
mov ebp, eax
push ebp
mov dword [esp + 0x50], ebp
call fcn.004076ca
test eax, eax
jne 0x40300f
push 0xffffffffffffffed
call fcn.00403500
push ebp
call fcn.004074b7
push 2
push 0x40000000
push ebp
call fcn.0040723f
mov edi, eax
mov dword [esp + 0x88], edi
cmp edi, 0xffffffff
je 0x40310b
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
cmp dword [esp + 0x34], ebx
je 0x4030f9
mov eax, dword [0x473564]
push eax
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x4030f2
push ebx
call fcn.00403606
push dword [esp + 0x14]
push esi
call fcn.004035f0
push dword [esp + 0x34]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x8c], edi
test edi, edi
je 0x4030d4
push dword [esp + 0x34]
push edi
push ebx
push dword [esp + 0x3c]
call fcn.0040379c
cmp byte [edi], bl
je 0x4030c7
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.00406f7a
add edi, esi
cmp byte [edi], bl
jne 0x4030a7
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
push dword [esp + 0x8c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
mov edi, dword [esp + 0x8c]
push esi
push edi
call fcn.00407333
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x4030f9
mov eax, dword [esp + 0x8c]
push ebx
push ebx
push edi
push eax
call fcn.0040379c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push esi
push str.created_uninstaller:__d____s_
call fcn.00406eae
add esp, 0xc
push 0xfffffffffffffff3
pop edi
test esi, esi
jns 0x403133
push 0xffffffffffffffef
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], 1
push edi
call fcn.004035df
jmp case.0x4015d0.67
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x403184
push ecx
push str.settings_logging_to__d
call fcn.00406eae
mov eax, dword [esp + 0x38]
push eax
push str.logging_set_to__d
mov dword [0x4624e0], eax
call fcn.00406eae
add esp, 0x10
cmp dword [esp + 0x30], ebx
je 0x403178
call fcn.00405e30
jmp case.0x4015d0.67
push 1
call fcn.00406ee0
jmp case.0x4015d0.67
push 1
call fcn.00403500
push eax
push 0x409860
jmp 0x401974
push ebx
call fcn.004034c4
mov ebx, eax
pop ecx
cmp ebx, dword [0x47358c]
jae 0x4017b0
mov ecx, dword [esp + 0x34]
imul edi, ebx, 0x4018
add edi, dword [0x473588]
test ecx, ecx
js 0x4031d2
mov eax, dword [edi + ecx*4]
jne 0x402f6a
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x401f4b
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x34], eax
je 0x4031ed
push 1
call fcn.004034c4
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x403205
push dword [esp + 0x3c]
lea eax, [edi + 0x18]
push eax
call fcn.004064fd
or dword [edi + 8], 0x100
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edi + eax*4], ecx
cmp dword [esp + 0x38], 0
je case.0x4015d0.67
push ebx
call fcn.0040122b
jmp case.0x4015d0.67
push ebx
call fcn.004034c4
mov edi, eax
pop ecx
cmp edi, 0x20
jae 0x4017b0
cmp dword [esp + 0x38], ebx
je 0x40325d
cmp dword [esp + 0x34], ebx
je 0x403252
push edi
call fcn.0040129a
push ebx
push ebx
call fcn.004012e7
jmp case.0x4015d0.67
push ebx
call fcn.004011a0
jmp 0x402f6a
mov eax, dword [0x47356c]
cmp dword [esp + 0x34], ebx
je 0x403278
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4 + 0x94], ecx
jmp case.0x4015d0.67
push dword [eax + edi*4 + 0x94]
push esi
call fcn.004064fd
jmp case.0x4015d0.67
mov eax, dword [esp + 0x38]
sub eax, ebx
je 0x4032dc
sub eax, 1
jne case.0x4015d0.67
push 2
call fcn.004034c4
push 4
mov esi, eax
call fcn.004034c4
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x473620
test esi, esi
mov dword [esp + 0x24], ebx
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00406f7a
push dword [esp + 0x24]
push dword [esp + 0x1c]
jmp 0x40173c
push 5
call fcn.0040720a
push 0x22
mov edi, eax
call fcn.00403500
test edi, edi
je 0x40332b
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x40332b
lea eax, [esp + 0x24]
push eax
push ebx
push dword [esp + 0x40]
lea eax, [esp + 0x58]
push eax
call edi
test eax, eax
js 0x40332b
push dword [esp + 0x24]
push esi
call fcn.00407448
push dword [esp + 0x24]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x4015d0.67
xor eax, eax
inc eax
xor ecx, ecx
mov word [esi], cx
jmp 0x403361
mov edi, dword [esp + 0x1c]
and edi, dword [0x4381f8]
push ebx
push edi
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x2c], ebx
je case.0x4015d0.67
mov eax, dword [esp + 0x20]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
add dword [0x473628], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3dc
ret 4