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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1e4
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0x1e0], eax
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], eax
xor eax, eax
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x3c], edi
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ebx
mov edx, dword [ecx]
test edx, edx
jle 0x4e0510
add ecx, 4
lea ebx, [ebx]
cmp dword [ecx], ebx
je 0x4e0612
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e0500
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp byte [esi + 0x1d], 0
mov ecx, dword [esp + 0x3c]
mov edi, dword [edi + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x18]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x10], eax
jne 0x4e078a
cmp dword [esi + 0x3c], 0
jne 0x4e078a
test byte [ecx + 0x16], 0x80
jne 0x4e078a
cmp edi, eax
jae 0x4e078a
movsd xmm5, qword [0x5931d8]
mov ecx, 0x100
movsd xmm4, qword [0x593200]
jmp 0x4e0580
cmp word [edi + 0x10], cx
jne 0x4e0777
mov ecx, ebx
mov eax, edx
not ecx
not eax
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
and ecx, dword [edi + 0x20]
and eax, dword [edi + 0x24]
or ecx, eax
jne 0x4e076e
mov edx, dword [edi + 0xc]
mov ecx, dword [edx + 0x168]
mov eax, dword [edx + 0x16c]
and ecx, ebx
and eax, dword [esp + 0x14]
or ecx, eax
je 0x4e076e
mov eax, dword [edx + 0x18]
xorps xmm0, xmm0
mov esi, dword [edx + 0x20]
xorps xmm3, xmm3
movlpd qword [esp + 0x18], xmm0
xorps xmm2, xmm2
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
movsd qword [esp + 0x50], xmm3
lea ebx, [esi + eax*8]
movsd qword [esp + 0x48], xmm2
mov eax, dword [esp + 0x1c]
cmp esi, ebx
jae 0x4e0711
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov edx, 0x200
cmp word [esi + 0x10], dx
jne 0x4e062c
mov edx, dword [esi + 0xc]
jmp 0x4e0682
xor ebx, ebx
xor edx, edx
bts ebx, eax
cmp eax, 0x20
cmovae edx, ebx
xor ebx, edx
cmp eax, 0x40
cmovae edx, ebx
jmp 0x4e0521
mov edx, dword [esp + 0x44]
cmp dword [esi + 8], edx
jne 0x4e06f6
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x80]
mov dword [esp + 0x90], ecx
mov byte [esp + 0x94], 0x45
mov dword [esp + 0xa0], esi
mov eax, dword [ecx]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x84], eax
xor eax, eax
mov word [esp + 0x96], ax
mov dword [esp + 0x98], 1
lea eax, [esp + 0x58]
push eax
push ecx
push dword [ebp + 0x18]
mov ecx, dword [esp + 0x4c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x4c]
call fcn.004e1da0
movsd xmm0, qword [esp + 0x8c]
add esp, 0x1c
addsd xmm0, qword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
or ecx, dword [esp + 0x78]
or eax, dword [esp + 0x7c]
movapd xmm3, xmm0
comisd xmm3, xmmword [edx + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
movsd xmm0, qword [esp + 0x60]
addsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0x50], xmm3
movapd xmm2, xmm0
movsd qword [esp + 0x48], xmm2
jae 0x4e0701
add esi, 0x28
cmp esi, ebx
jb 0x4e0602
movsd xmm5, qword [0x5931d8]
movsd xmm4, qword [0x593200]
cmp dword [ebp + 0x1c], 0
je 0x4e0746
comisd xmm2, xmm4
movapd xmm0, xmm5
movapd xmm1, xmm4
jbe 0x4e073e
jmp 0x4e0730
mulsd xmm1, xmm4
addsd xmm0, xmm5
comisd xmm2, xmm1
ja 0x4e0730
mulsd xmm0, xmm2
addsd xmm3, xmm0
mov ebx, dword [esp + 0x38]
movsd xmm0, qword [ebx + 0x18]
comisd xmm0, xmm3
jbe 0x4e076e
movsd qword [ebx + 0x18], xmm3
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], eax
movsd qword [ebx + 8], xmm2
mov dword [ebx], 0x10000000
mov dword [ebx + 0x10], edi
mov eax, dword [esp + 0x10]
mov ecx, 0x100
mov ebx, dword [esp + 0x28]
add edi, 0x28
mov edx, dword [esp + 0x14]
cmp edi, eax
jb 0x4e0580
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret