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

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, dword [esp + 0xc0]
cmp byte [ebx + 0x2e2], 8
jae 0x498c0b
call fcn.0052b210
movzx ecx, byte [ebx + 0x2e2]
cmp ecx, eax
jne 0x49918a
push ebp
push esi
push edi
mov edi, dword [0x7060d0]
call fcn.0052b210
cmp eax, 2
je 0x498c3f
call fcn.0052b210
cmp eax, 3
je 0x498c3f
mov eax, dword [esp + 0xd0]
lea edx, [eax + eax*8]
shl edx, 4
lea eax, [edx + ebx + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x498c57
mov eax, dword [esp + 0xd0]
lea ecx, [eax + eax*8]
shl ecx, 4
lea edx, [ecx + ebx + 0x130]
mov dword [esp + 0x1c], edx
xorps xmm0, xmm0
movss xmm1, dword [0x649444]
mov eax, dword [0x8c0870]
test ah, 1
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x80], xmm1
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x44], xmm1
je 0x498d86
test al, 8
jne 0x498d86
test eax, 0x400e00
jne 0x498d86
movss xmm1, dword [0x649534]
lea eax, [ebx + 0x250]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.0052b210
cmp eax, 1
jne 0x498d58
mov eax, dword [0x705898]
cvtsi2ss xmm1, dword [eax + 0x3a8]
movss xmm0, dword [esp + 0x28]
mulss xmm1, dword [0x64e2d8]
subss xmm0, xmm1
movss dword [esp + 0x28], xmm0
jmp 0x498dd0
call fcn.0052b210
cmp eax, 2
jne 0x498dd0
mov ecx, dword [0x705898]
cvtsi2ss xmm0, dword [ecx + 0x3a8]
mulss xmm0, dword [0x64e2d8]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
jmp 0x498dd0
mov edx, dword [ebx + 0x2a8]
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.005950c0
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, edx
push eax
call fcn.00593dd0
lea ecx, [ebx + 0x250]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x84e4dc]
push 0x2000
lea edx, [esp + 0x14]
push edx
xor esi, esi
push esi
push esi
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ebp, dword [esp + 0x1c]
lea eax, [ebx + 0x2c4]
lea ecx, [ebx + 0x260]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
add ebp, 0x35
jmp 0x498e10
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.005932e0
movss xmm1, dword [esp + 0x38]
addss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [esp + 0x2c]
addss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x40], xmm1
movss dword [esi + edx], xmm0
mov eax, dword [esp + 0x10]
movss xmm0, dword [esp + 0x38]
movss dword [esi + eax + 4], xmm0
movss xmm0, dword [0x649444]
ucomiss xmm0, dword [ebx + 0x258]
lahf
test ah, 0x44
jp 0x498ea6
mov ecx, dword [esp + 0x10]
movss dword [esi + ecx + 8], xmm0
jmp 0x498efc
movss xmm1, dword [0x64ea54]
ucomiss xmm1, dword [ebx + 0x258]
lahf
test ah, 0x44
jp 0x498ec7
mov edx, dword [esp + 0x10]
movss dword [esi + edx + 8], xmm1
jmp 0x498efc
movss xmm1, dword [ebx + 0x258]
mulss xmm1, dword [0x64fbec]
mov eax, dword [esp + 0x10]
movaps xmm2, xmm0
subss xmm2, xmm1
xorps xmm1, xmm1
movss dword [esi + eax + 8], xmm2
mov eax, dword [esp + 0x10]
comiss xmm1, dword [esi + eax + 8]
jbe 0x498efc
movss dword [esi + eax + 8], xmm1
mov ecx, dword [esp + 0x10]
movss dword [esi + ecx + 0xc], xmm0
test byte [ebx + 0x2e3], 2
je 0x498f33
movzx eax, byte [ebp]
movzx ecx, byte [ebp + 1]
xor edx, edx
mov dh, byte [ebp + 2]
mov dl, byte [ebp - 1]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x10]
shl edx, 8
or edx, ecx
mov dword [esi + eax + 0x10], edx
jmp 0x498f58
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
xor ecx, ecx
mov ch, byte [ebx + 0x2e6]
mov cl, byte [ebp - 1]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + edx + 0x10], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 4]
mov edx, dword [esp + 0x10]
add dword [esp + 0x14], 0x10
mov dword [esi + edx + 0x14], ecx
mov ecx, dword [eax]
mov edx, dword [esp + 0x10]
mov dword [esi + edx + 0x18], ecx
add eax, 8
add esi, 0x1c
add ebp, 0x18
cmp esi, 0x70
mov dword [esp + 0x20], eax
jl 0x498e10
mov eax, dword [0x84e4dc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
movzx eax, byte [ebx + 0x2e5]
cmp eax, dword [0x84e420]
je 0x498fd5
push eax
push edi
call fcn.004979a0
add esp, 8
cmp byte [ebx + 0x2e5], 4
jne 0x498fc9
mov edx, dword [edi]
push 8
push 0xa8
push edi
call dword [edx + 0xe4]
movzx eax, byte [ebx + 0x2e5]
mov dword [0x84e420], eax
test byte [ebx + 0x2e3], 1
je 0x49903d
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x1d]
push edx
lea eax, [esp + 0x22]
push eax
call fcn.0052b210
push eax
call fcn.004ae8f0
movzx edx, byte [esp + 0x2a]
movzx esi, byte [esp + 0x29]
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
or edx, 0xffffff00
shl edx, 8
or edx, esi
movzx esi, byte [esp + 0x2b]
add esp, 0x10
shl edx, 8
or edx, esi
push edx
push 0x22
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
push 1
push 0x1c
push eax
call dword [ecx + 0xe4]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x28]
mov edx, dword [edi]
push eax
xor ebp, ebp
push ebp
push edi
call dword [edx + 0x104]
cmp dword [esi + 0x28], ebp
jne 0x49908c
mov ecx, dword [edi]
push ebp
push 3
push ebp
push edi
call dword [ecx + 0x10c]
mov edx, dword [edi]
push 3
push 1
push ebp
push edi
call dword [edx + 0x10c]
mov eax, dword [edi]
push ebp
push 6
push ebp
push edi
call dword [eax + 0x10c]
mov ecx, dword [edi]
push 3
push 4
push ebp
push edi
call dword [ecx + 0x10c]
mov edx, dword [edi]
mov esi, dword [0x7060a8]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], ebp
call dword [edx + 0x160]
mov eax, dword [esp + 0x14]
cmp esi, eax
je 0x4990ba
mov ecx, dword [edi]
push esi
push edi
call dword [ecx + 0x15c]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4990c4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [edi]
mov esi, dword [0x84e4dc]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edi
mov dword [esp + 0x28], ebp
call dword [eax + 0x194]
mov eax, dword [esp + 0x14]
cmp esi, eax
je 0x499104
mov edx, dword [edi]
push 0x1c
push ebp
push esi
push ebp
push edi
call dword [edx + 0x190]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49910e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [edi]
push 2
push ebp
push 5
push edi
call dword [edx + 0x144]
cmp byte [ebx + 0x2e5], 4
jne 0x499135
mov eax, dword [edi]
push 0xf
push 0xa8
push edi
call dword [eax + 0xe4]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x28], ebp
jne 0x499176
mov edx, dword [edi]
push 2
push 2
push ebp
push edi
call dword [edx + 0x10c]
mov eax, dword [edi]
push 5
push 1
push ebp
push edi
call dword [eax + 0x10c]
mov ecx, dword [edi]
push 2
push 5
push ebp
push edi
call dword [ecx + 0x10c]
mov edx, dword [edi]
push 5
push 4
push ebp
push edi
call dword [edx + 0x10c]
mov eax, dword [0x7060d0]
mov ecx, dword [eax]
push ebp
push 0x1c
push eax
call dword [ecx + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret