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

Disassembly:
sub esp, 0x64
mov eax, dword [ecx + 0x16c]
push ebx
push ebp
push esi
mov edx, dword [eax]
push edi
cmp edx, eax
mov dword [esp + 0x2c], ecx
je 0x5a66d0
jmp 0x5a6251
mov edx, dword [esp + 0x28]
mov eax, edx
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
cmp esi, 1
mov dword [esp + 0x30], edx
jg 0x5a66be
mov eax, dword [edx + 0x160]
mov edx, dword [eax]
cmp edx, eax
je 0x5a66be
jmp 0x5a6282
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov eax, edx
mov dword [esp + 0x24], ecx
mov edi, dword [eax + 8]
mov eax, dword [edi + 8]
test eax, eax
jne 0x5a6298
xor ebx, ebx
jmp 0x5a62a0
mov ebx, dword [edi + 0xc]
sub ebx, eax
sar ebx, 2
mov edx, dword [edi]
push edx
call fcn.005a8620
mov esi, dword [eax + 4]
add esp, 4
mov ecx, esi
mov eax, dword [esi]
push 0xc47a0000
call dword [eax + 0x1c]
mov eax, 0x55555556
mov dword [esp + 0x20], 0
imul ebx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, edx
test ebp, ebp
jle 0x5a66a6
xor ebx, ebx
mov eax, dword [edi + 8]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + ebx]
push ecx
mov ecx, esi
call fcn.004461d0
mov al, byte [0x81a23c]
test al, 1
jne 0x5a6310
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x38]
fstp dword [0x81a240]
fld dword [esp + 0x3c]
fstp dword [0x81a244]
fld dword [esp + 0x40]
fst dword [0x81a248]
fmul dword [esi + 0x74]
fld dword [0x81a244]
fmul dword [esi + 0x64]
lea edx, [esp + 0x50]
push edx
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x54]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x3c]
fld dword [0x81a248]
fmul dword [esi + 0x78]
fld dword [0x81a244]
fmul dword [esi + 0x68]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x58]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x40]
fld dword [0x81a248]
fmul dword [esi + 0x7c]
fld dword [0x81a244]
fmul dword [esi + 0x6c]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x5c]
faddp st(1)
fadd dword [esi + 0x8c]
fstp dword [esp + 0x44]
mov eax, dword [edi + 8]
mov ecx, dword [eax + ebx + 4]
push ecx
mov ecx, esi
call fcn.004461d0
mov al, byte [0x81a23c]
test al, 1
jne 0x5a63d8
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x50]
fstp dword [0x81a240]
fld dword [esp + 0x54]
fstp dword [0x81a244]
fld dword [esp + 0x58]
fst dword [0x81a248]
fmul dword [esi + 0x74]
fld dword [0x81a244]
fmul dword [esi + 0x64]
lea edx, [esp + 0x44]
push edx
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x54]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x54]
fld dword [0x81a248]
fmul dword [esi + 0x78]
fld dword [0x81a244]
fmul dword [esi + 0x68]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x58]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x58]
fld dword [0x81a248]
fmul dword [esi + 0x7c]
fld dword [0x81a244]
fmul dword [esi + 0x6c]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x5c]
faddp st(1)
fadd dword [esi + 0x8c]
fstp dword [esp + 0x5c]
mov eax, dword [edi + 8]
mov ecx, dword [eax + ebx + 8]
push ecx
mov ecx, esi
call fcn.004461d0
mov al, byte [0x81a23c]
test al, 1
jne 0x5a64a0
mov dl, al
push fcn.004465e0
or dl, 1
mov byte [0x81a23c], dl
call fcn.00673ac4
add esp, 4
fld dword [esp + 0x44]
fstp dword [0x81a240]
fld dword [esp + 0x48]
fstp dword [0x81a244]
fld dword [esp + 0x4c]
fst dword [0x81a248]
fmul dword [esi + 0x74]
fld dword [0x81a244]
fmul dword [esi + 0x64]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x54]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x44]
fld dword [0x81a248]
fmul dword [esi + 0x78]
fld dword [0x81a244]
fmul dword [esi + 0x68]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x58]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x48]
fld dword [0x81a248]
fmul dword [esi + 0x7c]
fld dword [0x81a244]
fmul dword [esi + 0x6c]
faddp st(1)
fld dword [0x81a240]
fmul dword [esi + 0x5c]
faddp st(1)
fadd dword [esi + 0x8c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fsub dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x58]
fsub dword [esp + 0x40]
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x40]
fmul dword [esp + 0x18]
fld dword [esp + 0x78]
fsub dword [esp + 0x38]
fmul dword [esp + 0x1c]
fsubp st(1)
fld dword [esp + 0x7c]
fsub dword [esp + 0x58]
fld dword [esp + 0x44]
fsub dword [esp + 0x50]
fmulp st(1)
fld dword [esp + 0x4c]
fsub dword [esp + 0x58]
fld dword [esp + 0x78]
fsub dword [esp + 0x50]
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fsub dword [esp + 0x44]
fld dword [esp + 0x7c]
fsub dword [esp + 0x4c]
fmulp st(1)
fld dword [esp + 0x40]
fsub dword [esp + 0x4c]
fld dword [esp + 0x78]
fsub dword [esp + 0x44]
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x14]
fcom dword [0x6a37dc]
fnstsw ax
test ah, 0x41
je 0x5a65e8
fld dword [esp + 0x10]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 0x41
je 0x5a65e8
fld dword [esp + 0x14]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 0x41
jne 0x5a6621
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5a6692
fld dword [esp + 0x10]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5a6692
fld dword [esp + 0x14]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 1
jne 0x5a6692
jmp 0x5a6623
fstp st(0)
fld dword [esp + 0x18]
fld dword [esp + 0x54]
fsub dword [esp + 0x3c]
fld dword [esp + 0x1c]
fld dword [esp + 0x44]
fsub dword [esp + 0x38]
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fsub dword [esp + 0x40]
fld st(0)
fmul st(3)
fld dword [esp + 0x60]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x5c]
fxch st(1)
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x60]
fmulp st(2)
fmul dword [esp + 0x5c]
fsubp st(1)
fld dword [esp + 0x6c]
fcomp dword [0x6a37dc]
fnstsw ax
test ah, 0x41
je 0x5a66dc
fstp st(0)
mov eax, dword [esp + 0x20]
add ebx, 0xc
inc eax
cmp eax, ebp
mov dword [esp + 0x20], eax
jl 0x5a62dc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x160]
jne 0x5a627e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + 0x16c]
cmp edx, eax
jne 0x5a624d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x64
ret 0xc
fld dword [esp + 0x40]
fsub dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
fmulp st(1)
fld dword [esp + 0x30]
fsub dword [esp + 0x70]
pop ebp
pop ebx
fmul dword [esp + 0x58]
faddp st(1)
fdiv dword [esp + 0x5c]
fadd dword [esp + 0x2c]
fld st(0)
fstp dword [eax]
fadd dword [ecx + 0x128]
fstp dword [eax]
mov al, 1
add esp, 0x64
ret 0xc