Function at 0x10004bd0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x98
push esi
push edi
push dword [edx + 0xb38]
mov edi, ecx
mov ecx, dword [0x1003894c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x10004c3e.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je case.0x10004c3e.0
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x10004c3e.0
cmp eax, 0x1d
jg case.0x10004c3e.0
cmp eax, 0x1c
ja case.0x10004c3e.1
movzx eax, byte [eax + 0x10005d84]
jmp dword [eax*4 + 0x10005d7c]
push esi
lea eax, [esp + 0x64]
push eax
call fcn.1001d4c0
mov dword [edi + 0x1a0], 0x7fffffff
mov ecx, esi
mov dword [edi + 0x19c], 0xffffffff
mov dword [edi + 0x1a4], 0x4f000000
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov byte [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x4a4]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x10004daf
cmp eax, 0x1d
jg 0x10004daf
cmp eax, 0x11
jne 0x10004daf
mov edx, dword [0x10049184]
mov eax, 0xa
cmp byte [0x10049179], 0
mov ecx, edx
cmovne ecx, eax
jmp 0x10004db7
mov edx, dword [0x10049184]
mov ecx, edx
mov dword [0x102263c8], ecx
mov eax, 0x10038120
mov dword [0x100380d8], ecx
cmp dword [eax], ecx
jne 0x10004dce
mov dword [eax], edx
sub eax, 4
cmp eax, 0x100380dc
jge 0x10004dc8
mov eax, dword [0x1004919c]
test eax, eax
jle 0x10004df1
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x10004c3e.0
mov eax, dword [0x10038948]
mov esi, 0xc
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
cmp eax, 1
jl 0x10005567
mov esi, eax
nop dword [eax]
mov ecx, dword [0x10038940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x10005554
mov ecx, dword [0x1003894c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x10005554
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x10005554
mov ecx, dword [esp + 0x10]
call fcn.10002d90
cmp dword [eax], 0
jne 0x10005554
cmp byte [0x10049174], 0
jne 0x10004e8c
mov ecx, dword [esp + 0x10]
call fcn.10002970
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.10002970
cmp esi, dword [eax]
mov esi, dword [esp + 0xc]
je 0x10005554
mov ecx, dword [esp + 0x10]
call fcn.10002e80
cmp dword [eax], 0x1f4
jg 0x10005554
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x58]
shr eax, 0x18
cmp al, 0xff
jb 0x10005554
cmp byte [esi + 0x10049620], 0
jne 0x10005554
movss xmm0, dword [ecx + 0x29c]
subss xmm0, dword [0x10039654]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [ecx + 0x2a0]
subss xmm0, dword [0x10039658]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ecx + 0x2a4]
lea ecx, [esp + 0x48]
subss xmm0, dword [0x1003965c]
movss dword [esp + 0x50], xmm0
call fcn.10002930
comiss xmm0, dword [esp + 0x74]
ja 0x10005554
push dword [esp + 0xc]
call fcn.1002a620
mov ecx, dword [0x102263c8]
test al, al
mov eax, 0xc
cmovne ecx, eax
mov eax, dword [0x1004917c]
mov dword [0x102263c8], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10004fa1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
lea ecx, [esp + 0x54]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
movss dword [esp + 0x5c], xmm0
call fcn.10002930
mov eax, dword [0x1004917c]
cvttss2si ecx, xmm0
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x10]
cmp eax, 1
jne 0x10004fb7
mov ecx, esi
call fcn.10002e80
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp ecx, dword [edi + 0x1a0]
jg 0x10005550
cmp byte [0x10049175], 0
je 0x10004ff3
mov ecx, esi
call fcn.10002e80
mov eax, dword [eax]
cmp eax, dword [0x10049180]
jge 0x10004fe9
mov dword [0x10049184], 0xa
jmp 0x10004ff3
mov eax, dword [0x10049184]
mov dword [0x102263c8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1000518e
cmp eax, 0x1d
jg 0x1000518e
cmp eax, 0x11
jne 0x1000518e
push esi
push dword [0x102263c8]
mov ecx, edi
call fcn.100034e0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 0x24]
push esi
push dword [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.10002fa0
test al, al
je 0x10005550
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x10039654]
push dword [esp + 0x1c]
push esi
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm0, xmm3
mulss xmm2, xmm1
movss dword [edi], xmm4
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm2
call fcn.100295d0
test al, al
je 0x10005942
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x20], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 0x28], xmm2
test ah, 0x44
jp 0x10005128
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005128
xorps xmm1, xmm1
jmp 0x1000591f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x40], xmm0
jbe 0x10005155
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x40], xmm0
movsd xmm1, qword [esp + 0x10]
movsd xmm2, qword [esp + 0x28]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x20]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x40]
jmp 0x10005917
cmp byte [0x10049172], 0
je 0x1000595b
cmp byte [0x10049173], 0
je 0x100055f4
mov eax, 0x10038120
mov dword [esp + 0x40], eax
jmp 0x100051b7
mov esi, dword [esp + 0x10]
push esi
push dword [eax]
mov ecx, edi
call fcn.100034e0
mov esi, 0x84
nop word [eax + eax]
movss xmm4, dword [esi + edi]
lea eax, [esi + edi]
subss xmm4, dword [0x10039654]
push dword [ebp + 0xc]
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm1, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10039658]
mulss xmm1, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm0, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003965c]
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm0, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm0
call fcn.10003240
test al, al
je 0x1000536a
push dword [esp + 0x1c]
push dword [ebp + 0xc]
call fcn.100295d0
test al, al
je 0x10005356
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x38], xmm2
test ah, 0x44
jp 0x100052ca
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x100052ca
xorps xmm1, xmm1
jmp 0x10005333
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x100052f7
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x38]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x28]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [ebp + 8]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x100051d0
mov eax, dword [esp + 0x40]
sub eax, 4
mov dword [esp + 0x40], eax
cmp eax, 0x100380d8
jge 0x100051b3
mov esi, 0x10038120
push dword [esp + 0x10]
mov ecx, edi
push dword [esi]
call fcn.100034e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10039654]
push dword [ebp + 0xc]
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm4
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call fcn.10003240
test al, al
je 0x10005541
push dword [esp + 0x1c]
push dword [ebp + 0xc]
call fcn.100295d0
test al, al
je 0x1000552d
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
test ah, 0x44
jp 0x1000549e
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1000549e
xorps xmm1, xmm1
jmp 0x1000550a
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x100054ce
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x28]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x38]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [ebp + 8]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1a0], eax
sub esi, 4
cmp esi, 0x100380d8
jge 0x10005391
mov esi, dword [esp + 0xc]
dec esi
mov dword [esp + 0xc], esi
cmp esi, 1
jge 0x10004e10
mov esi, 0xc
cmp byte [edi + 0x1a8], 0
je 0x10005589
cmp dword [edi + 0x19c], 0xffffffff
je 0x10005589
cmp byte [0x10049170], 0
je 0x10005589
mov eax, dword [ebp + 8]
or dword [eax + 0x24], 1
push 0x46
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, 9
cmovne esi, ecx
cmp byte [0x1004939c], 0
mov dword [0x10049184], esi
je 0x10005d35
cmp byte [0x1004937e], 0
mov ecx, dword [0x1003893c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
je 0x10005c43
movss xmm0, dword [0x10049364]
push 0x10031ca4
movss dword [esp + 0x44], xmm0
call eax
movss xmm0, dword [esp + 0x40]
push ecx
mov ecx, eax
movss dword [esp], xmm0
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
jmp 0x10005c53
push esi
push dword [0x100380d8]
mov ecx, edi
call fcn.100034e0
mov dword [esp + 0x40], 8
lea esi, [edi + 0x84]
movss xmm4, dword [esi]
subss xmm4, dword [0x10039654]
push dword [ebp + 0xc]
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [esi + 4]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
push esi
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [esi + 8]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm1
call fcn.10003240
test al, al
je 0x100057a9
push dword [esp + 0x1c]
push dword [ebp + 0xc]
call fcn.100295d0
test al, al
je 0x10005795
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm2
test ah, 0x44
jp 0x10005709
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x10005709
xorps xmm1, xmm1
jmp 0x10005772
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x10005736
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x28]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x38]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [ebp + 8]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1a0], eax
mov eax, dword [esp + 0x40]
sub esi, 0xc
dec eax
mov dword [esp + 0x40], eax
test eax, eax
jg 0x10005610
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10039654]
mov esi, dword [ebp + 0xc]
push esi
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.10003240
test al, al
je 0x10005550
push dword [esp + 0x1c]
push esi
call fcn.100295d0
test al, al
je 0x10005942
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm2
test ah, 0x44
jp 0x100058b6
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x100058b6
xorps xmm1, xmm1
jmp 0x1000591f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x100058e3
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x28]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x38]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
movsd xmm1, qword [esp + 0x20]
mulsd xmm0, qword [0x10034dc8]
mov eax, dword [ebp + 8]
cvtsd2ss xmm0, xmm0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov dword [eax + 0x14], 0
mov byte [edi + 0x1a8], 1
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x19c], esi
mov dword [edi + 0x1a0], eax
jmp 0x10005554
cmp byte [0x10049173], 0
je 0x10005b2e
mov esi, 0x10038120
nop dword [eax]
push dword [esp + 0x10]
mov ecx, edi
push dword [esi]
call fcn.100034e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10039654]
push dword [ebp + 0xc]
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm0, xmm2
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm0
call fcn.10003240
test al, al
je 0x10005b1a
push dword [esp + 0x1c]
push dword [ebp + 0xc]
call fcn.100295d0
test al, al
je 0x10005b06
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
test ah, 0x44
jp 0x10005a77
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10005a77
xorps xmm1, xmm1
jmp 0x10005ae3
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x20], xmm0
jbe 0x10005aa7
addsd xmm0, qword [0x10034dd8]
movsd qword [esp + 0x20], xmm0
movsd xmm1, qword [esp + 0x30]
movsd xmm2, qword [esp + 0x28]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x38]
xorps xmm0, xmmword [0x10034f60]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10034dc8]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [ebp + 8]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1a0], eax
sub esi, 4
cmp esi, 0x100380d8
jge 0x10005970
jmp 0x10005550
push esi
push dword [0x100380d8]
mov ecx, edi
call fcn.100034e0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10039654]
mov esi, dword [ebp + 0xc]
push esi
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10039658]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1003965c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10034c44]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10034d88]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm3, xmm0
mulss xmm2, xmm0
movss dword [edi], xmm4
movss dword [edi + 4], xmm3
movss dword [edi + 8], xmm2
call fcn.10003240
test al, al
je 0x10005550
push dword [esp + 0x1c]
push esi
call fcn.100295d0
test al, al
je 0x10005942
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x38], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
test ah, 0x44
jp 0x10005c38
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x10005c38
xorps xmm1, xmm1
jmp 0x1000591f
movaps xmm0, xmm1
movaps xmm1, xmm2
jmp 0x100058b9
push str.r_aspectratio
call eax
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [0x1004937f], 0
je 0x10005c7b
mov ecx, dword [0x1003893c]
push str.r_modelwireframedecal
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [0x1003893c]
push str.showhitlocation
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [0x10049380], 0
je 0x10005cbe
mov ecx, dword [0x1003893c]
push str.sv_showhitboxes
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [0x10049381], 0
je 0x10005ce4
mov ecx, dword [0x1003893c]
push 0x10031cfc
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [0x10049383], 0
je 0x10005d0f
mov ecx, dword [0x1003893c]
mov esi, dword [0x10049368]
push str.mp_feetyawrate
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push esi
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [0x10049382], 0
je 0x10005d35
mov ecx, dword [0x1003893c]
push 0x10031d1c
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
cmp byte [edi + 0x1a8], 0
jne 0x10005d57
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x6fc], 0
mov eax, dword [ebp + 8]
jg 0x10005d5a
or dword [eax + 0x24], 0x2000
jmp 0x10005d5a
mov eax, dword [ebp + 8]
cmp byte [0x10049176], 0
jne case.0x10004c3e.0
mov ecx, dword [0x10038940]
add eax, 0xc
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8