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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b8
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x1b4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x2c], ecx
mov ecx, 0xffff
mov esi, dword [eax + 0x64c]
mov edi, dword [eax + 0x650]
mov word [esp + 0x24], cx
mov ecx, eax
push 1
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
call fcn.104dab70
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0x68], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
addsd xmm0, qword [eax*8 + 0x1059bac0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movss dword [esp + 0x38], xmm1
addsd xmm0, qword [eax*8 + 0x1059bac0]
lea eax, [esp + 0x68]
movss dword [esp + 0x6c], xmm1
push eax
mov eax, dword [esp + 0x38]
push 1
cvtpd2ps xmm0, xmm0
push 0
push dword [eax + 0x1900]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x10720960]
movss dword [esp + 0x84], xmm0
call dword [0x10ac2da8]
lea eax, [esp + 0x58]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x34]
push eax
push 1
push 0
push dword [esi + 0x1900]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], edi
call dword [0x10ac2dd0]
mov edi, dword [esp + 0x2c]
mov ecx, esi
push 0
mov eax, dword [edi + 4]
movzx eax, word [eax + 0x10]
lea eax, [eax + eax*4]
shl eax, 4
add eax, 0x1c13a8
add eax, esi
mov dword [esp + 0x34], eax
mov ax, word [edi + 0x5c]
mov word [esp + 0x28], ax
lea eax, [esp + 0x34]
push dword [esp + 0x28]
push eax
push 1
push 0
push 0
push 0x1000000
push 0x8f
lea eax, [esp + 0x60]
push eax
call fcn.104bbf90
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0
push dword [esi + 0x1900]
call dword [0x10ac2dc4]
movzx eax, word [edi + 0x5c]
lea edi, [esi + 0xdd3a8]
movss xmm0, dword [esp + 0x38]
push 0
push 0
sub esp, 0x1c
imul eax, eax, 0x260
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x447a0000
add edi, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x19c]
mov dword [esp + 0xc], 0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
mov dword [esp + 0x4c], edi
call fcn.1050a0b0
mov eax, dword [esp + 0x54]
mov edx, 0x205f64
push 0x40
movzx eax, word [eax + 0x5c]
imul ecx, eax, 0x260
lea eax, [esp + 0x1a4]
push eax
mov eax, 0x1f5f64
test byte [ecx + esi + 0xdd53a], 0x10
cmove eax, edx
add eax, dword [ecx + esi + 0xdd534]
add eax, esi
push eax
call fcn.1050a090
mov eax, dword [edi]
add esp, 0x34
mov eax, dword [eax + 0x10]
test eax, eax
je 0x104a47db
push eax
mov ecx, esi
call fcn.104a6bf0
mov eax, dword [esp + 0x24]
mov edi, dword [esi + 0xe5c]
shl edi, 5
add edi, 0xde8
mov eax, dword [eax]
add edi, esi
movzx eax, word [eax + 0xb2]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x104a4844
push eax
lea eax, [esi + 0x205f64]
push eax
mov eax, dword [edi + 0x10]
add eax, ecx
push eax
call fcn.1050a090
mov eax, dword [0x10b23318]
xor edx, edx
add esp, 0xc
mov ecx, dword [eax + 0x280]
mov eax, dword [esp + 0x30]
div ecx
sub ecx, edx
neg edx
sbb edx, edx
and edx, ecx
mov ecx, dword [esp + 0x28]
add edx, dword [esp + 0x30]
add dword [edi + 0x18], edx
mov eax, dword [esp + 0x2c]
mov esi, 0xffff
mov dword [esp + 0x3c], ecx
mov ecx, 0x10
movzx edx, word [eax]
mov eax, edx
imul eax, eax, 0x98
mov dword [esp + 0x28], eax
lea eax, [esp + 0x86]
nop dword [eax]
mov word [eax - 2], si
lea eax, [eax + 0xc]
mov byte [eax - 0xc], 0
mov dword [eax - 0x12], 0
sub ecx, 1
jne 0x104a4870
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
push ecx
push edi
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [eax + esi + 0x1293b0]
and eax, 0xf07ff
mov byte [esp + 0x8e], 3
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
push eax
push edi
lea eax, [esp + 0x58]
mov word [esp + 0x94], dx
push eax
call fcn.104bafc0
lea eax, [esp + 0x3c]
push eax
push 1
lea eax, [esp + 0x50]
push eax
push 1
push 0
push dword [edi + 0x25c]
push dword [edi + 0x258]
push 0
push dword [esi + 0x1900]
call dword [0x10ac2dd4]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
xorps xmm0, xmm0
mov eax, dword [edi + 4]
movzx eax, word [eax + 0xe]
shl eax, 5
add eax, 0x213a8
movlpd qword [esp + 0x54], xmm0
add eax, esi
push eax
push 1
push 0
push dword [esi + 0x1900]
call dword [0x10ac2ddc]
mov eax, dword [edi + 8]
push 0
push 0
push 0
movzx eax, word [eax + 0xc]
add eax, 0x627
lea eax, [eax + eax*2]
push dword [esi + eax*8 + 4]
push dword [esi + eax*8]
push dword [esi + 0x1900]
call dword [0x10ac2dd8]
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret 4