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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b03f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe8
push esi
mov eax, edx
mov esi, ecx
push edi
mov ecx, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], esi
call fcn.100045c0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], eax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.10004120
mov ecx, dword [0x100c6f30]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], edi
mov ecx, dword [ecx]
cmp dword [eax], ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [esi + 4]
cmovl edx, eax
mov dword [ebp - 0x60], ecx
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x10004f4d
mov ecx, dword [0x100c3a18]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x78]
call edx
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10004f4d
mov ecx, dword fs:[0x2c]
mov eax, dword [0x100c2ee8]
mov edx, dword [ecx + eax*4]
mov ecx, dword [0x100c3a14]
cmp ecx, dword [edx + 4]
jg 0x10004f85
mov eax, dword [0x100c3a20]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx]
cmp eax, dword [esi + 0xac]
jg 0x10004f4d
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xb0]
lea eax, [eax + ecx*4]
add eax, esi
je 0x10004f4d
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 4]
jg 0x10004f4d
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x48]
add ecx, eax
mov dword [ebp - 0x3c], ecx
je 0x10004f4d
movss xmm3, dword [ecx + 0x14]
movss xmm4, dword [ecx + 0xc]
movss xmm2, dword [ecx + 0x10]
addss xmm3, dword [ecx + 8]
addss xmm4, dword [ecx + 0x18]
addss xmm2, dword [ecx + 0x1c]
movss xmm0, dword [0x100b9a18]
mov edx, dword [ebp - 0x30]
mulss xmm3, xmm0
mov dword [ebp - 0x20], edi
mulss xmm4, xmm0
mulss xmm2, xmm0
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x58], xmm3
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x54], xmm4
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x50], xmm2
cmp edi, edx
je 0x10004ac0
mov eax, dword [ebp - 0x50]
lea esi, [edi + 0xc]
movaps xmm0, xmm3
mov dword [ebp - 0x20], esi
unpcklps xmm0, xmm4
movq qword [edi], xmm0
movq qword [ebp - 0x58], xmm0
mov dword [edi + 8], eax
jmp 0x10004afd
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.10005ed0
movss xmm2, dword [ebp - 0x50]
movss xmm4, dword [ebp - 0x54]
movss xmm3, dword [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x38], xmm3
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10004b17
cmp eax, 2
je 0x10004b17
cmp eax, 3
je 0x10004b17
cmp eax, 5
jne 0x10004cda
mov eax, dword [0x100c6f54]
movd xmm5, dword [eax]
cvtdq2ps xmm5, xmm5
mov eax, dword [ebp - 0x44]
movss xmm0, dword [eax + 0x3c]
comiss xmm0, dword [0x100b9b40]
divss xmm5, dword [0x100b9b4c]
mulss xmm5, dword [ecx + 0x30]
movss dword [ebp - 0x28], xmm5
jb 0x10004baa
movss dword [ebp - 0x64], xmm2
movaps xmm1, xmm5
mulss xmm1, dword [0x100b9a3c]
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x6c], xmm0
movaps xmm0, xmm4
subss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
cmp esi, edx
je 0x10004b89
movq xmm0, qword [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
movq qword [esi], xmm0
mov dword [esi + 8], eax
add esi, 0xc
mov dword [ebp - 0x20], esi
jmp 0x10004baa
lea eax, [ebp - 0x6c]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10005ed0
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
movss xmm5, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, xmm5
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x70], xmm0
cmp esi, edx
je 0x10004be7
movq xmm0, qword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
movq qword [esi], xmm0
mov dword [esi + 8], eax
add esi, 0xc
mov dword [ebp - 0x20], esi
jmp 0x10004c08
lea eax, [ebp - 0x78]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10005ed0
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
movss xmm5, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm5
movss dword [ebp - 0x7c], xmm0
cmp esi, edx
je 0x10004c4b
movq xmm0, qword [ebp - 0x84]
mov eax, dword [ebp - 0x7c]
movq qword [esi], xmm0
mov dword [esi + 8], eax
add esi, 0xc
mov dword [ebp - 0x20], esi
jmp 0x10004c6f
lea eax, [ebp - 0x84]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10005ed0
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
movss xmm5, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, xmm5
movss dword [ebp - 0x88], xmm0
cmp esi, edx
je 0x10004cbb
movq xmm0, qword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
movq qword [esi], xmm0
mov dword [esi + 8], eax
add esi, 0xc
mov dword [ebp - 0x20], esi
jmp 0x10004cda
lea eax, [ebp - 0x90]
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.10005ed0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov ecx, edi
mov dword [ebp - 0x18], edi
cmp ecx, esi
je 0x10004f4d
nop word [eax + eax]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
movq xmm0, qword [ecx]
movq qword [ebp - 0xb4], xmm0
mov eax, dword [eax]
movss xmm5, dword [ebp - 0xb0]
movss xmm2, dword [ebp - 0xb4]
mov dword [ebp - 0x34], 0xffffffff
lea eax, [eax + eax*2]
add eax, eax
movups xmm1, xmmword [edx + eax*8 + 0x3b8]
movups xmm4, xmmword [edx + eax*8 + 0x3c8]
movups xmm6, xmmword [edx + eax*8 + 0x3d8]
mov eax, dword [ecx + 8]
movaps xmm7, xmm1
mov dword [ebp - 0xac], eax
movss xmm3, dword [ebp - 0xac]
movaps xmm0, xmm1
mulss xmm0, xmm2
shufps xmm7, xmm1, 0x55
mulss xmm7, xmm5
addss xmm7, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm0, xmm3
shufps xmm1, xmm1, 0xff
addss xmm7, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
mulss xmm0, xmm5
addss xmm7, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm0
movss dword [ecx], xmm7
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
mulss xmm0, xmm3
shufps xmm4, xmm4, 0xff
addss xmm1, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0x55
mulss xmm0, xmm5
addss xmm1, xmm4
movaps xmm4, xmm6
mulss xmm4, xmm2
addss xmm4, xmm0
movss dword [ecx + 4], xmm1
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xaa
mulss xmm0, xmm3
shufps xmm6, xmm6, 0xff
addss xmm4, xmm0
addss xmm4, xmm6
movss dword [ecx + 8], xmm4
subss xmm1, dword [0x100c2188]
subss xmm7, dword [0x100c2184]
subss xmm4, dword [0x100c218c]
movaps xmm0, xmm1
movss dword [ebp - 0x28], xmm1
mulss xmm0, xmm1
movaps xmm1, xmm7
mulss xmm1, xmm7
movaps xmmword [ebp - 0xe0], xmm7
movss dword [ebp - 0x38], xmm4
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10003db0
movaps xmm3, xmm0
xorps xmm0, xmm0
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10004e57
movaps xmm1, xmmword [ebp - 0xe0]
movss xmm0, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x38]
divss xmm1, xmm3
divss xmm0, xmm3
divss xmm2, xmm3
jmp 0x10004e5d
xorps xmm2, xmm2
xorps xmm1, xmm1
push ecx
mov ecx, dword [0x100c39f0]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0xec], xmm1
push eax
lea edx, [ebp - 0xec]
movss dword [ebp - 0xe8], xmm0
movss dword [ebp - 0xe4], xmm2
mov dword [ebp - 0x28], 0
call fcn.10009960
add esp, 0xc
test al, al
je 0x10004ea4
cvttss2si edi, dword [ebp - 0x28]
jmp 0x10004ea6
xor edi, edi
mov dword [0x100c7c60], edi
cmp edi, dword [ebp - 0x5c]
jl 0x10004f39
mov ecx, dword [ebp - 0x4c]
call fcn.10004120
cmp edi, dword [eax]
jl 0x10004ecb
cmp dword [ebp - 0x34], 3
jne 0x10004ecb
mov al, 1
jmp 0x10004ecd
xor al, al
mov edx, dword [ebx + 8]
mov byte [ebp - 0x11], al
cmp edi, dword [edx + 4]
jg 0x10004edc
test al, al
je 0x10004f39
cmp byte [ebp - 0x11], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 4], edi
mov dword [edx], eax
je 0x10004f3c
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10004f72
mov eax, dword [ebp - 0x30]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 2
cmp edx, 0x1000
jb 0x10004f68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100050ea
jmp 0x10004f68
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jne 0x10004cf0
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
inc dword [ebp - 0x40]
add eax, 0x44
mov dword [ebp - 0x48], eax
cmp eax, 0x4c8
jge 0x10004efe
mov ecx, dword [ebp - 0x60]
jmp 0x100049b6
push edx
push ecx
call fcn.10055494
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x100c3a14
call fcn.1005566c
add esp, 4
cmp dword [0x100c3a14], 0xffffffff
jne 0x10004a01
call fcn.10005de0
movq xmm0, qword [str.m_nHitboxSet]
mov esi, eax
mov ecx, dword [0x100b75dc]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0xc
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
push 0x10
mov dword [ebp - 0xe0], 0
push str.DT_BaseAnimating
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
call fcn.10003580
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
call fcn.100537d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xcc]
mov dword [0x100c3a20], eax
cmp edx, 0x10
jb 0x10005078
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000506c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100050ea
jmp 0x1000506c
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x10005078
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x100050b6
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100050aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100050ea
jmp 0x100050aa
push edx
push ecx
call fcn.10055494
add esp, 8
jmp 0x100050b6
push 0x100c3a14
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0
call fcn.10055622
mov esi, dword [ebp - 0x3c]
add esp, 4
jmp 0x10004a01
call fcn.10059ddf
int3