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

Disassembly:
sub esp, 0x68
push esi
mov esi, dword [0x10114fd8]
mov dword [esp + 0x50], esi
mov eax, dword [esi + 0x3e40]
mov dword [esp + 0x5c], eax
cmp byte [eax + 0xaf], 0
jne 0x1004b4da
push edi
mov edi, dword [esi + 0x49e4]
push 0
mov eax, dword [edi + 0x48]
mov dword [esp + 0x68], eax
imul eax, eax, 0x70
add eax, dword [edi + 0x10]
cmp dword [esp + 0x78], 0
mov dword [esp + 0x6c], eax
mov eax, 0x100bdf48
cmovne eax, dword [esp + 0x78]
push eax
mov dword [esp + 0x60], eax
call fcn.1001634b
add esp, 4
mov dword [esp + 0x44], eax
xor ecx, ecx
inc ecx
mov dword [esp], 0xbf800000
push ecx
push eax
push dword [esp + 0x64]
lea eax, [esp + 0x40]
push eax
call fcn.1000d679
mov eax, dword [esp + 0x74]
push dword [esp + 0x78]
push edi
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0xf4]
lea eax, [esp + 0x34]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.1004feda
movss xmm0, dword [edi + 0x94]
add esp, 0x20
movss xmm1, dword [edi + 0x58]
addss xmm0, xmm0
and dword [esp + 0x4c], 0
xorps xmm2, xmm2
test byte [edi + 4], 8
mov ecx, dword [esp + 0x68]
movss dword [esp + 0x48], xmm2
subss xmm1, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm0
maxss xmm1, dword [esp + 0x34]
movss dword [esp + 0x44], xmm1
je 0x1004af78
test dword [ecx], 0x200
jne 0x1004af78
movss xmm0, dword [esi + 0x3bd0]
mulss xmm0, dword [0x100c0f10]
addss xmm0, dword [esi + 0x37dc]
cvttss2si eax, xmm0
movd xmm1, eax
movzx eax, word [ecx + 0x5a]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x50], xmm1
test ax, ax
jle 0x1004af78
cwde
inc eax
push eax
push 0x100bf284
lea eax, [esp + 0x54]
push 4
push eax
call fcn.1000ffb6
add esp, 0xc
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push 0
push 0
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1000d679
movss xmm2, dword [esi + 0x37f4]
add esp, 0x14
mov ecx, dword [esp + 0x68]
addss xmm2, dword [eax]
movss dword [esp + 0x48], xmm2
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [esp + 0x38]
movss xmm0, dword [ecx + 0x38]
maxss xmm0, dword [ecx + 0x48]
addss xmm1, xmm2
movss dword [ecx + 0x48], xmm0
movss xmm0, dword [ecx + 0x4c]
addss xmm1, dword [esp + 0x50]
maxss xmm0, xmm1
movss dword [ecx + 0x4c], xmm0
cmp byte [edi + 0x1db], 0
je 0x1004afd0
movsx eax, word [edi + 0x1c4]
cmp eax, dword [esp + 0x64]
jne 0x1004afd0
mov ax, word [edi + 0x4e]
mov byte [esp + 0x6e], 1
cmp ax, word [edi + 0x4c]
je 0x1004afd5
mov byte [esp + 0x6e], 0
mov ecx, dword [esp + 0x60]
push 0
push dword [esp + 0x5c]
call fcn.10010fc5
movss xmm1, dword [esi + 0x3800]
movss xmm0, dword [esp + 0x18]
addss xmm1, xmm1
movss xmm2, dword [esp + 0x20]
and dword [esp + 0x28], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x10], xmm2
movss xmm2, dword [esp + 0x44]
movss dword [esp + 0xc], xmm0
addss xmm0, xmm2
push ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x2c]
mov dword [esp], 0xbf800000
push eax
addss xmm1, xmm0
movss dword [esp + 0x34], xmm2
maxss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x1c], xmm1
call fcn.10013097
push 0
push 0
push dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push eax
call fcn.100131e8
add esp, 0x18
test al, al
je 0x1004b4d9
push 0x1000
lea eax, [esp + 0x73]
push eax
lea eax, [esp + 0x75]
push eax
push dword [esp + 0x68]
lea eax, [esp + 0x18]
push eax
call fcn.1005eec2
mov byte [esp + 0x80], al
add esp, 0x14
mov eax, dword [esp + 0x5c]
cmp dword [esi + 0x3e8c], eax
je 0x1004b0a4
call fcn.1000d230
mov dl, byte [esp + 0x6f]
mov cl, byte [esp + 0x6d]
test dl, dl
jne 0x1004b0e1
test cl, cl
jne 0x1004b0e1
cmp byte [esp + 0x6e], cl
jne 0x1004b0e1
test byte [edi + 0x64], 1
jne 0x1004b10f
mov esi, dword [edi + 0x48]
push ecx
mov dword [esp], 0x3f800000
push 0x2a
call fcn.1000b657
push esi
push eax
push 3
call fcn.1004b5e2
mov esi, dword [esp + 0x68]
jmp 0x1004b10c
xor eax, eax
test cl, cl
push ecx
setne al
mov dword [esp], 0x3f800000
add eax, 0x18
test dl, dl
push 0x1a
pop ecx
cmovne eax, ecx
push eax
call fcn.1000b657
push dword [edi + 0x48]
push eax
push 3
call fcn.1004b5e2
add esp, 0x14
push 0xa
push dword [esp + 0x60]
lea eax, [esp + 0x10]
push eax
call fcn.1001610a
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp byte [esp + 0x6f], 0
movzx eax, ax
je 0x1004b137
mov word [edi + 0x1b6], ax
movss xmm1, dword [esi + 0x37f0]
or edx, 0xffffffff
mov eax, dword [esp + 0x60]
mulss xmm1, dword [0x100bd4f0]
movss xmm0, dword [eax + 0xf4]
subss xmm0, xmm1
movss dword [eax + 0xf4], xmm0
cmp byte [esp + 0x6f], 0
je 0x1004b29f
test byte [edi + 4], 2
je 0x1004b29f
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.1000dd5b
pop ecx
pop ecx
test al, al
je 0x1004b29c
cmp byte [esi + 0x4944], 0
jne 0x1004b29c
mov ecx, dword [esp + 0x64]
xorps xmm1, xmm1
movzx eax, cx
or edx, 0xffffffff
mov ecx, dword [esp + 0x68]
mov word [edi + 0x1b8], ax
mov ax, word [edi + 0x4c]
mov word [edi + 0x4e], ax
comiss xmm1, dword [esi + 0xb8]
jbe 0x1004b22f
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esi + 0xdc0]
jbe 0x1004b22f
movzx eax, word [ecx + 0x56]
cmp ax, dx
je 0x1004b22f
cwde
imul edx, eax, 0x70
add edx, dword [edi + 0x10]
mov dword [esp + 0x5c], edx
je 0x1004b22c
mov eax, dword [ecx]
or eax, dword [edx]
test al, 0x40
jne 0x1004b22c
mov eax, dword [esp + 0x68]
xor edx, edx
movzx ecx, word [edi + 0x1ca]
mov esi, dword [esp + 0x5c]
cmp word [eax + 0x54], cx
setl dl
xor eax, eax
cmp word [esi + 0x54], cx
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
setl al
cmp edx, eax
jne 0x1004b22c
or edx, 0xffffffff
mov word [edi + 0x1ba], dx
jmp 0x1004b22f
or edx, 0xffffffff
movss xmm0, dword [esi + 0xb8]
comiss xmm0, xmm1
jbe 0x1004b29f
movss xmm0, dword [esi + 0xdc0]
comiss xmm0, dword [esp + 0x20]
jbe 0x1004b29f
movzx eax, word [ecx + 0x58]
cmp ax, dx
je 0x1004b29f
cwde
imul edx, eax, 0x70
add edx, dword [edi + 0x10]
mov dword [esp + 0x5c], edx
je 0x1004b29c
mov eax, dword [ecx]
or eax, dword [edx]
test al, 0x40
jne 0x1004b29c
mov eax, dword [esp + 0x68]
xor edx, edx
movzx ecx, word [edi + 0x1ca]
mov esi, dword [esp + 0x5c]
cmp word [eax + 0x54], cx
setl dl
xor eax, eax
cmp word [esi + 0x54], cx
mov esi, dword [esp + 0x54]
setl al
cmp edx, eax
jne 0x1004b29c
xor eax, eax
inc eax
mov word [edi + 0x1ba], ax
or edx, 0xffffffff
test byte [edi + 4], 8
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x50]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x54], xmm0
je 0x1004b409
mov ecx, dword [esp + 0x68]
test dword [ecx], 0x200
jne 0x1004b409
movzx eax, word [ecx + 0x5a]
cmp ax, dx
je 0x1004b3d9
maxss xmm0, dword [esp + 0x18]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x50], xmm0
test ax, ax
jle 0x1004b36f
push ecx
mov dword [esp], 0x3f333333
push 0
call fcn.1000b657
push eax
push 0
call fcn.1000b240
movss xmm0, dword [esp + 0x6c]
xor eax, eax
addss xmm0, dword [esi + 0x37f4]
inc eax
push eax
push 0
lea eax, [esp + 0x64]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x68]
push eax
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.1001579b
xor eax, eax
inc eax
push eax
call fcn.1000b2dd
movss xmm0, dword [esp + 0x84]
add esp, 0x28
addss xmm0, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
movss dword [esp + 0x5c], xmm0
mov al, byte [ecx + 0x6d]
xor ecx, ecx
and al, 3
cmp al, 1
setne cl
add ecx, 2
push ecx
mov dword [esp], 0x3f800000
push 0
mov dword [esp + 0x50], ecx
call fcn.1000b657
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x30], xmm0
mov dword [esp], 0x3f266666
push dword [esp + 0x4c]
push eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x70]
push dword [esp + 0x38]
push dword [eax + 0x264]
call fcn.1003ff1a
mov ecx, dword [esp + 0x80]
add esp, 0x18
cmp byte [esp + 0x6c], 0
je 0x1004b409
movsx eax, word [edi + 0x1b8]
mov edi, dword [esp + 0x64]
cmp eax, edi
je 0x1004b40d
push ecx
call fcn.1004f57b
movzx ecx, byte [esi + 0xdd9]
push ecx
push eax
push edi
call fcn.1004c4c6
add esp, 0x10
jmp 0x1004b40d
mov edi, dword [esp + 0x64]
movss xmm1, dword [esp + 0x54]
lea eax, [esp + 0x30]
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x44]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x30]
movss dword [esp + 0x30], xmm1
push dword [esp + 0x60]
addss xmm0, dword [esi + 0x37e0]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm1
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x44], xmm0
push eax
mov eax, dword [esp + 0x7c]
push dword [eax + 0x264]
call fcn.10015b62
movss xmm1, dword [esp + 0x74]
add esp, 0x20
subss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
jbe 0x1004b4b8
cmp byte [esp + 0x6d], 0
je 0x1004b4b8
cmp dword [esi + 0x3e8c], 0
jne 0x1004b4b8
push 0x800
call fcn.1000cee8
pop ecx
test al, al
je 0x1004b4b8
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
push ecx
sub eax, ecx
push eax
push str._.s
call fcn.1000bf10
add esp, 0xc
xor eax, eax
inc eax
push eax
call fcn.1000db6a
pop ecx
test al, al
je 0x1004b4d9
push 0
call fcn.1000cee8
pop ecx
test al, al
je 0x1004b4d9
push edi
call fcn.1004c361
pop ecx
pop edi
pop esi
add esp, 0x68
ret