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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x10106040]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov byte [edi + 7], 0
mov ecx, dword [esi]
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x2bc]
mov dword [edi + 0x18], eax
mov eax, dword [0x10115328]
cmp dword [eax + 0x90], 0x2014
jl 0x100a5228
imul eax, ecx, 0x74
jmp 0x100a522b
imul eax, ecx, 0x68
add eax, dword [0x10110324]
xorps xmm0, xmm0
add eax, 0x2c
sub esp, 0x18
mov edx, esp
mov dword [esp + 0x28], eax
mov ecx, eax
movups xmmword [edx], xmm0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [esp + 0x2c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a5260
sub ecx, dword [esp + 0x2c]
push ecx
push dword [esp + 0x2c]
mov ecx, edx
call fcn.10042f00
call fcn.1009e820
mov dword [edi + 0x1c], eax
add esp, 0x18
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0xffffffff
mov eax, dword [0x10115328]
cmp dword [eax + 0x90], 0x2014
jl 0x100a52e2
imul edx, dword [esi], 0x74
mov ecx, dword [0x10110324]
mov ecx, dword [edx + ecx + 0x68]
cmp ecx, 0xffffffff
je 0x100a52c2
mov dword [edi + 0x28], ecx
mov eax, dword [0x10115328]
cmp dword [eax + 0x90], 0x2014
jl 0x100a52e2
imul ecx, dword [esi], 0x74
mov eax, dword [0x10110324]
mov eax, dword [ecx + eax + 0x6c]
cmp eax, 0xffffffff
je 0x100a52e2
mov dword [edi + 0x34], eax
push dword [esi + 0xb94]
lea eax, [edi + 0xac]
push 0x40
push eax
call fcn.100bdf25
mov dword [edi + 0x174], 0xc1800000
add esp, 0xc
mov dword [edi + 0x178], 0xc1800000
mov dword [edi + 0x17c], 0xc2100000
mov dword [edi + 0x168], 0x41800000
mov dword [edi + 0x16c], 0x41800000
mov dword [edi + 0x170], 0x42100000
mov eax, dword [0x101153a4]
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x18]
jl 0x100a5991
mov edx, dword [0x1010e748]
mov byte [edi + 7], 1
movsd xmm0, qword [edx + 0x2af98]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
movsd xmm0, qword [edx + 0x2af98]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x7c], xmm0
mov eax, dword [0x10115328]
mov ecx, dword [esi]
cmp dword [eax + 0x90], 0x2014
mov eax, dword [0x10110324]
jl 0x100a538f
imul ecx, ecx, 0x74
jmp 0x100a5392
imul ecx, ecx, 0x68
mov al, byte [ecx + eax + 0x3c]
test al, al
je 0x100a5440
push dword [esi + 0xb94]
mov eax, dword [0x1010ea10]
call eax
mov edx, eax
add esp, 4
mov dword [esp + 0xc], edx
test edx, edx
je 0x100a541b
mov eax, dword [edx + 0xa8]
xor ecx, ecx
add eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp dword [edx + 0xa4], ecx
jle 0x100a541b
mov esi, 0x1010cd38
push dword [esi]
push eax
call fcn.100bd565
add esp, 8
test eax, eax
je 0x100a546d
mov eax, dword [esp + 0x10]
add esi, 4
cmp esi, 0x1010cd60
jl 0x100a53d7
mov ecx, dword [esp + 0x14]
add eax, 0xb0
mov edx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [edx + 0xa4]
jl 0x100a53d2
mov esi, dword [esp + 0x18]
or ecx, 0xffffffff
mov eax, dword [esi + 0x2dc]
cmp eax, ecx
je 0x100a598d
cmp eax, 0x64
jle 0x100a543a
cmp eax, 0x6f
jl 0x100a598d
mov edx, dword [0x1010e748]
xor al, al
mov byte [edi + 8], al
cmp dword [edi + 0x28], 0
mov byte [edi + 0x11], al
jg 0x100a54a3
lea eax, [edx + 0x1a34bc]
push 0x100f5524
push eax
call fcn.100ab550
add esp, 8
test eax, eax
je 0x100a5477
mov eax, 1
jmp 0x100a5499
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x100a541e
mov eax, dword [0x1010e748]
add eax, 0x1a34bc
push str.35hp
push eax
call fcn.100ab550
add esp, 8
neg eax
sbb eax, eax
and eax, 0xffffffbf
add eax, 0x64
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 0
movss xmm3, dword [esi + 0x30c]
xorps xmm2, xmm2
subss xmm3, dword [esi + 0x1b8]
ucomiss xmm3, xmm2
movss dword [edi + 0x68], xmm3
lahf
test ah, 0x44
jnp 0x100a551b
movss xmm2, dword [esi + 0x2c0]
subss xmm2, dword [esi + 0x16c]
movss xmm1, dword [esi + 0x2c4]
movss xmm0, dword [esi + 0x2c8]
subss xmm1, dword [esi + 0x170]
subss xmm0, dword [esi + 0x174]
divss xmm2, xmm3
divss xmm1, xmm3
divss xmm0, xmm3
movss dword [edi + 0x15c], xmm2
xorps xmm2, xmm2
movss dword [edi + 0x160], xmm1
movss dword [edi + 0x164], xmm0
mov eax, dword [esi + 0x378]
mov dword [edi + 0x174], 0xc1800000
mov dword [edi + 0x178], 0xc1800000
cmp eax, 1
jne 0x100a5554
movss xmm0, dword [0x100f5ea0]
movss dword [edi + 0x17c], xmm0
movss xmm0, dword [0x100f5d48]
jmp 0x100a556c
movss xmm0, dword [0x100f5ea4]
movss dword [edi + 0x17c], xmm0
movss xmm0, dword [0x100f5d54]
mov dword [edi + 0x168], 0x41800000
mov dword [edi + 0x16c], 0x41800000
movss dword [edi + 0x170], xmm0
mov edx, dword [esi + 0x378]
cmp edx, 1
sete al
mov byte [edi + 9], al
mov eax, dword [0x10115328]
mov ecx, dword [esi]
cmp dword [eax + 0x90], 0x2014
mov eax, dword [0x10110324]
jl 0x100a55b4
imul ecx, ecx, 0x74
jmp 0x100a55b7
imul ecx, ecx, 0x68
mov eax, dword [ecx + eax + 8]
test eax, eax
setne al
mov byte [edi + 0xe], al
mov eax, dword [0x10115328]
cmp dword [eax + 0x90], 0x2014
jl 0x100a55e2
imul ecx, dword [esi], 0x74
mov eax, dword [0x10110324]
mov eax, dword [ecx + eax + 0x70]
jmp 0x100a55e5
or eax, 0xffffffff
test eax, eax
lea ecx, [esi + 0xb48]
setne al
mov byte [edi + 0xf], al
mov eax, dword [esi + 0x2dc]
mov eax, dword [eax*4 + 0x100ebbc8]
mov dword [edi + 0x40], eax
cvttss2si eax, dword [esi + 0x2e0]
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x144]
mov dword [edi + 0x138], eax
mov eax, dword [edi + 0x148]
mov dword [edi + 0x13c], eax
mov eax, dword [edi + 0x14c]
mov dword [edi + 0x140], eax
mov eax, dword [ecx]
mov dword [edi + 0x144], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x148], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x14c], eax
cmp edx, 1
jne 0x100a565b
movss xmm3, dword [0x100f5d1c]
jmp 0x100a5663
movss xmm3, dword [0x100f5d2c]
movss xmm1, dword [ecx]
lea eax, [edi + 0x12c]
movss xmm0, dword [ecx + 4]
addss xmm1, xmm2
addss xmm3, dword [ecx + 8]
movss xmm5, dword [0x100f5dc0]
addss xmm0, xmm2
movss dword [edi + 0x150], xmm1
movss dword [edi + 0x158], xmm3
movss xmm3, dword [0x100f5de0]
movss dword [edi + 0x154], xmm0
movss xmm2, dword [esi + 0xb54]
mulss xmm2, dword [0x100f5e88]
movss xmm0, dword [esi + 0xb58]
movss xmm1, dword [esi + 0xb5c]
comiss xmm2, xmm5
movss dword [eax + 4], xmm0
movss dword [eax + 8], xmm1
movss dword [eax], xmm2
jbe 0x100a56e5
subss xmm2, xmm3
movaps xmm0, xmm2
movss dword [eax], xmm0
movss xmm4, dword [0x100f5edc]
comiss xmm4, xmm2
jbe 0x100a56fa
addss xmm2, xmm3
movss dword [eax], xmm2
movss xmm0, dword [eax + 4]
comiss xmm0, xmm5
jbe 0x100a570d
subss xmm0, xmm3
movss dword [eax + 4], xmm0
comiss xmm4, xmm0
jbe 0x100a571b
addss xmm0, xmm3
movss dword [eax + 4], xmm0
comiss xmm1, xmm5
jbe 0x100a572c
subss xmm1, xmm3
movaps xmm0, xmm1
movss dword [eax + 8], xmm0
comiss xmm4, xmm1
jbe 0x100a573a
addss xmm1, xmm3
movss dword [eax + 8], xmm1
movss xmm2, dword [edi + 0x15c]
movss xmm0, dword [edi + 0x160]
movaps xmm1, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm2
movss dword [esp + 0x18], xmm2
addss xmm0, xmm1
call fcn.10002600
movss xmm1, dword [edi + 0x164]
lea ecx, [edi + 0x70]
movss dword [edi + 0x48], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x100f6200]
lea eax, [edi + 0x74]
movss dword [edi + 0x4c], xmm0
movss xmm2, dword [edi + 0x160]
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm1
test ecx, ecx
je 0x100a57b4
test eax, eax
jne 0x100a57d4
push 0x7e
push str.C:UsersPCDesktopheadcoreHeadCore_src_toolsmath.cpp
push str.forwardmove__sidemove
call fcn.100bb717
movss xmm0, dword [esp + 0x24]
add esp, 0xc
movss xmm2, dword [esp + 0xc]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100a57e9
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x100a5834
lea eax, [edi + 0x12c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], 0
call fcn.10080b30
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 0x70], xmm0
movss xmm0, dword [esp + 0x20]
mulss xmm0, dword [0x100f5e7c]
movss dword [edi + 0x74], xmm0
movss xmm0, dword [esi + 0xb48]
lea ecx, [esi + 0xb48]
mov eax, dword [0x1010e83c]
lea edx, [esp + 0x38]
push 0xffffffffffffffff
push dword [esi + 0x378]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xb4c]
push 1
push edx
push ecx
movss dword [esp + 0x50], xmm0
mov dword [esp + 0x54], 0xc5800000
call eax
movss xmm0, dword [esi + 0xb50]
add esp, 0x14
subss xmm0, dword [esp + 0x40]
mulss xmm0, dword [eax + 0x10]
movss dword [esp + 0xc], xmm0
movss dword [edi + 0x54], xmm0
movss dword [edi + 0x60], xmm0
movss xmm0, dword [eax + 0x28]
cvtps2pd xmm0, xmm0
call fcn.100d2480
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x100f5d68]
movss dword [edi + 0x50], xmm0
mov eax, dword [0x101153a4]
movss xmm2, dword [edi + 0x144]
movss xmm0, dword [edi + 0x148]
movss xmm1, dword [edi + 0x14c]
subss xmm0, dword [eax + 0x148]
subss xmm2, dword [eax + 0x144]
subss xmm1, dword [eax + 0x14c]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10002600
movss dword [edi + 0x6c], xmm0
movss xmm0, dword [0x100f5ab0]
comiss xmm0, dword [esp + 0xc]
seta al
mov byte [edi + 0xa], al
mov esi, dword [esi + 0x364]
cmp esi, 0x1ff
ja 0x100a595e
mov eax, dword [0x1010e748]
mov esi, dword [eax + esi*4 + 0x19ccb0]
test esi, esi
je 0x100a595e
push 0x40
push esi
call fcn.100bd7fd
add esp, 8
test eax, eax
je 0x100a595e
push esi
lea eax, [edi + 0xec]
push 0x40
push eax
call fcn.100bdf25
add esp, 0xc
lea eax, [edi + 0xec]
push str._shield_
push eax
call fcn.100ab550
add esp, 8
test eax, eax
setne al
mov byte [edi + 0x10], al
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100a9d10
mov esp, ebp
pop ebp
ret 8
mov byte [edi + 8], 1
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor ecx, esp
call fcn.100a9d10
mov esp, ebp
pop ebp
ret 8