Function at 0x56d8b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x704aa0
mov ebx, ecx
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
lea eax, [ebx + 8]
mov ecx, 8
movsd xmm1, qword [edx + 0x30]
movsd xmm2, qword [edx + 0x28]
movsd xmm0, qword [edx + 0x38]
mov dword [esi + 0xc], eax
xor eax, eax
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [edx + 0x20]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [edx + 0x18]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [edx]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
lock cmpxchg dword [ebx + 8], ecx
je 0x56d977
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xd8], 0
mov dword [esi + 8], ebx
call fcn.007188f0
mov ebx, dword [esi + 8]
movsd xmm2, qword [esi + 0x38]
movsd xmm1, qword [esi + 0x30]
movsd xmm0, qword [esi + 0x40]
mov eax, dword [esi + 0x48]
add ebx, 0x4c8
mov ecx, ebx
movsd qword [esi + 0xb8], xmm2
movsd qword [esi + 0xb0], xmm1
movsd xmm2, qword [esi + 0x28]
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0xc0], xmm0
movsd qword [esi + 0xa8], xmm2
movsd qword [esi + 0xa0], xmm1
movsd xmm2, qword [esi + 0x10]
movsd xmm1, qword [esi + 0x18]
movsd qword [esi + 0x98], xmm1
movsd qword [esi + 0x90], xmm2
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov byte [esi + 7], 1
mov dword [esi + 0xd8], 2
push eax
push edi
call fcn.005332a0
add esp, 8
mov ecx, dword [esi + 0xc0]
movsd xmm2, qword [esi + 0x38]
movsd xmm1, qword [ecx + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x50], xmm0
movsd qword [esi + 0x88], xmm2
movsd xmm2, qword [esi + 0x28]
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x78], xmm2
movsd xmm2, qword [esi + 0x10]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esi + 0x60], xmm2
movsd qword [esi + 0x68], xmm1
mov edx, dword [eax + 8]
cmp edx, dword [eax + 4]
jne 0x56da7b
mov ecx, eax
mov dword [esi + 0xd8], 3
mov dword [esi + 8], eax
call fcn.004860f0
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
movsd xmm0, qword [esi + 0x88]
shl edx, 6
movsd qword [ecx + edx + 0x38], xmm0
movsd xmm0, qword [esi + 0x80]
movsd qword [ecx + edx + 0x30], xmm0
movsd xmm0, qword [esi + 0x78]
movsd qword [ecx + edx + 0x28], xmm0
movsd xmm0, qword [esi + 0x70]
movsd qword [ecx + edx + 0x20], xmm0
movsd xmm0, qword [esi + 0x68]
movsd qword [ecx + edx + 0x18], xmm0
movsd xmm0, qword [esi + 0x60]
movsd qword [ecx + edx + 0x10], xmm0
movsd xmm0, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd qword [ecx + edx + 8], xmm1
movsd qword [ecx + edx], xmm0
mov edx, dword [esi + 0xc]
inc dword [eax + 8]
xor ecx, ecx
mov eax, 8
lock cmpxchg dword [edx], ecx
jne 0x56db04
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
mov dword [esi + 0xd8], 0xffffffff
call fcn.00719150
jmp 0x56daf0