Function at 0x5a21f0
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 0x5f9ede
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x705200]
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 - 0xb0], esi
push dword [esi + 0x30]
call fcn.00522c70
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0xa0], eax
call fcn.00522c70
push 0
push 0
push 0x1004
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
call dword [0x5fd6cc]
test eax, eax
je 0x5a22c3
add eax, 0xffffffff
mov dword [ebp - 0x9c], eax
js 0x5a22c3
nop dword [eax]
push eax
push dword [esi + 0x30]
mov ecx, edi
call fcn.00518d00
cmp eax, 1
jne 0x5a22b2
push 0
push dword [ebp - 0x9c]
mov ecx, edi
push dword [esi + 0x30]
call fcn.005190c0
mov eax, dword [ebp - 0x9c]
sub eax, 1
mov dword [ebp - 0x9c], eax
jns 0x5a2290
push 0
push 0
push 0x1004
push dword [ebp - 0xa4]
call dword [0x5fd6cc]
test eax, eax
je 0x5a231a
add eax, 0xffffffff
mov dword [ebp - 0x9c], eax
js 0x5a231a
push eax
push dword [esi + 0x44]
mov ecx, edi
call fcn.00518d00
cmp eax, 1
jne 0x5a2309
push 0
push dword [ebp - 0x9c]
mov ecx, edi
push dword [esi + 0x44]
call fcn.005190c0
mov eax, dword [ebp - 0x9c]
sub eax, 1
mov dword [ebp - 0x9c], eax
jns 0x5a22e7
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.00545530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.00545530
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.005a10f0
test eax, eax
je 0x5a2535
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0
push 0x621894
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call fcn.005450e0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00542280
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
push 0x621894
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
call fcn.005450e0
push eax
lea ecx, [ebp - 0x44]
call fcn.00542280
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.005421f0
test eax, eax
je 0x5a2416
mov edi, dword [ebp - 0xa0]
push esi
lea ecx, [ebp - 0x5c]
call fcn.00542200
mov ecx, eax
call fcn.00541c20
test eax, eax
je 0x5a2403
push 0
push 1
push esi
lea ecx, [ebp - 0x5c]
call fcn.00542200
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00527e30
lea ecx, [ebp - 0x5c]
inc esi
call fcn.005421f0
cmp esi, eax
jb 0x5a23d5
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x44]
xor esi, esi
call fcn.005421f0
test eax, eax
je 0x5a2471
mov edi, dword [ebp - 0xa4]
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x44]
call fcn.00542200
mov ecx, eax
call fcn.00541c20
test eax, eax
je 0x5a245e
push 0
push 1
push esi
lea ecx, [ebp - 0x44]
call fcn.00542200
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00527e30
lea ecx, [ebp - 0x44]
inc esi
call fcn.005421f0
cmp esi, eax
jb 0x5a2430
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xb0]
mov ecx, edi
push 2
push 0xffffffffffffffff
push dword [esi + 0x30]
call fcn.00518c00
test eax, eax
js 0x5a24b6
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 [0x5fd6cc]
push 2
push 0xffffffffffffffff
push dword [esi + 0x44]
mov ecx, edi
call fcn.00518c00
test eax, eax
js 0x5a24f5
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 [0x5fd6cc]
push 0x40
push dword [esi + 0x34]
mov ecx, edi
call fcn.0051aa80
push 0x40
push dword [esi + 0x38]
mov ecx, edi
call fcn.0051aa80
push 0x40
push dword [esi + 0x48]
mov ecx, edi
call fcn.0051aa80
push 0x40
push dword [esi + 0x4c]
mov ecx, edi
call fcn.0051aa80
lea ecx, [ebp - 0x44]
call fcn.00542260
lea ecx, [ebp - 0x5c]
call fcn.00542260
lea ecx, [ebp - 0x20]
call fcn.00545380
lea ecx, [ebp - 0x2c]
call fcn.00545380
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.0041e475
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc