Function at 0x4014b0
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 0x4a4b0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x12dc
call fcn.004a0530
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x1e], 0
lea ebx, [edi + 1]
jne 0x4014ff
cmp byte [0x4bb60e], 0
mov dword [ebp + 0xc], ebx
jne 0x4014ff
mov byte [0x4bb60e], bl
mov byte [esp + 0x1e], bl
cmp dword [0x4bcb68], edi
je 0x401533
cmp dword [0x4bcb58], edi
je 0x401521
mov eax, dword [0x4bcb50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [0x4bcb58], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4bcb68], edi
mov dword [0x4bcb50], edi
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x401553
mov dword [ebp + 8], 0xa
mov esi, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov dword [esp + 0x70], edi
jmp 0x401571
cmp esi, 5
setle al
mov byte [esp + 0x60], al
test al, al
je 0x401567
mov dword [esp + 0x70], edi
jmp 0x401571
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x70], eax
cmp dword [0x4bbd1c], edi
je 0x40157e
call fcn.004035a0
mov byte [esp + 0x17], 0
cmp dword [0x4bcaac], edi
je 0x401599
call fcn.00403370
test al, al
je 0x401599
mov byte [esp + 0x17], 1
cmp esi, edi
jle 0x4017d0
cmp dword [ebp + 0xc], ebx
jne 0x4017d0
add dword [0x4bb61c], ebx
cmp byte [0x4bb608], 0
mov byte [esp + 0x1d], 1
jne 0x4015db
mov ecx, dword [0x4bb4ac]
push edi
push 0xa
push 9
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
setne dl
mov byte [0x4bb608], dl
mov byte [esp + 0x53], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x6c], 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 0x4017da
cmp byte [esp + 0x1f], 0
jne 0x4017da
cmp byte [0x4bb60e], 0
jne 0x4017e7
call fcn.00403ba0
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x4015e9
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x401651
mov dword [0x4bcb08], eax
inc dword [esp + 0x6c]
cmp dword [0x4bc4c0], 0
je 0x40168d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
lea edi, [esp + 0x90]
call fcn.00403610
add esp, 0x10
test al, al
jne 0x4015e9
cmp dword [0x4bbc50], 0
mov ebx, dword [esp + 0x34]
je 0x401cfd
test ebx, ebx
je 0x401cfd
cmp ebx, dword [0x4bb4ac]
je 0x401cfd
mov eax, dword [esp + 0x38]
cmp eax, 0x414
je 0x401cfd
cmp eax, 0x402
je 0x401cfd
add eax, 0xffffff00
cmp eax, 9
ja 0x401c64
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x401c6a
call fcn.00484ee0
mov edi, eax
test edi, edi
je 0x401c6a
mov eax, esi
call fcn.00467350
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x401c6a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x40172e
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4015e9
cmp dword [esp + 0x38], 0x100
mov edi, dword [esp + 0x3c]
jne 0x401c1d
cmp byte [esi + 0xb8], 0
je 0x401b4f
cmp edi, 0x22
je 0x40176a
cmp edi, 0x21
je 0x40176a
cmp edi, 9
je 0x40176a
cmp edi, 0x25
je 0x40176a
cmp edi, 0x27
jne 0x401b4f
mov eax, dword [esp + 0x18]
mov ebx, esi
call fcn.00401430
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x401b3d
mov al, byte [ebx + 4]
cmp al, 0xf
je 0x401b3d
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
cmp al, 0x13
jne 0x401a6b
mov dword [esp + 0x20], ebx
cmp edi, 0x25
je 0x4017b4
cmp edi, 0x27
jne 0x401a6b
cmp edi, 0x27
sete dl
push 0
movzx eax, dl
push 0
push eax
mov eax, ebx
mov ecx, esi
call fcn.00474350
jmp 0x4015e9
mov byte [esp + 0x1d], 0
jmp 0x4015db
cmp byte [0x4bb60e], 0
je 0x401952
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x401952
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4bc4b0]
jne 0x401952
cmp dword [0x4bb654], 0
je 0x401844
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.004934f2
add esp, 8
test eax, eax
sete al
test al, al
jne 0x401899
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x401952
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.00493351
add esp, 8
test eax, eax
je 0x401899
lea eax, [esp + 0xf0]
push str.SysListView32
push eax
call fcn.00493351
add esp, 8
test eax, eax
jne 0x401952
call fcn.00403ba0
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0x1ff
neg eax
push 0
sbb esi, esi
push 0
lea ecx, [esp + 0x44]
and esi, 0xfffffcee
push ecx
add esi, 0x311
call edi
test eax, eax
jne 0x4018df
push 1
push esi
push 0x20e
push eax
lea edx, [esp + 0x44]
push edx
call edi
jmp 0x4019e0
mov ebx, dword [esp + 0x44]
push 0
push esi
push 0x20e
push 0
lea eax, [esp + 0x44]
push eax
call edi
push 1
test eax, eax
jne 0x401913
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019e0
mov edx, dword [esp + 0x48]
sub edx, ebx
test edx, edx
jle 0x401938
push 0x1ff
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019e0
push esi
push 0x20e
push 0
lea ecx, [esp + 0x44]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4019e0
cmp dword [0x4b79dc], 0
je 0x4019be
cmp dword [0x4bb648], 0
jne 0x4019be
mov eax, dword [0x4b7a70]
cmp byte [eax + 0xcc], 0
jne 0x4019b5
cmp byte [eax + 0xce], 0
jne 0x4019b5
cmp dword [eax + 0xc0], 0xffffffff
jle 0x4019b5
call ebx
mov edx, eax
mov eax, dword [0x4b7a70]
sub edx, dword [eax + 0xbc]
cmp edx, dword [eax + 0xc0]
jb 0x4019b5
cmp byte [eax + 0xce], 0
mov byte [eax + 0xcc], 1
jne 0x4019b5
mov dword [eax + 0xb8], 5
movzx eax, byte [eax + 0xcc]
jmp 0x4019c0
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 + 0x44]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x401651
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x20]
cmp ecx, 3
jbe 0x4019fa
mov dword [0x4bcb08], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x401a19
cmp byte [esp + 0x53], 0
jne 0x401a19
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [esp + 0x53], 1
jmp 0x4015e9
cmp dword [esp + 0x6c], 0
jne 0x401a40
cmp byte [esp + 0x60], 0
je 0x401a40
test esi, esi
jle 0x401a33
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x6c], 1
jmp 0x4015e9
call ebx
cmp byte [esp + 0x60], 0
jne 0x4031a2
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x4031a2
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4015e9
cmp edi, 0x25
je 0x401b41
cmp edi, 0x27
je 0x401b41
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b3d
mov edi, dword [esp + 0x3c]
cmp edi, 9
jne 0x401ab9
cmp byte [ebx + 4], 0xc
jne 0x401ab9
mov edx, dword [ebx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 4
jne 0x401b3d
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0
jne 0x401ae1
mov bl, byte [ebx + 6]
mov ecx, esi
call fcn.004740b0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x401ae1
xor bl, bl
call fcn.004740b0
mov dword [esp + 0x20], eax
test eax, eax
je 0x401b41
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x401b3d
mov eax, dword [esp + 0x3c]
cmp eax, 0x22
je 0x401b27
cmp eax, 9
jne 0x401b12
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x401b27
xor al, al
push 1
push 1
mov ecx, esi
push eax
mov eax, edi
call fcn.00474350
jmp 0x4015e9
mov eax, 1
push eax
push eax
push eax
mov eax, edi
mov ecx, esi
call fcn.00474350
jmp 0x4015e9
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x38], 0x100
jne 0x401c1d
cmp edi, 0x1b
je 0x401b91
cmp edi, 9
je 0x401b91
cmp edi, 0x41
jne 0x401c1d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
test dx, ax
je 0x401c19
push 0xa5
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x401c19
mov eax, dword [esp + 0x18]
mov ebx, esi
call fcn.00401430
mov dword [esp + 0x10], eax
test eax, eax
je 0x401c19
mov edx, eax
cmp byte [edx + 4], 0xc
jne 0x401c19
mov edi, dword [esp + 0x3c]
cmp edi, 0x1b
je 0x401c0d
cmp edi, 0x41
je 0x401bf0
test byte [eax + 5], 0x80
je 0x401c1d
mov eax, dword [eax]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x800
jne 0x401c19
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0x4a7900
push 1
push 0xc2
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4015e9
test byte [eax + 5], 2
jne 0x401c1d
mov eax, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4015e9
mov eax, esi
call fcn.004709e0
jmp 0x4015e9
mov edi, dword [esp + 0x3c]
mov eax, dword [0x4bc3ec]
test eax, eax
je 0x401c6e
cmp dword [esp + 0x38], 0x100
jne 0x401c6e
cmp edi, 0xd
jne 0x401c4a
push 0
push 0
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4015e9
cmp edi, 0x1b
jne 0x401c6e
push 0
push 1
push 0x1116
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4015e9
mov edi, dword [esp + 0x3c]
jmp 0x401c72
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
xor esi, esi
cmp dword [0x4bbc50], esi
jle 0x401d05
mov eax, dword [0x4bb65c]
mov edx, dword [eax + esi*4]
cmp dword [edx + 0x10], 0
jne 0x401c9a
cmp ecx, 0x106
je 0x401cdc
mov ecx, dword [0x4b7a70]
mov byte [ecx + 0xc8], 1
mov edx, dword [esp + 0x38]
mov dword [ecx + 0xc4], edx
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x401ceb
mov ecx, dword [0x4b7a70]
mov byte [ecx + 0xc8], al
mov eax, dword [0x4bb65c]
mov ecx, dword [esp + 0x38]
inc esi
cmp esi, dword [0x4bbc50]
jl 0x401c89
mov ebx, dword [esp + 0x34]
jmp 0x401d01
mov edx, dword [0x4b7a70]
mov byte [edx + 0xc8], 0
jmp 0x4015e9
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp ecx, 0x401
ja 0x401f25
cmp ecx, 0x400
jae 0x401f46
cmp ecx, 0x100
ja 0x401d78
je 0x401d58
cmp ecx, 0x12
je 0x401d45
cmp ecx, 0x4b
jne case.0x401f3b.1027
mov dword [0x4bb5e4], 0
mov byte [esp + 0x1f], 1
jmp 0x4015e9
push 0
push 4
mov ecx, 0x4bc4c8
call fcn.00420870
jmp 0x4015e9
cmp ebx, dword [0x4bb4b0]
jne case.0x401f3b.1027
cmp edi, 0x1b
jne case.0x401f3b.1027
mov eax, dword [0x4bb4ac]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4015e9
cmp ecx, 0x113
je 0x401e43
cmp ecx, 0x312
je 0x401f5a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x403140
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x4bc4b0]
jne 0x403140
push 0x20
lea eax, [esp + 0xf4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea ecx, [esp + 0xf0]
push str.32770
push ecx
call fcn.004934f2
add esp, 8
test eax, eax
jne 0x403140
mov eax, dword [0x4b7a70]
mov byte [eax + 0xc8], 1
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc4], edx
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
je 0x403133
cmp dword [0x4bb654], 0
je 0x401e31
mov eax, dword [0x4b8c90]
test eax, eax
je 0x401e25
mov eax, dword [eax]
test eax, eax
jne 0x401e2a
mov eax, 0x4a7935
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x4b7a70]
mov byte [ecx + 0xc8], 0
jmp 0x4015e9
cmp dword [esp + 0x40], 0
jne case.0x401f3b.1027
cmp ebx, dword [0x4bb4ac]
jne case.0x401f3b.1027
cmp dword [0x4bbd1c], 0
je 0x401e68
call fcn.004035a0
cmp dword [0x4bcaac], 0
je 0x401e7f
call fcn.00403370
test al, al
je 0x401e7f
mov byte [esp + 0x17], 1
cmp dword [ebp + 0xc], 0
je 0x4015e9
cmp dword [ebp + 8], 1
jl 0x4015e9
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00403330
add esp, 8
test eax, eax
je 0x4015e9
cmp byte [esp + 0x1e], 0
je 0x401ebe
mov byte [0x4bb60e], 0
cmp byte [esp + 0x1d], 0
je 0x401f0c
dec dword [0x4bb61c]
test esi, esi
jle 0x401f0c
cmp dword [0x4bb61c], 0
jne 0x401f0c
cmp dword [0x4bcaac], 0
jne 0x401f0c
cmp dword [0x4bbd1c], 0
jne 0x401f0c
cmp byte [0x4bb608], 0
je 0x401f0c
mov eax, dword [0x4bb4ac]
push 9
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x401f0c
mov byte [0x4bb608], 0
mov ecx, dword [esp + 0x12ec]
mov al, byte [esp + 0x17]
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.0x401f3b.1027
movzx eax, byte [eax + 0x40323c]
jmp dword [eax*4 + 0x403230]
mov ecx, dword [esp + 0x38]
test ebx, ebx
je 0x401f5a
cmp ebx, dword [0x4bb4ac]
jne case.0x401f3b.1027
mov ecx, dword [esp + 0x38]
xor edx, edx
lea eax, [ecx - 0x401]
mov dword [esp + 0x20], edx
cmp eax, 0x1d
ja case.0x401f76.1027
movzx ecx, byte [eax + 0x403278]
jmp dword [ecx*4 + 0x40325c]
mov esi, ebx
call fcn.00467320
mov dword [esp + 0xc], eax
test eax, eax
je case.0x401f3b.1027
mov eax, dword [esp + 0x40]
movzx ecx, di
shr edi, 0x10
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x28], ebx
cmp ecx, 8
jne 0x401fc8
mov dword [esp + 0x74], 0x2af8
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc]
cmp edi, dword [eax + 0x10]
jae 0x401fe0
mov esi, dword [eax + 0x18]
lea edx, [edi + edi*4]
lea edx, [esi + edx*4]
mov dword [esp + 0x10], edx
jmp 0x401fe4
mov dword [esp + 0x10], ebx
add ecx, 0xfffffffb
mov dword [esp + 0x64], ebx
mov byte [esp + 0x16], bl
cmp ecx, 4
ja case.default.0x401ff8
jmp dword [ecx*4 + 0x403298]
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x4015e9
mov eax, dword [esp + 0xc]
add eax, 0x3a
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x402029
cmp byte [eax], bl
jne 0x4015e9
xor edi, edi
jmp 0x402407
mov esi, dword [eax + 0x24]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x4015e9
mov ecx, dword [esp + 0xc]
add ecx, 0x38
mov dword [esp + 0x64], ecx
jmp 0x402019
mov esi, dword [eax + 0x28]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x4015e9
mov edx, dword [esp + 0xc]
add edx, 0x39
mov dword [esp + 0x64], edx
jmp 0x402019
mov esi, dword [eax + 0x34]
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x4015e9
xor edi, edi
jmp 0x402407
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x68]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x4020b1
cmp edi, ebx
je 0x4015e9
xor ebx, ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
mov dword [esp + 0x24], eax
cmp eax, ebx
jne 0x402029
cmp edi, ebx
je 0x4015e9
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x68], 0
jmp 0x4015e9
cmp dword [esp + 0x10], ebx
je 0x4015e9
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x402105
test byte [eax + 5], 1
je 0x4015e9
mov eax, dword [esp + 0xc]
call fcn.00470980
jmp 0x4015e9
test byte [eax + 5], 4
jne 0x4015e9
mov byte [esp + 0x16], 1
xor edi, edi
jmp 0x402407
cmp edi, edx
je 0x402140
mov esi, edi
call fcn.00467320
mov dword [esp + 0xc], eax
test eax, eax
jne 0x402144
test ebx, ebx
je 0x402144
cmp ebx, dword [0x4bb4ac]
jne case.0x401f3b.1027
jmp 0x402144
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov eax, 0x4bc4c8
call fcn.00401480
mov dword [esp + 0x78], eax
test eax, eax
je 0x4015e9
mov edx, eax
mov esi, dword [edx + 8]
test esi, esi
je 0x4015e9
mov edi, dword [eax + 0x18]
jmp 0x402403
cmp edi, dword [0x4bbd24]
jae 0x4015e9
mov ecx, dword [0x4bbd20]
mov edi, dword [ecx + edi*4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x58], edi
test esi, esi
je 0x4021c4
mov edx, dword [edi + 4]
push edx
call fcn.00411550
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
je 0x4015e9
mov eax, edi
mov ecx, dword [eax + 0x10]
mov al, byte [ecx]
cmp al, 2
je 0x4021fb
cmp al, 4
je 0x4021fb
cmp al, 5
jb 0x4021c8
mov edx, dword [0x4bb63c]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x40]
push eax
call fcn.004145a0
cmp dword [edi + 0xc], 0
jne 0x4015e9
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 0x2a]
neg cl
sbb cl, cl
and cl, byte [esp + 0x40]
mov byte [0x4bcac4], cl
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
jmp 0x402403
mov edi, dword [esp + 0x58]
mov dword [esp + 0x54], 0
jmp 0x4021c8
cmp byte [0x4bca98], dl
jne 0x4015e9
mov esi, dword [0x4bca8c]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x40222d
mov esi, dword [0x4bc840]
mov dword [esp + 0x18], esi
xor edi, edi
jmp 0x402407
mov eax, edi
call fcn.004401b0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4015e9
mov edx, eax
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x358]
xor edi, edi
jmp 0x402403
mov eax, dword [0x4bbcb8]
mov dword [esp + 0x2c], eax
cmp eax, edx
je 0x4015e9
lea ebx, [ebx]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x402288
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x402270
jmp 0x4015e9
test eax, eax
je 0x4015e9
mov eax, dword [esp + 0x38]
cmp eax, 0x41c
jne 0x4022aa
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov esi, dword [edx + 0x35c]
jmp 0x4022cd
cmp eax, 0x41e
jne 0x4022c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + 0x364]
jmp 0x4022cd
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov esi, dword [eax + 0x360]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4015e9
xor edi, edi
jmp 0x402407
mov edx, dword [0x4b8c98]
mov eax, edi
and eax, 0x7fff
cmp ax, word [edx]
jae 0x4015e9
mov ecx, dword [0x4bbd00]
movzx eax, ax
mov ecx, dword [ecx + eax*4]
shr edi, 0x10
mov eax, edi
mov dword [esp + 0x7c], ecx
test ax, ax
je 0x40233e
mov edx, dword [ecx + 0x20]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
je 0x402336
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 8]
add eax, 0xffff
mov dword [esp + 0x5c], edx
test ax, ax
jne 0x402321
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x402375
cmp dword [esp + 0x38], 0x400
jne 0x402358
mov edx, dword [esp + 0x40]
shr edx, 0x10
mov eax, 0xffc3d44d
sub eax, edx
jmp 0x40235a
xor eax, eax
push 0
push eax
push ecx
lea eax, [esp + 0x60]
call fcn.00412060
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4015e9
mov edi, eax
mov esi, dword [edi]
push esi
call fcn.0047ad20
add esp, 4
sub eax, 0
je 0x402388
dec eax
jne 0x402393
mov esi, dword [esi + 8]
test esi, esi
je 0x402393
mov al, byte [esi]
jmp 0x402395
xor al, al
mov cl, byte [edi + 0x16]
cmp cl, byte [edi + 0x17]
jb 0x4023d5
cmp al, 0xe0
je 0x4023d5
cmp al, 0xcc
je 0x4023d5
cmp al, 0xda
je 0x4023d5
cmp al, 0xdb
je 0x4023d5
cmp al, 0xd6
je 0x4023d5
cmp al, 0xd7
je 0x4023d5
cmp al, 0xd8
je 0x4023d5
cmp al, 0xd9
je 0x4023d5
cmp byte [edi + 0x1a], 0
je 0x4023c7
mov byte [edi + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xc], eax
jmp 0x4015e9
mov eax, dword [edi + 4]
test eax, eax
je 0x4023f6
mov al, byte [eax]
cmp al, 2
je 0x4023f6
cmp al, 4
je 0x4023f6
cmp al, 5
jb 0x4023fe
mov edx, dword [0x4bb63c]
mov dword [esp + 0x54], edx
jmp 0x4023fe
mov dword [esp + 0x54], 0
mov esi, dword [edi]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x18], esi
push esi
call fcn.0047ad20
xor ebx, ebx
add esp, 4
sub eax, ebx
je 0x402419
dec eax
jne 0x402424
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x402424
mov al, byte [esi]
jmp 0x402426
xor al, al
mov ecx, dword [0x4bb620]
mov edx, dword [0x4b79e8]
mov byte [esp + 0x84], al
cmp ecx, edx
jl 0x40249c
add edx, 2
cmp ecx, edx
jge 0x402464
cmp al, 0xe0
je 0x40249c
cmp al, 0xcc
je 0x40249c
cmp al, 0xda
je 0x40249c
cmp al, 0xdb
je 0x40249c
cmp al, 0xd6
je 0x40249c
cmp al, 0xd7
je 0x40249c
cmp al, 0xd8
je 0x40249c
cmp al, 0xd9
je 0x40249c
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40247a
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x68], ebx
cmp dword [esp + 0x38], 0x41b
jne 0x4015e9
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4015e9
mov ecx, dword [0x4b7a70]
cmp edi, dword [ecx + 0x2c]
jge 0x4024df
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4024bd
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x68], ebx
cmp dword [esp + 0x38], 0x41b
jne 0x4015e9
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4015e9
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 0x402]
mov byte [esp + 0x17], 1
cmp eax, 0x1c
ja case.0x4024fa.1027
movzx eax, byte [eax + 0x4032b8]
jmp dword [eax*4 + 0x4032ac]
mov esi, dword [esp + 0x78]
mov eax, dword [esi]
push 0x104
push eax
push 0x4bc848
call fcn.004964d0
mov byte [0x4bc94c], bl
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
add esp, 0xc
push 0x104
push eax
push 0x4bc94d
call fcn.004964d0
add esp, 0xc
mov byte [0x4bca51], bl
mov dword [0x4bc844], esi
jmp case.0x4024fa.1044
mov edx, dword [0x4bca54]
mov eax, dword [0x4bcabc]
mov dword [0x4bca58], edx
mov dword [0x4bcac0], eax
cmp ecx, 0x401
jne 0x402573
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 4]
mov dword [0x4bca54], edx
jmp 0x402580
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x1c]
mov dword [0x4bca54], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4bcabc], eax
mov esi, dword [0x4bbcb4]
cmp byte [esi + 0x17], bl
jne 0x402599
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x4025a6
mov eax, esi
call fcn.004011b0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x4025c3
test byte [esi + 0x15], 4
je 0x4025be
push esi
mov ecx, 0x4bc4c8
call fcn.0043beb0
mov eax, dword [esi + 8]
jmp 0x4025d3
cmp al, 2
jne 0x4025ce
call fcn.00401060
jmp 0x4025d3
mov eax, 0x4bc428
push 0x7f
push eax
lea edx, [esp + 0x1b8]
push edx
call fcn.004964d0
mov eax, dword [esp + 0x90]
add esp, 0xc
push eax
push 0
push edi
mov al, 1
mov byte [esp + 0x23b], bl
call fcn.004039c0
mov ebx, dword [0x4b7a70]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4bcb0c], eax
mov dword [0x4bcb08], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffbff
cmp eax, 0x1d
ja case.0x402631.1027
movzx ecx, byte [eax + 0x4032f8]
jmp dword [ecx*4 + 0x4032d8]
cmp byte [esp + 0x16], 0
mov esi, dword [esp + 0xc]
mov byte [esp + 0x8c], 0
je 0x402653
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
jmp 0x402656
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x28]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
xor edx, edx
mov dword [eax + 8], 1
mov dword [eax + 4], edx
inc edi
lea eax, [ecx - 5]
mov dword [esp + 0x28], edi
cmp eax, 4
ja case.default.0x402688
jmp dword [eax*4 + 0x403318]
xor ecx, ecx
cmp dword [esp + 0x24], edx
mov dword [esp + 0x24], edx
sete cl
lea ecx, [ecx + ecx + 1]
mov dword [ebx + 0x34], ecx
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x40], ecx
cmp dword [esp + 0x10], edx
je 0x402772
cmp dword [ebx + 0x34], 1
jne 0x4026ce
mov esi, dword [esp + 0x10]
lea eax, [ebx + 0x3c]
push eax
call fcn.00474c20
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 4]
sub eax, 9
je 0x402757
dec eax
je 0x402745
dec eax
jne 0x402772
cmp dword [ebx + 0x34], 1
jne 0x402700
push eax
push 9
mov eax, edx
mov ecx, dword [eax]
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40276e
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], edx
mov edx, dword [esi]
push ecx
push edx
mov dword [esp + 0xdc], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xd0]
push eax
push 0
push 0x1111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40276e
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
jmp 0x402767
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0
push 0
push 0x19f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
lea esi, [ebx + 0x3c]
call fcn.00481110
cmp dword [esp + 0x10], 0
mov esi, 1
je 0x4027ae
mov edx, dword [esp + 0x10]
mov ecx, edi
add ecx, ecx
lea eax, [esp + ecx*8 + 0x110]
mov ecx, dword [edx]
add edi, esi
mov dword [eax + 8], esi
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x4027c7
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
inc edi
mov dword [eax + 8], 0
mov dword [eax], 0x4a7935
mov edx, dword [esp + 0x24]
mov ecx, edi
add ecx, ecx
mov dword [esp + ecx*8 + 0x110], edx
mov dword [esp + ecx*8 + 0x118], esi
mov dword [esp + ecx*8 + 0x114], 0
lea eax, [esp + ecx*8 + 0x110]
add edi, esi
mov eax, edi
add eax, eax
lea ecx, [esp + eax*8 + 0x110]
xor eax, eax
add edi, esi
cmp dword [ebx + 0x34], 3
mov dword [ecx + 8], esi
sete al
cdq
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov eax, dword [ebx + 0x3c]
mov ecx, edi
add ecx, ecx
cdq
mov dword [esp + ecx*8 + 0x114], edx
lea ecx, [esp + ecx*8 + 0x110]
add edi, esi
mov dword [ecx + 8], esi
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
mov edx, edi
add edx, edx
lea ecx, [esp + edx*8 + 0x110]
cdq
mov dword [ecx + 8], esi
add edi, esi
mov esi, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x30]
jmp 0x402b43
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], ecx
mov edx, dword [esp + 0x4c]
mov dword [esi + 4], edx
mov ecx, dword [eax + 4]
call fcn.00481110
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffffffef
push eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x20]
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
push ecx
mov dword [esp + 0x2c], eax
call fcn.00469690
mov ecx, dword [esp + 0x2c]
lea edx, [edi + 1]
add edx, edx
add esp, 4
add edi, 2
cmp dword [esp + 0x10], 0
mov dword [ecx], eax
mov dword [ecx + 8], 6
lea eax, [esp + edx*8 + 0x110]
je 0x4028f1
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [eax + 8], 1
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x4028fe
mov dword [eax + 8], 0
mov dword [eax], 0x4a7935
mov edx, dword [esp + 0xc]
mov esi, dword [esi]
mov eax, edi
add eax, eax
cmp byte [edx + 0xc0], 0
lea ecx, [esp + eax*8 + 0x110]
mov dword [esp + 0x28], ecx
je 0x40292d
mov eax, dword [0x4bc4b4]
push eax
push 0x60
push esi
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x40292f
mov eax, esi
mov ecx, dword [esp + 0x28]
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 + 0xc0], 0
lea esi, [esp + ecx*8 + 0x110]
mov dword [esp + 0x28], edi
je 0x402973
mov ecx, dword [0x4bc4b4]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
jmp 0x402b47
mov dword [ebx + 0x34], 1
cmp ecx, 8
jne 0x402b47
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov eax, edi
add eax, eax
lea eax, [esp + eax*8 + 0x110]
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 + 0x110]
movzx eax, dx
mov edx, dword [esp + 0xc]
cmp byte [edx + 0xc0], 0
je 0x4029f6
mov ecx, dword [0x4bc4b4]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 4], edx
lea edx, [edi + 2]
mov dword [esi], eax
mov eax, dword [esp + 0x88]
add edx, edx
mov dword [esi + 8], 1
lea esi, [esp + edx*8 + 0x110]
mov edx, dword [esp + 0xc]
add edi, 3
shr eax, 0x10
cmp byte [edx + 0xc0], 0
mov dword [esp + 0x28], edi
je 0x402a41
mov ecx, dword [0x4bc4b4]
push ecx
push 0x60
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x30]
cdq
mov dword [esi + 8], 1
mov dword [esi], eax
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
jmp 0x402b47
mov edx, dword [esp + 0x10]
mov al, byte [edx + 4]
cmp al, 0xa
je 0x402a8c
cmp al, 0x19
jne 0x402b02
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xc]
lea esi, [ebx + 0x3c]
mov dword [esi], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
call fcn.00481110
mov esi, dword [esp + 0xc]
jmp 0x402afe
cmp cl, 0x49
jne 0x402b02
lea eax, [esp + 0x8c]
test ecx, 0x100
je 0x402aaa
mov byte [esp + 0x8c], 0x53
jmp 0x402aba
test ecx, 0x200
je 0x402ac1
mov byte [esp + 0x8c], 0x73
lea eax, [esp + 0x8d]
test ecx, 0x400
je 0x402ace
mov byte [eax], 0x46
jmp 0x402ad9
test ecx, 0x800
je 0x402ada
mov byte [eax], 0x66
inc eax
test ecx, 0x1000
je 0x402ae7
mov byte [eax], 0x43
jmp 0x402af2
test ecx, 0x2000
je 0x402af3
mov byte [eax], 0x63
inc eax
mov byte [eax], 0
mov dword [esp + 0x30], 0x49
mov ecx, dword [esp + 0x30]
mov eax, edi
add eax, eax
lea edx, [esp + eax*8 + 0x110]
mov eax, ecx
mov dword [ebx + 0x34], ecx
call fcn.00469670
mov dword [edx], eax
mov dword [edx + 8], 0
lea edx, [edi + 1]
add edx, edx
lea eax, [esp + edx*8 + 0x110]
mov edx, dword [esp + 0x24]
add edi, 2
mov dword [eax + 8], 1
mov dword [eax], edx
mov dword [eax + 4], 0
mov dword [esp + 0x28], edi
cmp byte [esp + 0x16], 0
je 0x402cb5
mov eax, dword [esp + 0x10]
cmp byte [eax + 4], 0x17
jne 0x402cb5
push 0x10b8
lea ecx, [esp + 0x234]
push 0
push ecx
call fcn.0049c740
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
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 0x402d18
cmp word [esp + 0x2a0], 0
lea ecx, [esp + 0x2a0]
jne 0x402bcb
lea ecx, [esp + 0x240]
push 0xffffffffffffffff
lea eax, [esp + 0x188]
push eax
call fcn.00403ea0
push 1
push 0
push 0xffffffffffffffff
mov dword [esp + 0x1300], 0
call fcn.00403e30
mov ecx, dword [0x4bbcb4]
push eax
push ecx
call fcn.00482ff0
lea eax, [esp + 0x184]
mov dword [esp + 0x12f4], 0xffffffff
call fcn.0040c300
mov esi, dword [0x4bbcb4]
mov edx, edi
add edx, edx
inc edi
cmp byte [esi + 0x17], 0
lea eax, [esp + edx*8 + 0x110]
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], edi
jne 0x402c3a
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x402c47
mov eax, esi
call fcn.004011b0
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x402c7b
test byte [esi + 0x15], 4
je 0x402c5f
push esi
mov ecx, 0x4bc4c8
call fcn.0043beb0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d18
cmp al, 2
jne 0x402c9a
call fcn.00401060
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0xc]
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d18
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0xc]
mov eax, 0x4bc428
mov dword [ecx + 8], 0
mov dword [ecx], eax
jmp 0x402d18
cmp byte [esp + 0x8c], 0
je 0x402cdf
mov edx, edi
add edx, edx
lea eax, [esp + edx*8 + 0x110]
inc edi
lea edx, [esp + 0x8c]
mov dword [esp + 0x28], edi
mov dword [eax + 8], 0
mov dword [eax], edx
cmp ecx, 8
je 0x402d05
cmp ecx, 5
je 0x402d05
mov ecx, dword [0x4bbcb4]
push 1
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x98]
push eax
push ecx
call fcn.00482ff0
jmp 0x402d18
mov edx, dword [esp + 0x24]
mov eax, dword [0x4bbcb4]
push 0x18
push 0
push edx
call fcn.00401130
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0xa4], 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 + 0x64]
test ebx, ebx
je 0x402d46
mov byte [ebx], 1
jmp 0x402d55
cmp byte [esp + 0x16], 0
je 0x402d55
mov eax, dword [esp + 0x10]
or byte [eax + 5], 4
lea eax, [esp + 0x9c]
push eax
push edi
lea ecx, [esp + 0x118]
push ecx
push 0x4a7904
lea edx, [esp + 0x28]
push edx
call fcn.0047ac80
cmp dword [esi + 4], 0
je 0x402e14
test ebx, ebx
je 0x402dc1
cmp dword [esp + 0x30], 6
mov byte [ebx], 0
jne 0x402dd0
cmp dword [esp + 0x9c], 0
jne 0x402e14
mov edi, dword [esp + 0x18]
push edi
call fcn.0047ad20
add esp, 4
test eax, eax
jne 0x402dac
test edi, edi
jne 0x402e14
mov eax, esi
call fcn.00470980
mov esi, dword [esp + 0xc]
call fcn.004694b0
jmp 0x4030ed
cmp byte [esp + 0x16], 0
je 0x402dd0
mov eax, dword [esp + 0x10]
and byte [eax + 5], 0xfb
cmp dword [esp + 0x30], 5
jne 0x402e14
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 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 + 0xc]
call fcn.004694b0
jmp 0x4030ed
mov edi, dword [esp + 0xc]
xor esi, esi
cmp edi, esi
je 0x402e46
mov eax, dword [edi + 4]
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0x34], 1
add dword [edi + 0x20], 2
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], edi
mov eax, 0x4bc4c8
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa0], 0x4bc848
call fcn.00450a70
push esi
xor ecx, ecx
push 3
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0xa8]
push ecx
push str.Menu
lea edx, [esp + 0x28]
inc eax
push edx
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc4], eax
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd4], 0x4bc94d
call fcn.0047ac80
cmp edi, esi
je 0x4030ed
mov esi, dword [esp + 0xc]
call fcn.004694b0
jmp 0x4030ed
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov dword [ebx + 0xa4], eax
mov cl, byte [esi + 0x21]
mov byte [ebx + 0xd6], cl
call fcn.00414520
jmp 0x4030ed
call dword [sym.imp.USER32.dll_CountClipboardFormats]
test eax, eax
je 0x402f0f
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call edi
test eax, eax
jne 0x402f08
push 0xf
call edi
test eax, eax
jne 0x402f08
mov eax, 2
jmp 0x402f11
mov eax, 1
jmp 0x402f11
xor eax, eax
push 0x18
push 0
mov dword [ebx + 0x38], eax
push eax
mov eax, dword [0x4bbcb4]
call fcn.00401130
mov edx, dword [ebx + 0x38]
push str.OnClipboardChange
mov dword [esp + 0xec], 1
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], 0
mov byte [0x4bca98], 1
call fcn.0040b7d0
mov ecx, dword [0x4bca8c]
test ecx, ecx
je 0x402f69
call fcn.004012f0
mov ecx, dword [0x4bca8c]
cmp dword [esp + 0x3c], 0
jne 0x402f8c
xor eax, eax
test ecx, ecx
sete al
lea ecx, [esp + 0xe0]
mov ebx, 0x4bca6c
push eax
push 1
push ecx
call fcn.0047ae20
call fcn.0040b7a0
mov byte [0x4bca98], 0
jmp 0x4030ed
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 8]
push 0
push 1
lea eax, [esp + 0x178]
push eax
push str.InputHook
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x18c], 6
mov dword [esp + 0x184], edx
call fcn.0047ac80
mov eax, dword [esi + 8]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4030ed
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x40]
movzx eax, cl
mov dword [esp + 0xa0], edx
cdq
mov dword [esp + 0xb0], eax
sar ecx, 0x10
movzx eax, cx
mov dword [esp + 0xb4], edx
cdq
push 0
push 3
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xa8]
push eax
push str.InputHook
lea ecx, [esp + 0x28]
mov edi, 1
push ecx
mov dword [esp + 0xbc], 6
mov dword [esp + 0xcc], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], edx
call fcn.0047ac80
jmp 0x4030ed
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x68], al
sar eax, 0x10
push 0
mov byte [esp + 0x6d], al
mov eax, dword [edx + 8]
push 2
lea edx, [esp + 0x198]
push edx
mov dword [esp + 0x19c], eax
push str.InputHook
lea eax, [esp + 0x28]
lea ecx, [esp + 0x78]
push eax
mov byte [esp + 0x7e], 0
mov dword [esp + 0x1ac], 6
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1b4], ecx
call fcn.0047ac80
jmp 0x4030ed
mov ecx, dword [esp + 0x7c]
mov al, byte [ecx + 0x10]
cmp al, 0x9c
jb 0x4030cf
cmp al, 0x9f
ja 0x4030cf
movzx edx, word [esp + 0x40]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 0xa4], eax
mov dl, byte [esi + 0x18]
push esi
push ecx
mov byte [ebx + 0xd6], dl
call fcn.004124b0
lea eax, [esp + 0x1b0]
push eax
call fcn.00403ad0
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4015e9
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.00403330
add esp, 8
test eax, eax
je 0x4015e9
mov byte [esp + 0x1f], 1
mov byte [esp + 0x60], 1
jmp 0x4015e9
mov edx, dword [0x4b7a70]
mov byte [edx + 0xc8], 0
mov eax, dword [0x4bb4c0]
test eax, eax
je 0x403164
mov edx, dword [0x4bb4ac]
lea ecx, [esp + 0x34]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4015e9
mov eax, dword [0x4b7a70]
mov byte [eax + 0xc8], 1
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov dword [eax + 0xc4], ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x4b7a70]
mov byte [ecx + 0xc8], 0
jmp 0x4015e9
cmp esi, 0xffffffff
jle 0x4031c0
mov dword [0x4bcaf8], 0
mov dword [0x4bcafc], 0
mov dword [0x4bcb08], eax
cmp byte [esp + 0x1e], 0
mov dword [0x4bcb0c], eax
je 0x4031d3
mov byte [0x4bb60e], 0
cmp byte [esp + 0x1d], 0
je 0x401f0c
dec dword [0x4bb61c]
test esi, esi
jle 0x401f0c
cmp dword [0x4bb61c], 0
jne 0x401f0c
cmp dword [0x4bcaac], 0
jne 0x401f0c
cmp dword [0x4bbd1c], 0
jne 0x401f0c
cmp byte [0x4bb608], 0
je 0x401f0c
mov edx, dword [0x4bb4ac]
push 9
push edx
jmp 0x401efb