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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fc491
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 4]
call fcn.004da6a0
test eax, eax
je 0x5a8bcc
mov dword [esp + 0x1c], 1
jmp 0x5a8be4
mov ecx, dword [ebx + 4]
call fcn.004da6f0
test eax, eax
je 0x5a8fab
mov dword [esp + 0x1c], 0
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x4c]
push eax
call fcn.004d5090
mov edi, dword [eax]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [ebx + 4]
mov esi, dword [eax + 4]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
call fcn.004d5100
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
push esi
push edi
mov eax, dword [eax + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.004c3d80
test eax, eax
mov dword [esp + 0x20], eax
je 0x5a8fab
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5a8c3d
lea ecx, [esi + 1]
push ecx
push edi
jmp 0x5a8c42
lea edx, [edi + 1]
push esi
push edx
mov ecx, dword [ebx + 4]
call fcn.004c3d80
test eax, eax
mov dword [esp + 0x18], eax
je 0x5a8fab
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
call fcn.0054e7c0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x5a8f97
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
call fcn.0054e7c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x98], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5a8f86
lea ecx, [esp + 0xc]
call fcn.005c0247
lea ecx, [esp + 0xc]
call fcn.005c01fb
lea ecx, [esp + 0x10]
call fcn.005c0247
lea ecx, [esp + 0x10]
call fcn.005c01fb
lea ecx, [esp + 0x3c]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
call fcn.005c3c54
call fcn.0053caf0
add esp, 8
test ax, ax
je 0x5a8f86
lea eax, [esp + 0x34]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.005c3c54
call fcn.0053caf0
add esp, 8
test ax, ax
je 0x5a8f86
fld qword [esp + 0x34]
fld st(0)
fdiv qword [esp + 0x3c]
push 0xa
lea ecx, [esp + 0x78]
fstp qword [esp + 0x50]
fstp qword [esp + 0x28]
call fcn.005c2ce2
mov dword [esp + 0x74], 0x1af5b18
push 0xa
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 2
call fcn.005c2ce2
mov dword [esp + 0x58], 0x1af5b18
mov eax, dword [0x1b55e58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x98], 4
test eax, eax
je 0x5a8e69
mov ecx, dword [esp + 0x30]
lea eax, [esi + 2]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jg 0x5a8f37
jmp 0x5a8dab
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
push eax
push edi
call fcn.004c3d80
mov esi, eax
test esi, esi
je 0x5a8e4f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov edi, eax
test edi, edi
je 0x5a8f37
push esi
lea ecx, [esp + 0x5c]
call fcn.005c2d94
push edi
lea ecx, [esp + 0x78]
call fcn.005c2d94
fld qword [esp + 0x24]
fmul qword [esp + 0x4c]
push 0xffffffffffffffff
lea edx, [esp + 0x24]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.0053f1f0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 5
call fcn.005c4018
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 4
call fcn.005c3edf
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.005c3c54
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004bea40
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jle 0x5a8da7
jmp 0x5a8f37
mov eax, dword [esp + 0x2c]
add edi, 2
cmp edi, eax
mov dword [esp + 0x1c], edi
jg 0x5a8f37
jmp 0x5a8e82
mov esi, dword [esp + 0x48]
mov ecx, dword [ebx + 4]
push esi
push edi
call fcn.004c3d80
mov esi, eax
test esi, esi
je 0x5a8f26
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov edi, eax
test edi, edi
je 0x5a8f37
push esi
lea ecx, [esp + 0x5c]
call fcn.005c2d94
push edi
lea ecx, [esp + 0x78]
call fcn.005c2d94
fld qword [esp + 0x24]
fmul qword [esp + 0x4c]
push 0xffffffffffffffff
lea edx, [esp + 0x24]
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edx
call fcn.0053f1f0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 6
call fcn.005c4018
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 4
call fcn.005c3edf
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.005c3c54
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004bea40
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x5a8e7e
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x74]
push 1
lea eax, [esp + 0x5c]
push edx
push eax
push 2
add ecx, 0xb8
call fcn.005223d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 3
call fcn.005c3edf
lea ecx, [esp + 0x58]
mov byte [esp + 0x98], 2
call fcn.005c2d41
lea ecx, [esp + 0x74]
mov byte [esp + 0x98], 1
call fcn.005c2d41
lea ecx, [esp + 0x10]
mov byte [esp + 0x98], 0
call fcn.005c3edf
lea ecx, [esp + 0xc]
mov dword [esp + 0x98], 0xffffffff
call fcn.005c3edf
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4