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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d88e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x14], edi
call fcn.004b6ca0
push 2
lea ecx, [esp + 0x34]
mov dword [esp + 0xbc], 0
call fcn.00527630
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, edi
call fcn.00530670
test al, al
je 0x530f8d
cmp word [esp + 0x44], 0
mov ebx, dword [ebp + 0x24]
jne 0x530c4c
cmp word [esp + 0x46], 0
je 0x530d32
movsx eax, word [ebx + 0xe]
mov ecx, dword [edi + 0x24]
push esi
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*8]
movsx eax, word [esp + 0x42]
mov dword [esp + 0x14], edx
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea eax, [eax + edx*2]
lea ecx, [ecx + eax*8]
push ecx
lea ecx, [esp + 0x38]
call fcn.005277b0
fstp qword [esp + 0x24]
lea ecx, [esp + 0x68]
call fcn.004b7060
fdivr qword [esp + 0x24]
mov edx, dword [esp + 0x10]
push esi
push edx
mov ecx, ebx
fstp qword [esp + 0x24]
call fcn.005277b0
fstp qword [esp + 0x24]
lea ecx, [ebx + 0x38]
call fcn.004b7060
fdivr qword [esp + 0x24]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x530d32
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], ecx
mov cx, word [esp + 0x3e]
mov dword [ebx], eax
mov ax, word [esp + 0x3c]
mov dword [ebx + 8], edx
mov dx, word [esp + 0x40]
mov word [ebx + 0xe], cx
mov cx, word [esp + 0x44]
mov word [ebx + 0xc], ax
mov ax, word [esp + 0x42]
mov word [ebx + 0x10], dx
mov dx, word [esp + 0x46]
mov word [ebx + 0x14], cx
lea edi, [ebx + 0x18]
mov ecx, 8
lea esi, [esp + 0x48]
mov word [ebx + 0x12], ax
mov word [ebx + 0x16], dx
lea eax, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x38]
call fcn.004b6d90
mov ecx, dword [esp + 0x88]
mov esi, dword [ebp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x58], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00536ad0
fst qword [esp + 0x14]
fadd qword [0x5e27e0]
mov ecx, dword [ebp + 8]
fst qword [esp + 0x1c]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x530f8d
push ecx
lea ecx, [esp + 0x94]
call fcn.004b6cb0
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x90], ecx
xor ecx, ecx
mov byte [esp + 0xb8], 1
test edx, edx
jle 0x530dd9
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
fld qword [eax]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 1
je 0x530dd6
mov eax, dword [esp + 0x10]
add ecx, 2
add eax, 0x10
cmp ecx, edx
mov dword [esp + 0x10], eax
jl 0x530db3
mov eax, dword [ebp + 0x14]
inc ecx
cmp ecx, edx
jge 0x530e41
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
lea eax, [eax + ecx*8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
fld qword [eax]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
je 0x530e32
mov eax, dword [esp + 0x10]
fld qword [eax]
fcomp qword [esp + 0x90]
fnstsw ax
test ah, 1
jne 0x530e1e
mov eax, dword [esp + 0x10]
fld qword [eax]
fstp qword [esp + 0x90]
mov eax, dword [esp + 0x10]
add ecx, 2
add eax, 0x10
cmp ecx, edx
mov dword [esp + 0x10], eax
jl 0x530dec
jmp 0x530e41
mov edx, dword [esp + 0x14]
fld qword [edx + ecx*8 - 8]
fstp qword [esp + 0xa8]
push 2
lea ecx, [esp + 0x34]
call fcn.00527630
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, edi
call fcn.00530670
test al, al
je 0x530f79
cmp word [esp + 0x44], 0
jne 0x530e8d
cmp word [esp + 0x46], 0
je 0x530f79
movsx eax, word [ebx + 0xe]
mov ecx, dword [edi + 0x24]
push esi
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea eax, [eax + edx*2]
lea edi, [ecx + eax*8]
movsx eax, word [esp + 0x42]
lea edx, [eax + eax*4]
lea edx, [edx + edx*8]
lea eax, [eax + edx*2]
lea ecx, [ecx + eax*8]
push ecx
lea ecx, [esp + 0x38]
call fcn.005277b0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x68]
fld qword [esp + 0x78]
fsub qword [edx]
fdivp st(1)
fstp qword [esp + 0x1c]
call fcn.004b7060
fdivr qword [esp + 0x1c]
push esi
push edi
mov ecx, ebx
fstp qword [esp + 0x2c]
call fcn.005277b0
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x38]
fld qword [ebx + 0x48]
fsub qword [eax]
fdivp st(1)
fstp qword [esp + 0x1c]
call fcn.004b7060
fdivr qword [esp + 0x1c]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x530f79
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [ebx], ecx
mov cx, word [esp + 0x3c]
mov dword [ebx + 4], edx
mov dx, word [esp + 0x3e]
mov dword [ebx + 8], eax
mov ax, word [esp + 0x40]
mov word [ebx + 0xc], cx
mov cx, word [esp + 0x42]
mov word [ebx + 0xe], dx
mov dx, word [esp + 0x44]
mov word [ebx + 0x10], ax
mov ax, word [esp + 0x46]
mov word [ebx + 0x12], cx
lea edi, [ebx + 0x18]
mov ecx, 8
lea esi, [esp + 0x48]
mov word [ebx + 0x14], dx
mov word [ebx + 0x16], ax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [ebx + 0x38]
call fcn.004b6d90
mov edx, dword [esp + 0x88]
mov dword [ebx + 0x58], edx
lea ecx, [esp + 0x90]
mov byte [esp + 0xb8], 0
call fcn.0042bd50
lea ecx, [esp + 0x68]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20