Function at 0x10129740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, dword [0x1034a72c]
push edi
mov dword [esp + 0x6c], esi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
add eax, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], eax
cmp edx, eax
je 0x10129e8a
mov dword [esp + 0x64], 6
mov eax, dword [esi + 0xc]
mov ecx, edx
dec eax
shr ecx, 1
and ecx, eax
mov ebx, edx
mov eax, dword [esi + 8]
and ebx, 1
mov dword [esp + 0x54], ebx
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1034a73c]
mov dword [esp + 0x48], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + ebx*8]
movsx eax, byte [eax + 0x10]
push eax
call edx
mov ecx, dword [esi + ebx*8]
mov dword [ecx], eax
mov ecx, dword [esi + ebx*8]
mov edx, dword [ecx]
test edx, edx
je 0x10129e6d
cmp byte [ecx + 5], 0
je 0x10129e62
cmp byte [ecx + 6], 0
jne 0x10129e62
mov eax, dword [ecx + 0x4c]
cmp byte [eax + 4], 0
jne 0x10129e62
cmp byte [ecx + 4], 0
jne 0x10129e62
mov ecx, edx
call fcn.100224a0
sub esp, 8
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d5bd0
mov eax, dword ds:[esi + ebx*8]
add esp, 8
fstp dword [esp + 0x5c]
movss xmm0, dword [esp + 0x5c]
comiss xmm0, dword [0x102fafb4]
seta cl
mov byte [eax + 0x40], cl
mov ecx, dword [esi + ebx*8]
mov edi, dword [ecx + 0x54]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov eax, dword [edi + 0x18]
test eax, eax
je 0x101298cd
mov esi, dword [edi + 0x14]
mov ebx, dword [edi + 8]
add esi, eax
cmp esi, dword [edi + 0x14]
je 0x101298c5
lea eax, ds:[esi - 1]
mov dword [esp + 0x50], eax
test ebx, ebx
je 0x10129868
mov edx, dword [ebx]
jmp 0x1012986a
xor edx, edx
mov ecx, dword [edx + 8]
dec ecx
and ecx, eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
call fcn.1011aa00
test al, al
jne 0x101298bf
sub esp, 0xc
lea ecx, [edi + 8]
mov eax, esp
sub esp, 0xc
mov dword [eax + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 4], 0
mov dword [eax], ebx
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], ebx
mov dword [eax + 8], esi
lea eax, [esp + 0x88]
push eax
call fcn.100375c0
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
jmp 0x10129850
mov esi, dword [esp + 0x50]
jmp 0x10129850
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x5c], eax
test eax, eax
je 0x10129949
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
mov esi, dword [eax + ecx*4]
mov ecx, edx
call fcn.10004ae0
movss xmm0, dword [eax]
comiss xmm0, dword [esi + 0x50]
ja 0x10129949
mov eax, dword ds:[esp + 0x5c]
mov edx, dword [esp + 0x4c]
test eax, eax
je 0x10129949
mov ecx, edx
call fcn.10007a80
mov ecx, dword [esp + 0x4c]
mov esi, eax
call fcn.100380c0
mov ecx, eax
movss xmm0, dword [ecx]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jp 0x10129949
movss xmm0, dword [ecx + 4]
ucomiss xmm0, dword [esi + 4]
lahf
test ah, 0x44
jp 0x10129949
movss xmm0, dword ds:[ecx + 8]
ucomiss xmm0, dword [esi + 8]
lahf
test ah, 0x44
jnp 0x10129e6d
mov esi, dword ds:[esp + 0x48]
mov eax, dword [esi + ebx*8]
mov edx, dword [eax + 0x54]
mov eax, dword [edx + 0x18]
add edx, 8
inc eax
mov dword [esp + 0x50], edx
cmp dword [edx + 8], eax
ja 0x10129971
push ecx
mov ecx, edx
call fcn.10001c40
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 8]
lea ecx, [eax - 1]
and ecx, dword [edx + 0xc]
mov dword [edx + 0xc], ecx
cmove ecx, eax
dec eax
dec ecx
and eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x58]
cmp dword [eax + ecx*4], 0
jne 0x101299ba
push 0xf54
call fcn.10099780
mov edx, dword [esp + 0x54]
add esp, 4
mov ebx, dword [esp + 0x58]
mov ecx, dword [edx + 4]
mov dword [ecx + ebx*4], eax
mov ebx, dword [esp + 0x54]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
dec ecx
and ecx, dword [esp + 0x5c]
mov ecx, dword [eax + ecx*4]
call fcn.1011ab80
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
inc dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x18]
mov dword [esp + 0x58], eax
cmp eax, 1
jle 0x10129a47
mov eax, dword [esi + ebx*8]
mov ecx, dword [eax]
call fcn.10022c20
test byte [eax], 1
je 0x10129a47
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
inc eax
dec ecx
and ecx, eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
test byte [eax], 1
je 0x10129a47
mov eax, dword [esi + ebx*8]
mov ecx, dword [eax]
call fcn.100224a0
mov esi, eax
sub esp, 8
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100d5947
movss xmm0, dword [esi + 8]
add esp, 8
fstp dword [esp + 0x5c]
subss xmm0, dword [esp + 0x5c]
movss dword [esi + 8], xmm0
mov esi, dword [esp + 0x48]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + ebx*8]
push dword [eax]
call fcn.1011a5a0
mov edx, dword [esi + ebx*8]
cmp byte [edx + 6], 0
jne 0x10129a7b
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
push dword [edx]
mov ecx, dword [eax + ecx*4]
call fcn.1011a2a0
mov ecx, dword ds:[esp + 0x4c]
call fcn.10007a80
mov ecx, dword [esp + 0x4c]
mov esi, eax
call fcn.100380c0
movss xmm0, dword [esi + 4]
sub esp, 8
movss xmm2, dword [esi]
movss xmm1, dword [esi + 8]
subss xmm2, dword [eax]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d5bd0
mov ecx, dword [edi + 0x10]
xor edx, edx
mov eax, dword [edi + 0xc]
add esp, 8
fstp dword [esp + 0x5c]
movss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x102fb0d0]
seta dl
dec ecx
and ecx, dword [edi + 0x14]
cmp dword [esp + 0x58], 1
mov eax, dword [eax + ecx*4]
mov byte [eax + 0x5c], dl
jle 0x10129e6d
mov ecx, dword [edi + 0x14]
mov esi, ecx
mov eax, dword [edi + 0x10]
dec eax
and esi, eax
lea edx, [ecx + 1]
and edx, eax
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + esi*4]
mov eax, dword [eax + edx*4]
mov esi, dword [esp + 0x48]
movss xmm0, dword [ecx + 0x50]
subss xmm0, dword [eax + 0x50]
cvttss2si eax, xmm0
mov dword [ecx + 0x58], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
mov edx, dword [esi + ebx*8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x58]
cmp dword [edx + 0x3c], eax
jge 0x10129b51
mov dword [edx + 0x3c], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
test byte [eax], 1
je 0x10129c8e
movss xmm0, dword [eax + 0xc]
sub esp, 8
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d5bd0
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
xorps xmm1, xmm1
add esp, 8
comiss xmm0, xmm1
jbe 0x10129c8e
mov ecx, dword [edi + 0x10]
sub esp, 8
mov eax, dword [edi + 0xc]
dec ecx
and ecx, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d5bd0
movss xmm0, dword [0x102fb0b8]
add esp, 8
fstp dword [esp + 0x5c]
comiss xmm0, dword [esp + 0x5c]
jbe 0x10129c8e
mov eax, dword [edi + 0x14]
sub esp, 8
mov ecx, dword [edi + 0x10]
inc eax
dec ecx
and ecx, eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d5bd0
movss xmm0, dword [0x102fb0b8]
add esp, 8
fstp dword [esp + 0x5c]
comiss xmm0, dword [esp + 0x5c]
jbe 0x10129c8e
mov eax, dword [edi + 0x14]
sub esp, 8
mov ecx, dword [edi + 0x10]
inc eax
dec ecx
and ecx, eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d5bd0
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
xorps xmm1, xmm1
add esp, 8
comiss xmm0, xmm1
jbe 0x10129c8e
mov cl, 1
jmp 0x10129c90
xor cl, cl
mov eax, dword [esi + ebx*8]
mov byte [eax + 0x41], cl
mov eax, dword [esi + ebx*8]
cmp byte [eax + 0x41], 0
je 0x10129cae
mov eax, dword [eax + 0x48]
mov dword [eax + 0xc], 0x42ac0000
jmp 0x10129df9
mov esi, dword [edi + 0x18]
add esi, dword [edi + 0x14]
mov eax, dword [edi + 8]
mov dword [esp + 0x58], eax
lea edx, [esi - 1]
mov dword [esp + 0x50], edx
cmp esi, dword [edi + 0x14]
je 0x10129d66
test eax, eax
je 0x10129cd3
mov eax, dword [eax]
jmp 0x10129cd5
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test byte [eax], 1
je 0x10129d4a
movss xmm1, dword [eax + 0xc]
sub esp, 8
movss xmm2, dword [eax + 8]
movss xmm0, dword [eax + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d5bd0
mov edx, dword [esp + 0x58]
xorps xmm1, xmm1
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
add esp, 8
comiss xmm0, xmm1
ja 0x10129d4a
mov eax, dword [esp + 0x48]
dec esi
mov eax, dword [eax + ebx*8]
mov eax, dword [eax + 0x54]
inc dword [eax + 4]
dec edx
mov eax, dword [esp + 0x58]
jmp 0x10129cbe
mov eax, dword [esp + 0x48]
dec esi
dec edx
mov eax, dword [eax + ebx*8]
mov eax, dword [eax + 0x54]
mov dword [eax + 4], 0
mov eax, dword [esp + 0x58]
jmp 0x10129cbe
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1034bc9c]
mov ecx, dword ds:[eax + ecx*4]
mov eax, dword [0x10359084]
cmp eax, dword [ecx + 4]
jg 0x10129e91
mov eax, dword [0x1034a73c]
mov esi, dword [esp + 0x48]
mov eax, dword [eax]
mov ecx, dword [esi + ebx*8]
movss xmm2, dword [eax + 0x1c]
mov eax, dword [ecx + 0x54]
movd xmm1, dword [eax + 4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
cvttss2si eax, xmm1
cdq
idiv dword [esp + 0x64]
sub edx, 3
cmp edx, 2
ja 0x10129dcb
mov eax, dword [ecx + 0x48]
mov dword [eax + 0xc], 0x41f00000
jmp 0x10129df9
mov eax, dword [esi + ebx*8]
mov ecx, dword [ecx + 0x48]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x10129df2
mov dword [ecx + 0xc], 0x42dc0000
jmp 0x10129df9
mov dword [ecx + 0xc], 0x429e0000
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
dec ecx
mov ebx, dword [edi + 0xc]
mov eax, ecx
and eax, edx
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x54]
cmp dword [eax + 0x58], 0
jne 0x10129e25
lea eax, [edx + 1]
and eax, ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x58], 0
je 0x10129e2c
mov eax, dword [esi + ebx*8]
mov byte [eax + 0x38], 1
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
dec ecx
mov edx, dword [esi + ebx*8]
inc eax
mov ebx, dword [edi + 0xc]
and eax, ecx
mov eax, dword [ebx + eax*4]
mov esi, dword [eax + 0x58]
cmp dword [edx + 0x3c], esi
jle 0x10129e58
and ecx, dword [edi + 0x14]
mov eax, dword [ebx + ecx*4]
cmp dword [eax + 0x58], 0
jne 0x10129e58
mov dword [edx + 0x3c], esi
jmp 0x10129e6d
mov dword ds:[edx + 0x3c], 0
jmp 0x10129e6d
mov ecx, dword [ecx + 0x54]
add ecx, 8
call fcn.10001860
mov edx, dword ds:[esp + 0x60]
mov esi, dword [esp + 0x6c]
inc edx
mov dword [esp + 0x60], edx
cmp edx, dword [esp + 0x68]
jne 0x10129776
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10359084
call fcn.100996f3
add esp, 4
cmp dword [0x10359084], 0xffffffff
jne 0x10129d8c
mov eax, dword [0x1034a73c]
push str.mp_facefronttime
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10359084
call fcn.100996a2
add esp, 4
jmp 0x10129d8c