Function at 0x1008fa30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc0e8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x1010502c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
test esi, esi
je 0x1008fef6
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10106354]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10106390]
cmp eax, dword [ecx + 4]
jle 0x1008facd
push 0x10106390
call fcn.100d8ed3
add esp, 4
cmp dword [0x10106390], 0xffffffff
jne 0x1008facd
push str.client.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x151a0
push 0x10106390
mov dword [0x10106394], eax
call fcn.100d8e89
add esp, 4
mov eax, dword [0x10106394]
mov ecx, esi
call eax
push str.Pain_Pills
lea ecx, [ebp - 0xb0]
lea esi, [eax + 0x56]
call fcn.10007b20
mov dword [ebp - 4], 0
mov ebx, 1
mov edx, esi
mov dword [ebp - 0x18], ebx
mov ecx, eax
call fcn.10007000
test al, al
jne 0x1008fbd3
push str.__Adrenaline__
lea ecx, [ebp - 0x98]
call fcn.10007b20
mov dword [ebp - 4], ebx
mov edx, esi
mov ebx, 3
mov ecx, eax
mov dword [ebp - 0x18], ebx
call fcn.10007000
test al, al
jne 0x1008fbd3
push str.First_Aid_Kit
lea ecx, [ebp - 0x80]
call fcn.10007b20
mov dword [ebp - 4], 2
mov ebx, 7
mov edx, esi
mov dword [ebp - 0x18], ebx
mov ecx, eax
call fcn.10007000
test al, al
jne 0x1008fbd3
push str.__Defibrillator__
lea ecx, [ebp - 0x68]
call fcn.10007b20
mov dword [ebp - 4], 3
mov ebx, 0xf
mov edx, esi
mov dword [ebp - 0x18], ebx
mov ecx, eax
call fcn.10007000
test al, al
jne 0x1008fbd3
push str.__UpgradePack_Incendiary__
lea ecx, [ebp - 0x50]
call fcn.10007b20
mov dword [ebp - 4], 4
mov ebx, 0x1f
mov edx, esi
mov dword [ebp - 0x18], ebx
mov ecx, eax
call fcn.10007000
test al, al
jne 0x1008fbd3
push str.__UpgradePack_Explosive__
lea ecx, [ebp - 0x38]
call fcn.10007b20
mov edx, esi
mov ecx, eax
mov ebx, 0x3f
call fcn.10007000
mov byte [ebp - 0x11], 0
test al, al
je 0x1008fbd7
mov byte [ebp - 0x11], 1
test bl, 0x20
je 0x1008fc25
mov ecx, dword [ebp - 0x24]
and ebx, 0xffffffdf
cmp ecx, 0x10
jb 0x1008fc13
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fc09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fdbc
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 3
test bl, 0x10
je 0x1008fc7a
mov ecx, dword [ebp - 0x3c]
and ebx, 0xffffffef
cmp ecx, 0x10
jb 0x1008fc68
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fc5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fdbc
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 2
test bl, 8
je 0x1008fccf
mov ecx, dword [ebp - 0x54]
and ebx, 0xfffffff7
cmp ecx, 0x10
jb 0x1008fcbd
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fcb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fdbc
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 1
test bl, 4
je 0x1008fd24
mov ecx, dword [ebp - 0x6c]
and ebx, 0xfffffffb
cmp ecx, 0x10
jb 0x1008fd12
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fd08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fdbc
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x1008fd84
mov ecx, dword [ebp - 0x84]
and ebx, 0xfffffffd
cmp ecx, 0x10
jb 0x1008fd69
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fd5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fdbc
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1008fde7
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0x10
jb 0x1008fdcc
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fdc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008fdc2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d8ffc
add esp, 8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0xf
mov byte [ebp - 0xb0], 0
cmp byte [ebp - 0x11], 0
je 0x1008fef6
mov eax, dword [0x10107740]
mov edi, dword [0x10105540]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008fe1a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x1008fe3a
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
je 0x1008fed4
mov eax, dword [ebp - 0x1c]
or dword [eax + 0x24], 9
cmp byte [0x10107801], 0
jne 0x1008fef6
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x10105828]
call fcn.100d97f0
mov dword [esi], eax
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 0x4a44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x10105828]
call fcn.100d97f0
mov dword [esi + 0x4a44], eax
mov byte [0x10107801], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [0x10107801], 0
je 0x1008fef6
mov eax, dword [0x10107740]
mov byte [0x10107801], 0
mov eax, dword [eax + 0x48]
mov dword [eax + 0x4a44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc