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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ba65
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
mov al, byte [ecx]
mov byte [edi], al
movq qword [edi + 8], xmm0
movzx eax, byte [edi]
dec eax
cmp eax, 7
ja case.default.0x4b1bac
jmp dword [eax*4 + 0x4b1e90]
mov esi, dword [ecx + 8]
push 8
movlpd qword [ebp - 0x24], xmm0
call fcn.004a4626
mov ebx, eax
lea eax, [ebp - 0x19]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
push 0x38
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004a4626
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
push dword [ebp - 0x30]
mov ecx, ebx
mov byte [ebp - 4], 1
push eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.004aa3b0
mov ecx, eax
mov eax, dword [ebx]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov esi, dword [ebx]
mov dword [ebx + 4], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x4b1c6a
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x4b1c41
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4b1c35
mov dword [esi], edx
mov edx, dword [ebx]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x4b1c5c
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x4b1c51
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], ecx
mov dword [edi + 0xc], eax
jmp 0x4b1e62
mov dword [esi], esi
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], eax
jmp 0x4b1e62
mov esi, dword [ecx + 8]
push 0xc
movlpd qword [ebp - 0x18], xmm0
call fcn.004a4626
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x19]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
cmp eax, edx
je 0x4b1d2e
mov esi, edx
sub esi, eax
sar esi, 4
push esi
call fcn.004bfc20
mov ebx, eax
shl esi, 4
mov eax, dword [ebp - 0x28]
add esi, ebx
mov dword [ebp - 0x20], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
mov byte [ebp - 4], 4
nop word [eax + eax]
push esi
mov ecx, ebx
call fcn.004b1b60
add ebx, 0x10
add esi, 0x10
mov dword [ebp - 0x3c], ebx
cmp esi, edi
jne 0x4b1d10
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov dword [ecx + 4], ebx
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
jmp case.default.0x4b1bac
push dword [ecx + 8]
lea ecx, [ebp - 0x18]
call fcn.004b2e20
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp case.default.0x4b1bac
mov al, byte [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp case.default.0x4b1bac
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jmp case.default.0x4b1bac
movsd xmm0, qword [ecx + 8]
movsd qword [edi + 8], xmm0
jmp case.default.0x4b1bac
mov esi, dword [ecx + 8]
push 0x20
mov dword [ebp - 0x34], esi
movlpd qword [ebp - 0x18], xmm0
call fcn.004a4626
mov ebx, eax
add esp, 4
lea eax, [ebp - 0x1a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 6
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, ecx
je 0x4b1e4a
sub ecx, eax
mov dword [ebp - 0x28], ecx
cmp ecx, 0x1000
jb 0x4b1e10
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x4b1e85
push eax
call fcn.004a4626
add esp, 4
test eax, eax
je 0x4b1e8a
mov ecx, dword [ebp - 0x28]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4b1e26
test ecx, ecx
je 0x4b1e24
push ecx
call fcn.004a4626
mov ecx, dword [ebp - 0x28]
add esp, 4
mov esi, eax
jmp 0x4b1e26
xor esi, esi
push ecx
push dword [ebp - 0x2c]
mov dword [ebx], esi
lea eax, [esi + ecx]
mov dword [ebx + 4], esi
push esi
mov dword [ebx + 8], eax
call fcn.004d7a30
sub esi, dword [ebp - 0x2c]
add esp, 0xc
add esi, dword [ebp - 0x30]
mov dword [ebx + 4], esi
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x10], eax
mov cl, byte [esi + 0x18]
mov byte [ebx + 0x18], cl
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4
call fcn.00415f30
call fcn.004da7c4
nop
mov bl, 0x1b
dec ebx
add byte [esp + ebx + 0x4b], bh
add byte [ebx + 0x1d58004b], bh
dec ebx
add byte [edi + 0x1d], ch
dec ebx
add byte [edi + 0x1d], ch
dec ebx
add byte [eax - 0x70ffb4e3], al
sbb eax, 0x8b55004b
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50badc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4b1f64
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [edi + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x68], 9
call fcn.004b2ea0
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x4b1fa6
mov eax, ecx
neg eax
je 0x4b1fa6
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x4b1fae
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00430d40
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4b1fdd
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30