Function at 0x4015d1
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:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x2f8
mov eax, dword [0x7b8548]
and dword [ebp + 0x70], 0
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 9
pop ecx
lea edi, [ebp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x3c]
mov ecx, edx
shl ecx, 0xb
mov ebx, section..ndata
add ecx, ebx
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x68], ecx
lea ecx, [ebp + 0x40]
mov edi, eax
shl edi, 0xb
mov dword [0x40a0c0], ecx
lea ecx, [esi - 2]
add edi, ebx
cmp ecx, 0x45
ja case.0x40162a.67
jmp dword [ecx*4 + 0x402e9d]
push 0
push eax
call fcn.00405096
mov eax, 0x7fffffff
jmp case.0x40162a.2
inc dword [0x7b7514]
cmp dword [ebp + 0x64], 0
je 0x401639
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x401639
push eax
call fcn.0040137c
dec eax
push 0
push eax
call fcn.00401398
jmp case.0x40162a.2
push 0
push eax
call fcn.00405096
jmp case.0x40162a.67
xor ecx, ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x34], edx
jg 0x40168c
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40162a.67
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40162a.67
shl eax, 2
cmp dword [ebp + 0x48], 0
jne 0x4016d5
mov ecx, dword [eax + 0x7b8620]
mov dword [eax + 0x7b85e0], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x34], edx
mov dword [ecx*4 + 0x7b8620], eax
jmp case.0x40162a.67
mov ecx, dword [eax + 0x7b85e0]
mov dword [eax + 0x7b8620], ecx
jmp case.0x40162a.67
mov edx, dword [ebp + 0x48]
lea edx, [edx*4 + 0x7b8620]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp + 0x4c]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 + 0x40]
jmp case.0x40162a.2
push dword [edx*4 + 0x7b8620]
push edi
call fcn.0040627f
jmp case.0x40162a.67
mov ecx, dword [0x7b7520]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x401730
push edx
push ecx
call esi
mov eax, dword [ebp + 0x40]
mov ecx, dword [0x7b750c]
test ecx, ecx
je case.0x40162a.67
push eax
push ecx
call esi
jmp case.0x40162a.67
push 0xfffffffffffffff0
pop esi
call fcn.00401460
push dword [ebp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x40162a.67
mov dword [ebp + 0x70], 1
jmp case.0x40162a.67
push 0xfffffffffffffff0
pop esi
call fcn.00401460
mov ebx, eax
push ebx
call fcn.00405ece
mov esi, eax
test esi, esi
je 0x4017da
push 0x5c
push esi
call fcn.00405e7a
mov esi, eax
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
test di, di
jne 0x4017b1
cmp dword [ebp + 0x48], 0
je 0x4017b1
call fcn.00406593
test eax, eax
je 0x4017b1
push ebx
call fcn.00405cf8
jmp 0x4017b7
push ebx
call fcn.00405d7a
test eax, eax
je 0x4017d0
cmp eax, 0xb7
jne 0x4017cd
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4017d0
inc dword [ebp + 0x70]
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x401783
cmp dword [ebp + 0x44], 0
je 0x401809
push 0xffffffffffffffe6
call fcn.00401432
push ebx
push 0x7c4000
call fcn.00406338
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x40162a.67
inc dword [ebp + 0x70]
jmp case.0x40162a.67
push 0xfffffffffffffff5
call fcn.00401432
jmp case.0x40162a.67
xor esi, esi
call fcn.00401460
push eax
call fcn.0040640b
test eax, eax
je 0x401d50
mov eax, dword [ebp + 0x44]
jmp case.0x40162a.2
push 0xffffffffffffffd0
pop esi
call fcn.00401460
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401460
push 0x13
pop esi
mov ebx, eax
call fcn.00401460
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40185e
push 0xffffffffffffffe3
jmp 0x40180b
cmp dword [ebp + 0x48], 0
je 0x401761
push edi
call fcn.0040640b
test eax, eax
je 0x401761
push ebx
push edi
call fcn.00406b0d
push 0xffffffffffffffe4
jmp 0x40180b
xor esi, esi
call fcn.00401460
mov ebx, dword [ebp + 0x68]
mov esi, eax
lea eax, [ebp + 0x7c]
push eax
push ebx
mov edi, 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x4018c8
mov eax, dword [ebp + 0x7c]
cmp eax, esi
jbe 0x4018d4
cmp word [eax], 0
je 0x4018d4
push esi
call fcn.0040640b
test eax, eax
je 0x4018c8
add eax, 0x2c
push eax
push dword [ebp + 0x7c]
call fcn.00406338
jmp 0x4018d4
xor eax, eax
mov word [ebx], ax
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x48], 0
jne case.0x40162a.67
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x40162a.67
or esi, 0xffffffff
call fcn.00401460
lea ecx, [ebp + 0x7c]
push ecx
push edi
push 0x400
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x40162a.67
xor eax, eax
mov dword [ebp + 0x70], 1
mov word [edi], ax
jmp case.0x40162a.67
push 0xffffffffffffffef
pop esi
call fcn.00401460
push eax
push edi
call fcn.00405ffa
jmp 0x401759
push 0x31
pop esi
call fcn.00401460
mov esi, eax
mov eax, dword [ebp + 0x40]
and eax, 7
push esi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x7c], eax
call fcn.00405e99
push esi
mov esi, 0x40a0c8
test eax, eax
je 0x401964
push esi
call fcn.00406338
jmp 0x40197b
push 0x7c4000
push esi
call fcn.00406338
push eax
call fcn.004065f3
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.0040635a
mov edi, 0x40b0c8
cmp dword [ebp + 0x7c], 3
jl 0x4019bd
push esi
call fcn.0040640b
xor ecx, ecx
test eax, eax
je 0x4019a8
lea ecx, [ebp + 0x50]
push ecx
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 0x7c]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x7c], 0
jne 0x4019c9
push esi
call fcn.00405fa5
xor eax, eax
cmp dword [ebp + 0x7c], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405fcb
mov dword [ebp + 0x60], eax
cmp eax, 0xffffffff
jne 0x401a52
cmp dword [ebp + 0x7c], 0
jne 0x401a34
push ebx
push edi
call fcn.00406338
push esi
push ebx
call fcn.00406338
push dword [ebp + 0x58]
push 0x40a8c8
call fcn.0040671e
push edi
push ebx
call fcn.00406338
mov eax, dword [ebp + 0x40]
sar eax, 3
push eax
push 0x40a8c8
call fcn.00405e14
sub eax, 4
je 0x401986
dec eax
je 0x401a47
push esi
push 0xfffffffffffffffa
jmp 0x401634
push dword [ebp + 0x6c]
push 0xffffffffffffffe2
call fcn.00405096
cmp dword [ebp + 0x7c], 2
jmp 0x40175b
inc dword [0x7b8628]
jmp 0x402e91
push dword [ebp + 0x6c]
push 0xffffffffffffffea
call fcn.00405096
push dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x48]
inc dword [0x7b8654]
xor edi, edi
cmp dword [ebp + 0x3c], 0x15
push edi
push edi
push dword [ebp + 0x60]
push ecx
push eax
jne 0x401a7e
push 1
jmp 0x401a7f
push edi
call fcn.0040324a
dec dword [0x7b8654]
cmp dword [ebp + 0x50], 0xffffffff
mov ebx, eax
jne 0x401a98
cmp dword [ebp + 0x54], 0xffffffff
je 0x401aa7
lea eax, [ebp + 0x50]
push eax
push edi
push eax
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jge case.0x40162a.67
cmp ebx, 0xfffffffe
jne 0x401ad0
push 0xffffffffffffffe9
push esi
call fcn.0040671e
push dword [ebp + 0x6c]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401ad8
push 0xffffffffffffffee
push esi
call fcn.0040671e
push 0x200010
push esi
call fcn.00405e14
jmp 0x401639
cmp dword [0x40a014], 0xffffffff
mov eax, dword [0x7b85b0]
mov ecx, dword [0x7b85bc]
mov dword [ebp + 0x70], 1
je 0x401b13
test eax, eax
je case.0x40162a.67
test ecx, ecx
jne 0x401c12
test eax, eax
je case.0x40162a.67
test ecx, ecx
je case.0x40162a.67
xor esi, esi
call fcn.00401460
mov edi, eax
push edi
call fcn.00405e99
test eax, eax
jne 0x401b63
push 0x7c6800
mov esi, 0x40a8c8
push esi
call fcn.00406338
push esi
call fcn.0040664f
push eax
push esi
call fcn.00406338
push esi
push 0x4082b4
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call fcn.0040635a
push 3
push 0x80000000
push edi
call fcn.00405fcb
mov dword [0x40a014], eax
cmp eax, 0xffffffff
je case.0x40162a.67
cmp dword [0x7b85a0], 0
je 0x402e91
mov edi, dword [0x7b85a8]
mov esi, dword [0x7b85ac]
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0040706a
pop ecx
pop ecx
mov ebx, edi
mov dword [ebp + 0x34], esi
test esi, esi
ja 0x401bb7
test edi, edi
jbe 0x401c00
mov esi, 0x40c8c8
cmp dword [ebp + 0x34], 0
ja 0x401bd0
jb 0x401bcc
cmp ebx, 0x8000
jae 0x401bd0
mov edi, ebx
jmp 0x401bd5
mov edi, 0x8000
push edi
push esi
call fcn.004031a6
test eax, eax
je 0x401c00
push edi
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004070b1
add esp, 0xc
sub ebx, edi
sbb dword [ebp + 0x34], 0
cmp dword [ebp + 0x34], 0
ja 0x401bd0
jb 0x401c00
test ebx, ebx
ja 0x401bbc
lea eax, [ebp - 0x28]
push eax
call fcn.0040729b
pop ecx
cmp eax, dword [0x7b8554]
jne 0x401c1b
and dword [ebp + 0x70], 0
jmp case.0x40162a.67
push dword [0x40a014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a014], 0xffffffff
jmp case.0x40162a.67
xor esi, esi
call fcn.00401460
push dword [ebp + 0x44]
push eax
call fcn.00406b39
jmp case.0x40162a.67
push 0x31
pop esi
call fcn.00401460
push dword [ebp + 0x40]
push eax
call fcn.00405e14
test eax, eax
je 0x401761
cmp eax, dword [ebp + 0x48]
jne 0x401c6e
mov eax, dword [ebp + 0x4c]
jmp case.0x40162a.2
cmp eax, dword [ebp + 0x50]
jne case.0x40162a.67
mov eax, dword [ebp + 0x54]
jmp case.0x40162a.2
push 0xfffffffffffffff0
pop esi
jmp 0x401c35
xor esi, esi
inc esi
call fcn.00401460
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
jmp 0x40170e
push 2
pop ecx
call fcn.00401443
push 3
pop ecx
mov esi, eax
mov dword [ebp + 0x14], edx
call fcn.00401443
mov dword [ebp + 0x7c], esi
xor esi, esi
inc esi
mov ebx, eax
mov dword [ebp + 0x34], edx
call fcn.00401460
push eax
mov dword [ebp + 0x34], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [edi], cx
mov esi, eax
cmp dword [ebp + 0x14], ecx
je 0x401cd5
mov esi, dword [ebp + 0x7c]
test esi, esi
je case.0x40162a.67
test ebx, ebx
jge 0x401ce9
add ebx, eax
js case.0x40162a.67
cmp ebx, eax
jle 0x401cef
mov ebx, eax
mov eax, dword [ebp + 0x34]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.00406338
test esi, esi
jge 0x401d11
push edi
call sub.KERNEL32.dll_lstrlenW
add esi, eax
jns 0x401d11
and dword [ebp + 0x7c], 0
mov esi, dword [ebp + 0x7c]
cmp esi, 0x400
jge case.0x40162a.67
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x40162a.67
push 0x20
pop esi
call fcn.00401460
push 0x31
pop esi
mov edi, eax
call fcn.00401460
cmp dword [ebp + 0x50], 0
push eax
push edi
jne 0x401d58
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c66
mov eax, dword [ebp + 0x48]
jmp case.0x40162a.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401d48
xor esi, esi
inc esi
call fcn.00401460
push 0x400
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401d8d
cmp dword [ebp + 0x48], 0
je 0x401d95
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401d95
xor eax, eax
mov dword [ebp + 0x70], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x7fe], ax
jmp case.0x40162a.67
mov esi, dword [ebp + 0x54]
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp + 0x34], edx
call fcn.00401443
mov dword [ebp + 0x34], edx
test esi, esi
jne 0x401dd3
cmp edi, eax
jl 0x401c66
jle 0x401d50
mov eax, dword [ebp + 0x50]
jmp case.0x40162a.2
cmp edi, eax
jb 0x401c66
jbe 0x401d50
jmp 0x401dcb
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
mov dword [ebp + 0x34], edx
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x34], edx
cmp eax, 0xd
ja case.default.0x401e05
jmp dword [eax*4 + 0x402fb5]
add esi, ecx
jmp case.default.0x401e05
sub esi, ecx
jmp case.default.0x401e05
imul ecx, esi
mov esi, ecx
jmp case.default.0x401e05
test ecx, ecx
je 0x401e26
mov eax, esi
cdq
idiv ecx
jmp 0x401e44
xor esi, esi
mov dword [ebp + 0x70], 1
jmp case.default.0x401e05
or ecx, esi
jmp 0x401e17
and ecx, esi
jmp 0x401e17
xor ecx, esi
jmp 0x401e17
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401e05
test esi, esi
jne 0x401e50
test ecx, ecx
je 0x401e59
xor esi, esi
inc esi
jmp case.default.0x401e05
test esi, esi
jne 0x401e4c
xor esi, esi
jmp case.default.0x401e05
test ecx, ecx
je 0x401e26
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401e05
shl esi, cl
jmp case.default.0x401e05
sar esi, cl
jmp case.default.0x401e05
shr esi, cl
push esi
jmp 0x40170e
xor esi, esi
inc esi
call fcn.00401460
push 2
pop ecx
mov esi, eax
call fcn.00401443
push eax
push esi
push edi
mov dword [ebp + 0x34], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x40162a.67
mov eax, dword [ebp + 0x48]
mov esi, dword [0x40a0c4]
test eax, eax
je 0x401efd
dec eax
test esi, esi
je 0x401ebc
mov esi, dword [esi]
test eax, eax
jne 0x401ead
test esi, esi
jne 0x401ed0
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.0040671e
push eax
jmp 0x401ade
lea edi, [esi + 4]
push edi
mov esi, 0x40a0c8
push esi
call fcn.00406338
mov eax, dword [0x40a0c4]
add eax, 4
push eax
push edi
call fcn.00406338
mov eax, dword [0x40a0c4]
push esi
add eax, 4
push eax
jmp 0x402c30
test edx, edx
je 0x401f20
test esi, esi
je 0x401761
lea eax, [esi + 4]
push eax
push edi
call fcn.00406338
mov eax, dword [esi]
mov dword [0x40a0c4], eax
push esi
jmp 0x402361
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 0x40]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040671e
mov eax, dword [0x40a0c4]
mov dword [esi], eax
mov dword [0x40a0c4], esi
jmp case.0x40162a.67
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x60], eax
call fcn.00401443
test byte [ebp + 0x54], 1
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x7c], eax
je 0x401f7a
push 0x33
pop esi
call fcn.00401460
mov dword [ebp + 0x60], eax
test byte [ebp + 0x54], 2
je 0x401f8b
push 0x44
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x3c], 0x23
jne 0x401fe2
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
mov dword [ebp + 0x34], edx
call fcn.00401443
mov ecx, dword [ebp + 0x54]
sar ecx, 2
mov dword [ebp + 0x34], edx
test ecx, ecx
je 0x401fd2
lea edx, [ebp + 0x6c]
push edx
push ecx
push 0
push dword [ebp + 0x7c]
push dword [ebp + 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x70], eax
jmp 0x402017
push dword [ebp + 0x7c]
push dword [ebp + 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402014
xor esi, esi
inc esi
call fcn.00401460
push 0x12
pop esi
mov ebx, eax
call fcn.00401460
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 0x7c]
push dword [ebp + 0x60]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 0x6c], eax
cmp dword [ebp + 0x40], 0
jl case.0x40162a.67
push dword [ebp + 0x6c]
jmp 0x40170e
xor ecx, ecx
call fcn.00401443
push eax
mov dword [ebp + 0x34], edx
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x401822
push 2
pop ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp + 0x34], edx
call fcn.00401443
push esi
push eax
mov dword [ebp + 0x34], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401c92
mov eax, dword [0x7b8588]
xor ecx, ecx
lea esi, [eax + edx]
call fcn.00401443
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp + 0x34], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40162a.67
push edx
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
lea eax, [ebp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x34]
imul eax, dword [ebp + 0x48]
push 0x10
push eax
mov eax, dword [ebp + 0x30]
imul eax, dword [ebp + 0x48]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401460
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x40162a.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40162a.67
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_GetDC]
push 2
pop ecx
mov esi, eax
call fcn.00401443
push 0x48
push 0x5a
push esi
mov ebx, eax
mov dword [ebp + 0x34], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp + 0x64]
neg eax
mov dword [0x4148c8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.00401443
push dword [ebp + 0x44]
mov dword [0x4148d8], eax
mov al, byte [ebp + 0x50]
mov cl, al
and cl, 1
mov byte [0x4148dc], cl
mov cl, al
and cl, 2
and al, 4
push 0x4148e4
mov dword [ebp + 0x34], edx
mov byte [0x4148dd], cl
mov byte [0x4148de], al
mov byte [0x4148df], 1
call fcn.0040671e
push 0x4148c8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x401c92
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
mov dword [ebp + 0x34], edx
call fcn.00401443
cmp dword [ebp + 0x4c], 0
push eax
mov dword [ebp + 0x34], edx
push esi
jne 0x40219c
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x40162a.67
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x40162a.67
xor esi, esi
call fcn.00401460
push 0x31
pop esi
mov edi, eax
call fcn.00401460
push 0x22
pop esi
mov dword [ebp + 0x7c], eax
call fcn.00401460
push 0x15
pop esi
mov ebx, eax
call fcn.00401460
push 0xffffffffffffffec
call fcn.00401432
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x18], eax
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x24], eax
movzx eax, word [ebx]
neg eax
sbb eax, eax
and eax, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x1c], 0x7c4000
call fcn.00405dda
test eax, eax
je 0x401761
test byte [ebp - 0x30], 0x40
je case.0x40162a.67
push dword [ebp + 4]
call fcn.00406551
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x40162a.67
xor esi, esi
call fcn.00401460
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405096
push esi
call fcn.00405d97
mov esi, eax
test esi, esi
je 0x401761
cmp dword [ebp + 0x48], 0
je 0x402285
push esi
call fcn.00406551
cmp dword [ebp + 0x44], 0
jl 0x40227a
push eax
push dword [ebp + 0x68]
call fcn.0040627f
jmp 0x402285
test eax, eax
je 0x402285
mov dword [ebp + 0x70], 1
push esi
jmp 0x402231
push 2
pop esi
call fcn.00401460
push eax
call fcn.0040640b
mov esi, eax
test esi, esi
je 0x4022af
push dword [esi + 0x14]
push dword [ebp + 0x68]
call fcn.0040627f
push dword [esi + 0x18]
jmp 0x40170e
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
jmp 0x401761
push 0xffffffffffffffee
pop esi
call fcn.00401460
mov ebx, eax
lea eax, [ebp + 0xc]
push eax
push ebx
push 9
call fcn.004064a2
call eax
mov ecx, dword [ebp + 0x68]
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
mov dword [ebp + 0x70], 1
test esi, esi
je case.0x40162a.67
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0x7c], eax
test eax, eax
je case.0x40162a.67
push 0xa
call fcn.004064a2
push 0xb
mov dword [ebp + 0x14], eax
call fcn.004064a2
push dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
push esi
push 0
push ebx
call dword [ebp + 0x14]
test eax, eax
je 0x40235e
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x34]
push eax
push 0x4082b0
push dword [ebp + 0x7c]
call dword [ebp + 0x6c]
test eax, eax
je 0x40235e
mov eax, dword [ebp + 0x34]
push dword [eax + 8]
push edi
call fcn.0040627f
mov eax, dword [ebp + 0x34]
push dword [eax + 0xc]
push dword [ebp + 0x68]
call fcn.0040627f
and dword [ebp + 0x70], 0
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40162a.67
cmp dword [0x7b8658], 0
mov dword [ebp + 0x70], 1
jl 0x402438
push 0xfffffffffffffff0
pop esi
call fcn.00401460
xor esi, esi
inc esi
mov edi, eax
call fcn.00401460
cmp dword [ebp + 0x50], 0
mov dword [ebp + 0x7c], eax
je 0x4023a8
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x4023b9
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402431
push dword [ebp + 0x7c]
push esi
call fcn.0040650f
mov edi, eax
test edi, edi
je 0x402403
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x48], 0
je 0x4023e9
push dword [ebp + 0x48]
call fcn.00401432
call edi
test eax, eax
je 0x40240d
mov dword [ebp + 0x70], 1
jmp 0x40240d
push section..data
push 0x40a0c4
push ebx
push 0x400
push dword [ebp + 0x64]
call edi
add esp, 0x14
jmp 0x40240d
push dword [ebp + 0x7c]
push 0xfffffffffffffff7
call fcn.00405096
cmp dword [ebp + 0x4c], 0
jne case.0x40162a.67
push esi
call fcn.00403e38
test eax, eax
je case.0x40162a.67
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x40162a.67
push 0xfffffffffffffff6
jmp 0x40180b
push 0xffffffffffffffe7
jmp 0x40180b
push 0xfffffffffffffff0
pop esi
call fcn.00401460
push 0xffffffffffffffdf
pop esi
mov dword [ebp + 0x68], eax
call fcn.00401460
push 2
pop esi
mov dword [ebp + 0x34], eax
call fcn.00401460
push 0xffffffffffffffcd
pop esi
mov dword [ebp + 0x18], eax
call fcn.00401460
push 0x45
pop esi
mov dword [ebp + 0xc], eax
call fcn.00401460
push dword [ebp + 0x34]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x50]
mov ecx, eax
mov ebx, eax
mov edi, eax
sar eax, 0x10
and ecx, 0xfff
and eax, 0xffff
sar edi, 0xc
mov dword [ebp + 0x60], ecx
and ebx, 0x8000
and edi, 7
mov dword [ebp + 0x6c], eax
call fcn.00405e99
test eax, eax
jne 0x4024b3
push 0x21
pop esi
call fcn.00401460
lea eax, [ebp + 0x7c]
push eax
push 0x4089c8
push 1
push 0
push 0x4089e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x402580
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x14]
push edx
push 0x4089d8
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x402573
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
test ebx, ebx
jne 0x40250e
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push 0x7c4000
push eax
call dword [ecx + 0x24]
test edi, edi
je 0x40251c
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x40253e
push dword [ebp + 0x60]
mov eax, dword [ebp + 0x7c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test esi, esi
jl 0x40256a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x68]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test esi, esi
jge 0x40258e
mov dword [ebp + 0x70], 1
push 0xfffffffffffffff0
jmp 0x40180b
push 0xfffffffffffffff4
jmp 0x40180b
xor esi, esi
call fcn.00401460
push 0x11
pop esi
mov edi, eax
call fcn.00401460
push 0x23
pop esi
mov ebx, eax
call fcn.00401460
push edi
mov esi, eax
call fcn.0040640b
test eax, eax
jne 0x4025ca
push 0
push 0xfffffffffffffff9
call fcn.00405096
jmp 0x401761
mov eax, dword [ebp + 0x64]
push edi
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], 2
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp + 0x48]
push esi
push ecx
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x36], esi
mov word [ebp + 0x2c], ax
call fcn.00405096
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40162a.67
jmp 0x4025bc
cmp eax, 0xbadf00d
jne 0x401ebc
inc dword [0x7b8634]
jmp case.0x40162a.67
xor ebx, ebx
xor edi, edi
mov dword [ebp + 0x7c], ebx
cmp eax, ebx
je 0x40264a
xor esi, esi
call fcn.00401460
mov edx, dword [ebp + 0x44]
mov edi, eax
test edx, edx
je 0x402659
push 0x11
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x50], ebx
je 0x402668
push 0x22
pop esi
call fcn.00401460
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401460
push eax
push ebx
push dword [ebp + 0x7c]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x401759
xor esi, esi
inc esi
mov dword [ebp + 0x7c], 0xa
call fcn.00401460
push 0x12
pop esi
mov ebx, eax
call fcn.00401460
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 0x34], eax
call fcn.00401460
push eax
push 0x3ff
push edi
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x40190b
cmp dword [ebp + 0x50], 0
mov edi, edx
jne 0x4026f8
push 2
pop eax
call fcn.004014aa
mov edi, eax
test edi, edi
je 0x401761
push 0x33
pop esi
call fcn.00401460
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402710
push 0x22
pop esi
call fcn.00401460
mov ecx, dword [ebp + 0x50]
sar ecx, 1
push ecx
push edi
mov esi, eax
call fcn.00401591
mov esi, eax
test esi, esi
je case.0x40162a.67
jmp 0x401761
mov edi, eax
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x58]
push 2
pop esi
mov dword [ebp + 0x14], eax
call fcn.00401460
push 0x11
pop esi
mov dword [ebp + 0x6c], eax
call fcn.00401460
lea ecx, [ebp + 0x34]
push ecx
push 0x100022
push eax
mov eax, edi
mov dword [ebp + 0x70], 1
call fcn.00401498
push eax
call fcn.004061d1
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp + 0x34]
je case.0x40162a.67
xor esi, esi
xor eax, eax
cmp dword [ebp + 0x7c], 1
mov edi, 0x40b0c8
jne 0x402790
push 0x23
pop esi
call fcn.00401460
push edi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
xor esi, esi
cmp dword [ebp + 0x7c], 4
jne 0x4027a9
push 3
pop ecx
call fcn.00401443
push 4
mov dword [0x40b0c8], eax
mov dword [ebp + 0xc], edx
pop eax
cmp dword [ebp + 0x7c], 3
jne 0x4027d3
push dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x4c]
push 0x1800
push edi
push esi
push ecx
push eax
cmp dword [0x7b85b0], esi
je 0x4027cd
push 1
jmp 0x4027ce
push esi
call fcn.0040324a
push eax
push edi
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4027ea
mov dword [ebp + 0x70], esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x40162a.67
mov eax, 0x20019
call fcn.004014aa
push 0x33
pop esi
mov ebx, eax
call fcn.00401460
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x401761
lea ecx, [ebp + 0x34]
push ecx
push edi
lea ecx, [ebp + 0x7c]
push ecx
push 0
push eax
push ebx
mov dword [ebp + 0x34], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x402872
cmp dword [ebp + 0x7c], 4
je 0x40285a
cmp dword [ebp + 0x7c], ecx
je 0x402849
cmp dword [ebp + 0x7c], 2
jne 0x402872
mov eax, dword [ebp + 0x50]
mov dword [ebp + 0x70], eax
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x4027ea
push dword [edi]
xor eax, eax
cmp dword [ebp + 0x50], eax
push edi
sete al
mov dword [ebp + 0x70], eax
call fcn.0040627f
jmp 0x4027ea
xor eax, eax
mov word [edi], ax
mov dword [ebp + 0x70], ecx
jmp 0x4027ea
mov eax, 0x20019
call fcn.004014aa
push 3
pop ecx
mov esi, eax
call fcn.00401443
mov dword [ebp + 0x34], edx
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x401761
mov ecx, 0x3ff
mov dword [ebp + 0x7c], ecx
cmp dword [ebp + 0x50], edx
je 0x4028be
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4028da
push edx
push edx
push edx
push edx
lea ecx, [ebp + 0x7c]
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x4028da
mov dword [ebp + 0x70], 1
xor eax, eax
mov word [edi + 0x7fe], ax
push esi
jmp 0x4027eb
push edi
call fcn.00406298
test eax, eax
je case.0x40162a.67
push eax
jmp 0x402231
push 0xffffffffffffffed
pop esi
call fcn.00401460
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push eax
call fcn.00405fcb
cmp eax, 0xffffffff
jne 0x401c92
xor eax, eax
mov word [edi], ax
jmp 0x401761
mov eax, dword [ebp + 0x48]
xor ebx, ebx
cmp esi, 0x3a
sete bl
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x402951
xor ecx, ecx
inc ecx
call fcn.00401443
mov word [0x40a8c8], ax
xor eax, eax
test ebx, ebx
sete al
mov dword [ebp + 0x34], edx
inc eax
jmp 0x402983
cmp esi, 0x3a
jne 0x402987
push 0x21
pop esi
call fcn.00401460
xor eax, eax
push eax
push eax
push 0x400
mov esi, 0x40a8c8
push esi
push 0xffffffffffffffff
push 0x40b0c8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x402999
push 0x11
pop esi
call fcn.00401460
push eax
call sub.KERNEL32.dll_lstrlenW
mov esi, eax
add esi, esi
cmp word [edi], 0
je 0x401761
push edi
call fcn.00406298
or ebx, dword [ebp + 0x7c]
mov edi, eax
jne 0x4029c4
cmp dword [ebp + 0x4c], ebx
je 0x4029c4
push edi
push edi
call fcn.004060ac
test eax, eax
jl 0x401761
push esi
push 0x40a8c8
push edi
call fcn.0040607d
jmp 0x401759
push 2
pop ecx
xor esi, esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x34], eax
jl case.0x40162a.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402a00
mov dword [ebp + 0x34], ecx
xor ebx, ebx
cmp word [edi], bx
je 0x402b6a
push edi
mov dword [ebp + 0x6c], ebx
call fcn.00406298
cmp dword [ebp + 0x34], ebx
mov dword [ebp + 0x60], eax
jle 0x402b6a
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp + 0x3c], 0x3b
jne 0x402afe
push ebx
lea eax, [ebp + 0xc]
push eax
push 2
pop eax
sub eax, dword [ebp + 0x4c]
push eax
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b6a
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
je 0x402b6a
movzx ax, byte [ebp + 0x7c]
movzx eax, ax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x4c], ebx
jne 0x402b2b
push 1
lea eax, [ebp + 0x64]
push eax
push ecx
lea eax, [ebp + 0x7c]
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x402b26
mov esi, dword [ebp + 0x18]
neg esi
dec dword [ebp + 0xc]
mov eax, 0xfffd
mov dword [ebp + 0x64], eax
je 0x402ac7
dec dword [ebp + 0x18]
push 1
push ebx
inc esi
push esi
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x7c]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x402a90
mov eax, dword [ebp + 0x64]
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x4c], ebx
jne 0x402b2b
cmp word [ebp + 0x6c], 0xd
je 0x402b3c
cmp word [ebp + 0x6c], 0xa
je 0x402b3c
mov ecx, dword [ebp + 0x68]
mov word [ecx + esi*2], ax
movzx ecx, ax
inc esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x6c], ecx
cmp ax, bx
je 0x402b6a
cmp esi, dword [ebp + 0x34]
jl 0x402a26
jmp 0x402b6a
cmp dword [ebp + 0x4c], ebx
jne 0x402b14
cmp esi, ebx
jne 0x402b14
push ebx
push dword [ebp + 0x60]
call fcn.004060ac
test eax, eax
jl 0x402b6a
push 2
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x60]
call fcn.0040604e
test eax, eax
je 0x402b6a
mov eax, dword [ebp + 0x64]
jmp 0x402aca
movzx eax, ax
push eax
push dword [ebp + 0x68]
call fcn.0040627f
jmp 0x402e91
cmp word [ebp + 0x6c], ax
je 0x402b58
cmp ax, 0xd
je 0x402b4e
cmp ax, 0xa
jne 0x402b58
mov ecx, dword [ebp + 0x68]
mov word [ecx + esi*2], ax
inc esi
jmp 0x402b6a
mov eax, dword [ebp + 0x18]
push 1
push ebx
neg eax
push eax
push dword [ebp + 0x60]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [ecx + esi*2], ax
cmp esi, ebx
jmp 0x40175b
cmp word [edi], 0
je case.0x40162a.67
push 2
pop ecx
call fcn.00401443
push dword [ebp + 0x4c]
mov dword [ebp + 0x34], edx
push 0
push eax
push edi
call fcn.00406298
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x44], 0
jl case.0x40162a.67
push eax
push dword [ebp + 0x68]
jmp 0x40170f
push edi
call fcn.00406298
test eax, eax
je case.0x40162a.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40162a.67
push dword [ebp + 0x68]
call fcn.00406298
test eax, eax
je 0x401911
lea ecx, [ebp - 0x284]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401911
jmp 0x402c28
push 2
pop esi
call fcn.00401460
lea ecx, [ebp - 0x284]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402c1f
mov ecx, dword [ebp + 0x68]
xor eax, eax
mov word [ecx], ax
jmp 0x40291a
push eax
push dword [ebp + 0x68]
call fcn.0040627f
lea eax, [ebp - 0x258]
push eax
push edi
call fcn.00406338
jmp case.0x40162a.67
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.00401460
mov edi, eax
push edi
mov dword [ebp + 0xc], edi
call fcn.00405e99
test eax, eax
jne 0x402c5e
push 0xffffffffffffffec
pop esi
call fcn.00401460
push edi
call fcn.00405fa5
push 2
push 0x40000000
push edi
call fcn.00405fcb
mov dword [ebp + 0x6c], eax
cmp eax, 0xffffffff
je 0x402d49
mov eax, dword [0x7b85c4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp + 0x34], eax
call esi
xor edi, edi
mov dword [ebp + 0x7c], eax
cmp eax, edi
je 0x402d3e
push edi
call fcn.00403177
push dword [ebp + 0x34]
push dword [ebp + 0x7c]
call fcn.0040311b
push dword [ebp + 0x4c]
push 0x40
call esi
mov esi, eax
mov dword [ebp + 0x14], esi
cmp esi, edi
je 0x402d07
push dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x44]
push esi
push edi
push ecx
push eax
cmp dword [0x7b85b0], edi
je 0x402cda
push 1
jmp 0x402cdb
push edi
call fcn.0040324a
jmp 0x402cf9
mov ebx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x7c]
push ebx
add esi, 8
push esi
add eax, ecx
push eax
call fcn.00405f81
add esi, ebx
cmp byte [esi], 0
jne 0x402ce2
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x34]
push dword [ebp + 0x7c]
push dword [ebp + 0x6c]
call fcn.0040607d
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x58]
push edi
push edi
push dword [ebp + 0x6c]
push 0xffffffffffffffff
push 0xffffffffffffffff
cmp dword [0x7b85b0], edi
je 0x402d36
push 1
jmp 0x402d37
push edi
call fcn.0040324a
mov ebx, eax
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402d4b
xor edi, edi
cmp ebx, edi
push 0xfffffffffffffff3
pop esi
jge 0x402d65
push 0xffffffffffffffef
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp + 0x70], 1
push esi
jmp 0x40180b
xor ecx, ecx
call fcn.00401443
mov edi, eax
mov dword [ebp + 0x34], edx
cmp edi, dword [0x7b856c]
jae 0x401761
mov eax, dword [ebp + 0x48]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x7b8568]
test eax, eax
jl 0x402daf
mov ecx, dword [esi + eax*4]
jne 0x402da9
add esi, 0x18
push esi
push dword [ebp + 0x68]
jmp 0x402c30
push ecx
jmp 0x402bad
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp + 0x48], ecx
je 0x402dc9
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x44], eax
jmp 0x402ddc
push dword [ebp + 0x50]
lea eax, [esi + 0x18]
push eax
call fcn.0040671e
or dword [esi + 8], 0x100
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x44]
mov dword [esi + eax*4], ecx
cmp dword [ebp + 0x4c], 0
je case.0x40162a.67
push edi
call fcn.00401186
jmp case.0x40162a.67
xor ecx, ecx
call fcn.00401443
mov dword [ebp + 0x34], edx
cmp eax, 0x20
jae 0x401761
xor esi, esi
cmp dword [ebp + 0x4c], esi
je 0x402e33
cmp dword [ebp + 0x48], esi
je 0x402e28
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x40162a.67
push esi
call fcn.004012f1
jmp 0x402bac
cmp dword [ebp + 0x48], esi
je 0x402e4a
mov ecx, dword [ebp + 0x44]
mov edx, dword [0x7b8550]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40162a.67
mov ecx, dword [0x7b8550]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 0x68]
call fcn.0040671e
jmp case.0x40162a.67
mov ecx, dword [0x7b3a40]
xor esi, esi
push esi
and ecx, eax
push ecx
push 0xb
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x40], esi
je case.0x40162a.67
push esi
push esi
push dword [ebp + 0x64]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x70]
add dword [0x7b8628], eax
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4