Function at 0x646670
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x5c], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x6466d2
lea eax, [ebp - 0x31]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x31]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0064dd60
call fcn.004a0e60
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
add eax, 0x1c
mov edx, dword [eax]
sub dword [ebp - 0x31], edx
mov eax, dword [eax + 4]
sub dword [ebp - 0x2d], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 4], eax
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x1b], 0
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
setl bl
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0xb], 0
mov eax, dword [0x74cea0]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 8]
call fcn.006473f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetCapture
xor ecx, ecx
push ebp
push 0x6471dc
push dword fs:[ecx]
mov dword fs:[ecx], esp
jmp 0x646c76
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x646c84
dec eax
je 0x64675c
jmp 0x64676a
mov eax, dword [ebp - 0x70]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x646c84
mov esi, dword [ebp - 0x74]
cmp esi, 0x100
je 0x64677d
cmp esi, 0x101
jne 0x6467a2
cmp dword [ebp - 0x70], 0x11
jne 0x6467a2
cmp esi, 0x100
sete al
cmp bl, al
setne byte [ebp - 0x1c]
cmp esi, 0x100
sete bl
mov dword [ebp - 0x74], 0x200
mov eax, dword [ebp - 0x74]
add eax, 0xffffff00
sub eax, 2
jb 0x6467c4
sub eax, 0xfe
je 0x6467d3
sub eax, 2
je 0x646c5e
jmp 0x646c64
cmp dword [ebp - 0x70], 0x1b
je 0x646c84
jmp 0x646c76
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0x29]
push eax
call sub.user32.dll_GetCursorPos
xor eax, eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x29]
call fcn.0063a1a8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00494558
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [0x635aec]
call fcn.0040439c
test al, al
je 0x646824
mov eax, dword [ebp - 0x38]
call fcn.006536a4
cmp eax, dword [ebp - 8]
je 0x646824
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x38], eax
call fcn.0062bd34
test eax, eax
je 0x646914
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
jne 0x646914
mov eax, dword [ebp - 8]
cmp byte [eax + 0x51], 0
je 0x646914
call fcn.0062bd34
mov eax, dword [eax + 0x334]
mov dword [ebp - 0x50], eax
call fcn.0062bd34
mov eax, dword [eax + 0x334]
cmp eax, dword [ebp - 0x38]
jne 0x6468fc
lea eax, [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x50]
call fcn.004a0e60
push eax
call sub.user32.dll_ScreenToClient
mov cl, 1
lea edx, [ebp - 0x29]
mov eax, dword [ebp - 0x50]
call fcn.0048fc2c
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x6468c3
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x40]
jl 0x6468c3
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov word [ebp - 0x42], 0x411
mov byte [ebp - 0x1b], 1
jmp 0x6468e1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov word [ebp - 0x42], 0x413
mov byte [ebp - 0x1b], 0
movsx edx, word [ebp - 0x42]
mov eax, dword [0x74cea0]
mov eax, dword [eax]
call fcn.004bd820
push eax
call sub.user32.dll_SetCursor
jmp 0x646c76
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov byte [ebp - 0x1b], 0
call fcn.00629520
test eax, eax
je 0x646944
call fcn.00629520
call fcn.004a0e60
cmp eax, dword [ebp - 0x18]
jne 0x646944
push 0
call fcn.00629520
xor ecx, ecx
mov edx, 0xb000
call fcn.00499d94
jmp 0x646a0e
mov eax, dword [ebp - 0x38]
mov edx, dword [0x635aec]
call fcn.0040439c
test al, al
je 0x646961
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x646a0e
call fcn.0062bd34
test eax, eax
je 0x646981
lea eax, [ebp - 0x88]
push eax
call fcn.0062bd34
call fcn.004a0e60
push eax
call sub.user32.dll_GetWindowRect
call fcn.0062bd34
test eax, eax
je 0x6469a0
push dword [ebp - 0x25]
push dword [ebp - 0x29]
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x646a0e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
call fcn.00427f18
dec eax
test eax, eax
jl 0x646a0e
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x40]
call fcn.0064d070
call fcn.0064b810
test eax, eax
je 0x646a06
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x40]
call fcn.0064d070
call fcn.0064b810
call fcn.00655a7c
test al, al
je 0x646a06
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x40]
call fcn.0064d070
call fcn.0064b810
mov dword [ebp - 0x3c], eax
jmp 0x646a0e
inc dword [ebp - 0x40]
dec dword [ebp - 0x54]
jne 0x6469bb
cmp dword [ebp - 0x3c], 0
je 0x646a28
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x646a28
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x646a5e
lea eax, [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.004a0e60
push eax
call sub.user32.dll_ScreenToClient
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x1e]
lea edx, [ebp - 0x29]
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
call dword [esi + 0x124]
mov dword [ebp - 0x48], eax
jmp 0x646a63
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], 0
je 0x646a81
cmp dword [ebp - 0x48], 0
jne 0x646a89
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.0064edc0
test eax, eax
je 0x646a89
mov word [ebp - 0x42], 0x413
jmp 0x646aac
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x646a9e
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
jne 0x646aa6
mov word [ebp - 0x42], 0x412
jmp 0x646aac
mov word [ebp - 0x42], 0x411
movsx edx, word [ebp - 0x42]
mov eax, dword [0x74cea0]
mov eax, dword [eax]
call fcn.004bd820
push eax
call sub.user32.dll_SetCursor
cmp dword [ebp - 0x3c], 0
jne 0x646adf
cmp byte [ebp - 0xb], 0
je 0x646ad5
push ebp
call fcn.00646614
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x646c76
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x6360c4]
call fcn.0040439c
test al, al
je 0x646b01
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x2b8], 0
jne 0x646c09
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 4]
jne 0x646b2b
mov al, byte [ebp - 0x1e]
cmp al, byte [ebp - 9]
jne 0x646b2b
mov al, byte [ebp - 0x1d]
cmp al, byte [ebp - 0xa]
jne 0x646b2b
mov al, byte [ebp - 0x1f]
cmp al, byte [ebp - 0xc]
jne 0x646b2b
cmp byte [ebp - 0x1c], 0
je 0x646c09
cmp byte [ebp - 0x1c], 0
jne 0x646b3c
push ebp
call fcn.006464e8
pop ecx
test al, al
jne 0x646b60
cmp byte [ebp - 0x1c], 0
je 0x646b67
test bl, bl
je 0x646b4c
cmp byte [ebp - 0xb], 0
je 0x646b60
mov eax, ebx
xor al, 1
and al, byte [ebp - 0xb]
je 0x646b67
push ebp
call fcn.006464e8
pop ecx
test al, al
jne 0x646b67
push ebp
call fcn.00646614
pop ecx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 4]
je 0x646bd5
cmp dword [ebp - 0x48], 0
je 0x646bcf
mov eax, dword [ebp - 0x48]
mov edx, dword [0x638704]
call fcn.0040439c
test al, al
jne 0x646ba2
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x25c]
mov edx, dword [0x638704]
call fcn.0040439c
test al, al
je 0x646bb5
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x150]
jmp 0x646bcf
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.00642e04
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x25c], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x646c05
cmp byte [ebp - 0x1c], 0
jne 0x646c05
mov al, byte [ebp - 0x1e]
mov byte [ebp - 9], al
mov al, byte [ebp - 0x1d]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0x1f]
mov byte [ebp - 0xc], al
push ebp
call fcn.006464e8
pop ecx
test al, al
je 0x646c05
push ebp
call fcn.00646614
pop ecx
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x6360c4]
call fcn.0040439c
test al, al
je 0x646c76
mov dx, word [ebp - 0x25]
mov ax, word [ebp - 0x29]
call fcn.00408f5c
push eax
push 0
push 0x200
mov eax, dword [ebp - 0x3c]
call fcn.004a0e60
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x2b8], 0
jbe 0x646c76
cmp byte [ebp - 0xb], 0
je 0x646c57
push ebp
call fcn.00646614
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x646c76
mov byte [ebp - 0x1a], 1
jmp 0x646c84
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_DispatchMessageA
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 0x14]
je 0x64673f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6471e6
cmp byte [ebp - 0xb], 0
je 0x646cb8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x120], 0
je 0x646cb8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
cmp eax, dword [ebp - 4]
jne 0x646cb8
push ebp
call fcn.00646614
pop ecx
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 0x14]
jne 0x646cc7
call sub.user32.dll_ReleaseCapture
movsx edx, word [ebp - 0xe]
mov eax, dword [0x74cea0]
mov eax, dword [eax]
call fcn.004bd820
push eax
call sub.user32.dll_SetCursor
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x646cf5
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x5c], 0
mov al, byte [ebp - 0x1a]
and al, byte [ebp - 0x19]
je 0x6471a6
cmp byte [ebp - 0x1b], 0
je 0x646dda
call fcn.0062bd34
test eax, eax
je 0x6471a6
call fcn.0062bd34
mov eax, dword [eax + 0x334]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x60]
cmp eax, dword [edx + 0x40]
je 0x6471a6
call fcn.0062bd34
mov esi, eax
mov dl, 1
mov eax, dword [0x422d30]
call fcn.004041d4
mov ebx, eax
mov eax, dword [esi + 0x334]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.006480c0
mov edi, dword [ebx + 8]
test edi, edi
jle 0x646db3
mov edx, edi
dec edx
mov eax, ebx
call fcn.0042610c
call fcn.0065fac4
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.0064237c
dec eax
cmp eax, dword [ebp - 0x40]
jge 0x646d9b
dec dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
call fcn.0065fac4
mov edx, eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00648220
mov eax, ebx
call fcn.00404204
mov eax, dword [esi + 0x334]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
call fcn.0065fce0
jmp 0x6471a6
cmp dword [ebp - 0x3c], 0
jne 0x646e42
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x646e10
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x646e10
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.00404204
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 8]
call fcn.00646290
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x120]
test eax, eax
je 0x6471a6
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x120], edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x17c]
jmp 0x6471a6
cmp dword [ebp - 0x3c], 0
je 0x6471a6
cmp dword [ebp - 4], 0
je 0x646f8d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x646f8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x64]
je 0x646e80
push ebp
call fcn.006464e8
pop ecx
test al, al
jne 0x646f8d
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x646f8d
mov al, byte [ebp - 9]
and al, byte [ebp - 0xa]
jne 0x646f8d
lea eax, [ebp - 0x29]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x29]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0064dd60
call fcn.004a0e60
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
add eax, 0x1c
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
sub dword [ebp - 0x29], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
sub dword [ebp - 0x25], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x6360c4]
call fcn.0040439c
test al, al
jne 0x646efa
mov eax, dword [ebp - 0x3c]
call fcn.0063a68c
test al, al
je 0x646f05
mov eax, dword [ebp - 0x25]
sub eax, dword [ebp - 0x2d]
mov dword [ebp - 0x40], eax
jmp 0x646f0e
mov eax, dword [ebp - 0x29]
sub eax, dword [ebp - 0x31]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jl 0x6471a6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
call fcn.0064dde4
cmp dword [ebp - 0x40], 0
setg dl
cmp al, dl
je 0x646f72
mov eax, dword [ebp - 0x5c]
call fcn.0064dd60
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x10]
mov dword [eax + 0x25c], edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx + 0x120], eax
cmp dword [ebp - 0x40], 0
setg dl
mov eax, dword [ebp - 0x5c]
call fcn.0064df24
jmp 0x6471a6
mov eax, dword [ebp - 0x5c]
call fcn.0064dd60
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x144]
jmp 0x6471a6
cmp dword [ebp - 4], 0
jne 0x646fd1
push dword [ebp - 0x25]
push dword [ebp - 0x29]
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x98]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x647190
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.0064edc0
test eax, eax
jne 0x647190
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.0064f5fc
mov ebx, eax
mov dl, 1
mov eax, ebx
call fcn.0064e388
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x60]
mov eax, ebx
call fcn.0064df44
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x64701d
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x64]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebx + 0xc], 0
cmp dword [ebp - 4], 0
je 0x6470b8
cmp byte [ebp - 9], 0
je 0x647033
cmp byte [ebp - 0xa], 0
je 0x647050
mov al, byte [ebp - 9]
xor al, 1
and al, byte [ebp - 0xa]
je 0x64704c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0064dde4
test al, al
jne 0x647050
xor eax, eax
jmp 0x647052
mov al, 1
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00427a84
mov edx, eax
cmp byte [ebp - 9], 0
jne 0x64706e
cmp byte [ebp - 0xa], 0
je 0x647072
xor eax, eax
jmp 0x647074
mov al, 1
and eax, 0xff
add edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebp - 0x20], 0
je 0x6470b8
mov dl, 1
mov eax, ebx
call fcn.0064df24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x220], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
call fcn.0064df24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x220], 0
mov eax, ebx
call fcn.0064e9a8
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx + 0x120], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x64], 0
je 0x647113
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x647113
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.0064de90
cmp eax, dword [ebp - 0x4c]
setne byte [ebp - 0x21]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
call fcn.00404204
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x64], edx
jmp 0x647117
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
je 0x647134
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28], 0
je 0x647134
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
call dword [edx + 0x17c]
mov eax, dword [ebp - 8]
call fcn.00646290
call fcn.00639fe4
test eax, eax
je 0x6471a6
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, dword [0x635e1c]
call fcn.0040439c
test al, al
je 0x6471a6
call fcn.00639fe4
mov edx, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x28]
je 0x6471a6
call fcn.00639fe4
mov edx, dword [eax]
call dword [edx + 0x178]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28], 0
je 0x6471a6
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x190]
jmp 0x6471a6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x120], 0
je 0x6471a6
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00642e04
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x6471db
mov edx, dword [eax + 0x10]
test edx, edx
je 0x6471d3
mov eax, edx
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0x64], ecx
mov edx, dword [eax]
call dword [edx + 0xbc]
jmp 0x6471db
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x64], edx
ret