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

Disassembly:
push 0xffffffffffffffff
push 0x6c9cce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp byte [esi + 0x374], bl
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x5a8639
mov eax, dword [esi + 0x114]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x5a85c7
push eax
call fcn.0040103c
mov ecx, eax
call fcn.00646de5
test eax, eax
je 0x5a85c7
mov eax, dword [esi + 0x370]
mov ecx, dword [esi + 0x114]
push eax
call fcn.005b5b70
cmp eax, ebx
je 0x5a85c7
mov ecx, dword [esi + 0x114]
cmp ecx, dword [ecx + 0x54]
je 0x5a8411
mov dword [esp + 0x10], 0x3f800000
jmp 0x5a841b
mov ecx, dword [ecx + 0xac]
mov dword [esp + 0x10], ecx
lea edx, [eax + 0x14]
mov ebp, edx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
add eax, 8
mov dword [esp + 0x4c], ebp
mov ebp, dword [eax]
mov dword [esp + 0x14], ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
mov eax, 0x3f800000
mov dword [esp + 0x8c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x370]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [eax + 0x100]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 0x104]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x108]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xd4]
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x90], edx
call fcn.005421e7
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.00541522
mov eax, dword [esi + 0x370]
lea edx, [esp + 0x30]
add eax, 0x10c
push edx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00542bfc
fld dword [esp + 0xc0]
fadd dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
fstp dword [esp + 0x20]
mov dword [esp + 0x30], ecx
fld dword [esp + 0xc4]
mov ecx, dword [esp + 0x4c]
fadd dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x24]
fld dword [esp + 0xc8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fadd dword [esp + 0x120]
fstp dword [esp + 0x120]
fld dword [esp + 0x24]
fadd dword [esp + 0x124]
fstp dword [esp + 0x124]
fld dword [esp + 0x28]
fadd dword [esp + 0x128]
fstp dword [esp + 0x128]
mov ecx, dword [esi + 0x108]
cmp ecx, ebx
je 0x5a8639
mov eax, dword [esi + 0x10c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
je 0x5a8639
mov eax, dword [esi + 0x148]
xor edi, edi
cmp eax, ebx
jle 0x5a8639
xor ebp, ebp
mov edi, edi
mov edx, dword [esi + 0x144]
mov ecx, dword [edx + edi*4]
mov eax, dword [esi + 0x108]
cmp dword [eax + ecx*4], ebx
je 0x5a8628
mov ecx, dword [esi + 0x124]
fld dword [esp + 0x10]
fmul dword [ecx + ebp + 0x104]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
push ecx
push ecx
push ecx
mov ecx, dword [eax + edi*4]
call fcn.0060c1b0
mov eax, dword [esi + 0x148]
inc edi
add ebp, 0x1b4
cmp edi, eax
jl 0x5a85f0
cmp byte [esi + 0x315], bl
je 0x5a89fe
cmp byte [esi + 0x2e8], bl
je 0x5a8848
mov eax, dword [esi + 0x1f0]
cmp eax, ebx
mov dword [esi + 0x24c], 1
je 0x5a8674
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x1f0], ebx
mov edi, dword [esi + 0x24c]
lea edx, [edi + edi*2]
shl edx, 2
push edx
call fcn.0069197a
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov dword [esp + 0x118], ebx
je 0x5a86aa
push 0x4a9aa2
push edi
push 0xc
push ebp
call fcn.00401000
jmp 0x5a86ac
xor ebp, ebp
mov eax, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov dword [esi + 0x1f0], ebp
mov dword [ebp], eax
mov ecx, dword [esi + 0x1f0]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x128]
mov eax, dword [esi + 0x1f0]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x108]
cmp ecx, ebx
mov dword [esp + 0x118], 0xffffffff
je 0x5a87be
mov eax, dword [esi + 0x10c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
je 0x5a87be
mov eax, dword [esi + 0x18c]
xor ebp, ebp
cmp eax, ebx
jle 0x5a87be
jmp 0x5a8720
fld dword [esi + 0x290]
mov eax, dword [esi + 0x1f0]
fmul dword [esi + 0x154]
mov edx, dword [esi + 0x188]
fadd dword [eax]
fstp dword [esp + 0x14]
fld dword [esi + 0x290]
fmul dword [esi + 0x158]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esi + 0x290]
fmul dword [esi + 0x15c]
fadd dword [eax + 8]
mov eax, dword [edx + ebp*4]
cmp eax, 0xffffffff
fstp dword [esp + 0x1c]
je 0x5a87be
mov ecx, dword [esi + 0x108]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x5a87af
mov edi, ecx
cmp dword [edi + 0x6c], ebx
mov dword [edi + 0x68], ebx
jne 0x5a8792
push 0xc
call fcn.006918d6
add esp, 4
mov dword [edi + 0x6c], eax
mov edx, dword [edi + 0x6c]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x18c]
inc ebp
cmp ebp, eax
jl 0x5a8720
fld dword [esp + 0x120]
mov edx, dword [esi + 0x1f0]
fsub dword [esp + 0x20]
xor ebp, ebp
fstp dword [edx]
mov eax, dword [esi + 0x1f0]
fld dword [esp + 0x124]
fsub dword [esp + 0x24]
fstp dword [eax + 4]
mov ecx, dword [esi + 0x1f0]
fld dword [esp + 0x128]
fsub dword [esp + 0x28]
fstp dword [ecx + 8]
mov eax, dword [esi + 0x27c]
cmp eax, ebx
jle 0x5a89fe
xor edi, edi
jmp 0x5a8810
mov ecx, dword [esi + 0x274]
cmp ecx, ebx
je 0x5a8832
mov eax, dword [esi + 0x1f0]
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
add ecx, edi
call fcn.005a71e0
mov eax, dword [esi + 0x27c]
inc ebp
add edi, 0x380
cmp ebp, eax
jl 0x5a8810
jmp 0x5a89fe
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov byte [esi + 0x19c], 1
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1a4], edx
mov dword [esi + 0x1a8], eax
mov ecx, dword [esi + 0x108]
cmp ecx, ebx
je 0x5a8971
mov eax, dword [esi + 0x10c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
je 0x5a8971
mov eax, dword [esi + 0x148]
xor ebp, ebp
cmp eax, ebx
jle 0x5a8971
jmp 0x5a88b0
mov ecx, dword [esi + 0x144]
mov ecx, dword [ecx + ebp*4]
lea eax, [esi + 0x1a0]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, ecx
imul edx, edx, 0x1b4
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x124]
add eax, edx
mov edx, dword [esi + 0x108]
fld dword [eax + 0x164]
fmul dword [esi + 0x290]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [eax + 0x168]
fmul dword [esi + 0x290]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [eax + 0x16c]
lea eax, [edx + ecx*4]
fmul dword [esi + 0x290]
mov ecx, dword [eax]
cmp ecx, ebx
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
je 0x5a8962
mov edi, ecx
cmp dword [edi + 0x6c], ebx
mov dword [edi + 0x68], ebx
jne 0x5a8945
push 0xc
call fcn.006918d6
add esp, 4
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [edi + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [edx + 4], eax
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x148]
inc ebp
cmp ebp, eax
jl 0x5a88b0
fld dword [esp + 0x120]
mov eax, dword [esi + 0x27c]
fsub dword [esp + 0x20]
xor edi, edi
cmp eax, ebx
fstp dword [esi + 0x1a0]
fld dword [esp + 0x124]
fsub dword [esp + 0x24]
fstp dword [esi + 0x1a4]
fld dword [esp + 0x128]
fsub dword [esp + 0x28]
fstp dword [esi + 0x1a8]
jle 0x5a89fe
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x274]
cmp eax, ebx
je 0x5a89e5
sub esp, 0xc
lea ecx, [esi + 0x1a0]
mov ebp, dword [ecx]
mov edx, esp
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x1c]
lea ecx, [eax + edx]
call fcn.005a7530
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x27c]
inc edi
add ecx, 0x380
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x5a89b4
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 0xc