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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d7e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x28]
lea eax, [edi + 0x68]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.004b6a50
add esp, 8
cmp eax, 1
je 0x524ece
mov ecx, edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.0056c0e0
mov esi, eax
mov eax, dword [esi + 0x58]
test eax, eax
je 0x524c74
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
jne 0x524eb3
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x5c]
fld qword [ecx]
fadd qword [eax]
fadd qword [esi]
fmul qword [0x5e79d8]
fstp qword [esp + 0x24]
fld qword [ecx + 8]
fadd qword [eax + 8]
lea ecx, [esp + 0x58]
fadd qword [esi + 8]
fmul qword [0x5e79d8]
fstp qword [esp + 0x2c]
call fcn.004ccd50
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x88], 0
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 8]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.004b8890
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x60]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push edi
push ebx
mov dword [esp + 0x24], ecx
push ebp
push edx
mov ecx, esi
call fcn.004b8b00
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
fstp qword [esp + 0x3c]
push edi
push ebx
push ebp
push eax
call fcn.004b8b00
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x524da5
mov ecx, dword [esp + 0x24]
push edi
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.004b8b00
mov edx, dword [esp + 0x24]
push edi
fstp qword [esp + 0x40]
push ebx
push ebp
push edx
lea ecx, [esp + 0x68]
call fcn.004b8b00
fcomp qword [esp + 0x3c]
push edi
push ebx
push ebp
fnstsw ax
test ah, 0x41
jne 0x524d7a
mov eax, dword [esp + 0x30]
mov ecx, esi
push eax
call fcn.004b8b70
fst qword [esp + 0x1c]
fmul qword [esi + 0x18]
fadd qword [esi]
fld qword [esp + 0x1c]
fmul qword [esi + 0x20]
fadd qword [esi + 8]
jmp 0x524e2f
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x68]
call fcn.004b8b70
fstp qword [esp + 0x1c]
fld qword [esp + 0x70]
fmul qword [esp + 0x1c]
fadd qword [esp + 0x58]
fld qword [esp + 0x78]
fmul qword [esp + 0x1c]
jmp 0x524e2b
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
push edi
push ebx
push ebp
push edx
call fcn.004b8b00
mov eax, dword [esp + 0x24]
push edi
fstp qword [esp + 0x40]
push ebx
push ebp
push eax
lea ecx, [esp + 0x68]
call fcn.004b8b00
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x524e02
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
push edi
push ebx
push ebp
push edx
mov dword [esp + 0x2c], ecx
call fcn.004b8b70
mov eax, dword [esp + 0x1c]
fst qword [esp + 0x3c]
fmul qword [eax + 0x18]
fadd qword [eax]
fld qword [esp + 0x3c]
fmul qword [eax + 0x20]
fadd qword [eax + 8]
jmp 0x524e2f
mov eax, dword [esp + 0x24]
push edi
push ebx
push ebp
push eax
lea ecx, [esp + 0x68]
call fcn.004b8b70
fstp qword [esp + 0x3c]
fld qword [esp + 0x70]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x58]
fld qword [esp + 0x78]
fmul qword [esp + 0x3c]
fadd qword [esp + 0x60]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
fsub qword [esp + 0x2c]
fld st(1)
fsub qword [esp + 0x24]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fcom qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x524e97
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
fld st(0)
mov edx, dword [esp + 0x50]
fstp qword [ecx]
fld qword [esp + 0x24]
fadd st(0), st(0)
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], ecx
fsub st(1)
fstp qword [eax + 0x78]
fstp st(0)
fld qword [esp + 0x2c]
fadd st(0), st(0)
fsub qword [esp + 0x50]
fstp qword [eax + 0x80]
jmp 0x524e9b
fstp st(0)
fstp st(0)
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 0xffffffff
call fcn.0042bd50
mov edi, dword [esp + 0x14]
mov esi, dword [esi + 0x5c]
mov ecx, edi
call fcn.0056c0e0
cmp esi, eax
jne 0x524c5e
mov ecx, dword [esp + 0x18]
call fcn.004b7340
mov ecx, dword [esp + 0x80]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret