Function at 0x401510
Capabilities:
Check for foreground window switch
Check for software breakpoints
Check for time delay via gettickcount
Get graphical window text
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x134c
call fcn.004b9d80
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1d], 0
lea ebx, [edi + 1]
jne 0x401549
cmp byte [0x4e8051], 0
mov dword [ebp + 0xc], ebx
jne 0x401549
mov byte [0x4e8051], bl
mov byte [esp + 0x1d], bl
cmp dword [0x4ea18c], edi
je 0x40157d
cmp dword [0x4ea17c], edi
je 0x40156b
mov eax, dword [0x4ea174]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4ea17c], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea18c], edi
mov dword [0x4ea174], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x40159d
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x58], 1
mov dword [esp + 0x68], edi
jmp 0x4015bb
cmp esi, 5
setle al
mov byte [esp + 0x58], al
test al, al
je 0x4015b1
mov dword [esp + 0x68], edi
jmp 0x4015bb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x68], eax
cmp dword [0x4e8988], edi
je 0x4015c8
call fcn.004034d0
mov byte [esp + 0x16], 0
cmp dword [0x4eac90], edi
je 0x4015e3
call fcn.004032c0
test al, al
je 0x4015e3
mov byte [esp + 0x16], 1
cmp esi, edi
jle 0x40181b
cmp dword [ebp + 0xc], ebx
jne 0x40181b
add dword [0x4e805c], ebx
cmp byte [0x4e804b], 0
mov byte [esp + 0x1f], 1
jne 0x401625
mov ecx, dword [0x4e7ef0]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4e804b], dl
mov byte [esp + 0x4b], 0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x64], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x24], esi
jle 0x401825
cmp byte [esp + 0x1e], 0
jne 0x401825
cmp byte [0x4e8051], 0
jne 0x401832
call fcn.00403af0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x401633
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x40169b
mov dword [0x4eace0], eax
inc dword [esp + 0x64]
cmp dword [0x4ea16c], 0
je 0x4016d7
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0xcc]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00403540
add esp, 0x10
test al, al
jne 0x401633
mov edx, dword [0x4e8688]
mov ebx, dword [esp + 0x28]
test edx, edx
je 0x401e4b
test ebx, ebx
je 0x401e4b
cmp ebx, dword [0x4e7ef0]
je 0x401e4b
mov eax, dword [esp + 0x2c]
cmp eax, 0x414
je 0x401e4b
cmp eax, 0x402
je 0x401e4b
add eax, 0xffffff00
cmp eax, 9
ja 0x401cb8
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x401cae
call fcn.004a4720
mov ebx, eax
test ebx, ebx
je 0x401cae
mov eax, esi
call fcn.0047ae70
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x401cae
mov eax, dword [edi + 0x74]
test eax, eax
je 0x401779
lea ecx, [esp + 0x28]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401633
cmp dword [esp + 0x2c], 0x100
mov esi, dword [esp + 0x30]
jne 0x401c5b
cmp byte [edi + 0xc0], 0
je 0x401ba9
cmp esi, 0x22
je 0x4017b5
cmp esi, 0x21
je 0x4017b5
cmp esi, 9
je 0x4017b5
cmp esi, 0x25
je 0x4017b5
cmp esi, 0x27
jne 0x401ba9
mov eax, dword [esp + 0x24]
mov ebx, edi
call fcn.004013b0
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x401b97
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401b97
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], 0
cmp al, 0x13
jne 0x401ac5
mov dword [esp + 0x18], ebx
cmp esi, 0x25
je 0x4017ff
cmp esi, 0x27
jne 0x401ac5
cmp esi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov ecx, ebx
mov edx, edi
call fcn.0048a5c0
jmp 0x401633
mov byte [esp + 0x1f], 0
jmp 0x401625
cmp byte [0x4e8051], 0
je 0x4019bf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4019bf
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ea158]
jne 0x4019bf
cmp dword [0x4e808c], 0
je 0x4018b4
push 0x20
lea edx, [esp + 0x164]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.32770
lea eax, [esp + 0x160]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4018a6
test dx, dx
je 0x4018a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4018a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401880
xor eax, eax
jmp 0x4018ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x401909
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4019bf
push 0x20
lea ecx, [esp + 0x164]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
mov esi, dword [sym.imp.MSVCR100.dll__wcsicmp]
lea edx, [esp + 0x160]
push str.SysTreeView32
push edx
call esi
add esp, 8
test eax, eax
je 0x401909
lea eax, [esp + 0x160]
push str.SysListView32
push eax
call esi
add esp, 8
test eax, eax
jne 0x4019bf
call fcn.00403af0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x38]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x40194f
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x38]
push edx
call edi
jmp 0x401a3a
mov ebx, dword [esp + 0x38]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x38]
push eax
call edi
push 1
test eax, eax
jne 0x401983
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x38]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a3a
mov edx, dword [esp + 0x3c]
sub edx, ebx
test edx, edx
jle 0x4019a8
push 0x1ff
push 0
push 0
lea eax, [esp + 0x38]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a3a
push esi
push 0x20e
push 0
lea ecx, [esp + 0x38]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x401a3a
cmp dword [0x4e4a2c], 0
je 0x401a18
cmp dword [0x4e8080], 0
jne 0x401a18
mov eax, dword [0x4e4b24]
cmp byte [eax + 0xec], 0
jne 0x401a0f
cmp byte [eax + 0xee], 0
jne 0x401a0f
cmp dword [eax + 0xe0], 0xffffffff
jle 0x401a0f
call ebx
mov edx, eax
mov eax, dword [0x4e4b24]
sub edx, dword [eax + 0xdc]
cmp edx, dword [eax + 0xe0]
jb 0x401a0f
mov byte [eax + 0xec], 1
movzx eax, byte [eax + 0xec]
jmp 0x401a1a
xor eax, eax
neg eax
sbb eax, eax
push 1
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x40169b
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x24]
cmp ecx, 3
jbe 0x401a54
mov dword [0x4eace0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401a73
cmp byte [esp + 0x4b], 0
jne 0x401a73
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x4b], 1
jmp 0x401633
cmp dword [esp + 0x64], 0
jne 0x401a9a
cmp byte [esp + 0x58], 0
je 0x401a9a
test esi, esi
jle 0x401a8d
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x64], 1
jmp 0x401633
call ebx
cmp byte [esp + 0x58], 0
jne 0x403150
mov edx, dword [esp + 0x68]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x403150
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401633
cmp esi, 0x25
je 0x401b9b
cmp esi, 0x27
je 0x401b9b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b97
mov esi, dword [esp + 0x30]
cmp esi, 9
jne 0x401b13
cmp byte [ebx + 4], 0xc
jne 0x401b13
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
jne 0x401b97
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x18], 0
jne 0x401b3b
mov bl, byte [ebx + 6]
mov ecx, edi
call fcn.0048a300
mov dword [esp + 0x18], eax
test eax, eax
jne 0x401b3b
xor bl, bl
call fcn.0048a300
mov dword [esp + 0x18], eax
test eax, eax
je 0x401b9b
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401b97
mov eax, dword [esp + 0x30]
cmp eax, 0x22
je 0x401b81
cmp eax, 9
jne 0x401b6c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b81
xor al, al
push 1
push 1
mov ecx, esi
mov edx, edi
push eax
call fcn.0048a5c0
jmp 0x401633
mov eax, 1
push eax
push eax
push eax
mov ecx, esi
mov edx, edi
call fcn.0048a5c0
jmp 0x401633
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x2c], 0x100
jne 0x401c5b
cmp esi, 0x1b
je 0x401be5
cmp esi, 9
je 0x401be5
cmp esi, 0x41
jne 0x401c5b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov edx, 0x8000
test dx, ax
je 0x401c57
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
jne 0x401c57
mov eax, dword [esp + 0x24]
mov ebx, edi
call fcn.004013b0
mov dword [esp + 0x10], eax
test eax, eax
je 0x401c57
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401c57
mov esi, dword [esp + 0x30]
cmp esi, 0x1b
je 0x401c4b
cmp esi, 0x41
je 0x401c2e
test byte [eax + 5], 0x80
je 0x401c5b
mov eax, dword [eax]
push 0x4bbb48
push 1
push 0xc2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
test byte [eax + 5], 2
jne 0x401c5b
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
mov eax, edi
call fcn.00485970
jmp 0x401633
mov esi, dword [esp + 0x30]
mov eax, dword [0x4e9828]
test eax, eax
je 0x401ed7
cmp dword [esp + 0x2c], 0x100
jne 0x401ed7
cmp esi, 0xd
jne 0x401c90
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
cmp esi, 0x1b
jne 0x401ed7
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
mov ebx, dword [esp + 0x28]
mov edx, dword [0x4e8688]
mov eax, dword [esp + 0x2c]
cmp eax, 0x20a
je 0x401cce
cmp eax, 0x20e
jne 0x401df0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ebx, eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
call fcn.0047ae40
test eax, eax
je 0x401d54
cmp ebx, dword [esp + 0x28]
jne 0x401d22
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov edx, ebx
call fcn.00401430
test eax, eax
jne 0x401d54
cmp ebx, dword [esp + 0x28]
je 0x401d54
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov edx, ebx
call fcn.00401430
test eax, eax
je 0x401d54
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
mov ecx, dword [esp + 0x28]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.00401430
test eax, eax
jne 0x401ecc
mov edx, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edx
call ebx
mov esi, eax
call fcn.0047ae40
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x401ecc
mov edi, edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x3c]
mov edi, dword [esp + 0x2c]
mov edx, dword [esi + 4]
call fcn.00401430
test eax, eax
jne 0x401eae
mov eax, dword [esi + 4]
push eax
call ebx
mov edx, dword [0x4e8688]
mov esi, dword [0x4e8094]
xor ecx, ecx
test edx, edx
jle 0x401de4
mov edi, dword [esi + ecx*4]
cmp dword [edi + 4], eax
je 0x401e99
inc ecx
cmp ecx, edx
jl 0x401dd3
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
xor edi, edi
test edx, edx
jle 0x401e4f
mov eax, dword [0x4e4b24]
mov ecx, dword [0x4e8094]
mov byte [eax + 0xe8], 1
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xe4], edx
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40313e
mov edx, dword [0x4e8688]
mov eax, dword [0x4e4b24]
inc edi
mov byte [eax + 0xe8], 0
cmp edi, edx
jl 0x401dff
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x312
ja 0x402002
je case.0x402014.1026
cmp ecx, 0x100
ja 0x401f22
je 0x401ef9
cmp ecx, 0x12
je 0x401ee6
cmp ecx, 0x4b
jne case.0x402014.1027
mov dword [0x4e8028], 0
mov byte [esp + 0x1e], 1
jmp 0x401633
mov ecx, edi
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x401dec
mov esi, edi
jmp 0x401da0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401633
mov edx, dword [0x4e8688]
jmp 0x401dec
mov ebx, dword [esp + 0x28]
mov edx, dword [0x4e8688]
jmp 0x401df4
push 0
push 6
mov ecx, 0x4ea1d0
call fcn.0042b150
jmp 0x401633
cmp ebx, dword [0x4e7ef4]
jne case.0x402014.1027
cmp esi, 0x1b
jne case.0x402014.1027
mov edx, dword [0x4e7ef0]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401633
cmp ecx, 0x113
jne case.0x402014.1027
cmp dword [esp + 0x34], 0
jne case.0x402014.1027
cmp ebx, dword [0x4e7ef0]
jne case.0x402014.1027
cmp dword [0x4e8988], 0
je 0x401f53
call fcn.004034d0
cmp dword [0x4eac90], 0
je 0x401f6a
call fcn.004032c0
test al, al
je 0x401f6a
mov byte [esp + 0x16], 1
cmp dword [ebp + 0xc], 0
je 0x401633
cmp dword [ebp + 8], 1
jl 0x401633
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00403280
add esp, 8
test eax, eax
je 0x401633
cmp byte [esp + 0x1d], 0
je 0x401fa9
mov byte [0x4e8051], 0
cmp byte [esp + 0x1f], 0
je 0x401ff7
dec dword [0x4e805c]
test esi, esi
jle 0x401ff7
cmp dword [0x4e805c], 0
jne 0x401ff7
cmp dword [0x4eac90], 0
jne 0x401ff7
cmp dword [0x4e8988], 0
jne 0x401ff7
cmp byte [0x4e804b], 0
je 0x401ff7
mov eax, dword [0x4e7ef0]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401ff7
mov byte [0x4e804b], 0
mov al, byte [esp + 0x16]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x400]
cmp eax, 0x15
ja case.0x402014.1027
movzx eax, byte [eax + 0x4031e8]
jmp dword [eax*4 + 0x4031dc]
test ebx, ebx
je case.0x402014.1026
cmp ebx, dword [0x4e7ef0]
jne case.0x402014.1027
xor edi, edi
lea eax, [ecx - 0x401]
mov dword [esp + 0x24], edi
cmp eax, 0x14
ja case.0x402043.1027
movzx ecx, byte [eax + 0x403214]
jmp dword [ecx*4 + 0x403200]
xor eax, eax
cmp edx, edi
jle 0x402071
mov ecx, dword [0x4e8094]
jmp 0x402060
mov edi, dword [ecx + eax*4]
cmp dword [edi + 4], ebx
je 0x4020f1
inc eax
cmp eax, edx
jl 0x402060
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4030ef
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4ea158]
jne 0x4030ef
push 0x20
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.32770
lea eax, [esp + 0x160]
jmp 0x4020c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40308e
test dx, dx
je 0x4020ea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40308e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4020c0
xor eax, eax
jmp 0x403093
mov eax, edi
mov dword [esp + 0xc], eax
test eax, eax
je case.0x402014.1027
mov eax, dword [esp + 0x34]
movzx ecx, si
shr esi, 0x10
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x44], ebx
cmp ecx, 8
jne 0x402134
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc]
cmp esi, dword [eax + 0x10]
jae 0x402149
shl esi, 6
add esi, dword [eax + 0x18]
mov dword [esp + 0x10], esi
jmp 0x40214f
mov dword [esp + 0x10], ebx
mov esi, ebx
add ecx, 0xfffffffb
mov dword [esp + 0x60], ebx
mov byte [esp + 0x17], bl
cmp ecx, 4
ja case.default.0x402163
jmp dword [ecx*4 + 0x40322c]
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401633
mov edx, dword [esp + 0xc]
add edx, 0x3a
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x60]
test eax, eax
je 0x402194
cmp byte [eax], bl
jne 0x401633
xor ebx, ebx
jmp 0x4024a6
mov edi, dword [eax + 0x24]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401633
mov eax, dword [esp + 0xc]
add eax, 0x38
mov dword [esp + 0x60], eax
jmp 0x402184
mov edi, dword [eax + 0x28]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401633
mov ecx, dword [esp + 0xc]
add ecx, 0x39
mov dword [esp + 0x60], ecx
jmp 0x402184
mov edi, dword [eax + 0x34]
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x401633
xor ebx, ebx
jmp 0x4024a6
mov edi, dword [eax + 0x30]
mov esi, dword [eax + 0x68]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x40221c
cmp esi, ebx
je 0x401633
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x402194
cmp esi, ebx
je 0x401633
push esi
jmp 0x40253e
cmp esi, ebx
je 0x401633
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x402259
test byte [eax + 5], 1
je 0x401633
mov eax, dword [esp + 0xc]
call fcn.00485910
jmp 0x401633
test byte [eax + 5], 4
jne 0x401633
mov byte [esp + 0x17], 1
xor ebx, ebx
jmp 0x4024a6
cmp esi, edi
je 0x402292
call fcn.0047ae40
mov dword [esp + 0xc], eax
test eax, eax
jne 0x402296
test ebx, ebx
je 0x402296
cmp ebx, dword [0x4e7ef0]
jne case.0x402014.1027
jmp 0x402296
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x34]
mov eax, 0x4ea1d0
call fcn.00401400
mov dword [esp + 0x70], eax
test eax, eax
je 0x401633
mov edi, dword [eax + 8]
test edi, edi
je 0x401633
mov ecx, eax
mov ebx, dword [ecx + 0x18]
jmp 0x4024a2
cmp esi, dword [0x4e8990]
jae 0x401633
mov edx, dword [0x4e898c]
mov esi, dword [edx + esi*4]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x50], esi
test eax, eax
je 0x402350
mov ecx, dword [esi + 4]
push ecx
mov esi, eax
call fcn.004133b0
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
je 0x401633
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x10]
mov al, byte [eax]
cmp al, 1
je 0x402314
cmp al, 3
je 0x402314
mov dword [esp + 0x54], edi
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
push ecx
push esi
call fcn.00416520
cmp dword [esi + 0xc], edi
jne 0x401633
mov esi, dword [esp + 0x50]
cmp byte [esi + 0x2a], 0
je 0x402356
mov dx, word [esp + 0x34]
mov word [0x4eaca8], dx
mov edi, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x18], edi
jmp 0x4024aa
mov dword [esp + 0x54], edi
jmp 0x402318
xor eax, eax
mov word [0x4eaca8], ax
mov edi, dword [esi]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x18], edi
jmp 0x4024aa
cmp byte [0x4eac7c], 0
jne 0x401633
mov edi, dword [0x4eac70]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x402391
mov edi, dword [0x4ea81c]
mov dword [esp + 0x18], edi
xor ebx, ebx
jmp 0x4024a6
mov edx, dword [0x4e5d74]
mov eax, esi
and eax, 0x7fff
cmp ax, word [edx]
jae 0x401633
mov ecx, dword [0x4e896c]
movzx eax, ax
mov edx, dword [ecx + eax*4]
shr esi, 0x10
mov eax, esi
mov dword [esp + 0x6c], edx
test ax, ax
je 0x4023f8
mov ecx, edx
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
je 0x4023f0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
jne 0x4023db
mov esi, dword [esp + 0x5c]
test esi, esi
jne 0x402414
mov eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
call fcn.00413ed0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x401633
mov esi, eax
mov edi, dword [esi]
push edi
call fcn.004910f0
add esp, 4
sub eax, 0
je 0x402427
dec eax
jne 0x402432
mov edi, dword [edi + 8]
test edi, edi
je 0x402432
mov al, byte [edi]
jmp 0x402434
xor al, al
mov cl, byte [esi + 0x16]
cmp cl, byte [esi + 0x17]
jb 0x402474
cmp al, 0xe0
je 0x402474
cmp al, 0xcc
je 0x402474
cmp al, 0xda
je 0x402474
cmp al, 0xdb
je 0x402474
cmp al, 0xd6
je 0x402474
cmp al, 0xd7
je 0x402474
cmp al, 0xd8
je 0x402474
cmp al, 0xd9
je 0x402474
cmp byte [esi + 0x1a], 0
je 0x402466
mov byte [esi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
jmp 0x401633
mov eax, dword [esi + 4]
test eax, eax
je 0x402495
mov al, byte [eax]
cmp al, 2
je 0x402495
cmp al, 4
je 0x402495
cmp al, 5
jb 0x40249d
mov edx, dword [0x4e8074]
mov dword [esp + 0x54], edx
jmp 0x40249d
mov dword [esp + 0x54], 0
mov edi, dword [esi]
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x50]
push edi
call fcn.004910f0
add esp, 4
sub eax, 0
je 0x4024bb
dec eax
jne 0x4024c6
mov edi, dword [edi + 8]
test edi, edi
je 0x4024c6
mov al, byte [edi]
jmp 0x4024c8
xor al, al
mov ecx, dword [0x4e8060]
mov edx, dword [0x4e4a38]
mov byte [esp + 0x7c], al
cmp ecx, edx
jl 0x402526
add edx, 2
cmp ecx, edx
jge 0x402503
cmp al, 0xe0
je 0x402526
cmp al, 0xcc
je 0x402526
cmp al, 0xda
je 0x402526
cmp al, 0xdb
je 0x402526
cmp al, 0xd6
je 0x402526
cmp al, 0xd7
je 0x402526
cmp al, 0xd8
je 0x402526
cmp al, 0xd9
je 0x402526
mov eax, dword [esp + 0x24]
test eax, eax
je 0x401633
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], 0
jmp 0x401633
mov ecx, dword [0x4e4b24]
cmp ebx, dword [ecx + 0x2c]
jge 0x402554
mov eax, dword [esp + 0x24]
test eax, eax
je 0x401633
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x68], 0
jmp 0x401633
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x16], 1
cmp eax, 0x402
je 0x4025c4
cmp eax, 0x413
jbe 0x402576
cmp eax, 0x415
jbe 0x40260f
mov ecx, dword [0x4eac38]
mov edx, dword [0x4eaca0]
mov dword [0x4eac3c], ecx
mov dword [0x4eaca4], edx
cmp eax, 0x401
jne 0x4025aa
mov eax, dword [esi + 4]
mov dword [0x4eac38], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eaca0], eax
jmp 0x40260f
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x1c]
mov dword [0x4eac38], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eaca0], eax
jmp 0x40260f
mov edi, dword [esp + 0x70]
mov eax, dword [edi]
push 0x104
push eax
push 0x4ea824
call dword [sym.imp.MSVCR100.dll_wcsncpy]
xor ecx, ecx
mov word [0x4eaa2c], cx
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
add esp, 0xc
push 0x104
push eax
push 0x4eaa2e
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
xor ecx, ecx
mov word [0x4eac36], cx
mov dword [0x4ea820], edi
mov edi, dword [0x4e86f0]
cmp byte [edi + 0x17], 0
jne 0x40261e
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x40262b
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x402648
test byte [edi + 0x15], 4
je 0x402643
push edi
mov ecx, 0x4ea1d0
call fcn.0044a460
mov eax, dword [edi + 8]
jmp 0x402658
cmp al, 2
jne 0x402653
call fcn.00401000
jmp 0x402658
mov eax, 0x4e9868
push 0x7f
push eax
lea edx, [esp + 0x1a8]
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
mov ecx, dword [esp + 0x88]
add esp, 0xc
xor eax, eax
push ecx
push eax
mov word [esp + 0x2a6], ax
push ebx
mov al, 1
call fcn.00403920
mov ebx, dword [0x4e4b24]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4eace4], eax
mov dword [0x4eace0], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffbff
cmp eax, 0x14
ja case.0x4026b9.1027
movzx edx, byte [eax + 0x403254]
jmp dword [edx*4 + 0x403240]
mov esi, dword [esp + 0xc]
xor eax, eax
mov word [esp + 0x88], ax
cmp byte [esp + 0x17], al
je 0x4026dc
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
jmp 0x4026df
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x44]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
mov edx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov dword [eax + 4], 0
add edi, edx
lea eax, [ecx - 5]
mov dword [esp + 0x44], edi
cmp eax, 4
ja case.default.0x402715
jmp dword [eax*4 + 0x40326c]
xor eax, eax
cmp dword [esp + 0x20], eax
mov dword [esp + 0x20], 0
sete al
cmp dword [esp + 0x10], 0
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x40], eax
je 0x402807
cmp dword [ebx + 0x34], edx
jne 0x40275f
mov esi, dword [esp + 0x10]
lea eax, [ebx + 0x3c]
push eax
call fcn.0048af10
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x4027ec
dec eax
je 0x4027da
dec eax
jne 0x402807
cmp dword [ebx + 0x34], 1
jne 0x402795
push eax
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402803
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xa8]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0xb4], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
lea edx, [esp + 0xa8]
push edx
push 0
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402803
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x4027fc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0
push 0x19f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 4]
lea esi, [ebx + 0x3c]
call fcn.0049f970
mov eax, edi
add eax, eax
cmp dword [esp + 0x10], 0
mov ecx, 1
lea eax, [esp + eax*8 + 0xd0]
je 0x402843
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
add edi, ecx
mov dword [eax + 8], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
jmp 0x402851
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4bd2c4
mov edx, edi
add edx, edx
mov dword [esp + edx*8 + 0xd8], ecx
mov dword [esp + edx*8 + 0xd4], 0
lea eax, [esp + edx*8 + 0xd0]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
add edi, ecx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xd0]
xor eax, eax
add edi, ecx
cmp dword [ebx + 0x34], 3
mov dword [esi + 8], ecx
sete al
cdq
mov dword [esi + 4], edx
mov dword [esi], eax
mov eax, dword [ebx + 0x3c]
mov edx, edi
add edx, edx
lea esi, [esp + edx*8 + 0xd0]
cdq
mov dword [esi], eax
add edi, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov eax, edi
add eax, eax
lea esi, [esp + eax*8 + 0xd0]
mov eax, dword [ebx + 0x40]
cdq
mov dword [esi + 8], ecx
add edi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
jmp 0x402bee
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x34], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], edx
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov ecx, dword [ecx + 4]
call fcn.0049f970
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
and eax, 0xffffffef
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esp + 0x24]
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0xd0]
push edx
mov dword [esp + 0x48], ecx
call fcn.0047d300
mov ecx, dword [esp + 0x48]
add esp, 4
cmp dword [esp + 0x10], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x40296f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x402988
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0xd0]
mov dword [eax + 8], 0
mov dword [eax], 0x4bd2c4
mov edx, dword [esp + 0xc]
mov esi, dword [esi]
add edi, 2
mov eax, edi
add eax, eax
cmp byte [edx + 0xc8], 0
lea ecx, [esp + eax*8 + 0xd0]
mov dword [esp + 0x44], ecx
je 0x4029ba
mov eax, dword [0x4ea160]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4029bc
mov eax, esi
mov ecx, dword [esp + 0x44]
cdq
mov dword [ecx + 4], edx
mov edx, dword [esp + 0xc]
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
lea ecx, [edi + 1]
add ecx, ecx
add edi, 2
cmp byte [edx + 0xc8], 0
lea esi, [esp + ecx*8 + 0xd0]
mov dword [esp + 0x44], edi
je 0x402a00
mov ecx, dword [0x4ea160]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x4c]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
jmp 0x402bf2
mov dword [ebx + 0x34], edx
cmp ecx, 8
jne 0x402bf2
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x20]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
mov dword [ebx + 0x3c], edx
mov dword [eax], esi
mov dword [eax + 8], 1
mov dword [eax + 4], 0
lea eax, [edi + 1]
add eax, eax
lea esi, [esp + eax*8 + 0xd0]
movzx eax, dx
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xc8], 0
je 0x402a7c
mov ecx, dword [0x4ea160]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x4c]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x78]
add edx, edx
mov dword [esi + 8], 1
lea esi, [esp + edx*8 + 0xd0]
mov edx, dword [esp + 0xc]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc8], 0
mov dword [esp + 0x44], edi
je 0x402ac4
mov ecx, dword [0x4ea160]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x4c]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
jmp 0x402bf2
mov edx, dword [esp + 0x10]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x402b12
cmp al, 0x19
jne 0x402bad
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.0049f970
mov esi, dword [esp + 0xc]
jmp 0x402ba9
cmp cl, 0x49
jne 0x402bad
lea eax, [esp + 0x88]
test ecx, 0x100
je 0x402b39
mov eax, 0x53
mov word [esp + 0x88], ax
jmp 0x402b4e
test ecx, 0x200
je 0x402b55
mov edx, 0x73
mov word [esp + 0x88], dx
lea eax, [esp + 0x8a]
test ecx, 0x400
je 0x402b64
mov edx, 0x46
jmp 0x402b71
test ecx, 0x800
je 0x402b77
mov edx, 0x66
mov word [eax], dx
add eax, 2
test ecx, 0x1000
je 0x402b89
mov ecx, 0x43
mov word [eax], cx
jmp 0x402b99
test ecx, 0x2000
je 0x402b9c
mov edx, 0x63
mov word [eax], dx
add eax, 2
xor ecx, ecx
mov word [eax], cx
mov dword [esp + 0x4c], 0x49
mov ecx, dword [esp + 0x4c]
mov edx, edi
add edx, edx
mov dword [ebx + 0x34], ecx
lea edx, [esp + edx*8 + 0xd0]
mov eax, ecx
mov dword [edx + 8], 0
call fcn.0047d2e0
mov dword [edx], eax
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x44], edi
cmp byte [esp + 0x17], 0
je 0x402d2c
mov eax, dword [esp + 0x10]
cmp byte [eax + 4], 0x17
jne 0x402d2c
push 0x10b8
lea ecx, [esp + 0x2a4]
push 0
push ecx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x2a0]
push eax
dec edx
push 0
mov dword [esp + 0x2ac], edx
mov edx, dword [ecx]
push 0x703
push edx
mov dword [esp + 0x2b0], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x402d90
cmp word [esp + 0x310], 0
lea eax, [esp + 0x310]
jne 0x402c76
lea eax, [esp + 0x2b0]
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4e86f0]
push eax
call fcn.004a2810
mov esi, dword [0x4e86f0]
mov ecx, edi
add ecx, ecx
inc edi
cmp byte [esi + 0x17], 0
lea edx, [esp + ecx*8 + 0xd0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x44], edi
jne 0x402cae
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402cbb
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402cef
test byte [esi + 0x15], 4
je 0x402cd3
push esi
mov ecx, 0x4ea1d0
call fcn.0044a460
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d90
cmp al, 2
jne 0x402d11
call fcn.00401000
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d90
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0xc]
mov eax, 0x4e9868
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d90
cmp word [esp + 0x88], 0
je 0x402d57
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0xd0]
inc edi
lea edx, [esp + 0x88]
mov dword [esp + 0x44], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402d7d
cmp ecx, 5
je 0x402d7d
mov ecx, dword [0x4e86f0]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x94]
push eax
push ecx
call fcn.004a2810
jmp 0x402d90
mov edx, dword [esp + 0x20]
mov eax, dword [0x4e86f0]
push 0x18
push 0
push edx
call fcn.004010e0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xc4], eax
add dword [esi + 0x20], 2
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x38], edx
mov ebx, dword [esp + 0x60]
test ebx, ebx
je 0x402dbe
mov byte [ebx], 1
jmp 0x402dcd
cmp byte [esp + 0x17], 0
je 0x402dcd
mov eax, dword [esp + 0x10]
or byte [eax + 5], 4
lea eax, [esp + 0x80]
push eax
push edi
lea ecx, [esp + 0xd8]
push ecx
push 0x4bbaf8
lea edx, [esp + 0x28]
push edx
call fcn.00491070
cmp dword [esi + 4], 0
je 0x402e90
test ebx, ebx
je 0x402e3d
cmp dword [esp + 0x4c], 6
mov byte [ebx], 0
jne 0x402e4c
cmp dword [esp + 0x80], 0
jne 0x402e90
mov edi, dword [esp + 0x18]
push edi
call fcn.004910f0
add esp, 4
test eax, eax
jne 0x402e28
test edi, edi
jne 0x402e90
mov eax, esi
call fcn.00485910
mov esi, dword [esp + 0xc]
call fcn.0047d120
jmp 0x403048
cmp byte [esp + 0x17], 0
je 0x402e4c
mov eax, dword [esp + 0x10]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x4c], 5
jne 0x402e90
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
or eax, 0x10
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [esp + 0xc]
call fcn.0047d120
jmp 0x403048
mov edi, dword [esp + 0xc]
xor esi, esi
cmp edi, esi
je 0x402ec2
mov eax, dword [edi + 4]
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0x34], 1
add dword [edi + 0x20], 2
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], edi
mov eax, 0x4ea1d0
mov dword [esp + 0x138], esi
mov dword [esp + 0x130], 0x4ea824
call fcn.004602d0
push esi
xor ecx, ecx
push 3
mov dword [esp + 0x14c], ecx
lea ecx, [esp + 0x138]
push ecx
push str.Menu
lea edx, [esp + 0x28]
inc eax
push edx
mov dword [esp + 0x15c], 1
mov dword [esp + 0x154], eax
mov dword [esp + 0x16c], esi
mov dword [esp + 0x164], 0x4eaa2e
call fcn.00491070
cmp edi, esi
je 0x403048
mov esi, dword [esp + 0xc]
call fcn.0047d120
jmp 0x403048
mov eax, dword [esp + 0x54]
mov dword [ebx + 0xc4], eax
mov cl, byte [esi + 0x21]
mov byte [ebx + 0xf6], cl
call fcn.004164a0
jmp 0x403048
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402f87
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x402f80
push 0xf
call esi
test eax, eax
jne 0x402f80
mov eax, 2
jmp 0x402f89
mov eax, 1
jmp 0x402f89
xor eax, eax
push 0x18
push 0
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4e86f0]
call fcn.004010e0
mov edx, dword [ebx + 0x38]
push 0x4bbb4c
mov dword [esp + 0xc4], 1
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], 0
mov byte [0x4eac7c], 1
call fcn.0040b7b0
mov ecx, dword [0x4eac70]
test ecx, ecx
je 0x402fe1
call fcn.004012a0
mov ecx, dword [0x4eac70]
cmp dword [esp + 0x30], 0
jne 0x403004
xor eax, eax
test ecx, ecx
sete al
lea ecx, [esp + 0xb8]
push eax
push 1
push ecx
push 0x4eac50
call fcn.00491200
sub dword [0x4e9884], 0xc
mov byte [0x4eac7c], 0
jmp 0x403048
mov ecx, dword [esp + 0x6c]
mov al, byte [ecx + 0x10]
cmp al, 0x9c
jb 0x40302a
cmp al, 0x9f
ja 0x40302a
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 0xc4], eax
mov dl, byte [esi + 0x18]
push esi
push ecx
mov byte [ebx + 0xf6], dl
call fcn.004142a0
lea eax, [esp + 0x1a0]
push eax
call fcn.00403a20
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401633
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00403280
add esp, 8
test eax, eax
je 0x401633
mov byte [esp + 0x1e], 1
mov byte [esp + 0x58], 1
jmp 0x401633
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4030ef
mov eax, dword [0x4e4b24]
lea edx, [esp + 0x28]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x2c]
push edx
push esi
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x4030e2
cmp dword [0x4e808c], 0
je 0x4030d1
push 0x4e86f8
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x4e4b24]
mov byte [eax + 0xe8], 0
jmp 0x401633
mov ecx, dword [0x4e4b24]
mov byte [ecx + 0xe8], 0
mov eax, dword [0x4e7f04]
test eax, eax
je 0x403112
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [0x4e7ef0]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401633
mov eax, dword [0x4e4b24]
mov byte [eax + 0xe8], 1
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x28]
push edx
mov dword [eax + 0xe4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [0x4e4b24]
mov byte [ecx + 0xe8], 0
jmp 0x401633
cmp esi, 0xffffffff
jle 0x40316e
mov dword [0x4eacd0], 0
mov dword [0x4eacd4], 0
mov dword [0x4eace0], eax
cmp byte [esp + 0x1d], 0
mov dword [0x4eace4], eax
je 0x403181
mov byte [0x4e8051], 0
cmp byte [esp + 0x1f], 0
je 0x401ff7
dec dword [0x4e805c]
test esi, esi
jle 0x401ff7
cmp dword [0x4e805c], 0
jne 0x401ff7
cmp dword [0x4eac90], 0
jne 0x401ff7
cmp dword [0x4e8988], 0
jne 0x401ff7
cmp byte [0x4e804b], 0
je 0x401ff7
mov edx, dword [0x4e7ef0]
push 9
push edx
jmp 0x401fe6