Function at 0x1005ad37
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x150
push str.renderVehicleTags__
call fcn.1005baee
pop ecx
call fcn.10029d80
test eax, eax
jne 0x1005b285
mov eax, dword [0x10161380]
push ebp
xor ebp, ebp
cmp dword [eax + 0x111], ebp
jne 0x1005b284
mov ecx, dword [0x104190ac]
test ecx, ecx
je 0x1005b284
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x1005b284
mov ecx, dword [0x104190b4]
test ecx, ecx
je 0x1005b284
push esi
cmp dword [0x1040b874], ebp
je 0x1005addd
cmp dword [0x10419098], ebp
je 0x1005addd
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x1005adbd
cmp dword [0x103ef0d8], ebp
jne 0x1005b283
mov eax, dword [0x1040b88c]
cmp dword [eax], ebp
jne 0x1005b283
push 0x79
call esi
test ax, ax
js 0x1005b283
mov ecx, dword [0x104190b4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push eax
call fcn.1002a09d
pop ecx
mov ecx, dword [0x104190b4]
test eax, eax
jne 0x1005ae0d
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, eax
jmp 0x1005ae23
mov eax, dword [ecx + 4]
add ecx, 4
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [eax + 0x14]
add esi, 0x30
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ebp
mov esi, 0x1134
push edi
call fcn.10041365
push ebp
push 0xffffffffffffffff
mov ebx, eax
call fcn.1002c12f
add esp, 0xc
test ebx, ebx
je 0x1005aedb
mov eax, dword [ebx + 0x14]
movss xmm0, dword [eax + 0x30]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x34]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 0x38]
lea eax, [esp + 0x20]
subss xmm0, dword [0x1009b4cc]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.10044875
movss xmm0, dword [0x1008745c]
comiss xmm0, dword [esp + 0x30]
pop ecx
pop ecx
ja 0x1005aedb
mov eax, dword [0x1040b87c]
movss xmm0, dword [esp + 0x24]
mov eax, dword [esi + eax]
cmp dword [eax + 0x60], ebp
je 0x1005aeb3
push str.ff0000Locked
jmp 0x1005aeb8
push str.32cd32Unlocked
push 0xffacffff
push ecx
push ecx
mov ecx, dword [0x10413624]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
call fcn.10043c48
add esi, 4
inc edi
cmp esi, 0x3074
jl 0x1005ae32
mov ecx, dword [0x104190ac]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [eax + 4]
call fcn.100162d9
mov ebp, dword [esp + 0x58]
jmp 0x1005b277
mov ebx, dword [ebp + 4]
add ebp, 8
push ebx
call fcn.1002a0e4
pop ecx
test eax, eax
jne 0x1005b277
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 4]
movss xmm2, dword [esp + 0x3c]
lea edi, [esp + 0x20]
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
mov esi, dword [eax + 0x14]
add esi, 0x30
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
subss xmm1, dword [esp + 0x24]
subss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x28]
subss xmm0, xmm3
movss dword [esp + 0x10], xmm3
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [0x103ef194]
ja 0x1005b277
mov eax, dword [ebx]
mov ecx, dword [0x104190b4]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
add esi, ebx
call dword [eax + 0x10]
cmp esi, eax
je 0x1005b277
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x48]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [0x1008745c]
push eax
lea eax, [esp + 0x30]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.10044875
movss xmm0, dword [0x1008745c]
comiss xmm0, dword [esp + 0x58]
pop ecx
pop ecx
ja 0x1005b277
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x34]
movzx eax, ax
push eax
call fcn.10029e11
cmp dword [0x1040b87c], 0
mov esi, eax
mov eax, dword [ebx]
pop ecx
je 0x1005b039
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov edx, dword [ecx]
call dword [edx + 0x1d4]
push eax
call fcn.10029c77
pop ecx
mov eax, dword [eax*4 + 0x1040f750]
jmp 0x1005b046
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov ecx, dword [0x10413624]
push eax
push dword [esi + 8]
lea eax, [esp + 0x68]
movss xmm0, dword [ecx + 0xe45]
push 0x10099824
push 0xff
push eax
movss dword [esp + 0x24], xmm0
call fcn.100444c9
mov ecx, dword [0x10413624]
lea eax, [esp + 0x74]
add esp, 0x14
push 0
push eax
call fcn.10042a68
mov eax, dword [ebx]
lea edx, [esp + 0x17]
push edx
lea edx, [esp + 0x1a]
fstp st(0)
push edx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x1d]
add ecx, ebx
push edx
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd0]
movzx eax, byte [esp + 0x14]
push eax
call fcn.10029c49
movss xmm0, dword [esp + 0x50]
pop ecx
lea ecx, [esp + 0x60]
movzx edx, al
push ecx
mov ecx, eax
movss dword [esp + 0x1c], xmm0
subss xmm0, dword [esp + 0x14]
or edx, 0xffff8000
shr ecx, 8
movzx ecx, cl
shl edx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
push edx
push ecx
push ecx
mov ecx, dword [0x10413624]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x2c], xmm0
movss dword [esp], xmm0
call fcn.10043c48
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x1d4]
movss xmm0, dword [eax + 0x4c0]
minss xmm0, dword [0x1009336c]
mulss xmm0, dword [0x1008dc2c]
comiss xmm0, dword [0x1009646c]
movss dword [esp + 0x10], xmm0
jbe 0x1005b152
mov esi, 0x40009600
jmp 0x1005b166
comiss xmm0, dword [0x1009b528]
mov esi, 0x40c80000
mov eax, 0x40969600
cmova esi, eax
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [0x10087458]
mov ecx, dword [0x10413618]
push 0x30000000
sub esp, 0x10
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x42c80000
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x10087458]
movss dword [esp], xmm0
call fcn.100424ef
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [0x1008dca0]
mov ecx, dword [0x10413618]
push esi
sub esp, 0x10
mov dword [esp + 0xc], 0x41100000
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x10087458]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x10087458]
movss dword [esp], xmm0
call fcn.100424ef
mov eax, dword [0x10413628]
movss xmm0, dword [eax + 0xe45]
cvttss2si eax, dword [esp + 0x10]
movss dword [esp + 0x38], xmm0
push eax
push str.Health:__d
lea eax, [esp + 0x68]
push 0xff
push eax
call fcn.100444c9
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x70]
subss xmm0, dword [esp + 0x48]
add esp, 0x10
addss xmm0, dword [0x10096468]
push eax
push 0x5a00ff00
push ecx
push ecx
mov ecx, dword [0x10413628]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x1009b4f0]
movss dword [esp], xmm0
call fcn.10043c48
cmp ebp, dword [esp + 0x5c]
jb 0x1005af0b
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x150
ret