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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x74]
mov ecx, dword [ebx]
push edi
call fcn.00535300
mov edi, dword [esp + 0x84]
cmp edi, dword [esp + 0x88]
jg 0x5dc20a
push ebp
mov ebp, dword [esp + 0x80]
push esi
lea ecx, [ecx]
mov eax, dword [ebx + 4]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x5dbf78
mov al, byte [esi + 0x48]
test al, 2
je 0x5dbf78
test al, 4
jne 0x5dbf78
push esi
mov ecx, 0xbb7cb0
call fcn.005a3f20
test al, al
je 0x5dbf78
or byte [esi + 0x48], 4
mov eax, dword [esp + 0x88]
cmp eax, 0xfafafafa
je 0x5dbf93
mov ecx, edi
and ecx, 7
cmp eax, ecx
jne 0x5dc1f8
mov edx, dword [ebx + 4]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x5dc1f8
fld dword [ebp]
fsub dword [ecx]
fld dword [ebp + 4]
fsub dword [ecx + 4]
fld dword [ebp + 8]
fsub dword [ecx + 8]
fld dword [ebp]
fsub dword [ecx + 0xc]
fstp dword [esp + 0x10]
fld dword [ebp + 4]
fsub dword [ecx + 0x10]
fstp dword [esp + 0x14]
fld dword [ebp + 8]
fsub dword [ecx + 0x14]
fstp dword [esp + 0x18]
fld dword [ebp]
fsub dword [ecx + 0x18]
fstp dword [esp + 0x1c]
fld dword [ebp + 4]
fsub dword [ecx + 0x1c]
fstp dword [esp + 0x20]
fld dword [ebp + 8]
fsub dword [ecx + 0x20]
fstp dword [esp + 0x24]
fld dword [ebp]
fsub dword [ecx + 0x24]
fstp dword [esp + 0x28]
fld dword [ebp + 4]
fsub dword [ecx + 0x28]
fstp dword [esp + 0x2c]
fld dword [ebp + 8]
fsub dword [ecx + 0x2c]
fstp dword [esp + 0x30]
fld dword [esp + 0x10]
fadd st(3)
fld dword [esp + 0x14]
fadd st(3)
fld dword [esp + 0x18]
fadd st(3)
fstp dword [esp + 0x60]
fxch st(1)
fmul dword [0x858b8c]
fstp dword [esp + 0x34]
fmul dword [0x858b8c]
fstp dword [esp + 0x38]
fld dword [esp + 0x60]
fmul dword [0x858b8c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fld dword [esp + 0x20]
fadd dword [esp + 0x14]
fld dword [esp + 0x24]
fadd dword [esp + 0x18]
fstp dword [esp + 0x6c]
fxch st(1)
fmul dword [0x858b8c]
fstp dword [esp + 0x40]
fmul dword [0x858b8c]
fstp dword [esp + 0x44]
fld dword [esp + 0x6c]
fmul dword [0x858b8c]
fstp dword [esp + 0x48]
fld dword [esp + 0x1c]
fadd st(3)
fld dword [esp + 0x20]
fadd st(3)
fld dword [esp + 0x24]
fadd st(3)
fstp dword [esp + 0x78]
fxch st(1)
fmul dword [0x858b8c]
fstp dword [esp + 0x4c]
fmul dword [0x858b8c]
fstp dword [esp + 0x50]
fld dword [esp + 0x78]
fmul dword [0x858b8c]
fstp dword [esp + 0x54]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcomp dword [0x859aa4]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x5dc1f8
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
fld dword [esp + 0x48]
fmul dword [esp + 0x48]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fcomp dword [0x859aa4]
fnstsw ax
test ah, 1
jne 0x5dc1f8
call fcn.005db6d0
mov eax, dword [ebx + 4]
mov dword [eax + edi*4], 0
mov eax, dword [esp + 0x90]
inc edi
cmp edi, eax
jle 0x5dbf50
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x6c
ret