Function at 0x46db40
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

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 0x65f9bf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x6d6ec0]
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 - 0x98], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x50]
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x28]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x10]
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.004358a0
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x48]
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x94], eax
lea eax, [ebx + 0x30]
push eax
movups xmmword [ebp - 0x84], xmm0
call fcn.004358a0
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
mov eax, dword [ebx + 0x4c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x68]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebx + 0x50]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.004358a0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
mov eax, dword [ebx + 0x6c]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x88]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x74], eax
lea eax, [ebx + 0x70]
push eax
movups xmmword [ebp - 0x64], xmm0
call fcn.004358a0
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x94]
cmp dword [ebp - 0x54], edi
je 0x46dc88
mov esi, dword [ebp - 0x74]
cmp dword [ebp - 0x34], esi
je 0x46dc88
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmova eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x50]
push eax
call fcn.00405a00
test eax, eax
jne 0x46dc88
lea ecx, [ebp - 0x54]
call fcn.004458e0
lea ecx, [ebp - 0x34]
call fcn.004458e0
cmp dword [ebp - 0x54], edi
jne 0x46dc53
mov eax, dword [ebp - 0x34]
lea ecx, [ebx + 0x50]
cmp dword [ebp - 0x1c], 7
push dword [ebp - 0x20]
mov dword [ebx + 0x4c], eax
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push eax
call fcn.00446de0
mov eax, dword [ebp - 0x54]
lea ecx, [ebx + 0x10]
cmp dword [ebp - 0x3c], 7
push dword [ebp - 0x40]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
push eax
call fcn.00446de0
mov esi, dword [ebp - 0x98]
mov eax, dword [ebx + 0xc]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebx + 0x10]
push eax
call fcn.004358a0
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 8
lea ecx, [esi + 0x24]
mov eax, dword [ebx + 0x4c]
mov dword [esi + 0x20], eax
lea eax, [ebx + 0x50]
push eax
call fcn.004358a0
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x68]
mov dword [esi + 0x3c], eax
cmp ecx, 7
jbe 0x46dd35
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46dd2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x46dd6f
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46dd65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x46ddc0
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ddb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 7
jbe 0x46ddfa
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ddf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebx + 0x24]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp ecx, 7
jbe 0x46de48
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46de3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebx + 0x44]
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
cmp ecx, 7
jbe 0x46de96
mov edx, dword [ebx + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46de8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebx + 0x64]
xor eax, eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 7
mov word [ebx + 0x30], ax
cmp ecx, 7
jbe 0x46dee0
mov edx, dword [ebx + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ded6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebx + 0x84]
xor eax, eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 7
mov word [ebx + 0x50], ax
cmp ecx, 7
jbe 0x46df2d
mov edx, dword [ebx + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46df23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46df4d
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov eax, esi
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.0061f478
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00636c1b
int3