Function at 0x5d4898
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 + 0x5c], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x60], ecx
mov eax, dword [ebp - 8]
mov byte [eax + 0x58], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x5d48fa
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 + 0x60]
call fcn.005dbea4
call fcn.0046fb3c
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
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 - 0xb], 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 - 0xc], 0
mov eax, dword [0x6c0290]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 8]
call fcn.005d5618
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetCapture
xor ecx, ecx
push ebp
push 0x5d5404
push dword fs:[ecx]
mov dword fs:[ecx], esp
jmp 0x5d4e9e
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x5d4eac
dec eax
je 0x5d4984
jmp 0x5d4992
mov eax, dword [ebp - 0x70]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x5d4eac
mov esi, dword [ebp - 0x74]
cmp esi, 0x100
je 0x5d49a5
cmp esi, 0x101
jne 0x5d49ca
cmp dword [ebp - 0x70], 0x11
jne 0x5d49ca
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 0x5d49ec
sub eax, 0xfe
je 0x5d49fb
sub eax, 2
je 0x5d4e86
jmp 0x5d4e8c
cmp dword [ebp - 0x70], 0x1b
je 0x5d4eac
jmp 0x5d4e9e
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.005c8b68
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00465f68
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [0x5c4598]
call fcn.00403f38
test al, al
je 0x5d4a4c
mov eax, dword [ebp - 0x38]
call fcn.005e1734
cmp eax, dword [ebp - 8]
je 0x5d4a4c
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x38], eax
call fcn.005bab00
test eax, eax
je 0x5d4b3c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
jne 0x5d4b3c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4d], 0
je 0x5d4b3c
call fcn.005bab00
mov eax, dword [eax + 0x334]
mov dword [ebp - 0x50], eax
call fcn.005bab00
mov eax, dword [eax + 0x334]
cmp eax, dword [ebp - 0x38]
jne 0x5d4b24
lea eax, [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x50]
call fcn.0046fb3c
push eax
call sub.user32.dll_ScreenToClient
mov cl, 1
lea edx, [ebp - 0x29]
mov eax, dword [ebp - 0x50]
call fcn.00461b00
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x5d4aeb
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 0x5d4aeb
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 0x5d4b09
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
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 [0x6c0290]
mov eax, dword [eax]
call fcn.004871c0
push eax
call sub.user32.dll_SetCursor
jmp 0x5d4e9e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
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.005b8300
test eax, eax
je 0x5d4b6c
call fcn.005b8300
call fcn.0046fb3c
cmp eax, dword [ebp - 0x18]
jne 0x5d4b6c
push 0
call fcn.005b8300
xor ecx, ecx
mov edx, 0xb000
call fcn.0046a314
jmp 0x5d4c36
mov eax, dword [ebp - 0x38]
mov edx, dword [0x5c4598]
call fcn.00403f38
test al, al
je 0x5d4b89
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
jmp 0x5d4c36
call fcn.005bab00
test eax, eax
je 0x5d4ba9
lea eax, [ebp - 0x88]
push eax
call fcn.005bab00
call fcn.0046fb3c
push eax
call sub.user32.dll_GetWindowRect
call fcn.005bab00
test eax, eax
je 0x5d4bc8
push dword [ebp - 0x25]
push dword [ebp - 0x29]
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x5d4c36
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
call fcn.00421618
dec eax
test eax, eax
jl 0x5d4c36
inc eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x40]
call fcn.005db1b0
call fcn.005d9a14
test eax, eax
je 0x5d4c2e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x40]
call fcn.005db1b0
call fcn.005d9a14
call fcn.005e3b7c
test al, al
je 0x5d4c2e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x40]
call fcn.005db1b0
call fcn.005d9a14
mov dword [ebp - 0x3c], eax
jmp 0x5d4c36
inc dword [ebp - 0x40]
dec dword [ebp - 0x54]
jne 0x5d4be3
cmp dword [ebp - 0x3c], 0
je 0x5d4c50
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0xe0]
test al, al
jne 0x5d4c50
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x5d4c86
lea eax, [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.0046fb3c
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 0x5d4c8b
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], 0
je 0x5d4ca9
cmp dword [ebp - 0x48], 0
jne 0x5d4cb1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.005dcec0
test eax, eax
je 0x5d4cb1
mov word [ebp - 0x42], 0x413
jmp 0x5d4cd4
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x5d4cc6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
jne 0x5d4cce
mov word [ebp - 0x42], 0x412
jmp 0x5d4cd4
mov word [ebp - 0x42], 0x411
movsx edx, word [ebp - 0x42]
mov eax, dword [0x6c0290]
mov eax, dword [eax]
call fcn.004871c0
push eax
call sub.user32.dll_SetCursor
cmp dword [ebp - 0x3c], 0
jne 0x5d4d07
cmp byte [ebp - 0xc], 0
je 0x5d4cfd
push ebp
call fcn.005d4854
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5d4e9e
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x5c4b70]
call fcn.00403f38
test al, al
je 0x5d4d29
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x2b8], 0
jne 0x5d4e31
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 4]
jne 0x5d4d53
mov al, byte [ebp - 0x1e]
cmp al, byte [ebp - 9]
jne 0x5d4d53
mov al, byte [ebp - 0x1d]
cmp al, byte [ebp - 0xa]
jne 0x5d4d53
mov al, byte [ebp - 0x1f]
cmp al, byte [ebp - 0xb]
jne 0x5d4d53
cmp byte [ebp - 0x1c], 0
je 0x5d4e31
cmp byte [ebp - 0x1c], 0
jne 0x5d4d64
push ebp
call fcn.005d4728
pop ecx
test al, al
jne 0x5d4d88
cmp byte [ebp - 0x1c], 0
je 0x5d4d8f
test bl, bl
je 0x5d4d74
cmp byte [ebp - 0xc], 0
je 0x5d4d88
mov eax, ebx
xor al, 1
and al, byte [ebp - 0xc]
je 0x5d4d8f
push ebp
call fcn.005d4728
pop ecx
test al, al
jne 0x5d4d8f
push ebp
call fcn.005d4854
pop ecx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 4]
je 0x5d4dfd
cmp dword [ebp - 0x48], 0
je 0x5d4df7
mov eax, dword [ebp - 0x48]
mov edx, dword [0x5c7198]
call fcn.00403f38
test al, al
jne 0x5d4dca
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0x25c]
mov edx, dword [0x5c7198]
call fcn.00403f38
test al, al
je 0x5d4ddd
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x150]
jmp 0x5d4df7
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.005d1258
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 0x5d4e2d
cmp byte [ebp - 0x1c], 0
jne 0x5d4e2d
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 - 0xb], al
push ebp
call fcn.005d4728
pop ecx
test al, al
je 0x5d4e2d
push ebp
call fcn.005d4854
pop ecx
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 0x3c]
mov edx, dword [0x5c4b70]
call fcn.00403f38
test al, al
je 0x5d4e9e
mov dx, word [ebp - 0x25]
mov ax, word [ebp - 0x29]
call fcn.00408550
push eax
push 0
push 0x200
mov eax, dword [ebp - 0x3c]
call fcn.0046fb3c
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x2b8], 0
jbe 0x5d4e9e
cmp byte [ebp - 0xc], 0
je 0x5d4e7f
push ebp
call fcn.005d4854
pop ecx
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5d4e9e
mov byte [ebp - 0x1a], 1
jmp 0x5d4eac
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 0x5d4967
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d540e
cmp byte [ebp - 0xc], 0
je 0x5d4ee0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x11c], 0
je 0x5d4ee0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x11c]
cmp eax, dword [ebp - 4]
jne 0x5d4ee0
push ebp
call fcn.005d4854
pop ecx
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 0x14]
jne 0x5d4eef
call sub.user32.dll_ReleaseCapture
movsx edx, word [ebp - 0xe]
mov eax, dword [0x6c0290]
mov eax, dword [eax]
call fcn.004871c0
push eax
call sub.user32.dll_SetCursor
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
test eax, eax
je 0x5d4f1d
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x64], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x58], 0
mov al, byte [ebp - 0x1a]
and al, byte [ebp - 0x19]
je 0x5d53ce
cmp byte [ebp - 0x1b], 0
je 0x5d5002
call fcn.005bab00
test eax, eax
je 0x5d53ce
call fcn.005bab00
mov eax, dword [eax + 0x334]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x5c]
cmp eax, dword [edx + 0x40]
je 0x5d53ce
call fcn.005bab00
mov esi, eax
mov dl, 1
mov eax, dword [0x41d130]
call fcn.00403d7c
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.005d62d4
mov edi, dword [ebx + 8]
test edi, edi
jle 0x5d4fdb
mov edx, edi
dec edx
mov eax, ebx
call fcn.0041ff3c
call fcn.005eda00
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.005d0848
dec eax
cmp eax, dword [ebp - 0x40]
jge 0x5d4fc3
dec dword [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
call fcn.005eda00
mov edx, eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.005d6434
mov eax, ebx
call fcn.00403dac
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 + 0x5c]
call fcn.005edc30
jmp 0x5d53ce
cmp dword [ebp - 0x3c], 0
jne 0x5d506a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x5d5038
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x5d5038
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
call fcn.00403dac
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x60], edx
mov eax, dword [ebp - 8]
call fcn.005d44dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x11c]
test eax, eax
je 0x5d53ce
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x11c], edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x17c]
jmp 0x5d53ce
cmp dword [ebp - 0x3c], 0
je 0x5d53ce
cmp dword [ebp - 4], 0
je 0x5d51b5
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x5d51b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x60]
je 0x5d50a8
push ebp
call fcn.005d4728
pop ecx
test al, al
jne 0x5d51b5
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x5d51b5
mov al, byte [ebp - 9]
and al, byte [ebp - 0xa]
jne 0x5d51b5
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 + 0x60]
call fcn.005dbea4
call fcn.0046fb3c
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
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 [0x5c4b70]
call fcn.00403f38
test al, al
jne 0x5d5122
mov eax, dword [ebp - 0x3c]
call fcn.005c90d4
test al, al
je 0x5d512d
mov eax, dword [ebp - 0x25]
sub eax, dword [ebp - 0x2d]
mov dword [ebp - 0x40], eax
jmp 0x5d5136
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 0x5d53ce
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
call fcn.005dbf28
cmp dword [ebp - 0x40], 0
setg dl
cmp al, dl
je 0x5d519a
mov eax, dword [ebp - 0x5c]
call fcn.005dbea4
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 + 0x11c], eax
cmp dword [ebp - 0x40], 0
setg dl
mov eax, dword [ebp - 0x5c]
call fcn.005dc068
jmp 0x5d53ce
mov eax, dword [ebp - 0x5c]
call fcn.005dbea4
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x144]
jmp 0x5d53ce
cmp dword [ebp - 4], 0
jne 0x5d51f9
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 0x5d53b8
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.005dcec0
test eax, eax
jne 0x5d53b8
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
call fcn.005dd6e4
mov ebx, eax
mov dl, 1
mov eax, ebx
call fcn.005dc4c0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x238]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x5c]
mov eax, ebx
call fcn.005dc088
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x5d5245
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebx + 0xc], 0
cmp dword [ebp - 4], 0
je 0x5d52e0
cmp byte [ebp - 9], 0
je 0x5d525b
cmp byte [ebp - 0xa], 0
je 0x5d5278
mov al, byte [ebp - 9]
xor al, 1
and al, byte [ebp - 0xa]
je 0x5d5274
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.005dbf28
test al, al
jne 0x5d5278
xor eax, eax
jmp 0x5d527a
mov al, 1
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.004212b8
mov edx, eax
cmp byte [ebp - 9], 0
jne 0x5d5296
cmp byte [ebp - 0xa], 0
je 0x5d529a
xor eax, eax
jmp 0x5d529c
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 0x5d52e0
mov dl, 1
mov eax, ebx
call fcn.005dc068
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.005dc068
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov byte [eax + 0x220], 0
mov eax, ebx
call fcn.005dcac8
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx + 0x11c], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x5d533b
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jl 0x5d533b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
call fcn.005dbfd4
cmp eax, dword [ebp - 0x4c]
setne byte [ebp - 0x21]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
call fcn.00403dac
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x60], edx
jmp 0x5d533f
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
je 0x5d535c
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28], 0
je 0x5d535c
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.005d44dc
call fcn.005c89a4
test eax, eax
je 0x5d53ce
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, dword [0x5c48c8]
call fcn.00403f38
test al, al
je 0x5d53ce
call fcn.005c89a4
mov edx, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x28]
je 0x5d53ce
call fcn.005c89a4
mov edx, dword [eax]
call dword [edx + 0x178]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28], 0
je 0x5d53ce
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x190]
jmp 0x5d53ce
mov eax, dword [ebp - 8]
cmp dword [eax + 0x11c], 0
je 0x5d53ce
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.005d1258
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x5d5403
mov edx, dword [eax + 0x10]
test edx, edx
je 0x5d53fb
mov eax, edx
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0x60], ecx
mov edx, dword [eax]
call dword [edx + 0xb8]
jmp 0x5d5403
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x60], edx
ret