Function at 0x401420
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
push 0xffffffffffffffff
push 0x498b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12dc
call fcn.00494780
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x26], 0
lea ebx, [edi + 1]
jne 0x40146f
cmp byte [0x4ae43b], 0
mov dword [ebp + 0xc], ebx
jne 0x40146f
mov byte [0x4ae43b], bl
mov byte [esp + 0x26], bl
cmp dword [0x4af910], edi
je 0x4014a3
cmp dword [0x4af900], edi
je 0x401491
mov eax, dword [0x4af8f8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4af900], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4af910], edi
mov dword [0x4af8f8], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x4014c3
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov dword [esp + 0x70], edi
jmp 0x4014e1
cmp esi, 5
setle al
mov byte [esp + 0x60], al
test al, al
je 0x4014d7
mov dword [esp + 0x70], edi
jmp 0x4014e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x70], eax
cmp dword [0x4aeb48], edi
je 0x4014ee
call fcn.00403430
mov byte [esp + 0x1b], 0
cmp dword [0x4af85c], edi
je 0x401509
call fcn.00403240
test al, al
je 0x401509
mov byte [esp + 0x1b], 1
cmp esi, edi
jle 0x40173d
cmp dword [ebp + 0xc], ebx
jne 0x40173d
add dword [0x4ae448], ebx
cmp byte [0x4ae435], 0
mov byte [esp + 0x25], 1
jne 0x40154b
mov ecx, dword [0x4ae2d8]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4ae435], dl
mov byte [esp + 0x37], 0
mov byte [esp + 0x27], 0
mov dword [esp + 0x74], edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x20], esi
jle 0x401747
cmp byte [esp + 0x27], 0
jne 0x401747
cmp byte [0x4ae43b], 0
jne 0x401754
call fcn.00403a00
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x401559
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x4015c1
mov dword [0x4af8b0], eax
inc dword [esp + 0x74]
cmp dword [0x4af270], 0
je 0x4015fa
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea edi, [esp + 0x30]
call fcn.004034a0
add esp, 0x10
test al, al
jne 0x401559
cmp dword [0x4aea7c], 0
mov ebx, dword [esp + 0x3c]
je 0x401c6a
test ebx, ebx
je 0x401c6a
cmp ebx, dword [0x4ae2d8]
je 0x401c6a
mov eax, dword [esp + 0x40]
cmp eax, 0x414
je 0x401c6a
cmp eax, 0x402
je 0x401c6a
add eax, 0xffffff00
cmp eax, 9
ja 0x401bd1
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x401bd7
call fcn.00479fd0
mov edi, eax
test edi, edi
je 0x401bd7
mov eax, esi
call fcn.0045c7b0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x401bd7
mov eax, dword [esi + 0x74]
test eax, eax
je 0x40169b
lea ecx, [esp + 0x3c]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401559
cmp dword [esp + 0x40], 0x100
mov edi, dword [esp + 0x44]
jne 0x401b8a
cmp byte [esi + 0xb8], 0
je 0x401abc
cmp edi, 0x22
je 0x4016d7
cmp edi, 0x21
je 0x4016d7
cmp edi, 9
je 0x4016d7
cmp edi, 0x25
je 0x4016d7
cmp edi, 0x27
jne 0x401abc
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.004013a0
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x401aaa
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401aaa
mov edi, dword [esp + 0x44]
mov dword [esp + 0x20], 0
cmp al, 0x13
jne 0x4019d8
mov dword [esp + 0x20], ebx
cmp edi, 0x25
je 0x401721
cmp edi, 0x27
jne 0x4019d8
cmp edi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, esi
call fcn.004697b0
jmp 0x401559
mov byte [esp + 0x25], 0
jmp 0x40154b
cmp byte [0x4ae43b], 0
je 0x4018bf
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4018bf
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4af260]
jne 0x4018bf
cmp dword [0x4ae480], 0
je 0x4017b1
push 0x20
lea edx, [esp + 0xf4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0xf0]
push str.32770
push eax
call fcn.00488591
add esp, 8
test eax, eax
sete al
test al, al
jne 0x401806
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4018bf
push 0x20
lea ecx, [esp + 0xf4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0xf0]
push str.SysTreeView32
push edx
call fcn.00488441
add esp, 8
test eax, eax
je 0x401806
lea eax, [esp + 0xf0]
push str.SysListView32
push eax
call fcn.00488441
add esp, 8
test eax, eax
jne 0x4018bf
call fcn.00403a00
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x4c]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x40184c
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x4c]
push edx
call edi
jmp 0x40194d
mov ebx, dword [esp + 0x4c]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x4c]
push eax
call edi
push 1
test eax, eax
jne 0x401880
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40194d
mov edx, dword [esp + 0x50]
sub edx, ebx
test edx, edx
jle 0x4018a5
push 0x1ff
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40194d
push esi
push 0x20e
push 0
lea ecx, [esp + 0x4c]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40194d
cmp dword [0x4aa8fc], 0
je 0x40192b
cmp dword [0x4ae474], 0
jne 0x40192b
mov eax, dword [0x4aa988]
cmp byte [eax + 0xcc], 0
jne 0x401922
cmp byte [eax + 0xce], 0
jne 0x401922
cmp dword [eax + 0xc0], 0xffffffff
jle 0x401922
call ebx
mov edx, eax
mov eax, dword [0x4aa988]
sub edx, dword [eax + 0xbc]
cmp edx, dword [eax + 0xc0]
jb 0x401922
cmp byte [eax + 0xce], 0
mov byte [eax + 0xcc], 1
jne 0x401922
mov dword [eax + 0xb8], 5
movzx eax, byte [eax + 0xcc]
jmp 0x40192d
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 + 0x4c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x4015c1
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x20]
cmp ecx, 3
jbe 0x401967
mov dword [0x4af8b0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401986
cmp byte [esp + 0x37], 0
jne 0x401986
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x37], 1
jmp 0x401559
cmp dword [esp + 0x74], 0
jne 0x4019ad
cmp byte [esp + 0x60], 0
je 0x4019ad
test esi, esi
jle 0x4019a0
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x74], 1
jmp 0x401559
call ebx
cmp byte [esp + 0x60], 0
jne 0x403072
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x403072
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401559
cmp edi, 0x25
je 0x401aae
cmp edi, 0x27
je 0x401aae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401aaa
mov edi, dword [esp + 0x44]
cmp edi, 9
jne 0x401a26
cmp byte [ebx + 4], 0xc
jne 0x401a26
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x401aaa
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x20], 0
jne 0x401a4e
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.00469510
mov dword [esp + 0x20], eax
test eax, eax
jne 0x401a4e
xor bl, bl
call fcn.00469510
mov dword [esp + 0x20], eax
test eax, eax
je 0x401aae
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401aaa
mov eax, dword [esp + 0x44]
cmp eax, 0x22
je 0x401a94
cmp eax, 9
jne 0x401a7f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401a94
xor al, al
push 1
push 1
mov ecx, esi
push eax
mov eax, edi
call fcn.004697b0
jmp 0x401559
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.004697b0
jmp 0x401559
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x40], 0x100
jne 0x401b8a
cmp edi, 0x1b
je 0x401afe
cmp edi, 9
je 0x401afe
cmp edi, 0x41
jne 0x401b8a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x401b86
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x401b86
mov eax, dword [esp + 0x1c]
mov ebx, esi
call fcn.004013a0
mov dword [esp + 0x14], eax
test eax, eax
je 0x401b86
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401b86
mov edi, dword [esp + 0x44]
cmp edi, 0x1b
je 0x401b7a
cmp edi, 0x41
je 0x401b5d
test byte [eax + 5], 0x80
je 0x401b8a
mov eax, dword [eax]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x800
jne 0x401b86
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0x49b8a0
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401559
test byte [eax + 5], 2
jne 0x401b8a
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401559
mov eax, esi
call fcn.00465e40
jmp 0x401559
mov edi, dword [esp + 0x44]
mov eax, dword [0x4af210]
test eax, eax
je 0x401bdb
cmp dword [esp + 0x40], 0x100
jne 0x401bdb
cmp edi, 0xd
jne 0x401bb7
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401559
cmp edi, 0x1b
jne 0x401bdb
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x401559
mov edi, dword [esp + 0x44]
jmp 0x401bdf
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
xor esi, esi
cmp dword [0x4aea7c], esi
jle 0x401c72
mov eax, dword [0x4aea78]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401c07
cmp ecx, 0x106
je 0x401c49
mov ecx, dword [0x4aa988]
mov byte [ecx + 0xc8], 1
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc4], edx
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x401c58
mov ecx, dword [0x4aa988]
mov byte [ecx + 0xc8], al
mov eax, dword [0x4aea78]
mov ecx, dword [esp + 0x40]
inc esi
cmp esi, dword [0x4aea7c]
jl 0x401bf6
mov ebx, dword [esp + 0x3c]
jmp 0x401c6e
mov edx, dword [0x4aa988]
mov byte [edx + 0xc8], 0
jmp 0x401559
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
cmp ecx, 0x401
ja 0x401e91
cmp ecx, 0x400
jae 0x401eb2
cmp ecx, 0x100
ja 0x401ce5
je 0x401cc5
cmp ecx, 0x12
je 0x401cb2
cmp ecx, 0x4b
jne case.0x401ea7.1027
mov dword [0x4ae410], 0
mov byte [esp + 0x27], 1
jmp 0x401559
push 0
push 4
push 0x4af278
call fcn.00417b40
jmp 0x401559
cmp ebx, dword [0x4ae2dc]
jne case.0x401ea7.1027
cmp edi, 0x1b
jne case.0x401ea7.1027
mov eax, dword [0x4ae2d8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401559
cmp ecx, 0x113
je 0x401daf
cmp ecx, 0x312
je 0x401ec6
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x403011
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4af260]
jne 0x403011
push 0x20
lea edx, [esp + 0xf4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [esp + 0xf0]
push str.32770
push eax
call fcn.00488591
add esp, 8
test eax, eax
jne 0x403011
mov eax, dword [0x4aa988]
lea edx, [esp + 0x3c]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x40]
push edx
push esi
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x403004
cmp dword [0x4ae480], 0
je 0x401d9e
mov eax, dword [0x4ababc]
test eax, eax
je 0x401d92
mov eax, dword [eax]
test eax, eax
jne 0x401d97
mov eax, 0x49b8ad
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [0x4aa988]
mov byte [eax + 0xc8], 0
jmp 0x401559
cmp dword [esp + 0x48], 0
jne case.0x401ea7.1027
cmp ebx, dword [0x4ae2d8]
jne case.0x401ea7.1027
cmp dword [0x4aeb48], 0
je 0x401dd4
call fcn.00403430
cmp dword [0x4af85c], 0
je 0x401deb
call fcn.00403240
test al, al
je 0x401deb
mov byte [esp + 0x1b], 1
cmp dword [ebp + 0xc], 0
je 0x401559
cmp dword [ebp + 8], 1
jl 0x401559
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00403200
add esp, 8
test eax, eax
je 0x401559
cmp byte [esp + 0x26], 0
je 0x401e2a
mov byte [0x4ae43b], 0
cmp byte [esp + 0x25], 0
je 0x401e78
dec dword [0x4ae448]
test esi, esi
jle 0x401e78
cmp dword [0x4ae448], 0
jne 0x401e78
cmp dword [0x4af85c], 0
jne 0x401e78
cmp dword [0x4aeb48], 0
jne 0x401e78
cmp byte [0x4ae435], 0
je 0x401e78
mov eax, dword [0x4ae2d8]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401e78
mov byte [0x4ae435], 0
mov ecx, dword [esp + 0x12ec]
mov al, byte [esp + 0x1b]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x402]
cmp eax, 0x1c
ja case.0x401ea7.1027
movzx eax, byte [eax + 0x40310c]
jmp dword [eax*4 + 0x403100]
mov ecx, dword [esp + 0x40]
test ebx, ebx
je 0x401ec6
cmp ebx, dword [0x4ae2d8]
jne case.0x401ea7.1027
mov ecx, dword [esp + 0x40]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x20], edx
cmp eax, 0x1d
ja case.0x401ee2.1027
movzx ecx, byte [eax + 0x403148]
jmp dword [ecx*4 + 0x40312c]
mov esi, ebx
call fcn.0045c780
mov dword [esp + 0x10], eax
test eax, eax
je case.0x401ea7.1027
mov eax, dword [esp + 0x48]
movzx ecx, di
shr edi, 0x10
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x30], ebx
cmp ecx, 8
jne 0x401f34
mov dword [esp + 0x78], 0x2af8
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
cmp edi, dword [eax + 0x10]
jae 0x401f4c
mov esi, dword [eax + 0x18]
lea edx, [edi + edi*4]
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
jmp 0x401f50
mov dword [esp + 0x14], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x68], ebx
mov byte [esp + 0x1a], bl
cmp ecx, 4
ja case.default.0x401f64
jmp dword [ecx*4 + 0x403168]
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x401559
mov eax, dword [esp + 0x10]
add eax, 0x3a
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x401f95
cmp byte [eax], bl
jne 0x401559
xor edi, edi
jmp 0x402370
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x401559
mov ecx, dword [esp + 0x10]
add ecx, 0x38
mov dword [esp + 0x68], ecx
jmp 0x401f85
mov esi, dword [eax + 0x28]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x401559
mov edx, dword [esp + 0x10]
add edx, 0x39
mov dword [esp + 0x68], edx
jmp 0x401f85
mov esi, dword [eax + 0x34]
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x401559
xor edi, edi
jmp 0x402370
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x68]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x40201d
cmp edi, ebx
je 0x401559
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x401f95
cmp edi, ebx
je 0x401559
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x68], 0
jmp 0x401559
cmp dword [esp + 0x14], ebx
je 0x401559
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x402071
test byte [eax + 5], 1
je 0x401559
mov eax, dword [esp + 0x10]
call fcn.00465de0
jmp 0x401559
test byte [eax + 5], 4
jne 0x401559
mov byte [esp + 0x1a], 1
xor edi, edi
jmp 0x402370
cmp edi, edx
je 0x4020ac
mov esi, edi
call fcn.0045c780
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4020b0
test ebx, ebx
je 0x4020b0
cmp ebx, dword [0x4ae2d8]
jne case.0x401ea7.1027
jmp 0x4020b0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov eax, 0x4af278
call fcn.004013f0
mov dword [esp + 0x7c], eax
test eax, eax
je 0x401559
mov edx, eax
mov esi, dword [edx + 8]
test esi, esi
je 0x401559
mov edi, dword [eax + 0x18]
jmp 0x40236c
cmp edi, dword [0x4aeb50]
jae 0x401559
mov ecx, dword [0x4aeb4c]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x5c], edi
test esi, esi
je 0x402130
mov edx, dword [edi + 4]
push edx
call fcn.00409f90
add esp, 4
mov dword [esp + 0x58], eax
test eax, eax
je 0x401559
mov eax, edi
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 2
je 0x402167
cmp al, 4
je 0x402167
cmp al, 5
jb 0x402134
mov edx, dword [0x4ae468]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x48]
push eax
call fcn.0040cfb0
cmp dword [edi + 0xc], 0
jne 0x401559
mov eax, dword [esp + 0x5c]
mov cl, byte [eax + 0x2a]
neg cl
sbb cl, cl
and cl, byte [esp + 0x48]
mov byte [0x4af874], cl
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x40236c
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], 0
jmp 0x402134
cmp byte [0x4af848], dl
jne 0x401559
mov esi, dword [0x4af83c]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x402199
mov esi, dword [0x4af5f0]
mov dword [esp + 0x1c], esi
xor edi, edi
jmp 0x402370
mov eax, edi
call fcn.00435180
mov dword [esp + 0x2c], eax
test eax, eax
je 0x401559
mov edx, eax
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x358]
xor edi, edi
jmp 0x40236c
mov eax, dword [0x4aeae4]
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x401559
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x4021ee
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4021d6
jmp 0x401559
test eax, eax
je 0x401559
mov eax, dword [esp + 0x40]
cmp eax, 0x41c
jne 0x402210
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x35c]
jmp 0x402233
cmp eax, 0x41e
jne 0x402226
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x364]
jmp 0x402233
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x401559
xor edi, edi
jmp 0x402370
mov edx, dword [0x4abac4]
mov eax, edi
and eax, 0x7fff
cmp ax, word [edx]
jae 0x401559
mov ecx, dword [0x4aeb2c]
movzx eax, ax
mov ecx, dword [ecx + eax*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x84], ecx
test ax, ax
je 0x4022a7
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x64], edx
test ax, ax
je 0x40229f
mov edx, dword [esp + 0x64]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x64], edx
test ax, ax
jne 0x40228a
mov edi, dword [esp + 0x64]
test edi, edi
jne 0x4022de
cmp dword [esp + 0x40], 0x400
jne 0x4022c1
mov edx, dword [esp + 0x48]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x4022c3
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x64]
call fcn.0040aaa0
mov dword [esp + 0x64], eax
test eax, eax
je 0x401559
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.004702f0
add esp, 4
sub eax, 0
je 0x4022f1
dec eax
jne 0x4022fc
mov esi, dword [esi + 8]
test esi, esi
je 0x4022fc
mov al, byte [esi]
jmp 0x4022fe
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x40233e
cmp al, 0xe0
je 0x40233e
cmp al, 0xcc
je 0x40233e
cmp al, 0xda
je 0x40233e
cmp al, 0xdb
je 0x40233e
cmp al, 0xd6
je 0x40233e
cmp al, 0xd7
je 0x40233e
cmp al, 0xd8
je 0x40233e
cmp al, 0xd9
je 0x40233e
cmp byte [edi + 0x1a], 0
je 0x402330
mov byte [edi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
jmp 0x401559
mov eax, dword [edi + 4]
test eax, eax
je 0x40235f
mov al, byte [eax]
cmp al, 2
je 0x40235f
cmp al, 4
je 0x40235f
cmp al, 5
jb 0x402367
mov edx, dword [0x4ae468]
mov dword [esp + 0x58], edx
jmp 0x402367
mov dword [esp + 0x58], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x1c], esi
push esi
call fcn.004702f0
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x402382
dec eax
jne 0x40238d
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x40238d
mov al, byte [esi]
jmp 0x40238f
xor al, al
mov ecx, dword [0x4ae44c]
mov edx, dword [0x4aa908]
mov byte [esp + 0x88], al
cmp ecx, edx
jl 0x402405
add edx, 2
cmp ecx, edx
jge 0x4023cd
cmp al, 0xe0
je 0x402405
cmp al, 0xcc
je 0x402405
cmp al, 0xda
je 0x402405
cmp al, 0xdb
je 0x402405
cmp al, 0xd6
je 0x402405
cmp al, 0xd7
je 0x402405
cmp al, 0xd8
je 0x402405
cmp al, 0xd9
je 0x402405
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4023e3
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x68], ebx
cmp dword [esp + 0x40], 0x41b
jne 0x401559
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x401559
mov ecx, dword [0x4aa988]
cmp edi, dword [ecx + 0x2c]
jge 0x402448
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x402426
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x68], ebx
cmp dword [esp + 0x40], 0x41b
jne 0x401559
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x401559
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 0x402]
mov byte [esp + 0x1b], 1
cmp eax, 0x1c
ja case.0x402463.1027
movzx eax, byte [eax + 0x403188]
jmp dword [eax*4 + 0x40317c]
mov esi, dword [esp + 0x7c]
mov eax, dword [esi]
push 0x104
push eax
push 0x4af5f8
call fcn.0048ae50
mov byte [0x4af6fc], bl
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
add esp, 0xc
push 0x104
push eax
push 0x4af6fd
call fcn.0048ae50
add esp, 0xc
mov byte [0x4af801], bl
mov dword [0x4af5f4], esi
jmp case.0x402463.1044
mov edx, dword [0x4af804]
mov eax, dword [0x4af86c]
mov dword [0x4af808], edx
mov dword [0x4af870], eax
cmp ecx, 0x401
jne 0x4024dc
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov dword [0x4af804], edx
jmp 0x4024ec
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x1c]
mov dword [0x4af804], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4af86c], eax
mov ecx, dword [0x4aeae0]
push 0
mov esi, 1
push esi
call fcn.00401270
push 0x7f
push eax
lea edx, [esp + 0x1b8]
push edx
call fcn.0048ae50
mov eax, dword [esp + 0x94]
add esp, 0xc
push eax
push 0
push edi
mov al, 1
mov byte [esp + 0x23b], bl
call fcn.00403820
mov ebx, dword [0x4aa988]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4af8b4], eax
mov dword [0x4af8b0], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402568.1027
movzx ecx, byte [eax + 0x4031c8]
jmp dword [ecx*4 + 0x4031a8]
cmp byte [esp + 0x1a], 0
mov byte [esp + 0x8c], 0
je 0x402586
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
jmp 0x40258d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edi, dword [esp + 0x30]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
xor edx, edx
mov dword [eax + 8], esi
mov dword [eax + 4], edx
add edi, esi
lea eax, [ecx - 5]
mov dword [esp + 0x30], edi
cmp eax, 4
ja case.default.0x4025bc
jmp dword [eax*4 + 0x4031e8]
xor eax, eax
cmp dword [esp + 0x28], edx
mov dword [esp + 0x28], edx
sete al
lea eax, [eax + eax + 1]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x50]
mov dword [ebx + 0x3c], ecx
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x40], eax
cmp dword [esp + 0x14], edx
je 0x4026ab
cmp dword [ebx + 0x34], esi
jne 0x402606
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x3c]
push eax
call fcn.0046a080
mov esi, 1
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 4]
sub eax, 9
je 0x40268f
sub eax, esi
je 0x40267e
sub eax, esi
jne 0x4026ab
cmp dword [ebx + 0x34], esi
jne 0x402639
push eax
push 9
mov edx, ecx
mov eax, dword [edx]
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4026a7
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0xdc], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
lea edx, [esp + 0xd0]
push edx
push 0
push 0x1111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4026a7
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push esi
push 0xffffffffffffffff
push 0x100c
push edx
jmp 0x40269f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push 0
push 0x19f
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add eax, esi
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
lea esi, [ebx + 0x3c]
call fcn.00476280
cmp dword [esp + 0x14], 0
mov esi, 1
je 0x4026e7
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
add edi, esi
mov dword [eax + 8], esi
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x402700
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x49b8ad
mov ecx, dword [esp + 0x28]
mov eax, edi
add eax, eax
mov dword [esp + eax*8 + 0x110], ecx
mov dword [esp + eax*8 + 0x118], esi
mov dword [esp + eax*8 + 0x114], 0
lea eax, [esp + eax*8 + 0x110]
add edi, esi
xor eax, eax
mov edx, edi
add edx, edx
add edi, esi
cmp dword [ebx + 0x34], 3
lea ecx, [esp + edx*8 + 0x110]
sete al
mov dword [ecx + 8], esi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0x110]
mov eax, dword [ebx + 0x3c]
mov dword [ecx + 8], esi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x40]
add edi, esi
mov ecx, edi
add ecx, ecx
lea ecx, [esp + ecx*8 + 0x110]
cdq
mov dword [ecx + 8], esi
add edi, esi
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x38]
mov esi, 1
jmp 0x402a7f
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x34], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00476280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esp + 0x10]
and eax, 0xffffffef
push eax
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x20]
mov ecx, edi
add ecx, ecx
lea edx, [esp + ecx*8 + 0x110]
push eax
mov dword [esp + 0x34], edx
call fcn.0045eaf0
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x14], 0
mov dword [ecx + 8], 6
mov dword [ecx], eax
je 0x402824
mov edx, dword [esp + 0x14]
lea ecx, [edi + 1]
add ecx, ecx
lea eax, [esp + ecx*8 + 0x110]
mov ecx, dword [edx]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x40283d
lea eax, [edi + 1]
add eax, eax
lea eax, [esp + eax*8 + 0x110]
mov dword [eax + 8], 0
mov dword [eax], 0x49b8ad
mov eax, dword [esp + 0x10]
mov esi, dword [esi]
add edi, 2
mov ecx, edi
add ecx, ecx
cmp byte [eax + 0xc0], 0
lea edx, [esp + ecx*8 + 0x110]
mov dword [esp + 0x30], edx
je 0x402870
mov ecx, dword [0x4af264]
push ecx
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x402872
mov eax, esi
mov ecx, dword [esp + 0x30]
cdq
mov dword [ecx + 4], edx
mov dword [ecx + 8], 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x40]
lea edx, [edi + 1]
add edx, edx
add edi, 2
cmp byte [ecx + 0xc0], 0
lea esi, [esp + edx*8 + 0x110]
mov dword [esp + 0x30], edi
je 0x4028b6
mov edx, dword [0x4af264]
push edx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, 1
jmp 0x402a83
mov dword [ebx + 0x34], esi
cmp ecx, 8
jne 0x402a83
mov edx, dword [esp + 0x80]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
mov dword [ebx + 0x3c], edx
mov dword [eax + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 4], 0
lea eax, [edi + 1]
add eax, eax
lea esi, [esp + eax*8 + 0x110]
movzx eax, dx
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xc0], 0
je 0x402932
mov ecx, dword [0x4af264]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x80]
add edx, edx
mov dword [esi + 8], 1
lea esi, [esp + edx*8 + 0x110]
mov edx, dword [esp + 0x10]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x30], edi
je 0x40297d
mov ecx, dword [0x4af264]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x38]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, 1
jmp 0x402a83
mov edx, dword [esp + 0x14]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x4029ca
cmp al, 0x19
jne 0x402a42
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00476280
mov esi, 1
jmp 0x402a3e
cmp cl, 0x49
jne 0x402a42
lea eax, [esp + 0x8c]
test ecx, 0x100
je 0x4029e8
mov byte [esp + 0x8c], 0x53
jmp 0x4029f8
test ecx, 0x200
je 0x4029ff
mov byte [esp + 0x8c], 0x73
lea eax, [esp + 0x8d]
test ecx, 0x400
je 0x402a0c
mov byte [eax], 0x46
jmp 0x402a17
test ecx, 0x800
je 0x402a19
mov byte [eax], 0x66
add eax, esi
test ecx, 0x1000
je 0x402a26
mov byte [eax], 0x43
jmp 0x402a31
test ecx, 0x2000
je 0x402a33
mov byte [eax], 0x63
add eax, esi
mov byte [eax], 0
mov dword [esp + 0x38], 0x49
mov ecx, dword [esp + 0x38]
mov eax, edi
add eax, eax
lea edx, [esp + eax*8 + 0x110]
mov eax, ecx
mov dword [ebx + 0x34], ecx
add edi, esi
call fcn.0045ead0
mov dword [edx], eax
mov dword [edx + 8], 0
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov edx, dword [esp + 0x28]
add edi, esi
mov dword [eax + 8], esi
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x30], edi
cmp byte [esp + 0x1a], 0
je 0x402b7a
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0x17
jne 0x402b7a
push 0x10b8
lea ecx, [esp + 0x234]
push 0
push ecx
call fcn.004914b0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x230]
push eax
dec edx
push 0
mov dword [esp + 0x23c], edx
mov edx, dword [ecx]
push 0x703
push edx
mov dword [esp + 0x240], 0xd
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x402bdd
cmp word [esp + 0x2a0], 0
lea ecx, [esp + 0x2a0]
jne 0x402b07
lea ecx, [esp + 0x240]
push 0xffffffffffffffff
lea eax, [esp + 0x188]
push eax
call fcn.00403db0
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x1300], 0
call fcn.00403c90
mov ecx, dword [0x4aeae0]
push eax
push ecx
call fcn.00478140
lea eax, [esp + 0x184]
mov dword [esp + 0x12f4], 0xffffffff
call fcn.00403cb0
mov ecx, dword [0x4aeae0]
mov edx, edi
push 0
add edx, edx
inc edi
push 1
lea esi, [esp + edx*8 + 0x118]
mov dword [esp + 0x38], edi
call fcn.00401270
mov dword [esi + 8], 0
mov dword [esi], eax
jmp 0x402bdd
cmp byte [esp + 0x8c], 0
je 0x402ba5
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
add edi, esi
lea edx, [esp + 0x8c]
mov dword [esp + 0x30], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402bca
cmp ecx, 5
je 0x402bca
mov ecx, dword [0x4aeae0]
push esi
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00478140
jmp 0x402bdd
mov edx, dword [esp + 0x28]
mov eax, dword [0x4aeae0]
push 0x18
push 0
push edx
call fcn.00401130
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x78]
mov dword [ebx + 0xa4], ecx
add dword [eax + 0x20], 2
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x38], eax
mov ebx, dword [esp + 0x68]
test ebx, ebx
je 0x402c0f
mov byte [ebx], 1
jmp 0x402c1e
cmp byte [esp + 0x1a], 0
je 0x402c1e
mov eax, dword [esp + 0x14]
or byte [eax + 5], 4
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x114]
push edx
push str.call
push esi
xor eax, eax
mov edx, edi
mov ecx, esi
call fcn.0046d3b0
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp dword [eax + 4], 0
je 0x402cef
test ebx, ebx
je 0x402c98
cmp dword [esp + 0x38], 6
mov byte [ebx], 0
jne 0x402ca7
cmp dword [esp + 0x9c], 0
jne 0x402cef
push esi
call fcn.004702f0
add esp, 4
test eax, eax
jne 0x402c81
test esi, esi
jne 0x402cef
mov eax, dword [esp + 0x10]
call fcn.00465de0
mov esi, dword [esp + 0x10]
call fcn.0045e910
jmp 0x402fbe
cmp byte [esp + 0x1a], 0
je 0x402ca7
mov eax, dword [esp + 0x14]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x38], 5
jne 0x402cef
mov eax, dword [esp + 0x120]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esi + 4]
or eax, 0x10
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov esi, dword [esp + 0x10]
call fcn.0045e910
jmp 0x402fbe
mov edi, dword [esp + 0x10]
test edi, edi
je 0x402d1b
mov eax, dword [edi + 4]
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0x34], esi
add dword [edi + 0x20], 2
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], edi
xor ebx, ebx
mov eax, 0x4af278
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa0], 0x4af5f8
call fcn.004455d0
xor ecx, ecx
mov dword [esp + 0xb4], ecx
push ebx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x24]
add eax, esi
mov dword [esp + 0xb8], eax
push str.call
push ecx
xor eax, eax
lea edx, [ebx + 3]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd0], 0x4af6fd
call fcn.0046d3b0
add esp, 0x10
cmp edi, ebx
je 0x402fbe
mov esi, dword [esp + 0x10]
call fcn.0045e910
jmp 0x402fbe
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 0xa4], edx
mov al, byte [esi + 0x21]
mov byte [ebx + 0xd6], al
call fcn.0040cf30
jmp 0x402fbe
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402de5
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push esi
call edi
test eax, eax
jne 0x402de1
push 0xf
call edi
test eax, eax
jne 0x402de1
mov eax, 2
jmp 0x402de7
mov eax, esi
jmp 0x402de7
xor eax, eax
push 0x18
push 0
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4aeae0]
call fcn.00401130
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0xe0], ecx
mov ecx, dword [0x4af83c]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], 0
mov byte [0x4af848], 1
test ecx, ecx
je 0x402e31
call fcn.004012e0
mov ecx, dword [0x4af83c]
cmp dword [esp + 0x44], 0
jne 0x402e53
xor edx, edx
test ecx, ecx
sete dl
lea eax, [esp + 0xe0]
mov ebx, 0x4af81c
push edx
push esi
push eax
call fcn.004703f0
mov byte [0x4af848], 0
jmp 0x402fbe
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 8]
push 0
lea edx, [esp + 0x174]
push edx
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0x24]
push str.call
push ecx
xor eax, eax
mov edx, esi
mov dword [esp + 0x188], 6
call fcn.0046d3b0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x10
push eax
call edx
jmp 0x402fbe
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x48]
movzx eax, cl
cdq
mov dword [esp + 0xb0], eax
sar ecx, 0x10
movzx eax, cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb4], edx
cdq
mov dword [esp + 0xc4], edx
push 0
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xc8], eax
xor eax, eax
push str.call
push ecx
lea edx, [eax + 3]
mov dword [esp + 0xb8], 6
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd8], esi
call fcn.0046d3b0
add esp, 0x10
jmp 0x402fbe
mov eax, dword [esp + 0x48]
mov byte [esp + 0x6c], al
sar eax, 0x10
mov byte [esp + 0x6d], al
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
push 0
lea eax, [esp + 0x194]
push eax
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
xor eax, eax
mov dword [esp + 0x1a8], edx
push str.call
push ecx
lea edx, [eax + 2]
mov byte [esp + 0x7e], 0
mov dword [esp + 0x1a8], 6
mov dword [esp + 0x1b8], 0
call fcn.0046d3b0
add esp, 0x10
jmp 0x402fbe
mov esi, dword [esp + 0x84]
mov al, byte [esi + 0x10]
cmp al, 0x9c
jb 0x402fa0
cmp al, 0x9f
ja 0x402fa0
movzx ecx, word [esp + 0x48]
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov dword [ebx + 0xa4], edx
mov cl, byte [eax + 0x18]
push eax
push esi
mov byte [ebx + 0xd6], cl
call fcn.0040aef0
lea edx, [esp + 0x1b0]
push edx
call fcn.00403930
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x401559
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.00403200
add esp, 8
test eax, eax
je 0x401559
mov byte [esp + 0x27], 1
mov byte [esp + 0x60], 1
jmp 0x401559
mov ecx, dword [0x4aa988]
mov byte [ecx + 0xc8], 0
mov eax, dword [0x4ae2ec]
test eax, eax
je 0x403034
lea edx, [esp + 0x3c]
push edx
push eax
mov eax, dword [0x4ae2d8]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x401559
mov eax, dword [0x4aa988]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
push edx
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4aa988]
mov byte [ecx + 0xc8], 0
jmp 0x401559
cmp esi, 0xffffffff
jle 0x403090
mov dword [0x4af8a0], 0
mov dword [0x4af8a4], 0
mov dword [0x4af8b0], eax
cmp byte [esp + 0x26], 0
mov dword [0x4af8b4], eax
je 0x4030a3
mov byte [0x4ae43b], 0
cmp byte [esp + 0x25], 0
je 0x401e78
dec dword [0x4ae448]
test esi, esi
jle 0x401e78
cmp dword [0x4ae448], 0
jne 0x401e78
cmp dword [0x4af85c], 0
jne 0x401e78
cmp dword [0x4aeb48], 0
jne 0x401e78
cmp byte [0x4ae435], 0
je 0x401e78
mov edx, dword [0x4ae2d8]
push 9
push edx
jmp 0x401e67