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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x28]
push edi
mov dword [esp + 0x14], ecx
lea eax, [esi + esi*4]
push ebx
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
mov eax, dword [ecx + 0x24]
lea edi, [eax + edx*8]
mov ecx, edi
call fcn.0059eda0
cmp eax, 1
mov dword [esp + 0x2c], eax
je 0x53756c
cmp word [edi + 6], 0
jne 0x53756c
lea ecx, [esp + 0xb8]
call fcn.004b6ca0
push 0
lea ecx, [esp + 0x84]
mov dword [esp + 0xec], 0
call fcn.00527630
xor eax, eax
mov word [esp + 0x8e], si
mov dword [esp + 0x18], 0x5f07a0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x2c]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 1
push ecx
push edx
mov ecx, esi
call fcn.004b7060
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.0059be00
cmp dword [esp + 0x20], 1
jg 0x5370a9
mov dword [esp + 0x18], 0x5f07a0
mov byte [esp + 0xe8], 2
jmp 0x5371d6
lea ecx, [esp + 0xb8]
call fcn.004b6ff0
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x537151
mov ecx, dword [esp + 0x1c]
fld qword [ecx + 8]
fld qword [ecx]
fcom qword [esp + 0xb8]
fnstsw ax
test ah, 1
je 0x5370df
fst qword [esp + 0xb8]
fld qword [esp + 0xc0]
fld st(2)
fcompp
fnstsw ax
test ah, 1
je 0x5370f5
fld st(1)
jmp 0x5370fc
fld qword [esp + 0xc0]
fstp qword [esp + 0xc0]
fld qword [esp + 0xc8]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x53711e
fstp st(0)
fld qword [esp + 0xc8]
fstp qword [esp + 0xc8]
fld qword [esp + 0xd0]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x537140
fstp st(0)
fld qword [esp + 0xd0]
fstp qword [esp + 0xd0]
add ecx, 0x10
dec edx
jne 0x5370c5
lea ecx, [esp + 0xb8]
call fcn.004b7060
fstp qword [esp + 0xc]
mov ecx, esi
call fcn.004b7060
mov ecx, dword [esp + 0x14]
fmul qword [ecx + 0x78]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x53718c
mov dword [esp + 0x18], 0x5f07a0
mov byte [esp + 0xe8], 3
jmp 0x5371d6
fld qword [esp + 0xc8]
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 0x41
jne 0x5371af
mov dword [esp + 0x18], 0x5f07a0
mov byte [esp + 0xe8], 4
jmp 0x5371d6
mov al, byte [ebp + 8]
test al, al
je 0x5371f4
mov eax, dword [esp + 0x20]
push ebx
push edi
push eax
call fcn.00530600
test al, al
je 0x5371f4
mov dword [esp + 0x18], 0x5f07a0
mov byte [esp + 0xe8], 5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5371e7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x18], 0x5e262c
jmp 0x537555
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, 1
mov dword [esp + 0xb8], ecx
mov ecx, dword [esi + 0xc]
mov word [esp + 0x8c], ax
mov word [esp + 0x92], ax
mov eax, dword [esp + 0x20]
mov word [esp + 0x90], ax
mov word [esp + 0x94], ax
mov eax, dword [esi + 8]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
fld qword [edi + 0x290]
fadd qword [esi]
xor eax, eax
fadd qword [esp + 0xc8]
fstp qword [esp + 0xc8]
fld qword [edi + 0x298]
fadd qword [esi + 8]
mov dword [esp + 0x4c], 0x5e27fc
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
fadd qword [esp + 0xd0]
mov dword [esp + 0x54], eax
fstp qword [esp + 0xd0]
mov edx, dword [ebx + 8]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xf0], 6
call fcn.0046d900
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, eax
dec eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x50]
test edx, edx
je 0x5372d5
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
add ecx, 4
dec edx
mov dword [esp + 0x2c], edx
jne 0x5372c0
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x80]
push eax
push edi
call fcn.005279e0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x64]
call fcn.004b6cb0
fld qword [esi + 0x18]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
fst qword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
mov edx, dword [esp + 0xd8]
push eax
fstp qword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.00536ad0
fstp qword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x38], 0x5f0828
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov byte [esp + 0xf4], 8
call fcn.0052f8a0
fstp qword [esp + 0xc]
push ebx
push edi
lea ecx, [esp + 0x88]
call fcn.005277b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
fmul qword [eax + 0x70]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], edx
test eax, eax
fadd qword [esp + 0xc]
fstp qword [esp + 0x2c]
jle 0x5373dc
mov ecx, dword [esp + 0x3c]
mov edx, eax
add ecx, 0x48
fld qword [ecx]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 1
jne 0x5373d6
fld qword [ecx]
fstp qword [esp + 0x70]
add ecx, 0x60
dec edx
jne 0x5373c3
lea ecx, [esp + 0x60]
call fcn.004b7060
fld qword [esp + 0x70]
fsub qword [esi]
lea ecx, [esp + 0xb8]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.004b7060
fld qword [esp + 0xc8]
fsub qword [esi]
fmulp st(1)
fadd qword [esp + 0xc]
fdivr qword [esp + 0x2c]
fcom qword [ebp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x5374c3
mov edx, dword [esp + 0x40]
mov esi, dword [ebp + 0x2c]
fstp qword [ebp + 0x18]
lea eax, [edx + 1]
cmp eax, 0xffffffff
je 0x537433
mov dword [esi + 0x10], eax
mov edi, dword [esi + 4]
test edi, edi
je 0x537469
mov eax, dword [esi + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x537456
lea ebx, [eax + 1]
push 0
mov ecx, edi
call fcn.00546850
add edi, 0x60
dec ebx
jne 0x537447
mov eax, dword [esi + 4]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 4], 0
lea edx, [esp + 0x80]
xor eax, eax
push edx
push eax
mov ecx, esi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
call fcn.00545c10
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [edi + eax]
push ecx
mov ecx, esi
call fcn.005442f0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
lea edi, [edi + edi*2]
shl edi, 5
add edi, edx
test eax, eax
je 0x5374cd
lea esi, [eax]
mov eax, ebx
mov ecx, edi
push eax
add ebx, 0x60
add edi, 0x60
call fcn.00530160
dec esi
jne 0x5374ae
jmp 0x5374c5
fstp st(0)
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], 0x5f0828
test ebx, ebx
mov byte [esp + 0xe8], 9
je 0x537505
test eax, eax
mov esi, ebx
je 0x5374fc
lea edi, [eax]
push 0
mov ecx, esi
call fcn.00546850
add esi, 0x60
dec edi
jne 0x5374e9
mov ebx, dword [esp + 0x3c]
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], esi
mov byte [esp + 0xe8], 6
call fcn.0042bd50
mov dword [esp + 0x4c], 0x5e27fc
mov eax, dword [esp + 0x50]
mov byte [esp + 0xe8], 0xa
test eax, eax
je 0x537540
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], esi
mov byte [esp + 0xe8], 0
call fcn.005452e0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xe8], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0xe0]
pop edi
fld qword [ebp + 0x18]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x28