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

Disassembly:
push 0xffffffffffffffff
push 0x5eb002
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x304], eax
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x324]
mov dword [esp + 0x84], ecx
cmp dword [ecx + 4], 0x147
sbb eax, eax
neg eax
or dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
and eax, 1
je 0x5a9eae
push dword [esp + 0x32c]
push dword [esp + 0x32c]
push ecx
mov ecx, esi
call fcn.005a9640
jmp 0x5aab09
mov eax, dword [ecx]
mov dword [esi + 0x2b8], eax
test al, 1
jne 0x5a9ec1
xor al, al
jmp 0x5aab09
mov eax, dword [esp + 0x32c]
lea edi, [esi + 0x74]
mov dword [edi], eax
lea eax, [ecx + 0x20]
mov dword [esi + 0x2bc], eax
mov eax, dword [esp + 0x328]
add eax, 0xffffffe0
mov dword [esp + 0x6c], edi
mov dword [esi + 0x2c0], eax
lea eax, [esi + 0x18c]
push eax
push ecx
mov ecx, edi
call fcn.005ac450
mov eax, dword [edi]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x2bc]
push ecx
push dword [esi + 0x2c0]
mov dword [esp + 0x2e0], eax
mov dword [esp + 0x2e8], eax
lea eax, [esi + 0x190]
mov dword [esp + 0x2e4], 0
mov dword [esp + 0x2ec], 0
movdqu xmm0, xmmword [esp + 0x2e0]
push ecx
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
mov eax, dword [esi + 0x2b8]
add esp, 0x10
shr eax, 1
test al, 1
je 0x5a9f9e
mov eax, dword [esp + 0x84]
lea edi, [esi + 0xa0]
mov ecx, edi
mov eax, dword [eax + 4]
xor eax, dword [esp + 0x32c]
push eax
call fcn.005e1b20
push edi
push dword [esp + 0x88]
lea ecx, [esi + 0x74]
call fcn.005abed0
push dword [esi + 0x2c0]
mov ecx, edi
push dword [esi + 0x2bc]
call fcn.005e1d30
push dword [esp + 0x80]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x6f]
push ecx
push dword [esi + 0x2c8]
mov dword [esp + 0xa0], 0
movzx edi, word [eax + 8]
push dword [esi + 0x2c4]
mov dword [esp + 0x9c], edi
call fcn.00540590
mov eax, dword [esi + 0x2c4]
add esp, 0x10
mov dword [esi + 0x2c8], eax
mov ecx, dword [esi + 0x2cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x5aa021
cmp edi, 0x15555555
jbe 0x5aa015
push 0x52f4f0
call fcn.005c36d7
push edi
lea ecx, [esi + 0x2c4]
call fcn.005ac620
push edi
lea ecx, [esi + 0x2ec]
call fcn.00553e80
mov edx, edi
xor ecx, ecx
test edx, edx
jle 0x5aa052
jmp 0x5aa040
mov eax, dword [esi + 0x2ec]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jl 0x5aa040
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push 0x44
lea ecx, [esp + 0x74]
mov dword [esp + 0x320], 0
call fcn.0059c400
cmp dword [esp + 0x8c], 0
jle 0x5aa5b9
nop
mov edi, dword [esp + 0x94]
lea eax, [esp + 0x308]
sub eax, edi
mov ecx, 5
mov dword [esp + 0x88], eax
mov edx, eax
mov dword [esp + 0x98], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x5aa0ed
push edi
lea ecx, [esi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
jmp 0x5aa0f6
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x98], ecx
jne 0x5aa0c5
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x30c]
push eax
call fcn.005a9480
mov ecx, dword [esp + 0x94]
xorps xmm0, xmm0
add ecx, eax
movq qword [esp + 0x1ec], xmm0
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x31c], 1
mov dword [esp + 0x90], eax
test eax, eax
jle 0x5aa533
lea eax, [esp + 0x1f8]
sub eax, ecx
mov dword [esp + 0x88], eax
jmp 0x5aa198
mov ecx, dword [esp + 0x94]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x5aa1c4
push edi
lea ecx, [esi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x98]
jmp 0x5aa1cd
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x1fc], al
inc edi
inc ecx
mov dword [esp + 0x98], ecx
cmp ecx, 0x2c
jl 0x5aa1a3
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x6c]
add edi, 0x2c
sub dword [esp + 0x88], 0x2c
xor edx, edx
mov dword [esp + 0x94], edi
mov ecx, dword [esi + 4]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x268], al
inc edx
cmp edx, 0x10
jb 0x5aa204
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x1fc]
movdqu xmm0, xmmword [esp + 0x268]
push eax
push 0x2c
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
push 0xc0
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.005c55e0
add esp, 0x1c
lea ecx, [esp + 0x9c]
push esi
call fcn.00551cc0
lea eax, [esp + 0x1fc]
mov byte [esp + 0x31c], 2
push eax
lea ecx, [esp + 0xa0]
call fcn.00583e10
mov eax, dword [esp + 0x224]
mov ecx, eax
and ecx, 0xc0000000
je 0x5aa4ab
cmp ecx, 0x40000000
je 0x5aa41a
cmp ecx, 0x80000000
jne 0x5aa4c5
lea ecx, [esp + 0x70]
and eax, 0x3fffffff
push ecx
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.005a9530
mov edx, dword [esp + 0x88]
mov ecx, 4
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x98], ecx
lea esp, [esp]
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x5aa328
push edi
lea ecx, [esi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
jmp 0x5aa331
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x98], ecx
jne 0x5aa300
mov esi, dword [esp + 0x6c]
sub edx, 4
add dword [esp + 0x94], 4
mov dword [esp + 0x88], edx
xor edx, edx
mov ecx, dword [esi + 4]
lea ebx, [ebx]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x278], al
inc edx
cmp edx, 0x10
jb 0x5aa360
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x1f8]
movdqu xmm0, xmmword [esp + 0x278]
push eax
push 4
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
mov edi, dword [esp + 0x208]
lea ecx, [esp + 0x80]
add esp, 0x10
and edi, 0x3fffffff
push 0x20
call fcn.0059c540
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0xa4], eax
call fcn.005a91f0
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2ec], edi
mov dword [esp + 0x2f4], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2f0], eax
movdqu xmm0, xmmword [esp + 0x2e8]
jmp 0x5aa47a
and eax, 0x3fffffff
lea ecx, [esp + 0x70]
push 0x20
mov dword [esp + 0x9c], eax
call fcn.0059c540
mov eax, dword [esp + 0x70]
mov ecx, esi
mov edi, dword [esp + 0x74]
sub edi, eax
push edi
push eax
push dword [esp + 0xa0]
call fcn.005a91f0
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
mov dword [esp + 0x304], ecx
movdqu xmm0, xmmword [esp + 0x2f8]
mov eax, dword [esp + 0x70]
push eax
push edi
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
add esp, 0x10
lea ecx, [esp + 0x9c]
push edi
push dword [esp + 0x74]
call fcn.00583e60
jmp 0x5aa4c5
lea ecx, [esp + 0x70]
and eax, 0x3fffffff
push ecx
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.005a9530
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x1f0]
call fcn.00552fd0
mov dword [esp + 0x9c], 0x52f62c
mov edi, dword [esp + 0x140]
mov byte [esp + 0x31c], 3
mov dword [esp + 0x144], 0
test edi, edi
je 0x5aa512
mov ecx, edi
call fcn.00584100
push edi
call fcn.005c40d3
add esp, 4
lea ecx, [esp + 0x9c]
mov byte [esp + 0x31c], 1
call fcn.00551eb0
dec dword [esp + 0x90]
jne 0x5aa191
lea eax, [esp + 0x1ec]
push eax
lea ecx, [esi + 0x2c4]
call fcn.005acac0
mov eax, dword [esp + 0x1ec]
mov byte [esp + 0x31c], 0
test eax, eax
je 0x5aa5ac
mov edi, eax
cmp eax, dword [esp + 0x1f0]
je 0x5aa582
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0xc0
cmp edi, dword [esp + 0x1f0]
jne 0x5aa564
mov eax, dword [esp + 0x1ec]
push eax
call fcn.005c40d3
add esp, 4
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0
dec dword [esp + 0x8c]
jne 0x5aa0a0
mov eax, dword [esp + 0x84]
lea edi, [esi + 0x2d8]
push dword [esp + 0x80]
mov dword [esp + 0x9c], edi
movzx eax, word [eax + 0xa]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6e]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.00540650
mov eax, dword [edi]
add esp, 0x10
mov dword [edi + 4], eax
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x8c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x5aa638
cmp ecx, 0x1c71c71
jbe 0x5aa629
push 0x52f4f0
call fcn.005c36d7
push ecx
mov ecx, edi
call fcn.005ac720
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1f8], 0
test ecx, ecx
jle 0x5aa8da
jmp 0x5aa650
mov edi, dword [esp + 0x94]
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x5aa681
push edi
lea ecx, [esi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x90]
jmp 0x5aa68a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x248], al
inc edi
inc ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x20
jl 0x5aa660
mov esi, dword [esp + 0x6c]
add dword [esp + 0x94], 0x20
xor edx, edx
mov ecx, dword [esi + 4]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x228], al
inc edx
cmp edx, 0x10
jb 0x5aa6b0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x248]
movdqu xmm0, xmmword [esp + 0x228]
push eax
push 0x20
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
push 0x90
lea eax, [esp + 0x170]
push 0
push eax
call fcn.005c55e0
xorps xmm0, xmm0
mov dword [esp + 0x1f0], esi
add esp, 0x1c
mov dword [esp + 0x1d8], esi
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
movdqu xmmword [esp + 0x178], xmm0
mov dword [esp + 0x188], 0
mov dword [esp + 0x1b0], 0
movdqu xmmword [esp + 0x18c], xmm0
mov dword [esp + 0x1ac], 0
movdqu xmmword [esp + 0x19c], xmm0
movdqu xmmword [esp + 0x1b4], xmm0
movdqu xmmword [esp + 0x1c4], xmm0
push dword [esp + 0x1f8]
lea eax, [esp + 0x24c]
mov byte [esp + 0x320], 4
push eax
lea ecx, [esp + 0x164]
call fcn.005afe50
mov ecx, dword [esi + 0x2dc]
lea edi, [esi + 0x2d8]
lea eax, [esp + 0x15c]
cmp eax, ecx
jae 0x5aa87f
mov eax, dword [edi]
lea edx, [esp + 0x15c]
cmp eax, edx
ja 0x5aa87f
mov ecx, edx
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [edi + 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x90], eax
cmp ecx, dword [edi + 8]
jne 0x5aa86a
push 1
mov ecx, edi
call fcn.005ac960
mov eax, dword [esp + 0x90]
mov edx, dword [edi + 4]
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [edi]
test edx, edx
je 0x5aa8af
mov esi, eax
mov edi, edx
jmp 0x5aa89d
cmp ecx, dword [edi + 8]
jne 0x5aa88d
push 1
mov ecx, edi
call fcn.005ac960
mov eax, dword [edi + 4]
test eax, eax
je 0x5aa8af
lea esi, [esp + 0x15c]
mov edi, eax
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x1f8]
add dword [edi + 4], 0x90
inc eax
mov byte [esp + 0x31c], 0
mov dword [esp + 0x1f8], eax
cmp eax, dword [esp + 0x8c]
jl 0x5aa650
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
mov dword [esi + 0x2e4], edi
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x2e8], eax
add edi, dword [ecx + 0xc]
lea ecx, [esi + 0x2d0]
mov eax, dword [ecx]
mov dword [esp + 0x94], edi
push dword [eax + 4]
call fcn.00546af0
mov eax, dword [esi + 0x2d0]
xor ecx, ecx
mov dword [esp + 0x98], 0
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x2d4], 0
cmp cx, word [eax + 0x10]
jae 0x5aaadd
jmp 0x5aa960
xor ecx, ecx
mov dword [esp + 0x90], ecx
lea esp, [esp]
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x5aa991
push edi
lea ecx, [esi + 0xa0]
call fcn.005e1c30
mov ecx, dword [esp + 0x90]
jmp 0x5aa99a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x288], al
inc edi
inc ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x50
jl 0x5aa970
mov esi, dword [esp + 0x6c]
xor edx, edx
mov ecx, dword [esi + 4]
jmp 0x5aa9c0
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x238], al
inc edx
cmp edx, 0x10
jb 0x5aa9c0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x288]
movdqu xmm0, xmmword [esp + 0x238]
push eax
push 0x50
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.005906f0
movdqu xmm0, xmmword [esp + 0x2a8]
mov eax, dword [esp + 0x298]
add esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28c]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x10], eax
movdqu xmm0, xmmword [esp + 0x2a8]
mov eax, dword [esp + 0x290]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x294]
movdqu xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [esp + 0x2b8]
movdqu xmmword [esp + 0x3c], xmm0
movdqu xmm0, xmmword [esp + 0x2c8]
movdqu xmmword [esp + 0x4c], xmm0
movzx eax, byte [0x602d7c]
lea ecx, [esi + 0x2d0]
mov edi, dword [esp + 0x94]
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x320], 5
push eax
push 0
lea eax, [esp + 0x68]
add edi, 0x50
push eax
mov dword [esp + 0xa4], edi
call fcn.005a7f70
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
inc edx
mov byte [esp + 0x31c], 0
mov dword [esp + 0x98], edx
movzx eax, word [eax + 0x10]
cmp edx, eax
jl 0x5aa960
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov dword [eax], 1
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x5aab07
push eax
call fcn.005c40d3
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x304]
xor ecx, esp
call fcn.005c4b26
add esp, 0x314
ret 0xc