Function at 0x1004a9ba
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x148
push str.renderVehicleTags__
call fcn.1004b85f
pop ecx
call fcn.10029dc3
test eax, eax
jne 0x1004ae3c
mov eax, dword [0x10157e8c]
cmp dword [eax + 0x9986], 0
jne 0x1004ae3c
mov ecx, dword [0x1018d794]
test ecx, ecx
je 0x1004ae3c
mov eax, dword [ecx]
call dword [eax]
test eax, eax
je 0x1004ae3c
mov ecx, dword [0x1018d79c]
test ecx, ecx
je 0x1004ae3c
cmp dword [0x10179594], 0
push esi
je 0x1004aa62
cmp dword [0x1018d780], 0
je 0x1004aa62
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 9
call esi
test ax, ax
jns 0x1004aa41
cmp dword [0x1015ce07], 0
jne 0x1004ae3b
mov eax, dword [0x101795ac]
cmp dword [eax], 0
jne 0x1004ae3b
push 0x79
call esi
test ax, ax
js 0x1004ae3b
mov ecx, dword [0x1018d79c]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
push eax
call fcn.1002a0e0
pop ecx
mov ecx, dword [0x1018d79c]
test eax, eax
jne 0x1004aa92
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 0x1004aaa8
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
mov ecx, dword [0x1018d794]
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
push ebp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [eax + 4]
call fcn.10016314
mov ebp, dword [esp + 0x4c]
cmp ebp, dword [esp + 0x50]
jae 0x1004ae39
push ebx
mov ebx, dword [ebp + 4]
add ebp, 8
push ebx
call fcn.1002a127
pop ecx
test eax, eax
jne 0x1004ae2e
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 4]
movss xmm2, dword [esp + 0x34]
lea edi, [esp + 0x28]
movss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x3c]
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 + 0x2c]
subss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x30]
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 [0x1015cec3]
ja 0x1004ae2e
mov eax, dword [ebx]
mov ecx, dword [0x1018d79c]
mov esi, dword [eax + 0xc]
mov eax, dword [ecx]
add esi, ebx
call dword [eax + 0x10]
cmp esi, eax
je 0x1004ae2e
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
call fcn.10026971
test al, al
jne 0x1004ae2e
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x18]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [0x10074e84]
push eax
lea eax, [esp + 0x44]
push eax
movss dword [esp + 0x50], xmm0
call fcn.10041674
movss xmm0, dword [0x10074e84]
comiss xmm0, dword [esp + 0x28]
pop ecx
pop ecx
ja 0x1004ae2e
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.10029e54
cmp dword [0x1017959c], 0
mov esi, eax
mov eax, dword [ebx]
pop ecx
je 0x1004ac1f
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov edx, dword [ecx]
call dword [edx + 0x1d4]
push eax
call fcn.10029cba
pop ecx
mov eax, dword [eax*4 + 0x1017d470]
jmp 0x1004ac2c
mov ecx, dword [eax + 4]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov ecx, dword [0x1018136c]
push eax
push dword [esi + 8]
mov esi, 0xff
lea eax, [esp + 0x60]
movss xmm0, dword [ecx + 0xe45]
push str._s___d_
push esi
push eax
movss dword [esp + 0x24], xmm0
call fcn.1004152c
mov ecx, dword [0x1018136c]
lea eax, [esp + 0x6c]
add esp, 0x14
push 0
push eax
call fcn.1003ff3d
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.10029c8c
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x14]
pop ecx
lea ecx, [esp + 0x58]
movzx edx, al
push ecx
mov ecx, eax
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 [0x1018136c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
call fcn.10041178
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x1d4]
mov ecx, dword [0x1018135c]
push 0x30000000
sub esp, 0x10
movss xmm0, dword [eax + 0x4c0]
minss xmm0, dword [0x1007ed78]
mov dword [esp + 0xc], 0x41300000
mov dword [esp + 8], 0x42c80000
mulss xmm0, dword [0x1007a6bc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x10074ea8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x10074ea8]
movss dword [esp], xmm0
call fcn.1003f9c4
push 0x40022d73
sub esp, 0x10
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x1007a730]
mov ecx, dword [0x1018135c]
mov dword [esp + 0xc], 0x41100000
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [0x10074ea8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x10074ea8]
movss dword [esp], xmm0
call fcn.1003f9c4
mov eax, dword [0x10181370]
movss xmm0, dword [eax + 0xe45]
cvttss2si eax, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
push eax
push str.Health:__d
lea eax, [esp + 0x60]
push esi
push eax
call fcn.1004152c
movss xmm0, dword [esp + 0x2c]
lea eax, [esp + 0x68]
subss xmm0, dword [esp + 0x34]
add esp, 0x10
addss xmm0, dword [0x10074ecc]
push eax
push 0x5a022d73
push ecx
push ecx
mov ecx, dword [0x10181370]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10085ca4]
movss dword [esp], xmm0
call fcn.10041178
cmp ebp, dword [esp + 0x54]
jb 0x1004aad6
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x148
ret