Function at 0x5a7530
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 0x5a774a
mov eax, dword [esi + 0x114]
cmp eax, ebx
je 0x5a774a
push eax
call fcn.0040103c
mov ecx, eax
call fcn.00646de5
test eax, eax
je 0x5a774a
mov eax, dword [esi + 0x370]
mov ecx, dword [esi + 0x114]
push eax
call fcn.005b5b70
cmp eax, ebx
je 0x5a774a
mov ecx, dword [esi + 0x114]
cmp ecx, dword [ecx + 0x54]
je 0x5a75bd
mov dword [esp + 0x10], 0x3f800000
jmp 0x5a75c7
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 + 0x8c], 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 + 0x8c]
mov eax, 0x3f800000
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x370]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov edx, dword [eax + 0x100]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 0x104]
mov dword [esp + 0x74], 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 + 0x80], edx
call fcn.005421e7
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x44]
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 + 0x88]
push eax
call fcn.00542bfc
fld dword [esp + 0xc0]
fadd dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0xc4]
fadd dword [esp + 0x18]
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 + 0x120]
fadd dword [esp + 0x20]
fstp dword [esp + 0x120]
fld dword [esp + 0x124]
fadd dword [esp + 0x24]
fstp dword [esp + 0x124]
fld dword [esp + 0x128]
fadd dword [esp + 0x28]
fstp dword [esp + 0x128]
cmp byte [esi + 0x315], bl
je 0x5a7b0a
cmp byte [esi + 0x2e8], bl
je 0x5a7938
mov eax, dword [esi + 0x1f0]
cmp eax, ebx
mov dword [esi + 0x24c], 1
je 0x5a7785
push eax
call fcn.00693d31
add esp, 4
mov dword [esi + 0x1f0], ebx
mov edi, dword [esi + 0x24c]
lea ecx, [edi + edi*2]
shl ecx, 2
push ecx
call fcn.0069197a
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
cmp ebp, ebx
mov dword [esp + 0x118], ebx
je 0x5a77bd
push 0x4a9aa2
push edi
push 0xc
push ebp
call fcn.00401000
mov eax, ebp
jmp 0x5a77bf
xor eax, eax
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov dword [esi + 0x1f0], eax
mov dword [eax], edx
mov eax, dword [esi + 0x1f0]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x1f0]
mov eax, dword [esp + 0x128]
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x108]
cmp ecx, ebx
mov dword [esp + 0x118], 0xffffffff
je 0x5a78ad
mov eax, dword [esi + 0x10c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
je 0x5a78ad
mov eax, dword [esi + 0x18c]
xor edi, edi
cmp eax, ebx
jle 0x5a78ad
lea ebx, [ebx]
fld dword [esi + 0x154]
mov eax, dword [esi + 0x1f0]
fmul dword [esi + 0x290]
mov ecx, dword [esi + 0x188]
fadd dword [eax]
fstp dword [esp + 0x14]
fld dword [esi + 0x158]
fmul dword [esi + 0x290]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
fld dword [esi + 0x15c]
fmul dword [esi + 0x290]
fadd dword [eax + 8]
mov eax, dword [ecx + edi*4]
cmp eax, 0xffffffff
fstp dword [esp + 0x1c]
je 0x5a78ad
mov edx, dword [esi + 0x108]
mov ecx, dword [edx + eax*4]
cmp ecx, ebx
lea eax, [edx + eax*4]
je 0x5a78a2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
mov ecx, dword [eax]
call fcn.005a28b0
mov eax, dword [esi + 0x18c]
inc edi
cmp edi, eax
jl 0x5a7830
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 0x5a7b0a
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esi + 0x274]
cmp ecx, ebx
je 0x5a7922
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 0x5a7900
jmp 0x5a7b0a
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x124]
lea eax, [esi + 0x1a0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x128]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov byte [esi + 0x19c], 1
mov ecx, dword [esi + 0x108]
cmp ecx, ebx
je 0x5a7a61
mov eax, dword [esi + 0x10c]
sub eax, ecx
sar eax, 2
cmp eax, ebx
je 0x5a7a61
mov eax, dword [esi + 0x148]
xor ebp, ebp
cmp eax, ebx
jle 0x5a7a61
jmp 0x5a79a0
mov edx, dword [esi + 0x144]
mov ecx, dword [edx + 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 0x5a7a52
mov edi, ecx
cmp dword [edi + 0x6c], ebx
mov dword [edi + 0x68], ebx
jne 0x5a7a35
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 0x5a79a0
fld dword [esp + 0x128]
lea edx, [esi + 0x1a0]
fsub dword [esp + 0x28]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x124]
fsub dword [esp + 0x24]
fstp dword [esp + 0x10]
fld dword [esp + 0x120]
mov eax, dword [esp + 0x10]
fsub dword [esp + 0x20]
fstp dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esi + 0x27c]
xor edi, edi
cmp eax, ebx
mov dword [edx + 8], ecx
jle 0x5a7b0a
mov dword [esp + 0x10], ebx
jmp 0x5a7ac0
mov eax, dword [esi + 0x274]
cmp eax, ebx
je 0x5a7af1
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, [edx + eax]
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 0x5a7ac0
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10c
ret 0xc