Function at 0x57ac60
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 0x5da512
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x6dd1e4]
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.004fcac0
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0xa0], eax
call fcn.004fcac0
push 0
push 0
push 0x1004
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
call dword [0x5de7fc]
test eax, eax
je 0x57ad2e
lea esi, [eax - 1]
test esi, esi
js 0x57ad2e
nop dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x30]
call fcn.004f2e50
cmp eax, 1
jne 0x57ad29
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x30]
call fcn.004f31f0
sub esi, 1
jns 0x57ad00
push 0
push 0
push 0x1004
push dword [ebp - 0xa4]
call dword [0x5de7fc]
test eax, eax
je 0x57ad7e
lea esi, [eax - 1]
test esi, esi
js 0x57ad7e
nop
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x44]
call fcn.004f2e50
cmp eax, 1
jne 0x57ad79
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x44]
call fcn.004f31f0
sub esi, 1
jns 0x57ad50
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.0051e180
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.0051e180
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.00579bd0
test eax, eax
je 0x57af9a
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0
push 0x60478c
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call fcn.0051dd30
push eax
lea ecx, [ebp - 0x5c]
call fcn.0051b070
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
push 0x60478c
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
call fcn.0051dd30
push eax
lea ecx, [ebp - 0x44]
call fcn.0051b070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.0051afe0
test eax, eax
je 0x57ae81
mov edi, dword [ebp - 0xa0]
nop dword [eax]
push esi
lea ecx, [ebp - 0x5c]
call fcn.0051aff0
mov ecx, eax
call fcn.0051aa10
test eax, eax
je 0x57ae6e
push 0
push 1
push esi
lea ecx, [ebp - 0x5c]
call fcn.0051aff0
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00501600
lea ecx, [ebp - 0x5c]
inc esi
call fcn.0051afe0
cmp esi, eax
jb 0x57ae40
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x44]
xor esi, esi
call fcn.0051afe0
test eax, eax
je 0x57aed6
mov edi, dword [ebp - 0xa4]
push esi
lea ecx, [ebp - 0x44]
call fcn.0051aff0
mov ecx, eax
call fcn.0051aa10
test eax, eax
je 0x57aec3
push 0
push 1
push esi
lea ecx, [ebp - 0x44]
call fcn.0051aff0
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00501600
lea ecx, [ebp - 0x44]
inc esi
call fcn.0051afe0
cmp esi, eax
jb 0x57ae95
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x9c]
mov ecx, edi
push 2
push 0xffffffffffffffff
push dword [esi + 0x30]
call fcn.004f2d50
test eax, eax
js 0x57af1b
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 [0x5de7fc]
push 2
push 0xffffffffffffffff
push dword [esi + 0x44]
mov ecx, edi
call fcn.004f2d50
test eax, eax
js 0x57af5a
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 [0x5de7fc]
push 0x40
push dword [esi + 0x34]
mov ecx, edi
call fcn.004f4b70
push 0x40
push dword [esi + 0x38]
mov ecx, edi
call fcn.004f4b70
push 0x40
push dword [esi + 0x48]
mov ecx, edi
call fcn.004f4b70
push 0x40
push dword [esi + 0x4c]
mov ecx, edi
call fcn.004f4b70
lea ecx, [ebp - 0x44]
call fcn.0051b050
lea ecx, [ebp - 0x5c]
call fcn.0051b050
lea ecx, [ebp - 0x20]
call fcn.0051dfd0
lea ecx, [ebp - 0x2c]
call fcn.0051dfd0
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.0041e885
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc