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, 0x2d8
mov eax, dword [0x445a28]
and dword [ebp + 0x70], 0
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 9
pop ecx
lea edi, [ebp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x34]
mov ecx, edx
shl ecx, 0xb
mov ebx, section..ndata
add ecx, ebx
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp + 0x60], ecx
lea ecx, [ebp + 0x38]
mov edi, eax
shl edi, 0xb
mov dword [0x40b100], ecx
lea ecx, [esi - 2]
add edi, ebx
cmp ecx, 0x45
ja case.0x40162a.67
jmp dword [ecx*4 + 0x402f05]
push 0
push eax
call fcn.0040511f
mov eax, 0x7fffffff
jmp case.0x40162a.2
inc dword [0x4449f4]
cmp dword [ebp + 0x5c], 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.0040511f
jmp case.0x40162a.67
xor ecx, ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x6c], edx
jg 0x40168c
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x40162a.67
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x40162a.67
shl eax, 2
cmp dword [ebp + 0x40], 0
jne 0x4016d5
mov ecx, dword [eax + 0x445b00]
mov dword [eax + 0x445ac0], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x6c], edx
mov dword [ecx*4 + 0x445b00], eax
jmp case.0x40162a.67
mov ecx, dword [eax + 0x445ac0]
mov dword [eax + 0x445b00], ecx
jmp case.0x40162a.67
mov edx, dword [ebp + 0x40]
lea edx, [edx*4 + 0x445b00]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp + 0x44]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 + 0x38]
jmp case.0x40162a.2
push dword [edx*4 + 0x445b00]
push edi
call fcn.00406308
jmp case.0x40162a.67
mov ecx, dword [0x444a00]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test ecx, ecx
je 0x401730
push edx
push ecx
call esi
mov eax, dword [ebp + 0x38]
mov ecx, dword [0x4449ec]
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 + 0x3c]
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.00405f57
mov esi, eax
test esi, esi
je 0x4017da
push 0x5c
push esi
call fcn.00405f03
mov esi, eax
movzx edi, word [esi]
xor eax, eax
mov word [esi], ax
test di, di
jne 0x4017b1
cmp dword [ebp + 0x40], 0
je 0x4017b1
call fcn.0040661c
test eax, eax
je 0x4017b1
push ebx
call fcn.00405d81
jmp 0x4017b7
push ebx
call fcn.00405e03
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 + 0x3c], 0
je 0x401809
push 0xffffffffffffffe6
call fcn.00401432
push ebx
push 0x451000
call fcn.004063c1
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.00406494
test eax, eax
je 0x401d50
mov eax, dword [ebp + 0x3c]
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 + 0x40], 0
je 0x401761
push edi
call fcn.00406494
test eax, eax
je 0x401761
push ebx
push edi
call fcn.00406b96
push 0xffffffffffffffe4
jmp 0x40180b
xor esi, esi
call fcn.00401460
mov ebx, dword [ebp + 0x60]
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.00406494
test eax, eax
je 0x4018c8
add eax, 0x2c
push eax
push dword [ebp + 0x7c]
call fcn.004063c1
jmp 0x4018d4
xor eax, eax
mov word [ebx], ax
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x40], 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.00406083
jmp 0x401759
push 0x31
pop esi
call fcn.00401460
mov esi, eax
mov eax, dword [ebp + 0x38]
and eax, 7
push esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x7c], eax
call fcn.00405f22
push esi
mov esi, 0x40b108
test eax, eax
je 0x401964
push esi
call fcn.004063c1
jmp 0x40197b
push 0x451000
push esi
call fcn.004063c1
push eax
call fcn.0040667c
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.004063e3
mov edi, 0x40c108
cmp dword [ebp + 0x7c], 3
jl 0x4019bd
push esi
call fcn.00406494
xor ecx, ecx
test eax, eax
je 0x4019a8
lea ecx, [ebp + 0x48]
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.0040602e
xor eax, eax
cmp dword [ebp + 0x7c], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406054
mov dword [ebp + 0x58], eax
cmp eax, 0xffffffff
jne 0x401a52
cmp dword [ebp + 0x7c], 0
jne 0x401a34
push ebx
push edi
call fcn.004063c1
push esi
push ebx
call fcn.004063c1
push dword [ebp + 0x50]
push 0x40b908
call fcn.004067a7
push edi
push ebx
call fcn.004063c1
mov eax, dword [ebp + 0x38]
sar eax, 3
push eax
push 0x40b908
call fcn.00405e9d
sub eax, 4
je 0x401986
dec eax
je 0x401a47
push esi
push 0xfffffffffffffffa
jmp 0x401634
push dword [ebp + 0x64]
push 0xffffffffffffffe2
call fcn.0040511f
cmp dword [ebp + 0x7c], 2
jmp 0x40175b
inc dword [0x445b08]
jmp 0x402ef8
push dword [ebp + 0x64]
push 0xffffffffffffffea
call fcn.0040511f
push dword [ebp + 0x54]
mov ecx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x40]
inc dword [0x445b34]
xor edi, edi
cmp dword [ebp + 0x34], 0x15
push edi
push edi
push dword [ebp + 0x58]
push ecx
push eax
jne 0x401a7e
push 1
jmp 0x401a7f
push edi
call fcn.004032b2
dec dword [0x445b34]
cmp dword [ebp + 0x48], 0xffffffff
mov ebx, eax
jne 0x401a98
cmp dword [ebp + 0x4c], 0xffffffff
je 0x401aa7
lea eax, [ebp + 0x48]
push eax
push edi
push eax
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 0x58]
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.004067a7
push dword [ebp + 0x64]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401ad8
push 0xffffffffffffffee
push esi
call fcn.004067a7
push 0x200010
push esi
call fcn.00405e9d
jmp 0x401639
cmp dword [0x40b014], 0xffffffff
mov eax, dword [0x445a90]
mov ecx, dword [0x445a9c]
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.00405f22
test eax, eax
jne 0x401b63
push 0x453800
mov esi, 0x40b908
push esi
call fcn.004063c1
push esi
call fcn.004066d8
push eax
push esi
call fcn.004063c1
push esi
push 0x4092b4
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call fcn.004063e3
push 3
push 0x80000000
push edi
call fcn.00406054
mov dword [0x40b014], eax
cmp eax, 0xffffffff
je case.0x40162a.67
cmp dword [0x445a80], 0
je 0x402ef8
mov edi, dword [0x445a88]
mov esi, dword [0x445a8c]
lea eax, [ebp - 8]
push 0
push eax
call fcn.004070f3
pop ecx
pop ecx
mov ebx, edi
mov dword [ebp + 0x6c], esi
test esi, esi
ja 0x401bb7
test edi, edi
jbe 0x401c00
mov esi, 0x40d908
cmp dword [ebp + 0x6c], 0
ja 0x401bd0
jb 0x401bcc
cmp ebx, 0x8000
jae 0x401bd0
mov edi, ebx
jmp 0x401bd5
mov edi, 0x8000
push edi
push esi
call fcn.0040320e
test eax, eax
je 0x401c00
push edi
lea eax, [ebp - 8]
push esi
push eax
call fcn.0040713a
add esp, 0xc
sub ebx, edi
sbb dword [ebp + 0x6c], 0
cmp dword [ebp + 0x6c], 0
ja 0x401bd0
jb 0x401c00
test ebx, ebx
ja 0x401bbc
lea eax, [ebp - 8]
push eax
call fcn.00407324
pop ecx
cmp eax, dword [0x445a34]
jne 0x401c1b
and dword [ebp + 0x70], 0
jmp case.0x40162a.67
push dword [0x40b014]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40b014], 0xffffffff
jmp case.0x40162a.67
xor esi, esi
call fcn.00401460
push dword [ebp + 0x3c]
push eax
call fcn.00406bc2
jmp case.0x40162a.67
push 0x31
pop esi
call fcn.00401460
push dword [ebp + 0x38]
push eax
call fcn.00405e9d
test eax, eax
je 0x401761
cmp eax, dword [ebp + 0x40]
jne 0x401c6e
mov eax, dword [ebp + 0x44]
jmp case.0x40162a.2
cmp eax, dword [ebp + 0x48]
jne case.0x40162a.67
mov eax, dword [ebp + 0x4c]
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 + 0x30], edx
call fcn.00401443
mov dword [ebp + 0x7c], esi
xor esi, esi
inc esi
mov ebx, eax
mov dword [ebp + 0x6c], edx
call fcn.00401460
push eax
mov dword [ebp + 0x6c], eax
call sub.KERNEL32.dll_lstrlenW
xor ecx, ecx
mov word [edi], cx
mov esi, eax
cmp dword [ebp + 0x30], 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 + 0x6c]
lea eax, [eax + ebx*2]
push eax
push edi
call fcn.004063c1
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 + 0x48], 0
push eax
push edi
jne 0x401d58
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401c66
mov eax, dword [ebp + 0x40]
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 + 0x40], 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 + 0x4c]
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov edi, eax
mov dword [ebp + 0x6c], edx
call fcn.00401443
mov dword [ebp + 0x6c], edx
test esi, esi
jne 0x401dd3
cmp edi, eax
jl 0x401c66
jle 0x401d50
mov eax, dword [ebp + 0x48]
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 + 0x6c], edx
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x6c], edx
cmp eax, 0xd
ja case.default.0x401e05
jmp dword [eax*4 + 0x40301d]
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 + 0x6c], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.0x40162a.67
mov eax, dword [ebp + 0x40]
mov esi, dword [0x40b104]
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.004067a7
push eax
jmp 0x401ade
lea edi, [esi + 4]
push edi
mov esi, 0x40b108
push esi
call fcn.004063c1
mov eax, dword [0x40b104]
add eax, 4
push eax
push edi
call fcn.004063c1
mov eax, dword [0x40b104]
push esi
add eax, 4
push eax
jmp 0x402c97
test edx, edx
je 0x401f20
test esi, esi
je 0x401761
lea eax, [esi + 4]
push eax
push edi
call fcn.004063c1
mov eax, dword [esi]
mov dword [0x40b104], eax
push esi
jmp 0x4023c8
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp + 0x38]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004067a7
mov eax, dword [0x40b104]
mov dword [esi], eax
mov dword [0x40b104], esi
jmp case.0x40162a.67
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x58], eax
call fcn.00401443
test byte [ebp + 0x4c], 1
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x7c], eax
je 0x401f7a
push 0x33
pop esi
call fcn.00401460
mov dword [ebp + 0x58], eax
test byte [ebp + 0x4c], 2
je 0x401f8b
push 0x44
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x34], 0x23
jne 0x401fe2
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
mov dword [ebp + 0x6c], edx
call fcn.00401443
mov ecx, dword [ebp + 0x4c]
sar ecx, 2
mov dword [ebp + 0x6c], edx
test ecx, ecx
je 0x401fd2
lea edx, [ebp + 0x64]
push edx
push ecx
push 0
push dword [ebp + 0x7c]
push dword [ebp + 0x58]
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 + 0x58]
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 + 0x58]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x38], 0
jl case.0x40162a.67
push dword [ebp + 0x64]
jmp 0x40170e
xor ecx, ecx
call fcn.00401443
push eax
mov dword [ebp + 0x6c], 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 + 0x6c], edx
call fcn.00401443
push esi
push eax
mov dword [ebp + 0x6c], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x401c92
mov eax, dword [0x445a68]
xor ecx, ecx
lea esi, [eax + edx]
call fcn.00401443
push esi
push 0xffffffffffffffeb
push eax
mov dword [ebp + 0x6c], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x40162a.67
test dword [ebp + 0x40], 0x100
je 0x40209b
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp + 0x6c], edx
jmp 0x4020a5
push edx
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x7c], eax
mov esi, ecx
shr esi, 0x1e
mov ebx, ecx
mov edi, ecx
mov eax, ecx
shr eax, 0x1f
and esi, 1
and ebx, 3
and edi, 4
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x30], esi
test ecx, 0x10000
je 0x4020dc
xor esi, esi
call fcn.00401460
mov esi, dword [ebp + 0x30]
jmp 0x4020e0
movzx eax, word [ebp + 0x38]
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x40]
and eax, 0xfef0
push eax
mov eax, dword [ebp + 0x24]
imul eax, esi
push eax
mov eax, dword [ebp + 0x20]
imul eax, dword [ebp + 0x64]
push eax
neg edi
push ebx
push dword [ebp + 0x6c]
sbb edi, edi
and edi, dword [0x445a2c]
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x40162a.67
test ebx, ebx
jne case.0x40162a.67
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x40162a.67
push dword [ebp + 0x5c]
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 + 0x6c], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp + 0x5c]
neg eax
mov dword [0x415908], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
pop ecx
call fcn.00401443
push dword [ebp + 0x3c]
mov dword [0x415918], eax
mov al, byte [ebp + 0x48]
mov cl, al
and cl, 1
mov byte [0x41591c], cl
mov cl, al
and cl, 2
and al, 4
push 0x415924
mov dword [ebp + 0x6c], edx
mov byte [0x41591d], cl
mov byte [0x41591e], al
mov byte [0x41591f], 1
call fcn.004067a7
push 0x415908
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 + 0x6c], edx
call fcn.00401443
cmp dword [ebp + 0x44], 0
push eax
mov dword [ebp + 0x6c], edx
push esi
jne 0x402203
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 + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp + 8], eax
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 4], eax
movzx eax, word [ebx]
neg eax
sbb eax, eax
and eax, ebx
mov dword [ebp], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp + 4], 0x451000
call fcn.00405e63
test eax, eax
je 0x401761
test byte [ebp - 0x10], 0x40
je case.0x40162a.67
push dword [ebp + 0x24]
call fcn.004065da
push dword [ebp + 0x24]
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.0040511f
push esi
call fcn.00405e20
mov esi, eax
test esi, esi
je 0x401761
cmp dword [ebp + 0x40], 0
je 0x4022ec
push esi
call fcn.004065da
cmp dword [ebp + 0x3c], 0
jl 0x4022e1
push eax
push dword [ebp + 0x60]
call fcn.00406308
jmp 0x4022ec
test eax, eax
je 0x4022ec
mov dword [ebp + 0x70], 1
push esi
jmp 0x402298
push 2
pop esi
call fcn.00401460
push eax
call fcn.00406494
mov esi, eax
test esi, esi
je 0x402316
push dword [esi + 0x14]
push dword [ebp + 0x60]
call fcn.00406308
push dword [esi + 0x18]
jmp 0x40170e
mov ecx, dword [ebp + 0x60]
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 + 0x24]
push eax
push ebx
push 9
call fcn.0040652b
call eax
mov ecx, dword [ebp + 0x60]
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.0040652b
push 0xb
mov dword [ebp + 0x30], eax
call fcn.0040652b
push dword [ebp + 0x7c]
mov dword [ebp + 0x64], eax
push esi
push 0
push ebx
call dword [ebp + 0x30]
test eax, eax
je 0x4023c5
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x6c]
push eax
push 0x4092b0
push dword [ebp + 0x7c]
call dword [ebp + 0x64]
test eax, eax
je 0x4023c5
mov eax, dword [ebp + 0x6c]
push dword [eax + 8]
push edi
call fcn.00406308
mov eax, dword [ebp + 0x6c]
push dword [eax + 0xc]
push dword [ebp + 0x60]
call fcn.00406308
and dword [ebp + 0x70], 0
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x40162a.67
cmp dword [0x445b38], 0
mov dword [ebp + 0x70], 1
jl 0x40249f
push 0xfffffffffffffff0
pop esi
call fcn.00401460
xor esi, esi
inc esi
mov edi, eax
call fcn.00401460
cmp dword [ebp + 0x48], 0
mov dword [ebp + 0x7c], eax
je 0x40240f
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x402420
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402498
push dword [ebp + 0x7c]
push esi
call fcn.00406598
mov edi, eax
test edi, edi
je 0x40246a
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x40], 0
je 0x402450
push dword [ebp + 0x40]
call fcn.00401432
call edi
test eax, eax
je 0x402474
mov dword [ebp + 0x70], 1
jmp 0x402474
push section..data
push 0x40b104
push ebx
push 0x400
push dword [ebp + 0x5c]
call edi
add esp, 0x14
jmp 0x402474
push dword [ebp + 0x7c]
push 0xfffffffffffffff7
call fcn.0040511f
cmp dword [ebp + 0x44], 0
jne case.0x40162a.67
push esi
call fcn.00403ec6
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 + 0x60], eax
call fcn.00401460
push 2
pop esi
mov dword [ebp + 0x6c], eax
call fcn.00401460
push 0xffffffffffffffcd
pop esi
mov dword [ebp + 0x28], eax
call fcn.00401460
push 0x45
pop esi
mov dword [ebp + 0x24], eax
call fcn.00401460
push dword [ebp + 0x6c]
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x48]
mov ecx, eax
mov ebx, eax
mov edi, eax
sar eax, 0x10
and ecx, 0xfff
and eax, 0xffff
sar edi, 0xc
mov dword [ebp + 0x58], ecx
and ebx, 0x8000
and edi, 7
mov dword [ebp + 0x64], eax
call fcn.00405f22
test eax, eax
jne 0x40251a
push 0x21
pop esi
call fcn.00401460
lea eax, [ebp + 0x7c]
push eax
push 0x409ad4
push 1
push 0
push 0x409af4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4025e7
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x30]
push edx
push 0x409ae4
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x4025da
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
test ebx, ebx
jne 0x402575
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
push 0x451000
push eax
call dword [ecx + 0x24]
test edi, edi
je 0x402583
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 + 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp + 0x24]
cmp word [ecx], 0
je 0x4025a5
push dword [ebp + 0x58]
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 + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test esi, esi
jl 0x4025d1
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x60]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x30]
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 0x4025f5
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.00406494
test eax, eax
jne 0x402631
push 0
push 0xfffffffffffffff9
call fcn.0040511f
jmp 0x401761
mov eax, dword [ebp + 0x5c]
push edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 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 + 0x40]
push esi
push ecx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x22], esi
mov word [ebp + 0x18], ax
call fcn.0040511f
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x40162a.67
jmp 0x402623
cmp eax, 0xbadf00d
jne 0x401ebc
inc dword [0x445b14]
jmp case.0x40162a.67
xor ebx, ebx
xor edi, edi
mov dword [ebp + 0x7c], ebx
cmp eax, ebx
je 0x4026b1
xor esi, esi
call fcn.00401460
mov edx, dword [ebp + 0x3c]
mov edi, eax
test edx, edx
je 0x4026c0
push 0x11
pop esi
call fcn.00401460
mov dword [ebp + 0x7c], eax
cmp dword [ebp + 0x48], ebx
je 0x4026cf
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 + 0x6c], eax
call fcn.00401460
push eax
push 0x3ff
push edi
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x40190b
cmp dword [ebp + 0x48], 0
mov edi, edx
jne 0x40275f
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 0x402777
push 0x22
pop esi
call fcn.00401460
mov ecx, dword [ebp + 0x48]
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 + 0x4c]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x50]
push 2
pop esi
mov dword [ebp + 0x30], eax
call fcn.00401460
push 0x11
pop esi
mov dword [ebp + 0x64], eax
call fcn.00401460
lea ecx, [ebp + 0x6c]
push ecx
push 0x100022
push eax
mov eax, edi
mov dword [ebp + 0x70], 1
call fcn.00401498
push eax
call fcn.0040625a
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [ebp + 0x6c]
je case.0x40162a.67
xor esi, esi
xor eax, eax
cmp dword [ebp + 0x7c], 1
mov edi, 0x40c108
jne 0x4027f7
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 0x402810
push 3
pop ecx
call fcn.00401443
push 4
mov dword [0x40c108], eax
mov dword [ebp + 0x24], edx
pop eax
cmp dword [ebp + 0x7c], 3
jne 0x40283a
push dword [ebp + 0x54]
mov ecx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x44]
push 0x1800
push edi
push esi
push ecx
push eax
cmp dword [0x445a90], esi
je 0x402834
push 1
jmp 0x402835
push esi
call fcn.004032b2
push eax
push edi
push dword [ebp + 0x30]
push esi
push dword [ebp + 0x64]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402851
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 + 0x6c]
push ecx
push edi
lea ecx, [ebp + 0x7c]
push ecx
push 0
push eax
push ebx
mov dword [ebp + 0x6c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4028d9
cmp dword [ebp + 0x7c], 4
je 0x4028c1
cmp dword [ebp + 0x7c], ecx
je 0x4028b0
cmp dword [ebp + 0x7c], 2
jne 0x4028d9
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x70], eax
xor eax, eax
mov word [edi + 0x7fe], ax
jmp 0x402851
push dword [edi]
xor eax, eax
cmp dword [ebp + 0x48], eax
push edi
sete al
mov dword [ebp + 0x70], eax
call fcn.00406308
jmp 0x402851
xor eax, eax
mov word [edi], ax
mov dword [ebp + 0x70], ecx
jmp 0x402851
mov eax, 0x20019
call fcn.004014aa
push 3
pop ecx
mov esi, eax
call fcn.00401443
mov dword [ebp + 0x6c], 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 + 0x48], edx
je 0x402925
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402941
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 0x402941
mov dword [ebp + 0x70], 1
xor eax, eax
mov word [edi + 0x7fe], ax
push esi
jmp 0x402852
push edi
call fcn.00406321
test eax, eax
je case.0x40162a.67
push eax
jmp 0x402298
push 0xffffffffffffffed
pop esi
call fcn.00401460
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push eax
call fcn.00406054
cmp eax, 0xffffffff
jne 0x401c92
xor eax, eax
mov word [edi], ax
jmp 0x401761
mov eax, dword [ebp + 0x40]
xor ebx, ebx
cmp esi, 0x3a
sete bl
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x4029b8
xor ecx, ecx
inc ecx
call fcn.00401443
mov word [0x40b908], ax
xor eax, eax
test ebx, ebx
sete al
mov dword [ebp + 0x6c], edx
inc eax
jmp 0x4029ea
cmp esi, 0x3a
jne 0x4029ee
push 0x21
pop esi
call fcn.00401460
xor eax, eax
push eax
push eax
push 0x400
mov esi, 0x40b908
push esi
push 0xffffffffffffffff
push 0x40c108
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x402a00
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.00406321
or ebx, dword [ebp + 0x7c]
mov edi, eax
jne 0x402a2b
cmp dword [ebp + 0x44], ebx
je 0x402a2b
push edi
push edi
call fcn.00406135
test eax, eax
jl 0x401761
push esi
push 0x40b908
push edi
call fcn.00406106
jmp 0x401759
push 2
pop ecx
xor esi, esi
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x28], ecx
call fcn.00401443
cmp eax, 1
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x6c], eax
jl case.0x40162a.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402a67
mov dword [ebp + 0x6c], ecx
xor ebx, ebx
cmp word [edi], bx
je 0x402bd1
push edi
mov dword [ebp + 0x64], ebx
call fcn.00406321
cmp dword [ebp + 0x6c], ebx
mov dword [ebp + 0x58], eax
jle 0x402bd1
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp + 0x34], 0x3b
jne 0x402b65
push ebx
lea eax, [ebp + 0x24]
push eax
push 2
pop eax
sub eax, dword [ebp + 0x44]
push eax
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402bd1
mov ecx, dword [ebp + 0x24]
cmp ecx, ebx
je 0x402bd1
movzx ax, byte [ebp + 0x7c]
movzx eax, ax
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x5c], eax
cmp dword [ebp + 0x44], ebx
jne 0x402b92
push 1
lea eax, [ebp + 0x5c]
push eax
push ecx
lea eax, [ebp + 0x7c]
push eax
push 8
push ebx
call edi
test eax, eax
jne 0x402b8d
mov esi, dword [ebp + 0x28]
neg esi
dec dword [ebp + 0x24]
mov eax, 0xfffd
mov dword [ebp + 0x5c], eax
je 0x402b2e
dec dword [ebp + 0x28]
push 1
push ebx
inc esi
push esi
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x24]
lea eax, [ebp + 0x7c]
push eax
push 8
push ebx
call edi
test eax, eax
je 0x402af7
mov eax, dword [ebp + 0x5c]
mov esi, dword [ebp + 0x30]
cmp dword [ebp + 0x44], ebx
jne 0x402b92
cmp word [ebp + 0x64], 0xd
je 0x402ba3
cmp word [ebp + 0x64], 0xa
je 0x402ba3
mov ecx, dword [ebp + 0x60]
mov word [ecx + esi*2], ax
movzx ecx, ax
inc esi
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x64], ecx
cmp ax, bx
je 0x402bd1
cmp esi, dword [ebp + 0x6c]
jl 0x402a8d
jmp 0x402bd1
cmp dword [ebp + 0x44], ebx
jne 0x402b7b
cmp esi, ebx
jne 0x402b7b
push ebx
push dword [ebp + 0x58]
call fcn.00406135
test eax, eax
jl 0x402bd1
push 2
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x58]
call fcn.004060d7
test eax, eax
je 0x402bd1
mov eax, dword [ebp + 0x5c]
jmp 0x402b31
movzx eax, ax
push eax
push dword [ebp + 0x60]
call fcn.00406308
jmp 0x402ef8
cmp word [ebp + 0x64], ax
je 0x402bbf
cmp ax, 0xd
je 0x402bb5
cmp ax, 0xa
jne 0x402bbf
mov ecx, dword [ebp + 0x60]
mov word [ecx + esi*2], ax
inc esi
jmp 0x402bd1
mov eax, dword [ebp + 0x28]
push 1
push ebx
neg eax
push eax
push dword [ebp + 0x58]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x60]
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 + 0x44]
mov dword [ebp + 0x6c], edx
push 0
push eax
push edi
call fcn.00406321
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x3c], 0
jl case.0x40162a.67
push eax
push dword [ebp + 0x60]
jmp 0x40170f
push edi
call fcn.00406321
test eax, eax
je case.0x40162a.67
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x40162a.67
push dword [ebp + 0x60]
call fcn.00406321
test eax, eax
je 0x401911
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x401911
jmp 0x402c8f
push 2
pop esi
call fcn.00401460
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402c86
mov ecx, dword [ebp + 0x60]
xor eax, eax
mov word [ecx], ax
jmp 0x402981
push eax
push dword [ebp + 0x60]
call fcn.00406308
lea eax, [ebp - 0x238]
push eax
push edi
call fcn.004063c1
jmp case.0x40162a.67
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.00401460
mov edi, eax
push edi
mov dword [ebp + 0x24], edi
call fcn.00405f22
test eax, eax
jne 0x402cc5
push 0xffffffffffffffec
pop esi
call fcn.00401460
push edi
call fcn.0040602e
push 2
push 0x40000000
push edi
call fcn.00406054
mov dword [ebp + 0x64], eax
cmp eax, 0xffffffff
je 0x402db0
mov eax, dword [0x445aa4]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp + 0x6c], eax
call esi
xor edi, edi
mov dword [ebp + 0x7c], eax
cmp eax, edi
je 0x402da5
push edi
call fcn.004031df
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
call fcn.00403183
push dword [ebp + 0x44]
push 0x40
call esi
mov esi, eax
mov dword [ebp + 0x30], esi
cmp esi, edi
je 0x402d6e
push dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x40]
push dword [ebp + 0x44]
mov eax, dword [ebp + 0x3c]
push esi
push edi
push ecx
push eax
cmp dword [0x445a90], edi
je 0x402d41
push 1
jmp 0x402d42
push edi
call fcn.004032b2
jmp 0x402d60
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.0040600a
add esi, ebx
cmp byte [esi], 0
jne 0x402d49
push dword [ebp + 0x30]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x6c]
push dword [ebp + 0x7c]
push dword [ebp + 0x64]
call fcn.00406106
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0x50]
push edi
push edi
push dword [ebp + 0x64]
push 0xffffffffffffffff
push 0xffffffffffffffff
cmp dword [0x445a90], edi
je 0x402d9d
push 1
jmp 0x402d9e
push edi
call fcn.004032b2
mov ebx, eax
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402db2
xor edi, edi
cmp ebx, edi
push 0xfffffffffffffff3
pop esi
jge 0x402dcc
push 0xffffffffffffffef
pop esi
push dword [ebp + 0x24]
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 + 0x6c], edx
cmp edi, dword [0x445a4c]
jae 0x401761
mov eax, dword [ebp + 0x40]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x445a48]
test eax, eax
jl 0x402e16
mov ecx, dword [esi + eax*4]
jne 0x402e10
add esi, 0x18
push esi
push dword [ebp + 0x60]
jmp 0x402c97
push ecx
jmp 0x402c14
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp + 0x40], ecx
je 0x402e30
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x3c], eax
jmp 0x402e43
push dword [ebp + 0x48]
lea eax, [esi + 0x18]
push eax
call fcn.004067a7
or dword [esi + 8], 0x100
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov dword [esi + eax*4], ecx
cmp dword [ebp + 0x44], 0
je case.0x40162a.67
push edi
call fcn.00401186
jmp case.0x40162a.67
xor ecx, ecx
call fcn.00401443
mov dword [ebp + 0x6c], edx
cmp eax, 0x20
jae 0x401761
xor esi, esi
cmp dword [ebp + 0x44], esi
je 0x402e9a
cmp dword [ebp + 0x40], esi
je 0x402e8f
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x40162a.67
push esi
call fcn.004012f1
jmp 0x402c13
cmp dword [ebp + 0x40], esi
je 0x402eb1
mov ecx, dword [ebp + 0x3c]
mov edx, dword [0x445a30]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40162a.67
mov ecx, dword [0x445a30]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 0x60]
call fcn.004067a7
jmp case.0x40162a.67
mov ecx, dword [0x43fd80]
xor esi, esi
push esi
and ecx, eax
push ecx
push 0xb
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x38], esi
je case.0x40162a.67
push esi
push esi
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0x70]
add dword [0x445b08], eax
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4