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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x54], 1
mov edx, ecx
mov dword [esp + 0x78], edi
sub esp, 0xc
mov dword [esp + 0x7c], edx
mov ecx, esp
mov dword [esp + 0x5c], 0
mov dword [esp + 0x74], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0x88], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x94]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x84], 0
call fcn.00496734
movss xmm2, dword [esp + 0xd0]
add esp, 0x10
movss xmm3, dword [esp + 0xb0]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0xac]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0xa4]
movss xmm7, dword [esp + 0x9c]
movss xmm4, dword [esp + 0x98]
movq qword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xbc]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xa0]
mov dword [esp + 0xc], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x2c], eax
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x30], xmm4
nop
cmp edx, edi
jge 0x498671
mov al, byte [eax + edx]
xor edi, edi
movzx ecx, al
inc edx
mov dword [esp + 0x64], 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
lea eax, [ecx - 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x28], ecx
cmp eax, 0x1e
ja 0x4992ad
movzx eax, byte [eax + 0x41697c]
jmp dword [eax*4 + 0x41692c]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 8]
movss xmm2, dword [esp + 0x6c]
xor eax, eax
cmp dword [esp + 0x64], eax
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
jmp 0x4983d4
cmp ecx, 0xff
je 0x499304
cmp ecx, 0x1c
je 0x4992c8
lea eax, [ecx - 0x20]
cmp eax, 0xde
ja 0x498671
mov edi, dword [esp + 0xc]
dec edx
cmp edx, edi
jg 0x4992d9
mov dword [esp + 0x48], edx
test edx, edx
jns 0x4992dd
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x44]
call fcn.00496404
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
cwde
mov dword [esp + 0xc], edi
movd xmm0, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], eax
jmp 0x49937a
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
cmp eax, edi
jl 0x499314
xor cl, cl
jmp 0x499320
mov ecx, dword [esp + 0x2c]
mov cl, byte [ecx + edx]
lea edx, [eax + 1]
mov eax, edx
movzx ecx, cl
cmp eax, edi
jl 0x49932b
xor al, al
jmp 0x499333
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x499343
xor al, al
jmp 0x49934b
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x49935b
xor al, al
jmp 0x499363
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x42cc44]
mov eax, dword [esp + 8]
cmp eax, 0x30
jge 0x498671
movss dword [esp + eax*4 + 0x98], xmm0
inc eax
movss xmm0, dword [esp + 0xc0]
movss xmm3, dword [esp + 0xb0]
movss xmm5, dword [esp + 0xac]
movss xmm2, dword [esp + 0xa8]
movss xmm1, dword [esp + 0xa4]
movss xmm7, dword [esp + 0x9c]
movss xmm4, dword [esp + 0x98]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xa0]
mov dword [esp + 8], eax
mov dword [esp + 0x64], 0
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x38], xmm7
movss dword [esp + 0x30], xmm4
jmp 0x498949