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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6c7123
push eax
mov dword fs:[0], esp
sub esp, 0x64
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
test ah, 2
je 0x5a5395
mov cl, byte [esp + 0x78]
test cl, cl
je 0x5a5068
test eax, 0x4000000
je 0x5a5073
pop edi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 4
test eax, 0x4000000
je 0x5a5395
mov eax, dword [0x72d944]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0x68]
lea esi, [edi + 0x134]
lea ebp, [edi + 0x124]
push esi
mov ecx, ebp
call fcn.00420920
push ebp
mov ecx, ebx
call fcn.00489360
test al, al
je 0x5a5375
mov ecx, dword [edi + 0x1c]
push fcn.0048ede0
push fcn.0050c840
push 4
mov eax, dword [ecx + 4]
push 0xc
add eax, 0x30
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x10]
add eax, 0x10
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x54]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.006b121a
fld dword [edi + 0x60]
fld dword [esp + 0x14]
fmul st(1)
mov edx, dword [edi + 0x64]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x10], edx
fadd dword [esi]
fld dword [esp + 0x18]
fmul st(2)
fadd dword [esi + 4]
fstp dword [esp + 0x48]
fld dword [esp + 0x1c]
fmul st(2)
fadd dword [esi + 8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fadd st(1)
fst dword [esp + 0x44]
fstp st(2)
fstp st(0)
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
fadd dword [esp + 0x48]
fst dword [esp + 0x48]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fadd dword [esp + 0x4c]
fst dword [esp + 0x4c]
fld dword [edi + 0x60]
fchs
fld st(0)
fld dword [esp + 0x14]
fmul st(1)
fadd dword [esi]
fstp dword [esp + 0x50]
fld dword [esp + 0x18]
fmul st(1)
fadd dword [esi + 4]
fstp dword [esp + 0x54]
fld dword [esp + 0x1c]
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x58]
fstp st(0)
fld dword [edi + 0x64]
fchs
fld st(0)
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
fld dword [esp + 0x28]
fmul st(1)
mov eax, edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], eax
mov edx, 3
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fstp st(0)
fld dword [esp + 0x14]
fmul st(2)
fadd dword [esi]
fld dword [esp + 0x18]
fmul st(3)
fadd dword [esi + 4]
fstp dword [esp + 0x60]
fld dword [esp + 0x1c]
fmul st(3)
fadd dword [esi + 8]
fstp dword [esp + 0x64]
fld dword [esp + 0x10]
fmul dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0x5c]
fstp st(0)
fstp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [edi + 0x60]
fld dword [esp + 0x14]
fmul st(1)
fadd dword [esi]
fstp dword [esp + 0x68]
fld dword [esp + 0x18]
fmul st(1)
fadd dword [esi + 4]
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x70]
fstp st(0)
fld dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x24]
fmul st(1)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fmul st(1)
fadd dword [esp + 0x70]
fstp dword [esp + 0x70]
fstp st(0)
fld st(2)
fstp dword [esp + 0x2c]
fld st(1)
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
fxch st(1)
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [esp + 0x4c]
fst dword [esp + 0x40]
fld dword [esp + 0x2c]
fcomp dword [ecx - 8]
fnstsw ax
and eax, 0x4100
jne 0x5a52ad
mov eax, dword [ecx - 8]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x34]
fcomp dword [ecx]
fnstsw ax
and eax, 0x4100
jne 0x5a52c2
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
fld dword [esp + 0x38]
fcomp dword [ecx - 8]
fnstsw ax
test ah, 5
jp 0x5a52d7
mov eax, dword [ecx - 8]
mov dword [esp + 0x38], eax
fcom dword [ecx]
fnstsw ax
test ah, 5
jp 0x5a52e4
fstp st(0)
fld dword [ecx]
add ecx, 0xc
dec edx
jne 0x5a5296
mov eax, dword [edi + 0xc]
mov ecx, dword [0x72d944]
fstp dword [esp + 0x40]
mov ecx, dword [ecx + 0x68]
test eax, 0x20000
mov ax, word [edi + 0x130]
je 0x5a5322
mov esi, dword [esp + 0x84]
lea edx, [esp + 0x38]
push esi
push edx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004894e0
jmp 0x5a5355
mov edx, dword [ecx + 0x10]
and eax, 0xffff
cmp eax, edx
jae 0x5a534e
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x84]
push ecx
lea ecx, [esp + 0x30]
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x3c]
push edx
push ecx
lea ecx, [eax + 4]
call fcn.004841d0
mov esi, dword [esp + 0x84]
push fcn.0048ede0
push 4
lea edx, [esp + 0x4c]
push 0xc
push edx
mov dword [esp + 0x8c], 0xffffffff
call fcn.006b129c
jmp 0x5a537c
mov esi, dword [esp + 0x84]
mov eax, dword [edi + 0xc]
and esi, 0xff
shl esi, 0x1a
and eax, 0xfbffffff
or esi, eax
mov dword [edi + 0xc], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
pop edi
mov dword fs:[0], ecx
add esp, 0x70
ret 4