Function at 0x5719a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c915f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x6c21e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov ecx, edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x9c], esi
push dword [esi + 0x30]
call fcn.004f5a60
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0xa0], eax
call fcn.004f5a60
push 0
push 0
push 0x1004
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
call dword [0x5cd800]
test eax, eax
je 0x571a6e
lea esi, [eax - 1]
test esi, esi
js 0x571a6e
nop dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x30]
call fcn.004ebfb0
cmp eax, 1
jne 0x571a69
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x30]
call fcn.004ec350
sub esi, 1
jns 0x571a40
push 0
push 0
push 0x1004
push dword [ebp - 0xa4]
call dword [0x5cd800]
test eax, eax
je 0x571abe
lea esi, [eax - 1]
test esi, esi
js 0x571abe
nop
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x44]
call fcn.004ebfb0
cmp eax, 1
jne 0x571ab9
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x44]
call fcn.004ec350
sub esi, 1
jns 0x571a90
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.00516ef0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.00516ef0
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebx + 0x10]
call fcn.00570910
test eax, eax
je 0x571cda
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0
push 0x5f3704
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call fcn.00516ab0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00513eb0
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
push 0x5f3704
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
call fcn.00516ab0
push eax
lea ecx, [ebp - 0x44]
call fcn.00513eb0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.00513e20
test eax, eax
je 0x571bc1
mov edi, dword [ebp - 0xa0]
nop dword [eax]
push esi
lea ecx, [ebp - 0x5c]
call fcn.00513e30
mov ecx, eax
call fcn.00513870
test eax, eax
je 0x571bae
push 0
push 1
push esi
lea ecx, [ebp - 0x5c]
call fcn.00513e30
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.004fa800
lea ecx, [ebp - 0x5c]
inc esi
call fcn.00513e20
cmp esi, eax
jb 0x571b80
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x44]
xor esi, esi
call fcn.00513e20
test eax, eax
je 0x571c16
mov edi, dword [ebp - 0xa4]
push esi
lea ecx, [ebp - 0x44]
call fcn.00513e30
mov ecx, eax
call fcn.00513870
test eax, eax
je 0x571c03
push 0
push 1
push esi
lea ecx, [ebp - 0x44]
call fcn.00513e30
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.004fa800
lea ecx, [ebp - 0x44]
inc esi
call fcn.00513e20
cmp esi, eax
jb 0x571bd5
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x9c]
mov ecx, edi
push 2
push 0xffffffffffffffff
push dword [esi + 0x30]
call fcn.004ebeb0
test eax, eax
js 0x571c5b
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 3
push ecx
push eax
push 0x102b
push dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
call dword [0x5cd800]
push 2
push 0xffffffffffffffff
push dword [esi + 0x44]
mov ecx, edi
call fcn.004ebeb0
test eax, eax
js 0x571c9a
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 3
push ecx
push eax
push 0x102b
push dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0
call dword [0x5cd800]
push 0x40
push dword [esi + 0x34]
mov ecx, edi
call fcn.004edcc0
push 0x40
push dword [esi + 0x38]
mov ecx, edi
call fcn.004edcc0
push 0x40
push dword [esi + 0x48]
mov ecx, edi
call fcn.004edcc0
push 0x40
push dword [esi + 0x4c]
mov ecx, edi
call fcn.004edcc0
lea ecx, [ebp - 0x44]
call fcn.00513e90
lea ecx, [ebp - 0x5c]
call fcn.00513e90
lea ecx, [ebp - 0x20]
call fcn.00516d50
lea ecx, [ebp - 0x2c]
call fcn.00516d50
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e865
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc