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

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 0x4a498e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x4c8104]
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 - 0x30], ecx
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x58], ecx
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x4c], eax
lea edx, [ecx + 0x200]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ecx + 0x190]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x70], eax
xorps xmm0, xmm0
mov byte [ebp - 0x83], 0
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x2b], 1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
push 0x38
mov dword [ebp - 0x48], eax
call fcn.0042ae70
mov edx, eax
add esp, 4
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x427b50
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov cl, byte [ebp - 0x2b]
mov byte [edx + 0x21], cl
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x2b], 0
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [edx + 0x34], eax
lea eax, [ebp - 0x38]
push edx
push eax
call fcn.0042acf0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
call fcn.0041aa80
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x422faa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x422faa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x422faa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 9
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x422fd6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x422fd6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x422fd6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.0049f3c4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc