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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x14]
cmp dword [esi + 0x484], 0
push edi
mov edi, dword [eax]
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], 0
jle 0x5eda80
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
add esi, 0x888
sub ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], ecx
mov edx, dword [esi - 0x400]
mov ecx, dword [ebp + 0x28]
cmp dword [ecx + edx*4], 0
lea eax, [ecx + edx*4]
mov dword [esp + 0x54], eax
jne 0x5ed749
mov eax, dword [esi]
cmp dword [ecx + eax*4], 0
je 0x5eda5a
mov ecx, dword [esi]
mov eax, edx
mov edx, dword [ebp + 0x18]
add eax, eax
add eax, eax
mov ebx, dword [eax + edx]
add ecx, ecx
add ecx, ecx
mov esi, dword [ecx + edx]
mov edx, dword [esp + 0x40]
lea edx, [ebx + edx*4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x40]
lea edx, [esi + edx*4]
mov dword [esp + 0x68], edx
mov edx, dword [ebp + 0x24]
mov eax, dword [eax + edx]
mov ecx, dword [ecx + edx]
mov edx, dword [ebp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edx*4 + 0xfc]
fld qword [eax*8 + 0x7935e8]
mov eax, dword [ecx + edx*4 + 0x138]
fstp dword [esp + 0x70]
mov dword [esp + 0x64], ebx
fld qword [eax*8 + 0x7935e8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
fstp dword [esp + 0x6c]
cmp dword [eax + 0x1f8], 0
mov dword [esp + 0x44], esi
je 0x5ed7d2
mov ebx, dword [eax + 0x200]
mov dword [esp + 0x18], ebx
jmp 0x5ed7d8
mov dword [esp + 0x18], edi
mov ebx, edi
mov eax, dword [eax]
mov edi, eax
shl edi, 4
sub edi, eax
mov eax, dword [esp + 0x20]
add edi, edx
mov ecx, dword [ecx + edi*4 + 0x84]
mov edx, dword [esp + 0x54]
mov dword [edx], 1
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [edx + ecx*4], 1
mov edi, dword [eax]
xor edx, edx
test edi, edi
mov dword [esp + 0x54], edx
jle 0x5eda56
xor ecx, ecx
mov dword [esp + 0x3c], ecx
test ebx, ebx
fldz
fstp dword [esp + 0x1c]
jle 0x5ed974
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
lea ebx, [ecx + esi]
mov ecx, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x7c], eax
mov eax, ecx
mov ecx, dword [esp + 0x68]
sub eax, esi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
sub eax, esi
sub edi, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
sub ecx, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
cmp edx, dword [ebp + 0x2c]
jge 0x5edab2
cmp edx, dword [esp + 0x50]
jl 0x5ed8ae
mov edx, dword [esp + 0x28]
fld dword [edx + ebx]
fabs
fld dword [esp + 0x6c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5ed8ac
fld dword [ebx]
fabs
fcompp
fnstsw ax
test ah, 5
jnp 0x5ed8db
jmp 0x5ed8ae
fstp st(0)
mov eax, dword [esp + 0x28]
fld dword [eax + ebx]
fabs
fld dword [esp + 0x70]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5eda87
fld dword [ebx]
fabs
fcompp
fnstsw ax
test ah, 5
jp 0x5eda89
mov edx, dword [esp + 0x74]
add ecx, ebx
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [edx + ebx]
mov edx, dword [esp + 0x7c]
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x38]
fld dword [ecx + edx]
add edi, ebx
push edi
mov edi, dword [eax]
push ecx
mov ecx, dword [esp + 0x88]
fstp dword [esp]
mov esi, dword [eax + ecx]
call fcn.005ece00
mov edx, dword [esp + 0x38]
fld dword [edx + ebx]
lea esi, [edx + ebx]
fadd qword [0x60e150]
add esp, 4
fstp qword [esp]
call fcn.0055e640
fcomp qword [0x60e180]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x5ed94e
fld dword [esi]
fmul st(0), st(0)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
add dword [esp + 0x34], 4
add edx, 1
add ebx, 4
sub dword [esp + 0x4c], 1
mov dword [esp + 0x48], edx
jne 0x5ed876
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x1f8], 0
je 0x5eda2e
test ebx, ebx
mov dword [esp + 0x4c], 0
jle 0x5eda2e
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebp + 0x10]
fld dword [esp + 0x1c]
mov ecx, dword [eax + 4]
fcomp qword [ecx + 0x208]
fnstsw ax
test ah, 1
jne 0x5eda2a
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov edi, dword [ebx + eax]
cmp edi, dword [ebp + 0x2c]
jge 0x5eda12
cmp edi, dword [esp + 0x50]
jl 0x5eda12
mov ecx, dword [esp + 0x38]
fld dword [ecx + edi*4]
sub esp, 8
fadd qword [0x60e150]
fstp qword [esp]
call fcn.0055e640
fcomp qword [0x60e180]
add esp, 8
fnstsw ax
test ah, 0x44
jp 0x5eda12
push ecx
mov ecx, dword [esp + 0x3c]
fld dword [ecx + edi*4]
fstp dword [esp]
call fcn.005e9f50
fstp dword [ecx + edi*4]
add esp, 4
fld dword [esp + 0x1c]
fsub qword [0x60e1b8]
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add eax, 1
add ebx, 4
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
jl 0x5ed99b
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
lea eax, [ebx*4]
add ecx, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
add edx, ebx
cmp edx, edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x3c], ecx
jl 0x5ed821
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x14]
add dword [esp + 0x24], 4
add eax, 1
add esi, 4
cmp eax, dword [ecx + 0x484]
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], esi
jl 0x5ed727
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fld dword [ebx]
mov eax, dword [esp + 0x28]
sub esp, 8
fstp dword [esp + 4]
add ecx, ebx
fld dword [eax + ebx]
lea edx, [edi + ebx]
fstp dword [esp]
call fcn.005ecd40
mov ecx, dword [esp + 0x38]
add esp, 8
jmp 0x5ed952
fldz
fst dword [edi + ebx]
fstp dword [ecx + ebx]
jmp 0x5ed952