Function at 0x401433
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
mov ebp, esp
sub esp, 0x2ec
push ebx
mov eax, dword [0x42c268]
push esi
mov esi, dword [ebp + 8]
push edi
push 9
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov esi, section..ndata
mov edi, eax
shl ecx, 0xb
add ecx, esi
xor ebx, ebx
shl edi, 0xb
mov dword [ebp - 0x38], ecx
lea ecx, [edx - 2]
add edi, esi
cmp ecx, 0x45
mov dword [ebp - 4], ebx
ja case.0x401480.68
jmp dword [ecx*4 + 0x402eef]
push ebx
push eax
call fcn.00405b9f
jmp 0x402569
inc dword [0x42b22c]
cmp dword [ebp - 8], ebx
je 0x402569
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x402569
push eax
call fcn.0040136d
dec eax
push ebx
push eax
call fcn.00401389
jmp case.0x401480.2
push ebx
push eax
call fcn.00405b9f
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
pop ecx
cmp eax, 1
pop ecx
mov dword [ebp - 0x30], edx
jg 0x4014e4
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401480.68
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401480.68
cmp dword [ebp - 0x20], ebx
jg 0x401533
jne 0x401514
shl eax, 2
mov ecx, dword [eax + 0x42c300]
mov dword [eax + 0x42c360], ecx
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx*4 + 0x42c300], eax
jmp case.0x401480.68
shl eax, 2
mov ecx, dword [eax + 0x42c360]
mov dword [eax + 0x42c300], ecx
jmp case.0x401480.68
mov eax, dword [ebp - 0x20]
lea esi, [eax*4 + 0x42c300]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x28]
mov dword [esi], ecx
jmp case.0x401480.2
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x42c300]
push edi
jmp 0x402e50
mov ecx, dword [0x42b230]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ecx, ebx
je 0x401591
push dword [ebp - 0x24]
push ecx
call esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x42b244]
cmp ecx, ebx
je case.0x401480.68
push eax
push ecx
call esi
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 0xfffffffffffffff0
push eax
call fcn.0040305f
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401480.68
jmp 0x402b6f
lea eax, [ebp - 0x28]
push 0xfffffffffffffff0
push eax
call fcn.0040305f
push eax
mov dword [ebp + 8], eax
call fcn.00406510
mov esi, eax
cmp esi, ebx
je 0x40163e
push 0x5c
push esi
call fcn.0040644e
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x401611
cmp dword [ebp - 0x20], ebx
je 0x401611
call fcn.0040611d
test eax, eax
je 0x401611
push dword [ebp + 8]
call fcn.00406083
jmp 0x401619
push dword [ebp + 8]
call fcn.00406100
cmp eax, ebx
je 0x401634
cmp eax, 0xb7
jne 0x401631
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401634
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x4015e4
cmp dword [ebp - 0x24], ebx
je 0x401670
push 0xffffffffffffffe6
call fcn.00401422
push dword [ebp + 8]
push 0x438000
call fcn.00406b96
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401480.68
inc dword [ebp - 4]
jmp case.0x401480.68
push 0xfffffffffffffff5
jmp 0x4024b1
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
push eax
call fcn.00406ecc
jmp 0x401e76
lea eax, [ebp - 0x28]
push 0xffffffffffffffd0
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffdf
push eax
call fcn.0040305f
mov edi, eax
lea eax, [ebp - 0x28]
push 0x13
push eax
call fcn.0040305f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4016c4
push 0xffffffffffffffe3
jmp 0x4024b1
cmp dword [ebp - 0x20], ebx
je 0x402b6f
push esi
call fcn.00406ecc
test eax, eax
je 0x402b6f
push edi
push esi
call fcn.00406956
push 0xffffffffffffffe4
jmp 0x4024b1
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov edi, dword [ebp - 0x38]
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x401731
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x40173b
cmp word [eax], bx
je 0x40173b
push esi
call fcn.00406ecc
cmp eax, ebx
je 0x401731
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00406b96
jmp 0x40173b
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x20], ebx
jne case.0x401480.68
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
push eax
call fcn.0040305f
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401480.68
jmp 0x402b39
lea eax, [ebp - 0x28]
push 0xffffffffffffffef
push eax
call fcn.0040305f
push eax
push edi
call fcn.004066b5
jmp 0x4015bd
lea eax, [ebp - 0x28]
push 0x31
push eax
call fcn.0040305f
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push dword [ebp - 8]
and eax, 7
mov dword [ebp + 8], eax
call fcn.004064dc
push dword [ebp - 8]
mov edi, 0x40c648
test eax, eax
je 0x4017cb
push edi
call fcn.00406b96
jmp 0x4017e2
push 0x438000
push edi
call fcn.00406b96
push eax
call fcn.00406421
push eax
call sub.KERNEL32.dll_lstrcatW
push edi
call fcn.00406e1d
cmp dword [ebp + 8], 3
jl 0x40181f
push edi
call fcn.00406ecc
xor ecx, ecx
cmp eax, ebx
je 0x40180a
lea ecx, [ebp - 0x18]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x40182a
push edi
call fcn.00406661
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.00406686
cmp eax, 0xffffffff
mov dword [ebp - 0x3c], eax
jne 0x4018ba
cmp dword [ebp + 8], ebx
jne 0x40189c
push esi
push 0x40d648
call fcn.00406b96
push edi
push esi
call fcn.00406b96
push dword [ebp - 0x10]
push 0x40ce48
call fcn.00406bd3
push 0x40d648
push esi
call fcn.00406b96
mov eax, dword [ebp - 0x28]
sar eax, 3
push eax
push 0x40ce48
call fcn.004061b2
sub eax, 4
je 0x4017e8
dec eax
je 0x4018af
push edi
push 0xfffffffffffffffa
jmp 0x401489
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00405b9f
cmp dword [ebp + 8], 2
jmp 0x4015bf
inc dword [0x42c308]
jmp 0x402ee6
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00405b9f
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
inc dword [0x42c334]
cmp dword [ebp - 0x2c], 0x15
push ebx
push ebx
push dword [ebp - 0x3c]
push ecx
push eax
jne 0x4018e4
push 1
jmp 0x4018e5
push ebx
call fcn.004036de
dec dword [0x42c334]
cmp dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x34], eax
mov esi, edx
jne 0x401901
cmp dword [ebp - 0x14], 0xffffffff
je 0x401913
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jg case.0x401480.68
jl 0x40192f
cmp dword [ebp - 0x34], ebx
jae case.0x401480.68
cmp dword [ebp - 0x34], 0xfffffffe
jne 0x40194d
cmp esi, 0xffffffff
jne 0x40194d
push 0xffffffffffffffe9
push edi
call fcn.00406bd3
push dword [ebp - 8]
push edi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401955
push 0xffffffffffffffee
push edi
call fcn.00406bd3
push 0x200010
push edi
jmp 0x402564
cmp dword [0x40c034], 0xffffffff
mov dword [ebp - 4], 1
je 0x401984
cmp dword [0x42c280], ebx
je case.0x401480.68
mov dword [ebp - 4], ebx
jmp case.0x401480.68
cmp dword [0x42c280], ebx
je case.0x401480.68
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov edi, eax
push edi
call fcn.004064dc
test eax, eax
jne 0x4019d3
mov esi, 0x40ce48
push 0x43a800
push esi
call fcn.00406b96
push esi
call fcn.00406498
push eax
push esi
call fcn.00406b96
push esi
push 0x40c018
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call fcn.00406e1d
push 3
push 0x80000000
push edi
call fcn.00406686
mov dword [0x40c034], eax
cmp eax, 0xffffffff
jmp 0x401976
push ebx
jmp 0x401a2b
lea eax, [ebp - 0x28]
push 0x31
push eax
call fcn.0040305f
push dword [ebp - 0x28]
push eax
call fcn.004061b2
cmp eax, ebx
je 0x402b6f
cmp eax, dword [ebp - 0x20]
je 0x401bb6
cmp eax, dword [ebp - 0x18]
jne case.0x401480.68
mov eax, dword [ebp - 0x14]
jmp case.0x401480.2
push 0xfffffffffffffff0
lea eax, [ebp - 0x28]
push eax
call fcn.0040305f
push dword [ebp - 0x24]
push eax
call fcn.0040625e
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040305f
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x402864
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push 3
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
mov esi, eax
mov eax, dword [ebp - 0x34]
add esp, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], esi
push 1
push eax
mov dword [ebp - 0x4c], edx
call fcn.0040305f
push eax
mov dword [ebp - 0x44], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x30], ebx
mov word [edi], bx
jne 0x401aa4
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x401480.68
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
jge 0x401abf
lea esi, [eax + ecx]
cmp esi, ebx
jl case.0x401480.68
cmp esi, eax
jle 0x401ac5
mov esi, eax
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*2]
push eax
push edi
call fcn.00406b96
cmp dword [ebp + 8], ebx
jge 0x401ae5
push edi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401ae5
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x401480.68
mov word [edi + eax*2], bx
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 0x20
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0x31
push eax
call fcn.0040305f
cmp dword [ebp - 0x18], ebx
push eax
push esi
jne 0x401b31
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401bb6
mov eax, dword [ebp - 0x20]
jmp case.0x401480.2
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401b21
xor esi, esi
lea eax, [ebp - 0x28]
inc esi
push esi
push eax
call fcn.0040305f
push 0x400
push edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401b6d
cmp dword [ebp - 0x20], ebx
je 0x401b73
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401b73
mov dword [ebp - 4], esi
mov word [edi], bx
mov word [edi + 0x7fe], bx
jmp case.0x401480.68
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
mov edi, eax
lea eax, [ebp - 0x28]
push 1
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
add esp, 0x10
cmp esi, ebx
mov dword [ebp - 0x30], edx
jne 0x401bb2
cmp edi, eax
jl 0x401bb6
jle 0x401b29
jmp 0x401bc4
cmp edi, eax
jae 0x401bbe
mov eax, dword [ebp - 0x1c]
jmp case.0x401480.2
jbe 0x401b29
mov eax, dword [ebp - 0x18]
jmp case.0x401480.2
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040303f
mov esi, eax
lea eax, [ebp - 0x28]
push 2
push eax
mov dword [ebp - 0x30], edx
mov dword [ebp + 8], esi
call fcn.0040303f
mov ecx, eax
mov eax, dword [ebp - 0x1c]
add esp, 0x10
cmp eax, 0xd
mov dword [ebp - 0x30], edx
ja case.default.0x401bfe
jmp dword [eax*4 + 0x403007]
add esi, ecx
jmp 0x401fad
sub esi, ecx
jmp 0x401fad
imul ecx, esi
jmp 0x401c32
cmp ecx, ebx
je 0x401c6f
mov eax, esi
cdq
idiv ecx
mov esi, eax
jmp 0x401fad
or ecx, esi
jmp 0x401c32
and ecx, esi
jmp 0x401c32
xor ecx, esi
mov esi, ecx
jmp 0x401fad
xor eax, eax
cmp esi, ebx
sete al
jmp 0x401c21
cmp esi, ebx
jne 0x401c57
jmp 0x401c53
xor esi, esi
jmp 0x401fad
cmp esi, ebx
je 0x401c48
cmp ecx, ebx
je 0x401c48
xor esi, esi
inc esi
jmp 0x401fad
cmp ecx, ebx
je 0x401c6f
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp 0x401fad
xor esi, esi
mov dword [ebp - 4], 1
jmp 0x401fad
shl esi, cl
jmp 0x401fad
sar esi, cl
jmp 0x401fad
shr esi, cl
jmp 0x401fad
mov esi, dword [ebp + 8]
jmp 0x401fad
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
push eax
push esi
push edi
mov dword [ebp - 0x30], edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp case.0x401480.68
mov eax, dword [ebp - 0x20]
mov esi, dword [0x40ee48]
cmp eax, ebx
je 0x401d17
dec eax
cmp esi, ebx
je 0x402556
mov esi, dword [esi]
cmp eax, ebx
jne 0x401cd3
cmp esi, ebx
je 0x402556
add esi, 4
mov edi, 0x40c648
push esi
push edi
call fcn.00406b96
mov eax, dword [0x40ee48]
add eax, 4
push eax
push esi
call fcn.00406b96
mov eax, dword [0x40ee48]
push edi
add eax, 4
push eax
jmp 0x402d2d
cmp dword [ebp - 0x24], ebx
je 0x401d41
cmp esi, ebx
je 0x402b6f
lea eax, [esi + 4]
push eax
push edi
call fcn.00406b96
mov eax, dword [esi]
push esi
mov dword [0x40ee48], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401480.68
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x28]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406bd3
mov eax, dword [0x40ee48]
mov dword [esi], eax
mov dword [0x40ee48], esi
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 3
push eax
call fcn.0040303f
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push 4
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
add esp, 0x10
mov dword [ebp - 0x30], edx
test byte [ebp - 0x14], 1
mov dword [ebp + 8], eax
je 0x401da7
lea eax, [ebp - 0x28]
push 0x33
push eax
call fcn.0040305f
mov dword [ebp - 0x3c], eax
test byte [ebp - 0x14], 2
je 0x401dbb
lea eax, [ebp - 0x28]
push 0x44
push eax
call fcn.0040305f
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], 0x23
lea eax, [ebp - 0x28]
push 1
push eax
jne 0x401e18
call fcn.0040303f
mov esi, eax
lea eax, [ebp - 0x28]
push 2
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
mov ecx, dword [ebp - 0x14]
add esp, 0x10
sar ecx, 2
mov dword [ebp - 0x30], edx
je 0x401e08
lea edx, [ebp - 0x4c]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e4f
push dword [ebp + 8]
push dword [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401e4c
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0x12
push eax
call fcn.0040305f
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [esi]
neg ax
sbb eax, eax
push ecx
and eax, esi
push eax
push dword [ebp + 8]
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x28], ebx
jl case.0x401480.68
push dword [ebp - 0x4c]
jmp 0x401572
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401b29
mov eax, dword [ebp - 0x24]
jmp case.0x401480.2
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
mov esi, eax
lea eax, [ebp - 0x28]
push 1
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
add esp, 0x10
mov dword [ebp - 0x30], edx
push esi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x402864
mov eax, dword [0x42c2c8]
mov ecx, dword [ebp - 0x24]
push ebx
lea esi, [eax + ecx]
lea eax, [ebp - 0x28]
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401480.68
test byte [ebp - 0x1b], 1
je 0x401ef5
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
jmp 0x401f01
push dword [ebp - 0x20]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, ecx
mov esi, ecx
and eax, 3
and esi, 4
mov dword [ebp - 0x4c], eax
mov eax, ecx
shr eax, 0x1f
mov dword [ebp - 0x3c], eax
mov eax, ecx
shr eax, 0x1e
and eax, 1
test ecx, 0x10000
mov dword [ebp - 0x54], eax
je 0x401f3c
lea eax, [ebp - 0x28]
push 0x11
push eax
call fcn.0040305f
jmp 0x401f40
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
and eax, 0xfef0
push eax
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x4c]
neg esi
push dword [ebp - 0x44]
sbb esi, esi
and esi, dword [0x42c260]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
push esi
push dword [ebp - 0x4c]
push 0x172
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je 0x401fa4
cmp dword [ebp - 0x4c], ebx
jne 0x401fa4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x28], ebx
jl case.0x401480.68
push esi
jmp 0x401572
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp - 0x30], edx
push 0x48
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
push dword [ebp - 8]
neg eax
mov dword [0x40c5e8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x28]
push 3
push eax
call fcn.0040303f
pop ecx
mov dword [0x40c5f8], eax
mov al, byte [ebp - 0x18]
pop ecx
push dword [ebp - 0x24]
mov cl, al
and cl, 1
mov dword [ebp - 0x30], edx
mov byte [0x40c5fc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c604
mov byte [0x40c5fd], cl
mov byte [0x40c5fe], al
mov byte [0x40c5ff], 1
call fcn.00406bd3
push 0x40c5e8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402864
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
mov esi, eax
lea eax, [ebp - 0x28]
push 1
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
add esp, 0x10
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], edx
push eax
push esi
jne 0x40207f
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401480.68
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0x31
push eax
call fcn.0040305f
mov ebx, eax
lea eax, [ebp - 0x28]
push 0x22
push eax
call fcn.0040305f
mov edi, eax
lea eax, [ebp - 0x28]
push 0x15
push eax
call fcn.0040305f
push 0xffffffffffffffec
call fcn.00401422
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x8c], ebx
and eax, esi
mov dword [ebp - 0x90], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x84], 0x438000
and eax, edi
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00406178
test eax, eax
je 0x402b6f
test byte [ebp - 0x98], 0x40
je case.0x401480.68
push dword [ebp - 0x64]
call fcn.0040700e
push dword [ebp - 0x64]
jmp 0x402183
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00405b9f
push esi
call fcn.00406135
mov esi, eax
cmp esi, ebx
je 0x402b6f
cmp dword [ebp - 0x20], ebx
je 0x402182
push esi
call fcn.0040700e
cmp dword [ebp - 0x24], ebx
jl 0x402177
push eax
push dword [ebp - 0x38]
call fcn.00406add
jmp 0x402182
cmp eax, ebx
je 0x402182
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040305f
push eax
call fcn.00406ecc
mov esi, eax
cmp esi, ebx
je 0x4021b8
push dword [esi + 0x14]
push dword [ebp - 0x38]
call fcn.00406add
push dword [esi + 0x18]
jmp 0x401572
mov eax, dword [ebp - 0x38]
mov word [edi], bx
mov word [eax], bx
jmp 0x402b6f
lea eax, [ebp - 0x28]
push 0xffffffffffffffee
push eax
call fcn.0040305f
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], eax
push ecx
push eax
push 0xa
call fcn.00406f63
call eax
mov esi, eax
mov eax, dword [ebp - 0x38]
mov word [edi], bx
cmp esi, ebx
mov word [eax], bx
mov dword [ebp - 4], 1
je case.0x401480.68
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401480.68
push 0xb
call fcn.00406f63
push 0xc
mov dword [ebp - 0x54], eax
call fcn.00406f63
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push esi
push ebx
push dword [ebp - 0x4c]
call dword [ebp - 0x54]
test eax, eax
je 0x40226f
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x40c014
push dword [ebp + 8]
call dword [ebp - 0x3c]
test eax, eax
je 0x40226f
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
push dword [eax + ecx*4 + 8]
push edi
call fcn.00406add
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
push dword [ecx + eax*4 + 0xc]
push dword [ebp - 0x38]
call fcn.00406add
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401d36
cmp dword [0x42c340], ebx
mov dword [ebp - 4], 1
jl 0x40234b
lea eax, [ebp - 0x28]
push 0xfffffffffffffff0
push eax
call fcn.0040305f
mov edi, eax
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040305f
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x44], eax
je 0x4022b8
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4022c9
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x402344
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.00406fd2
mov edi, eax
cmp edi, ebx
je 0x402313
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
je 0x4022f9
push dword [ebp - 0x20]
call fcn.00401422
call edi
test eax, eax
je 0x40231d
mov dword [ebp - 4], 1
jmp 0x40231d
push section..data
push 0x40ee48
push esi
push 0x400
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x40231d
push dword [ebp - 0x44]
push 0xfffffffffffffff7
call fcn.00405b9f
cmp dword [ebp - 0x1c], ebx
jne case.0x401480.68
push dword [ebp + 8]
call fcn.0040418c
test eax, eax
je case.0x401480.68
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401480.68
push 0xfffffffffffffff6
jmp 0x4024b1
push 0xffffffffffffffe7
jmp 0x4024b1
lea eax, [ebp - 0x28]
push 0xfffffffffffffff0
push eax
call fcn.0040305f
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffdf
push eax
call fcn.0040305f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040305f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffcd
push eax
call fcn.0040305f
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x28]
push 0x45
push eax
call fcn.0040305f
push dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov edi, eax
mov esi, eax
and ecx, 0xfff
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
mov dword [ebp - 0x60], ecx
and edi, 0x8000
and esi, 7
mov dword [ebp - 0x54], eax
call fcn.004064dc
test eax, eax
jne 0x4023d8
lea eax, [ebp - 0x28]
push 0x21
push eax
call fcn.0040305f
lea eax, [ebp + 8]
push eax
push 0x40a510
push 1
push ebx
push 0x40a500
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4024a8
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
push edx
push 0x40a520
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x3c], eax
jl 0x40249a
mov eax, dword [ebp + 8]
push dword [ebp - 0x44]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp edi, ebx
mov dword [ebp - 0x3c], eax
jne 0x402434
mov eax, dword [ebp + 8]
push 0x438000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x402442
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x5c]
cmp word [ecx], bx
je 0x402463
mov eax, dword [ebp + 8]
push dword [ebp - 0x60]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x3c], ebx
jl 0x402491
mov eax, dword [ebp - 0x4c]
push 1
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x3c], ebx
jge 0x4024bb
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401422
jmp case.0x401480.68
push 0xfffffffffffffff4
jmp 0x4024b1
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0x11
push eax
call fcn.0040305f
mov edi, eax
lea eax, [ebp - 0x28]
push 0x23
push eax
call fcn.0040305f
push esi
mov dword [ebp + 8], eax
call fcn.00406ecc
test eax, eax
jne 0x4024fd
push ebx
push 0xfffffffffffffff9
call fcn.00405b9f
jmp 0x402b6f
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 2
call sub.KERNEL32.dll_lstrlenW
push edi
mov word [esi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x66], eax
mov word [ebp - 0x70], cx
call fcn.00405b9f
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401480.68
jmp 0x4024f0
cmp eax, 0xbadf00d
je 0x402573
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406bd3
push eax
call fcn.004061b2
mov eax, 0x7fffffff
jmp case.0x401480.2
inc dword [0x42c314]
jmp case.0x401480.68
xor esi, esi
xor edi, edi
cmp eax, ebx
je 0x402592
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040305f
mov esi, eax
cmp dword [ebp - 0x24], ebx
je 0x4025a4
lea eax, [ebp - 0x28]
push 0x11
push eax
call fcn.0040305f
mov edi, eax
cmp dword [ebp - 0x18], ebx
je 0x4025b6
lea eax, [ebp - 0x28]
push 0x22
push eax
call fcn.0040305f
mov ebx, eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffcd
push eax
call fcn.0040305f
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4015bd
mov eax, dword [0x40c010]
push 1
mov dword [ebp + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040305f
mov esi, eax
lea eax, [ebp - 0x28]
push 0x12
push eax
call fcn.0040305f
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffdd
push eax
call fcn.0040305f
push eax
push 0x3ff
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp - 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [edi], 0xa
jmp 0x401776
cmp dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
jne 0x402657
push 2
push eax
call fcn.0040309d
mov esi, eax
cmp esi, ebx
je 0x402b6f
lea eax, [ebp - 0x28]
push 0x33
push eax
call fcn.0040305f
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40266e
push 0x22
push eax
call fcn.0040305f
mov ecx, dword [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push esi
call fcn.0040311c
mov edi, eax
cmp edi, ebx
je case.0x401480.68
jmp 0x402b6f
mov edi, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x10]
push 2
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040305f
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x11
push eax
call fcn.0040305f
push 2
push eax
push esi
mov dword [ebp - 4], 1
call fcn.004030ee
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401480.68
xor eax, eax
cmp edi, 1
mov esi, 0x40d648
jne 0x4026db
lea eax, [ebp - 0x28]
push 0x23
push eax
call fcn.0040305f
push esi
call sub.KERNEL32.dll_lstrlenW
lea eax, [eax + eax + 2]
cmp edi, 4
jne 0x4026f7
lea eax, [ebp - 0x28]
push 3
push eax
call fcn.0040303f
pop ecx
mov dword [0x40d648], eax
pop ecx
mov dword [ebp - 0x4c], edx
push edi
pop eax
cmp edi, 3
jne 0x402720
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp dword [0x42c280], ebx
push 0x1800
push esi
push ebx
push ecx
push eax
je 0x40271a
push 1
jmp 0x40271b
push ebx
call fcn.004036de
push eax
push esi
push dword [ebp - 0x30]
push ebx
push dword [ebp - 0x44]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402739
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x402825
lea eax, [ebp - 0x28]
push 0x20019
push eax
call fcn.0040309d
mov esi, eax
lea eax, [ebp - 0x28]
push 0x33
push eax
call fcn.0040305f
cmp esi, ebx
mov word [edi], bx
je 0x402b6f
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x800
push ecx
lea ecx, [ebp + 8]
push edi
push ecx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4027b5
cmp dword [ebp + 8], 4
je 0x4027a0
cmp dword [ebp + 8], ecx
je 0x402798
cmp dword [ebp + 8], 2
jne 0x4027b5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
jmp 0x40281d
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x18], ebx
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00406add
jmp 0x402824
mov word [edi], bx
mov dword [ebp - 4], ecx
jmp 0x402824
lea eax, [ebp - 0x28]
push 0x20019
push eax
call fcn.0040309d
mov esi, eax
lea eax, [ebp - 0x28]
push 3
push eax
call fcn.0040303f
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x30], edx
mov word [edi], bx
je 0x402b6f
cmp dword [ebp - 0x18], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x402801
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40281d
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40281d
mov dword [ebp - 4], 1
mov word [edi + 0x7fe], bx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401480.68
push edi
call fcn.00406af6
cmp eax, ebx
je case.0x401480.68
push eax
jmp 0x402183
lea eax, [ebp - 0x28]
push 0xffffffffffffffed
push eax
call fcn.0040305f
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00406686
cmp eax, 0xffffffff
je 0x402b6c
push eax
jmp 0x401572
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, 0x3a
mov dword [ebp - 0x30], eax
sete cl
cmp eax, ebx
mov esi, ecx
lea eax, [ebp - 0x28]
je 0x40289e
push 1
push eax
call fcn.0040303f
mov word [0x40ce48], ax
xor eax, eax
cmp esi, ebx
pop ecx
sete al
pop ecx
mov dword [ebp - 0x44], edx
inc eax
jmp 0x4028df
cmp edx, 0x3a
jne 0x4028cf
push 0x21
push eax
call fcn.0040305f
push 0x400
push 0x40ce48
push 0x40d648
call fcn.00406bb8
add esp, 0xc
push 0x40ce48
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x4028df
push 0x11
push eax
call fcn.0040305f
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [edi], bx
mov dword [ebp + 8], eax
je 0x402b6f
push edi
call fcn.00406af6
or esi, dword [ebp - 0x30]
mov edi, eax
jne 0x40290c
cmp dword [ebp - 0x1c], ebx
je 0x40290c
push edi
push edi
call fcn.00406767
test eax, eax
jl 0x402b6f
push dword [ebp + 8]
push 0x40ce48
push edi
call fcn.00406738
jmp 0x4015bd
push 2
mov dword [ebp - 8], ebx
pop eax
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040303f
pop ecx
cmp eax, 1
pop ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
jl case.0x401480.68
mov ecx, 0x3ff
cmp eax, ecx
jle 0x40294f
mov dword [ebp - 0x44], ecx
cmp word [edi], bx
je 0x402ab6
push edi
mov dword [ebp - 0x4c], ebx
call fcn.00406af6
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], eax
jle 0x402ab6
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp dword [ebp - 0x2c], 0x3b
jne 0x402a0c
lea eax, [ebp - 0x54]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402ab6
mov ecx, dword [ebp - 0x54]
cmp ecx, ebx
je 0x402ab6
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
jne 0x402a72
lea eax, [ebp - 0x60]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call esi
test eax, eax
jne 0x402a39
mov edi, dword [ebp - 0x5c]
neg edi
dec dword [ebp - 0x54]
mov eax, 0xfffd
mov dword [ebp - 0x60], eax
je 0x402a3c
dec dword [ebp - 0x5c]
inc edi
push 1
push ebx
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x60]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x54]
push eax
push 8
push ebx
call esi
test eax, eax
je 0x4029d6
jmp 0x402a39
cmp dword [ebp - 0x1c], ebx
jne 0x402a27
cmp dword [ebp - 8], ebx
jne 0x402a27
push ebx
push dword [ebp - 0x3c]
call fcn.00406767
test eax, eax
jl 0x402ab6
lea eax, [ebp - 0x60]
push 2
push eax
push dword [ebp - 0x3c]
call fcn.00406709
test eax, eax
je 0x402ab6
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x1c], ebx
jne 0x402a72
cmp word [ebp - 0x4c], 0xd
je 0x402a83
cmp word [ebp - 0x4c], 0xa
je 0x402a83
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
cmp ax, bx
mov word [ecx + edx*2], ax
mov dword [ebp - 0x4c], eax
je 0x402ab6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jl 0x402973
jmp 0x402ab6
movzx eax, ax
push eax
push dword [ebp - 0x38]
call fcn.00406add
jmp 0x402ee6
cmp word [ebp - 0x4c], ax
je 0x402aa4
cmp ax, 0xd
je 0x402a95
cmp ax, 0xa
jne 0x402aa4
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov word [ecx + edx*2], ax
jmp 0x402ab6
mov eax, dword [ebp - 0x5c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov word [ecx + eax*2], bx
jmp 0x4015bf
cmp word [edi], bx
je case.0x401480.68
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
push dword [ebp - 0x1c]
push ebx
push eax
push edi
call fcn.00406af6
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x24], ebx
jl case.0x401480.68
push eax
jmp 0x402e4d
push edi
call fcn.00406af6
cmp eax, ebx
je case.0x401480.68
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401480.68
push dword [ebp - 0x38]
call fcn.00406af6
cmp eax, ebx
je 0x402b39
lea ecx, [ebp - 0x2ec]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402b84
mov dword [ebp - 4], 1
mov word [edi], bx
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040305f
lea ecx, [ebp - 0x2ec]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402b7b
mov eax, dword [ebp - 0x38]
mov word [eax], bx
mov word [edi], bx
mov dword [ebp - 4], 1
jmp case.0x401480.68
push eax
push dword [ebp - 0x38]
call fcn.00406add
lea eax, [ebp - 0x2c0]
push eax
push edi
jmp 0x402d2d
lea eax, [ebp - 0x28]
push 0xfffffffffffffff0
push eax
mov edi, 0xfffffd66
or esi, 0xffffffff
call fcn.0040305f
push eax
mov dword [ebp - 0x44], eax
call fcn.004064dc
test eax, eax
jne 0x402bbc
lea eax, [ebp - 0x28]
push 0xffffffffffffffec
push eax
call fcn.0040305f
push dword [ebp - 0x44]
call fcn.00406661
push 2
push 0x40000000
push dword [ebp - 0x44]
call fcn.00406686
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402cbf
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
je 0x402c92
mov eax, dword [0x42c278]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 0x4c], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402c92
push ebx
call fcn.00403a9f
push dword [ebp - 0x4c]
push edi
call fcn.00403a43
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x30], esi
je 0x402c77
push dword [ebp - 0x14]
cmp dword [0x42c280], ebx
push dword [ebp - 0x1c]
push esi
push ebx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
je 0x402c4a
push 1
jmp 0x402c4b
push ebx
call fcn.004036de
jmp 0x402c6a
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x40], ecx
call fcn.00406641
add esi, dword [ebp - 0x40]
cmp byte [esi], bl
jne 0x402c52
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x4c]
push edi
push dword [ebp + 8]
call fcn.00406738
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or dword [ebp - 0x58], 0xffffffff
or dword [ebp - 0x54], 0xffffffff
push dword [ebp - 0x10]
cmp dword [0x42c280], ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
je 0x402cac
push 1
jmp 0x402cad
push ebx
call fcn.004036de
push dword [ebp + 8]
mov edi, eax
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
mov dword [ebp + 8], 0xfffffff3
jg 0x402ce7
jl 0x402cd0
cmp edi, ebx
jae 0x402ce7
push dword [ebp - 0x44]
mov dword [ebp + 8], 0xffffffef
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x4024b1
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
mov edi, eax
pop ecx
cmp edi, dword [0x42c2ac]
pop ecx
mov dword [ebp - 0x30], edx
jae 0x402b6f
mov esi, edi
mov eax, dword [ebp - 0x20]
imul esi, esi, 0x818
add esi, dword [0x42c2a8]
cmp eax, ebx
jl 0x402d3d
mov ecx, dword [esi + eax*4]
jne 0x402d37
add esi, 0x18
push esi
push dword [ebp - 0x38]
call fcn.00406b96
jmp case.0x401480.68
push ecx
jmp 0x402e4d
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x20], ecx
je 0x402d5c
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.0040303f
pop ecx
mov dword [ebp - 0x30], edx
pop ecx
mov dword [ebp - 0x24], eax
jmp 0x402d6c
push dword [ebp - 0x18]
lea eax, [esi + 0x18]
push eax
call fcn.00406bd3
or byte [esi + 9], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x1c], ebx
je case.0x401480.68
push edi
call fcn.0040117d
jmp case.0x401480.68
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0040303f
pop ecx
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x30], edx
jae 0x402b6f
cmp dword [ebp - 0x1c], ebx
je 0x402dc8
cmp dword [ebp - 0x20], ebx
je 0x402dbd
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x401480.68
push ebx
call fcn.004012e2
jmp 0x402afb
cmp dword [ebp - 0x20], ebx
je 0x402de2
mov edx, dword [0x42c274]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x401480.68
mov ecx, dword [0x42c274]
push dword [ecx + eax*4 + 0x94]
push dword [ebp - 0x38]
call fcn.00406bd3
jmp case.0x401480.68
mov eax, dword [ebp - 0x1c]
sub eax, ebx
je 0x402e5a
dec eax
jne case.0x401480.68
lea eax, [ebp - 0x28]
push 2
push eax
call fcn.0040303f
mov esi, eax
lea eax, [ebp - 0x28]
push 4
push eax
mov dword [ebp - 0x30], edx
call fcn.0040303f
movzx ecx, al
add esp, 0x10
mov dword [ebp - 0x30], edx
shr eax, 0x18
cmp esi, ebx
mov dword [ebp + 8], ebx
jne 0x402e3d
mov esi, 0x42c300
add eax, esi
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00406641
push dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.00406add
jmp case.0x401480.68
push 5
call fcn.00406f63
mov esi, eax
lea eax, [ebp - 0x28]
push 0x22
push eax
call fcn.0040305f
cmp esi, ebx
je 0x402ea9
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
jl 0x402ea9
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jl 0x402ea9
push dword [ebp + 8]
push dword [ebp - 0x38]
call fcn.00406b96
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x401480.68
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 1
mov word [eax], bx
jmp case.0x401480.68
mov ecx, dword [0x4276d8]
push ebx
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x28], ebx
je case.0x401480.68
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x42c308], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4