Function at 0x5a2080
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 0x5f99ee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x704200]
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.00522a80
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0xa0], eax
call fcn.00522a80
push 0
push 0
push 0x1004
push dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
call dword [0x5fd6c8]
test eax, eax
je 0x5a214e
lea esi, [eax - 1]
test esi, esi
js 0x5a214e
nop dword [eax]
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x30]
call fcn.00518b10
cmp eax, 1
jne 0x5a2149
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x30]
call fcn.00518ed0
sub esi, 1
jns 0x5a2120
push 0
push 0
push 0x1004
push dword [ebp - 0xa4]
call dword [0x5fd6c8]
test eax, eax
je 0x5a219e
lea esi, [eax - 1]
test esi, esi
js 0x5a219e
nop
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push esi
push dword [eax + 0x44]
call fcn.00518b10
cmp eax, 1
jne 0x5a2199
mov eax, dword [ebp - 0x9c]
mov ecx, edi
push 0
push esi
push dword [eax + 0x44]
call fcn.00518ed0
sub esi, 1
jns 0x5a2170
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.005453c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.005453c0
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.005a0f80
test eax, eax
je 0x5a23ba
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
push 0
push 0x621874
movups xmmword [ebp - 0x5c], xmm0
movq qword [ebp - 0x4c], xmm0
call fcn.00544f70
push eax
lea ecx, [ebp - 0x5c]
call fcn.00542100
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
push 0x621874
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x44], xmm0
call fcn.00544f70
push eax
lea ecx, [ebp - 0x44]
call fcn.00542100
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
xor esi, esi
call fcn.00542070
test eax, eax
je 0x5a22a1
mov edi, dword [ebp - 0xa0]
nop dword [eax]
push esi
lea ecx, [ebp - 0x5c]
call fcn.00542080
mov ecx, eax
call fcn.00541aa0
test eax, eax
je 0x5a228e
push 0
push 1
push esi
lea ecx, [ebp - 0x5c]
call fcn.00542080
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00527c50
lea ecx, [ebp - 0x5c]
inc esi
call fcn.00542070
cmp esi, eax
jb 0x5a2260
mov edi, dword [ebp - 0xa8]
lea ecx, [ebp - 0x44]
xor esi, esi
call fcn.00542070
test eax, eax
je 0x5a22f6
mov edi, dword [ebp - 0xa4]
push esi
lea ecx, [ebp - 0x44]
call fcn.00542080
mov ecx, eax
call fcn.00541aa0
test eax, eax
je 0x5a22e3
push 0
push 1
push esi
lea ecx, [ebp - 0x44]
call fcn.00542080
push eax
mov edx, 0x2710
mov ecx, edi
call fcn.00527c50
lea ecx, [ebp - 0x44]
inc esi
call fcn.00542070
cmp esi, eax
jb 0x5a22b5
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x9c]
mov ecx, edi
push 2
push 0xffffffffffffffff
push dword [esi + 0x30]
call fcn.00518a10
test eax, eax
js 0x5a233b
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 [0x5fd6c8]
push 2
push 0xffffffffffffffff
push dword [esi + 0x44]
mov ecx, edi
call fcn.00518a10
test eax, eax
js 0x5a237a
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 [0x5fd6c8]
push 0x40
push dword [esi + 0x34]
mov ecx, edi
call fcn.0051a890
push 0x40
push dword [esi + 0x38]
mov ecx, edi
call fcn.0051a890
push 0x40
push dword [esi + 0x48]
mov ecx, edi
call fcn.0051a890
push 0x40
push dword [esi + 0x4c]
mov ecx, edi
call fcn.0051a890
lea ecx, [ebp - 0x44]
call fcn.005420e0
lea ecx, [ebp - 0x5c]
call fcn.005420e0
lea ecx, [ebp - 0x20]
call fcn.00545210
lea ecx, [ebp - 0x2c]
call fcn.00545210
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.0041e465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc