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

Disassembly:
push 0xffffffffffffffff
push 0x5eaf89
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x1d4], eax
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x1e4]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x1f4]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [edi + 0x2b8], eax
test al, 1
jne 0x5a969d
xor al, al
jmp 0x5a9dff
mov eax, dword [esp + 0x1fc]
mov dword [edi + 0x74], eax
lea eax, [ecx + 0x10]
mov dword [edi + 0x2bc], eax
mov eax, dword [esp + 0x1f8]
add eax, 0xfffffff0
mov dword [edi + 0x2c0], eax
lea eax, [edi + 0x18c]
push eax
push ecx
lea ecx, [edi + 0x74]
call fcn.005ac450
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
mov ecx, dword [edi + 0x2bc]
push ecx
push dword [edi + 0x2c0]
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1e0], eax
lea eax, [edi + 0x190]
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e4], 0
movdqu xmm0, xmmword [esp + 0x1d8]
push ecx
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.005906f0
mov eax, dword [edi + 0x2b8]
add esp, 0x10
shr eax, 1
test al, 1
je 0x5a9770
mov eax, dword [esp + 0x14]
lea esi, [edi + 0xa0]
mov ecx, esi
mov eax, dword [eax + 4]
xor eax, dword [esp + 0x1fc]
push eax
call fcn.005e1b20
push esi
push dword [esp + 0x18]
lea ecx, [edi + 0x74]
call fcn.005abed0
push dword [edi + 0x2c0]
mov ecx, esi
push dword [edi + 0x2bc]
call fcn.005e1d30
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x23]
push ecx
push dword [edi + 0x2c8]
mov dword [esp + 0x34], 0
movzx eax, word [eax + 8]
push dword [edi + 0x2c4]
mov dword [esp + 0x30], eax
call fcn.00540590
mov eax, dword [edi + 0x2c4]
add esp, 0x10
mov dword [edi + 0x2c8], eax
mov ecx, dword [edi + 0x2cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x5a97ef
cmp ecx, 0x15555555
jbe 0x5a97df
push 0x52f4f0
call fcn.005c36d7
push ecx
lea ecx, [edi + 0x2c4]
call fcn.005ac620
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [edi + 0x2ec]
call fcn.00553e80
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x5a9ac2
lea esp, [esp]
mov eax, dword [edi + 0x2ec]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jl 0x5a9810
test edx, edx
jle 0x5a9ac2
lea ebx, [ebx]
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea ebx, [ebx]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x5a985e
push esi
lea ecx, [edi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x2c]
jmp 0x5a9867
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x1b8], al
inc esi
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 5
jl 0x5a9840
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1bc]
push eax
call fcn.005a9480
mov ecx, dword [esp + 0x28]
xorps xmm0, xmm0
add ecx, eax
movq qword [esp + 0x1d4], xmm0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x24], eax
test eax, eax
jle 0x5a9a3a
jmp 0x5a98f4
mov ecx, dword [esp + 0x28]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x5a991e
push esi
lea ecx, [edi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x2c]
jmp 0x5a9927
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x180], al
inc esi
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 0x28
jl 0x5a9900
add dword [esp + 0x28], 0x28
xor edx, edx
mov eax, dword [edi + 0x78]
jmp 0x5a9950
imul eax, eax, 0x6255
add eax, 0x3619
and eax, 0xffff
mov cl, al
mov dword [edi + 0x78], eax
mov byte [esp + edx + 0x1a8], cl
inc edx
cmp edx, 0x10
jb 0x5a9950
movdqu xmm0, xmmword [esp + 0x1a8]
lea eax, [esp + 0x180]
push eax
push 0x28
push eax
lea eax, [edi + 0x190]
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.005906f0
push 0xc0
lea eax, [esp + 0x44]
push 0
push eax
call fcn.005c55e0
add esp, 0x1c
lea ecx, [esp + 0x30]
push edi
call fcn.00551cc0
lea eax, [esp + 0x180]
mov byte [esp + 0x1ec], 1
push eax
lea ecx, [esp + 0x34]
call fcn.00583e10
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1d8]
call fcn.00552fd0
mov dword [esp + 0x30], 0x52f62c
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x1ec], 2
mov dword [esp + 0xd8], 0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5a9a1f
mov ecx, eax
call fcn.00584100
push dword [esp + 0x2c]
call fcn.005c40d3
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1ec], 0
call fcn.00551eb0
dec dword [esp + 0x24]
jne 0x5a98f0
lea eax, [esp + 0x1d4]
push eax
lea ecx, [edi + 0x2c4]
call fcn.005acac0
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x1ec], 0xffffffff
test eax, eax
je 0x5a9ab8
cmp eax, dword [esp + 0x1d8]
je 0x5a9a8e
mov esi, eax
mov edi, edi
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0xc0
cmp esi, dword [esp + 0x1d8]
jne 0x5a9a70
mov eax, dword [esp + 0x1d4]
push eax
call fcn.005c40d3
add esp, 4
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
dec dword [esp + 0x20]
jne 0x5a9830
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x23]
push ecx
push dword [edi + 0x2dc]
movzx eax, word [eax + 0xa]
push dword [edi + 0x2d8]
mov dword [esp + 0x3c], eax
call fcn.00540650
mov eax, dword [edi + 0x2d8]
add esp, 0x10
mov dword [edi + 0x2dc], eax
mov ecx, dword [edi + 0x2e0]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x2c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x5a9b3a
cmp ecx, 0x1c71c71
jbe 0x5a9b2a
push 0x52f4f0
call fcn.005c36d7
push ecx
lea ecx, [edi + 0x2d8]
call fcn.005ac720
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x5a9dcd
lea ebx, [ebx]
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x5a9b7e
push esi
lea ecx, [edi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x24]
jmp 0x5a9b87
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x1c0], al
inc esi
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x20
jl 0x5a9b60
add dword [esp + 0x28], 0x20
xor edx, edx
mov ecx, dword [edi + 0x78]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [edi + 0x78], ecx
mov byte [esp + edx + 0x1a8], al
inc edx
cmp edx, 0x10
jb 0x5a9ba3
movdqu xmm0, xmmword [esp + 0x1a8]
lea eax, [esp + 0x1c0]
push eax
push 0x20
push eax
lea eax, [edi + 0x190]
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.005906f0
push 0x90
lea eax, [esp + 0x104]
push 0
push eax
call fcn.005c55e0
xorps xmm0, xmm0
mov dword [esp + 0x184], edi
add esp, 0x1c
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
movdqu xmmword [esp + 0x10c], xmm0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x144], 0
movdqu xmmword [esp + 0x120], xmm0
mov dword [esp + 0x140], 0
movdqu xmmword [esp + 0x130], xmm0
movdqu xmmword [esp + 0x148], xmm0
movdqu xmmword [esp + 0x158], xmm0
push dword [esp + 0x20]
lea eax, [esp + 0x1c4]
mov dword [esp + 0x1f0], 3
push eax
lea ecx, [esp + 0xf8]
call fcn.005afe50
mov ecx, dword [edi + 0x2dc]
lea eax, [edi + 0x2d8]
lea edx, [esp + 0xf0]
mov dword [esp + 0x18], ecx
cmp edx, ecx
jae 0x5a9d79
mov edx, dword [eax]
lea esi, [esp + 0xf0]
cmp edx, esi
ja 0x5a9d79
mov ecx, esi
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
lea eax, [edi + 0x2d8]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp edx, dword [eax + 8]
jne 0x5a9d64
push 1
mov ecx, eax
call fcn.005ac960
mov ecx, dword [esp + 0x24]
lea eax, [edi + 0x2d8]
lea edx, [ecx + ecx*8]
shl edx, 4
add edx, dword [eax]
cmp dword [eax + 4], 0
je 0x5a9da8
mov edi, dword [eax + 4]
mov esi, edx
jmp 0x5a9d9d
cmp ecx, dword [eax + 8]
jne 0x5a9d8d
push 1
mov ecx, eax
call fcn.005ac960
lea eax, [edi + 0x2d8]
mov edx, dword [eax + 4]
test edx, edx
je 0x5a9da8
lea esi, [esp + 0xf0]
mov edi, edx
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
add dword [eax + 4], 0x90
inc edx
mov dword [esp + 0x1ec], 0xffffffff
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x2c]
jl 0x5a9b50
mov eax, dword [esp + 0x28]
mov dword [edi + 0x2e4], eax
mov eax, dword [esp + 0x14]
push 0
push 0
push ecx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x24]
mov dword [edi + 0x2e8], eax
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 1
mov eax, dword [edi]
call dword [eax + 8]
mov al, 1
mov ecx, dword [esp + 0x1e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1d4]
xor ecx, esp
call fcn.005c4b26
add esp, 0x1e4
ret 0xc