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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x28], edi
call fcn.0043d5b0
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
push edx
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0043d680
mov eax, dword [edi + 0x2e0]
xor ecx, ecx
add esp, 0x1c
cmp eax, ecx
mov dword [esp + 0xc], 0x497423f0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
jle 0x5d37f4
add edi, 0x3c
mov dword [esp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
mov edi, dword [edx]
push 0
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.005d3540
test al, al
je 0x5d37ce
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x2e0]
inc eax
add edi, 4
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
jl 0x5d37a2
mov ecx, dword [esp + 0x18]
fld dword [esi]
fsub dword [ebx]
fstp dword [esp + 0x20]
fld dword [esi + 4]
fsub dword [ebx + 4]
fstp dword [esp + 0x24]
fld dword [esi + 8]
fsub dword [ebx + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fstp dword [esp + 0x14]
fld dword [esp + 0xc]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x5d394e
mov eax, dword [ebp + 8]
sub eax, 0
je 0x5d38a2
dec eax
jne 0x5d3943
fld dword [esp + 0xc]
push ecx
fsub dword [ebp + 0x18]
lea edx, [esp + 0x24]
lea eax, [esp + 0x24]
fstp dword [esp]
push edx
push eax
call fcn.0043d000
fld dword [esp + 0x2c]
fadd dword [ebx]
add esp, 0xc
fld dword [esp + 0x24]
mov al, 1
fadd dword [ebx + 4]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fxch st(1)
fstp dword [esi]
mov dword [esi + 8], ecx
fstp dword [esi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov al, byte [ecx + 0xa]
test al, 2
je 0x5d390d
fld dword [esp + 0xc]
lea eax, [esp + 0x20]
fsub dword [ebp + 0x18]
lea ecx, [esp + 0x20]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.0043d000
fld dword [esp + 0x24]
fdiv dword [esp + 0x20]
add esp, 0xc
mov al, 1
fsubr dword [0x784250]
fmul dword [ebp + 0x1c]
fadd dword [esp + 0x28]
fld dword [esp + 0x20]
fadd dword [ebx]
fld dword [esp + 0x24]
fadd dword [ebx + 4]
fxch st(2)
fadd dword [ebx + 8]
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fstp dword [esi]
mov dword [esi + 8], edx
fstp dword [esi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test al, 8
fld dword [ecx + 0x74]
fmul dword [esi + 4]
fld dword [ecx + 0x70]
fmul dword [esi]
faddp st(1)
fsub dword [ecx + 0x7c]
fld dword [0x7842a0]
fdiv dword [ecx + 0x78]
fmulp st(1)
je 0x5d393d
fsub dword [ebp + 0x18]
mov al, 1
fstp dword [esi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
fadd dword [ebp + 0x18]
fstp dword [esi + 8]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18