Function at 0x40154a
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, 0x2cc
mov edx, dword [0x7a6d78]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2dc]
xor ebp, ebp
push edi
push 7
pop ecx
lea edi, [esp + 0x28]
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov ebx, ebp
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x24], eax
mov edi, ecx
lea eax, [esp + 0x2c]
shl edi, 0xb
mov dword [0x40a0e4], eax
add edi, section..ndata
mov eax, dword [esp + 0x28]
shl esi, 0xb
add eax, 0xfffffffe
add esi, section..ndata
mov dword [esp + 0x10], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
cmp eax, 0x5d
ja case.0x4015c4.20
movzx eax, byte [eax + 0x402fe2]
jmp dword [eax*4 + 0x402ede]
mov eax, ecx
jmp 0x402ed0
push ebp
push ecx
call fcn.00405f18
mov eax, 0x7fffffff
jmp 0x402ed0
inc dword [0x7a6d6c]
test edx, edx
je 0x4015d9
push ebp
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4015d9
push ecx
call fcn.00403175
dec eax
push ebp
push eax
call fcn.00401399
jmp 0x402ed0
push ebp
push ecx
call fcn.00405f18
jmp case.0x4015c4.20
push ebp
call fcn.0040307a
pop ecx
xor ecx, ecx
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4015c4.20
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x4015c4.20
mov eax, dword [esp + 0x34]
test eax, eax
jg 0x401675
mov eax, dword [ecx*4 + 0x7a7e40]
jns 0x401654
mov dword [0x40c8e8], eax
jmp 0x40165b
mov dword [ecx*4 + 0x7a7e00], eax
push 1
call fcn.0040307a
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax*4 + 0x7a7e40], ecx
jmp case.0x4015c4.20
mov eax, dword [ecx*4 + 0x7a7e00]
cmp dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov dword [ecx*4 + 0x7a7e40], eax
jge 0x402ec8
mov eax, dword [0x40c8e8]
mov dword [ecx*4 + 0x7a7e40], eax
jmp 0x402ec8
mov ecx, dword [esp + 0x34]
push 4
mov edx, dword [ecx*4 + 0x7a7e40]
mov eax, edx
and eax, dword [esp + 0x3c]
mov dword [ecx*4 + 0x7a7e40], eax
xor eax, eax
test edx, edx
pop ecx
cmove eax, ecx
mov eax, dword [esp + eax + 0x2c]
jmp 0x402ed0
mov ecx, dword [esp + 0x24]
push dword [ecx*4 + 0x7a7e40]
push edi
call fcn.004067ee
jmp case.0x4015c4.20
mov eax, dword [0x7a6d64]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4016fe
mov ecx, dword [esp + 0x24]
push ecx
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x7a6d68]
test eax, eax
je case.0x4015c4.20
push ecx
push eax
call esi
jmp case.0x4015c4.20
push 0xfffffffffffffff0
call fcn.004030b6
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x4015c4.20
xor ebx, ebx
inc ebx
jmp 0x402ec8
push 0xfffffffffffffff0
call fcn.004030b6
mov edi, eax
push edi
call fcn.00406d94
mov esi, eax
test esi, esi
je 0x4017a5
push 0x5c
push esi
call fcn.004067c5
mov esi, eax
xor eax, eax
movzx ebp, word [esi]
mov word [esi], ax
test bp, bp
jne 0x401779
cmp dword [esp + 0x34], eax
je 0x401779
call fcn.004066cb
test eax, eax
je 0x401779
push edi
call fcn.0040601c
jmp 0x40177f
push edi
call fcn.00405ffc
test eax, eax
je 0x401796
cmp eax, 0xb7
jne 0x401795
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401796
inc ebx
mov word [esi], bp
add esi, 2
test bp, bp
jne 0x40174b
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x30], 0
push 0x40a8e8
je 0x4017dc
push 0xffffffffffffffe6
call fcn.00405f18
push edi
push 0x7b3000
call fcn.00406ce9
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x4015c4.20
inc ebx
mov dword [esp + 0x10], ebx
jmp case.0x4015c4.20
push 0xfffffffffffffff5
jmp 0x40160b
push ebp
call fcn.004030b6
push eax
call fcn.0040679e
jmp 0x401ebf
push 0xffffffffffffffd0
call fcn.004030b6
push 0xffffffffffffffdf
mov esi, eax
call fcn.004030b6
push 0x13
mov edi, eax
call fcn.004030b6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x401825
push 0x40a8e8
push 0xffffffffffffffe3
jmp 0x40160b
cmp dword [esp + 0x34], ebx
je 0x40172e
push esi
call fcn.0040679e
test eax, eax
je 0x40172e
push edi
push esi
call fcn.0040640c
push 0x40a8e8
push 0xffffffffffffffe4
jmp 0x40160b
push ebp
call fcn.004030b6
mov edi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x401878
xor ebx, ebx
inc ebx
xor eax, eax
mov word [esi], ax
jmp 0x4018a0
mov eax, dword [esp + 0x14]
cmp eax, edi
jbe 0x40189c
cmp word [eax], bp
je 0x40189c
push edi
call fcn.0040679e
test eax, eax
je 0x40186e
add eax, 0x2c
push eax
push dword [esp + 0x18]
call fcn.00406ce9
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x34], ebp
jne 0x402ec8
push 0x400
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x402ec8
push 0xffffffffffffffff
call fcn.004030b6
lea ecx, [esp + 0x50]
push ecx
push edi
push 0x400
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x4015c4.20
xor ebx, ebx
inc ebx
xor eax, eax
mov word [edi], ax
jmp 0x402ec8
push 0xffffffffffffffef
call fcn.004030b6
push eax
push edi
call fcn.00406c25
jmp 0x401726
push 0x31
call fcn.004030b6
mov ebx, dword [esp + 0x2c]
mov esi, eax
and ebx, 7
mov dword [esp + 0x1c], esi
push esi
mov dword [esp + 0x18], ebx
call fcn.00406fd2
mov edi, 0x40a0e8
push esi
test eax, eax
je 0x40192f
push edi
call fcn.00406ce9
jmp 0x401946
push 0x7b3000
push edi
call fcn.00406ce9
push eax
call fcn.00406725
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.00406f0c
xor esi, esi
inc esi
cmp ebx, 3
jl 0x401985
push edi
call fcn.0040679e
mov ecx, ebp
test eax, eax
je 0x401971
lea ecx, [esp + 0x38]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
add ebx, 0xfffffffd
or ebx, 0x80000000
and ebx, ecx
neg ebx
sbb ebx, ebx
inc ebx
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x40198f
push edi
call fcn.00406d6c
xor eax, eax
cmp ebx, esi
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406aea
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x401a39
test ebx, ebx
jne 0x401a1e
push section..ndata
push 0x40b0e8
call fcn.00406ce9
push edi
push section..ndata
call fcn.00406ce9
push dword [esp + 0x40]
push 0x40a8e8
call fcn.00406077
push 0x40b0e8
push section..ndata
call fcn.00406ce9
mov eax, dword [esp + 0x2c]
sar eax, 3
push eax
push 0x40a8e8
call fcn.00406c77
sub eax, 4
je 0x40194f
sub eax, 1
je 0x401a13
push edi
push 0xfffffffffffffffa
jmp 0x4015d4
inc dword [0x7a7e48]
jmp 0x402ece
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffe2
call fcn.00405f18
xor ebx, ebx
cmp dword [esp + 0x14], 2
sete bl
jmp 0x402ec8
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffea
call fcn.00405f18
mov ebx, dword [esp + 0x18]
inc dword [0x7a7e74]
push ebp
push ebp
push ebx
push dword [esp + 0x40]
call fcn.0040333f
dec dword [0x7a7e74]
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x401a73
cmp dword [esp + 0x3c], 0xffffffff
je 0x401a81
lea eax, [esp + 0x38]
push eax
push ebp
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
test eax, eax
jns case.0x4015c4.20
cmp eax, 0xfffffffe
jne 0x401aaa
push 0xffffffffffffffe9
push edi
call fcn.00406077
push esi
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401ab2
push 0xffffffffffffffee
push edi
call fcn.00406077
push 0x200010
push edi
call fcn.00406c77
jmp 0x4015d9
push ebp
call fcn.004030b6
push dword [esp + 0x30]
push eax
call fcn.004068e8
jmp case.0x4015c4.20
push 0x31
call fcn.004030b6
push dword [esp + 0x2c]
push eax
call fcn.00406c77
test eax, eax
je 0x40172e
cmp eax, dword [esp + 0x34]
je 0x401c4a
cmp eax, dword [esp + 0x3c]
jne case.0x4015c4.20
mov eax, dword [esp + 0x40]
jmp 0x402ed0
push 0xfffffffffffffff0
jmp 0x401ac3
push 1
call fcn.004030b6
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x4016d8
push 2
call fcn.0040307a
push 3
mov ebx, eax
mov esi, edx
call fcn.0040307a
pop ecx
pop ecx
push 1
mov ebp, eax
call fcn.004030b6
push eax
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
test esi, esi
mov word [edi], cx
cmove ebx, eax
test ebx, ebx
je case.0x4015c4.20
test ebp, ebp
jns 0x401b69
add ebp, eax
js case.0x4015c4.20
cmp ebp, eax
cmovg ebp, eax
mov eax, dword [esp + 0x18]
lea eax, [eax + ebp*2]
push eax
push edi
call fcn.00406ce9
test ebx, ebx
jns 0x401b88
push edi
call sub.KERNEL32.dll_lstrlenW
add ebx, eax
xor eax, eax
test ebx, ebx
cmovns eax, ebx
mov ebx, dword [esp + 0x10]
cmp eax, 0x400
jge 0x402ec8
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x402ec8
push 0x20
call fcn.004030b6
push 0x31
mov esi, eax
call fcn.004030b6
push eax
push esi
cmp dword [esp + 0x44], ebx
jne 0x401bc9
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x401bcf
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c4a
mov eax, dword [esp + 0x34]
jmp 0x402ed0
xor esi, esi
inc esi
push esi
call fcn.004030b6
push 0x400
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c0a
cmp dword [esp + 0x34], ebp
je 0x401c13
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c13
xor eax, eax
mov ebx, esi
mov word [edi], ax
jmp 0x401c17
mov ebx, dword [esp + 0x10]
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x402ec8
mov esi, dword [esp + 0x40]
push ebp
call fcn.0040307a
push 1
mov edi, eax
call fcn.0040307a
pop ecx
pop ecx
test esi, esi
jne 0x401c46
cmp edi, eax
jl 0x401c4a
jle 0x401bd3
jmp 0x401c59
cmp edi, eax
jae 0x401c53
mov eax, dword [esp + 0x38]
jmp 0x402ed0
jbe 0x401bd3
mov eax, dword [esp + 0x3c]
jmp 0x402ed0
xor ebx, ebx
inc ebx
push ebx
call fcn.0040307a
push 2
mov esi, eax
call fcn.0040307a
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, 0xd
ja case.default.0x401c81
jmp dword [eax*4 + 0x403042]
add esi, ecx
jmp case.default.0x401c81
sub esi, ecx
jmp case.default.0x401c81
imul esi, ecx
jmp case.default.0x401c81
test ecx, ecx
je 0x401ca2
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401ca4
mov esi, ebp
xor ebx, ebx
test ecx, ecx
sete bl
jmp 0x401cf5
or esi, ecx
jmp case.default.0x401c81
and esi, ecx
jmp case.default.0x401c81
xor esi, ecx
jmp case.default.0x401c81
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401c81
test esi, esi
je 0x401cd4
mov esi, ebx
jmp case.default.0x401c81
mov esi, ebp
jmp case.default.0x401c81
test esi, esi
je 0x401ccc
test ecx, ecx
je 0x401ccc
jmp 0x401cc8
test ecx, ecx
je 0x401ca2
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401ca4
shl esi, cl
jmp case.default.0x401c81
sar esi, cl
jmp case.default.0x401c81
shr esi, cl
mov ebx, dword [esp + 0x10]
push esi
push edi
call fcn.004067ee
jmp 0x402ec8
push 1
call fcn.004030b6
push 2
mov esi, eax
call fcn.0040307a
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp case.0x4015c4.20
mov eax, dword [esp + 0x34]
mov esi, dword [0x40a0e0]
test eax, eax
je 0x401d84
dec eax
test esi, esi
je 0x401d71
mov esi, dword [esi]
test eax, eax
jne 0x401d30
test esi, esi
je 0x401d71
add esi, 4
mov edi, 0x40a0e8
push esi
push edi
call fcn.00406ce9
mov eax, dword [0x40a0e0]
add eax, 4
push eax
push esi
call fcn.00406ce9
mov eax, dword [0x40a0e0]
push edi
add eax, 4
push eax
call fcn.00406ce9
jmp case.0x4015c4.20
push 0x200010
push 0xffffffffffffffe8
push ebp
call fcn.00406077
push eax
jmp 0x401ab8
cmp dword [esp + 0x24], ebx
je 0x401daf
test esi, esi
je 0x40172e
lea eax, [esi + 4]
push eax
push edi
call fcn.00406ce9
mov eax, dword [esi]
push esi
mov dword [0x40a0e0], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x4015c4.20
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esp + 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406077
mov eax, dword [0x40a0e0]
mov dword [esi], eax
mov dword [0x40a0e0], esi
jmp case.0x4015c4.20
push 3
call fcn.0040307a
mov esi, eax
push 4
mov dword [esp + 0x1c], esi
call fcn.0040307a
mov ebx, eax
mov eax, dword [esp + 0x48]
pop ecx
pop ecx
test al, 1
je 0x401e0e
push 0x33
call fcn.004030b6
mov esi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], esi
test al, 2
je 0x401e1b
push 0x44
call fcn.004030b6
mov ebx, eax
cmp dword [esp + 0x28], 0x3b
push 1
jne 0x401e73
call fcn.0040307a
push 2
mov dword [esp + 0x1c], eax
call fcn.0040307a
pop ecx
pop ecx
mov ecx, dword [esp + 0x40]
sar ecx, 2
test ecx, ecx
je 0x401e64
lea edx, [esp + 0x1c]
push edx
push ecx
push ebp
push ebx
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb ebx, ebx
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x401ea2
push ebx
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e9e
call fcn.004030b6
push 0x12
mov esi, eax
call fcn.004030b6
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 ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x2c], ebp
jl case.0x4015c4.20
jmp 0x401b1e
push ebp
call fcn.0040307a
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401bd3
mov eax, dword [esp + 0x30]
jmp 0x402ed0
push 2
call fcn.0040307a
push 1
mov esi, eax
call fcn.0040307a
pop ecx
pop ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401b1e
mov esi, dword [0x7a7dc8]
add esi, dword [esp + 0x24]
push ebp
call fcn.0040307a
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x4015c4.20
test dword [esp + 0x38], 0x100
je 0x401f23
push 2
call fcn.0040307a
pop ecx
jmp 0x401f2e
push dword [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
mov eax, dword [esp + 0x38]
mov ecx, eax
mov ebx, eax
and ecx, 4
shr ebx, 0x1e
mov dword [esp + 0x1c], ecx
mov esi, eax
mov ecx, eax
and esi, 3
shr ecx, 0x1f
and ebx, 1
mov dword [esp + 0x18], ecx
test eax, 0x10000
je 0x401f63
push 0x11
call fcn.004030b6
jmp 0x401f68
movzx eax, word [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
and eax, 0xfef0
push eax
mov eax, dword [esp + 0x60]
imul eax, ebx
push eax
mov eax, dword [esp + 0x60]
imul eax, dword [esp + 0x20]
push eax
xor eax, eax
cmp dword [esp + 0x28], eax
push esi
push dword [esp + 0x24]
cmovne eax, dword [0x7a6d74]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
push ebx
push esi
push 0x172
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x401fcc
test esi, esi
jne 0x401fcc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x2c], 0
jl case.0x4015c4.20
push ebx
jmp 0x4016d8
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.0040307a
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 [0x40c8f0], eax
mov eax, dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.0040307a
pop ecx
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x30]
mov dword [0x40c900], eax
mov al, cl
and al, 1
mov byte [0x40c907], 1
mov byte [0x40c904], al
mov al, cl
and al, 2
and cl, 4
push 0x40c90c
mov byte [0x40c905], al
mov byte [0x40c906], cl
call fcn.00406077
push 0x40c8f0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebp, dword [esp + 0x1c]
push eax
push ebp
jmp 0x4016d9
push ebp
call fcn.0040307a
push 1
mov esi, eax
call fcn.0040307a
pop ecx
pop ecx
push eax
push esi
cmp dword [esp + 0x40], ebx
jne 0x402091
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4015c4.20
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x4015c4.20
push ebp
call fcn.004030b6
push 0x31
mov ebx, eax
call fcn.004030b6
push 0x22
mov esi, eax
call fcn.004030b6
push 0x15
mov edi, eax
call fcn.004030b6
push 0x40a8e8
push 0xffffffffffffffec
call fcn.00405f18
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], ecx
cmp word [ebx], bp
mov dword [esp + 0x60], esi
cmovne eax, ebx
mov dword [esp + 0x5c], eax
xor eax, eax
cmp word [edi], bp
mov dword [esp + 0x68], 0x7b3000
cmovne eax, edi
mov dword [esp + 0x64], eax
lea eax, [esp + 0x50]
push eax
call fcn.00406bc2
test eax, eax
je 0x40172e
test byte [esp + 0x54], 0x40
je case.0x4015c4.20
push dword [esp + 0x88]
call fcn.004066e3
push dword [esp + 0x88]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x4015c4.20
push ebp
call fcn.004030b6
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405f18
push esi
call fcn.004068a5
mov esi, eax
test esi, esi
je 0x40172e
cmp dword [esp + 0x34], ebx
je 0x40218a
push esi
call fcn.004066e3
cmp dword [esp + 0x30], ebx
jl 0x40217e
push eax
push dword [esp + 0x18]
call fcn.004067ee
jmp 0x40218a
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
mov dword [esp + 0x10], ebx
push esi
jmp 0x402135
push 2
call fcn.004030b6
push eax
call fcn.0040679e
mov ebx, eax
test ebx, ebx
je 0x4021b1
push dword [ebx + 0x14]
push esi
call fcn.004067ee
push dword [ebx + 0x18]
jmp 0x4016d8
xor eax, eax
mov word [edi], ax
mov word [esi], ax
jmp 0x40172e
push 0xffffffffffffffee
call fcn.004030b6
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
push ecx
push eax
push 0xb
call fcn.00406ab5
call eax
xor ecx, ecx
mov dword [esp + 0x18], eax
xor ebx, ebx
mov word [edi], cx
inc ebx
mov word [esi], cx
test eax, eax
je 0x402ec8
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x402ec8
push 0xc
call fcn.00406ab5
push 0xd
mov esi, eax
call fcn.00406ab5
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x58]
call esi
test eax, eax
je 0x40226f
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
push 0x4082a8
push dword [esp + 0x28]
call dword [esp + 0x30]
test eax, eax
je 0x40226f
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
push dword [ecx + eax*4 + 8]
push edi
call fcn.004067ee
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
push dword [eax + ecx*4 + 0xc]
push dword [esp + 0x18]
call fcn.004067ee
mov ebx, ebp
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402ec8
xor esi, esi
inc esi
mov ebx, esi
cmp dword [0x7a7de0], ebp
jl 0x40235f
push 0xfffffffffffffff0
call fcn.004030b6
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call fcn.004030b6
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], ebp
je 0x4022bd
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x4022d1
mov edi, dword [esp + 0x18]
push 8
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x402356
push dword [esp + 0x14]
push edi
call fcn.00406438
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x402327
mov ebx, ebp
cmp dword [esp + 0x34], ebx
je 0x402307
push 0x40a8e8
push dword [esp + 0x38]
call fcn.00405f18
call dword [esp + 0x18]
test eax, eax
je 0x402332
mov ebx, esi
jmp 0x402332
mov eax, dword [esp + 0x20]
push section..data
push 0x40a0e0
push section..ndata
push 0x400
push eax
call ecx
add esp, 0x14
jmp 0x402332
push dword [esp + 0x14]
push 0xfffffffffffffff7
call fcn.00405f18
cmp dword [esp + 0x38], ebp
jne 0x402ec8
push edi
call fcn.00403eb4
test eax, eax
je 0x402ec8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x402ec8
push 0x40a8e8
push 0xfffffffffffffff6
jmp 0x402366
push 0x40a8e8
push 0xffffffffffffffe7
call fcn.00405f18
jmp 0x402ec8
push 0xfffffffffffffff0
call fcn.004030b6
push 0xffffffffffffffdf
mov dword [esp + 0x54], eax
call fcn.004030b6
mov ebx, eax
push 2
mov dword [esp + 0x1c], ebx
call fcn.004030b6
push 0xffffffffffffffcd
mov dword [esp + 0x28], eax
call fcn.004030b6
push 0x45
mov dword [esp + 0x50], eax
call fcn.004030b6
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0xfff
mov edi, eax
mov dword [esp + 0x20], ecx
mov ecx, eax
and ecx, 0x8000
sar eax, 0x10
sar edi, 0xc
push ebx
mov dword [esp + 0x20], ecx
and edi, 7
mov dword [esp + 0x4c], eax
call fcn.00406fd2
test eax, eax
jne 0x4023e5
push 0x21
call fcn.004030b6
lea eax, [esp + 0x10]
xor esi, esi
push eax
push 0x4089c8
inc esi
push esi
push ebp
push 0x4089e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x4024c5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4089d8
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ebx, eax
test ebx, ebx
js 0x4024bb
mov eax, dword [esp + 0x10]
push dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov ebx, eax
cmp dword [esp + 0x1c], ebp
jne 0x40244b
mov eax, dword [esp + 0x10]
push 0x7b3000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test edi, edi
je 0x40245a
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 + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [esp + 0x4c]
cmp word [edx], bp
je 0x402480
mov eax, dword [esp + 0x10]
push dword [esp + 0x20]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
push dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x10]
push dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test ebx, ebx
js 0x4024b1
mov eax, dword [esp + 0x14]
push esi
push dword [esp + 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x14]
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 0x40a8e8
sub eax, 0xc
push eax
call fcn.00405f18
shr ebx, 0x1f
jmp 0x402ec8
push ebp
call fcn.004030b6
push 0x11
mov esi, eax
call fcn.004030b6
push 0x23
mov edi, eax
call fcn.004030b6
push esi
mov ebx, eax
call fcn.0040679e
test eax, eax
jne 0x402514
push ebp
push 0xfffffffffffffff9
call fcn.00405f18
jmp 0x40172e
mov eax, dword [esp + 0x20]
push esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 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 ebx
push ebp
mov word [edi + eax*2 + 2], cx
mov ax, word [esp + 0x3c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x72], ebx
mov word [esp + 0x68], ax
call fcn.00405f18
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x4015c4.20
jmp 0x402507
cmp ecx, 0xbadf00d
jne 0x401d71
inc dword [0x7a7e54]
jmp case.0x4015c4.20
mov esi, ebp
mov edi, ebp
test ecx, ecx
je 0x40259d
push ebp
call fcn.004030b6
mov ecx, dword [esp + 0x30]
mov ebp, eax
jmp 0x4025a1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4025ae
push 0x11
call fcn.004030b6
mov esi, eax
cmp dword [esp + 0x3c], ebx
je 0x4025bd
push 0x22
call fcn.004030b6
mov edi, eax
push 0xffffffffffffffcd
call fcn.004030b6
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401726
xor ebx, ebx
mov dword [esp + 0x50], 0xa
inc ebx
push ebx
call fcn.004030b6
push 0x12
mov edi, eax
call fcn.004030b6
push 0xffffffffffffffdd
mov esi, eax
call fcn.004030b6
mov ebp, dword [esp + 0x1c]
push eax
push 0x3ff
push ebp
lea eax, [esp + 0x5c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
pop eax
cmp word [ebp], ax
jne case.0x4015c4.20
xor eax, eax
mov word [ebp], ax
jmp 0x402ec8
xor edi, edi
inc edi
cmp dword [esp + 0x3c], ebx
jne 0x402656
push 2
call fcn.00403139
mov esi, eax
test esi, esi
je 0x402671
push 0x33
call fcn.004030b6
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402671
push 0x22
call fcn.004030b6
mov ecx, dword [esp + 0x3c]
sar ecx, 1
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.004030f4
mov edi, eax
xor ebx, ebx
test edi, edi
setne bl
jmp 0x402ec8
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push 2
mov dword [esp + 0x18], eax
call fcn.004030b6
push 0x11
mov dword [esp + 0x20], eax
call fcn.004030b6
lea ecx, [esp + 0x44]
xor esi, esi
push ecx
push 0x100022
push eax
push dword [esp + 0x5c]
inc esi
mov ebx, esi
call fcn.0040309b
push eax
call fcn.00406474
mov edi, dword [esp + 0x44]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov dword [esp + 0x50], edi
test edi, edi
je 0x402ec8
mov eax, dword [esp + 0x18]
mov edi, 0x40b0e8
cmp eax, esi
jne 0x4026f8
push 0x23
call fcn.004030b6
push edi
call sub.KERNEL32.dll_lstrlenW
lea esi, [eax*2 + 2]
jmp 0x402727
push 4
pop esi
cmp eax, esi
jne 0x40270e
push 3
call fcn.0040307a
pop ecx
mov dword [0x40b0e8], eax
jmp 0x402727
mov esi, ebp
cmp eax, 3
jne 0x402727
push 0x1800
push edi
push ebp
push dword [esp + 0x44]
call fcn.0040333f
mov esi, eax
push esi
mov esi, dword [esp + 0x54]
push edi
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x2c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
and ebx, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402ec8
push 0x20019
call fcn.00403139
push 0x33
mov esi, eax
call fcn.004030b6
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x40172e
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x800
push ecx
push edi
lea ecx, [esp + 0x24]
push ecx
push ebp
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4027cb
cmp dword [esp + 0x1c], 4
je 0x4027b5
cmp dword [esp + 0x1c], ecx
je 0x4027a6
cmp dword [esp + 0x1c], 2
jne 0x4027cb
mov ebx, dword [esp + 0x3c]
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x402743
push dword [edi]
xor ebx, ebx
cmp dword [esp + 0x40], ebx
push edi
sete bl
call fcn.004067ee
jmp 0x402743
xor eax, eax
mov ebx, ecx
mov word [edi], ax
jmp 0x402743
push 0x20019
call fcn.00403139
push 3
mov esi, eax
call fcn.0040307a
pop ecx
xor ecx, ecx
mov word [edi], cx
test esi, esi
je 0x40172e
mov ecx, 0x3ff
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x3c], ebx
je 0x402813
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402831
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x60]
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
push esi
mov word [edi + 0x7fe], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x4015c4.20
push edi
call fcn.00406df4
test eax, eax
je case.0x4015c4.20
push eax
jmp 0x402135
push 0xffffffffffffffed
call fcn.004030b6
push dword [esp + 0x34]
push dword [esp + 0x34]
push eax
call fcn.00406aea
cmp eax, 0xffffffff
jne 0x401b1e
xor eax, eax
mov word [edi], ax
jmp 0x40172e
mov ecx, dword [esp + 0x28]
xor eax, eax
mov edx, dword [esp + 0x34]
cmp ecx, 0x52
mov dword [esp + 0x50], edx
mov esi, 0x40a8e8
sete al
xor ebx, ebx
inc ebx
mov dword [esp + 0x14], eax
test edx, edx
je 0x4028bc
push ebx
call fcn.0040307a
mov esi, dword [esp + 0x18]
xor esi, ebx
mov word [0x40a8e8], ax
pop ecx
inc esi
jmp 0x4028f7
cmp ecx, 0x52
jne 0x4028e6
push 0x21
call fcn.004030b6
push 0x400
push esi
push 0x40b0e8
call fcn.00406638
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x4028f7
push 0x11
call fcn.004030b6
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [edi], bp
je 0x402ec8
push edi
call fcn.00406df4
mov edi, eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x50]
jne 0x402927
cmp dword [esp + 0x38], ebp
je 0x402927
push edi
push edi
call fcn.00406653
test eax, eax
js 0x402ec8
push esi
push 0x40a8e8
push edi
call fcn.00406bda
test eax, eax
jne case.0x4015c4.20
jmp 0x402ec8
push 2
pop ecx
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ecx
call fcn.0040307a
xor ebx, ebx
inc ebx
pop ecx
cmp eax, ebx
jl case.0x4015c4.20
mov ecx, 0x3ff
cmp eax, ecx
cmovg eax, ecx
mov dword [esp + 0x18], eax
cmp word [edi], bp
je 0x402ac5
push edi
mov dword [esp + 0x4c], ebp
call fcn.00406df4
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x18], ebp
jbe 0x402ac5
mov dword [esp + 0x44], 0xd
mov edi, ebp
cmp dword [esp + 0x28], 0x53
jne 0x402a56
push ebp
lea eax, [esp + 0x50]
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 0x402ac5
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x402ac5
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], ebp
jne 0x402b07
push ebx
lea eax, [esp + 0x28]
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 0x402a80
mov ecx, dword [esp + 0x20]
mov edx, ecx
neg edx
sub dword [esp + 0x4c], 1
mov eax, 0xfffd
mov dword [esp + 0x24], eax
je 0x402a88
push ebx
dec ecx
inc edx
push ebp
push edx
push dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [esp + 0x28]
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 + 0x20]
mov edx, dword [esp + 0x50]
test eax, eax
je 0x402a09
jmp 0x402a80
cmp dword [esp + 0x38], ebp
jne 0x402a6f
test edi, edi
jne 0x402a6f
push ebp
push ecx
call fcn.00406653
test eax, eax
js 0x402ac5
mov ecx, dword [esp + 0x1c]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.00406b17
test eax, eax
je 0x402ac5
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], ebp
jne 0x402b07
push 0xd
pop edx
cmp word [esp + 0x48], dx
push 0xa
pop edx
je 0x402ad8
cmp word [esp + 0x48], dx
je 0x402ad8
mov word [esi + edi*2], ax
inc edi
movzx eax, ax
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], eax
test ax, ax
je 0x402ac5
mov ecx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jl 0x402998
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor ebx, ebx
test eax, eax
mov word [esi + eax*2], cx
jmp 0x401a31
cmp word [esp + 0x48], ax
je 0x402af6
cmp ax, word [esp + 0x44]
je 0x402aeb
cmp ax, dx
jne 0x402af6
mov word [esi + edi*2], ax
inc edi
mov dword [esp + 0x14], edi
jmp 0x402ac5
push ebx
push ebp
neg ecx
push ecx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x402ac5
movzx eax, ax
push eax
push esi
call fcn.004067ee
jmp 0x402ece
cmp word [edi], bp
je case.0x4015c4.20
push 2
call fcn.0040307a
pop ecx
push dword [esp + 0x38]
push ebp
push eax
push edi
call fcn.00406df4
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x30], ebx
jl case.0x4015c4.20
push eax
push esi
jmp 0x4016d9
push edi
call fcn.00406df4
test eax, eax
je case.0x4015c4.20
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x4015c4.20
push esi
call fcn.00406df4
test eax, eax
je 0x4018df
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4018df
lea eax, [esp + 0xb8]
push eax
push edi
jmp 0x401d67
push 2
call fcn.004030b6
lea ecx, [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402bbd
xor eax, eax
mov word [esi], ax
jmp 0x402878
push eax
push esi
call fcn.004067ee
jmp 0x402b8a
push 0xfffffffffffffff0
mov dword [esp + 0x1c], 0xfffffd66
call fcn.004030b6
mov ebx, eax
push ebx
mov dword [esp + 0x54], ebx
call fcn.00406fd2
test eax, eax
jne 0x402bec
push 0xffffffffffffffed
call fcn.004030b6
push ebx
call fcn.00406d6c
push 2
push 0x40000000
push ebx
call fcn.00406aea
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x402cda
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x34], ebp
je 0x402cc6
mov eax, dword [0x7a7d88]
push eax
push 0x40
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x402cc2
push ebp
call fcn.004031a9
push dword [esp + 0x14]
push esi
call fcn.00403193
push dword [esp + 0x34]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [esp + 0x44], edi
test edi, edi
je 0x402ca7
push dword [esp + 0x34]
push edi
push ebp
push dword [esp + 0x3c]
call fcn.0040333f
cmp byte [edi], 0
je 0x402c9d
mov ebx, esi
mov esi, dword [edi]
mov eax, dword [edi + 4]
add edi, 8
push esi
push edi
add eax, ebx
push eax
call fcn.00406883
add edi, esi
cmp byte [edi], 0
jne 0x402c7c
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push esi
push edi
call fcn.00406bda
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or eax, 0xffffffff
jmp 0x402cc6
mov eax, dword [esp + 0x44]
push ebp
push ebp
push edi
push eax
call fcn.0040333f
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffff3
pop esi
cmp dword [esp + 0x18], ebp
jge 0x402cf2
push 0xffffffffffffffef
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
inc ebx
jmp 0x402cf6
mov ebx, dword [esp + 0x10]
push 0x40a8e8
push esi
jmp 0x402366
push ebp
call fcn.0040307a
mov ebx, eax
pop ecx
cmp ebx, dword [0x7a7dac]
jae 0x40172e
mov ecx, dword [esp + 0x34]
imul edi, ebx, 0x818
add edi, dword [0x7a7da8]
test ecx, ecx
js 0x402d3d
mov eax, dword [edi + ecx*4]
jne 0x402b44
lea eax, [edi + 0x18]
push eax
push esi
jmp 0x401d67
or eax, 0xffffffff
sub eax, ecx
mov dword [esp + 0x34], eax
je 0x402d58
push 1
call fcn.0040307a
pop ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x402d70
push dword [esp + 0x3c]
lea eax, [edi + 0x18]
push eax
call fcn.00406077
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], ebp
je case.0x4015c4.20
push ebx
call fcn.00401221
jmp case.0x4015c4.20
push ebp
call fcn.0040307a
mov edx, eax
pop ecx
cmp edx, 0x20
jae 0x40172e
cmp dword [esp + 0x38], ebx
je 0x402dc7
cmp dword [esp + 0x34], ebx
je 0x402dbc
push edx
call fcn.00401290
push ebp
push ebp
call fcn.004012dd
jmp case.0x4015c4.20
push ebp
call fcn.004011a0
jmp 0x402b44
mov eax, dword [0x7a7d90]
cmp dword [esp + 0x34], ebx
je 0x402de2
mov ecx, dword [esp + 0x30]
mov dword [eax + edx*4 + 0x94], ecx
jmp case.0x4015c4.20
push dword [eax + edx*4 + 0x94]
push esi
call fcn.00406077
jmp case.0x4015c4.20
mov eax, dword [esp + 0x38]
sub eax, ebp
je 0x402e46
sub eax, 1
jne case.0x4015c4.20
push 2
call fcn.0040307a
push 4
mov esi, eax
call fcn.0040307a
pop ecx
movzx edx, al
pop ecx
shr eax, 0x18
mov ecx, 0x7a7e40
test esi, esi
mov dword [esp + 0x18], ebp
push edx
cmovne ecx, esi
add eax, ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406883
push dword [esp + 0x18]
push dword [esp + 0x18]
jmp 0x4016d9
push 5
call fcn.00406ab5
push 0x22
mov edi, eax
call fcn.004030b6
test edi, edi
je 0x402e95
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x402e95
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x40]
lea eax, [esp + 0x5c]
push eax
call edi
test eax, eax
js 0x402e95
push dword [esp + 0x18]
push esi
call fcn.00406ce9
push dword [esp + 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x4015c4.20
xor ebx, ebx
inc ebx
xor eax, eax
mov word [esi], ax
jmp 0x402ec8
mov eax, dword [0x79f240]
push ebp
and eax, ecx
push eax
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x2c], ebx
je case.0x4015c4.20
mov eax, dword [esp + 0x20]
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [esp + 0x10]
add dword [0x7a7e48], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2cc
ret 4