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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101084fc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1014bb94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x10], 0
je 0x100224e1
mov dword [edi + 0x14], 0x10116428
mov dword [edi + method.FamRT::IShutdown.virtual_0], vtable.FamRT::IShutdown.0
mov dword [ebp - 0x10], 1
mov ecx, edi
call fcn.1009d100
mov eax, dword [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 8], vtable.FamRT::INetError.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x14], vtable.FamRT::INetError.1.0
mov dword [edi + 0x18], vtable.FamRT::IZombie.0
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
mov dword [edi], vtable.FamRT::INetInterface.0
mov dword [edi + 8], vtable.FamRT::INetInterface.1.0
mov dword [edi + 0x18], vtable.FamRT::INetInterface.2.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x14], vtable.FamRT::INetInterface.3.0
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 0x4c]
mov dword [edi + 0x28], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x30], eax
movups xmm0, xmmword [0x1011b4e8]
movups xmmword [edi + 0x34], xmm0
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x44], eax
mov eax, dword [edx + 0x20]
mov dword [edi + 0x48], eax
call fcn.1009caa0
lea ecx, [edi + 0x68]
mov byte [edi + 0x58], 1
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], 0
call fcn.1009d100
lea ecx, [edi + 0x70]
mov dword [edi + 0x68], vtable.RolClient::TClientIpAddress_wchar_t_const___class_FamRT::CUnicodeString_.0
call fcn.1009caa0
xor eax, eax
lea ecx, [edi + 0x80]
mov word [edi + 0x7c], ax
mov byte [edi + 0x7e], al
call fcn.100a1ae0
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x24]
push esi
mov dword [edi + 0x20], vtable.RolClient::CConfigOwner.0
call fcn.100069b0
mov eax, dword [edi + 0x14]
mov dword [edi], vtable.RolClient::CCryptoChannel.0
mov dword [edi + 8], vtable.RolClient::CCryptoChannel.1.0
mov dword [edi + 0x18], vtable.RolClient::CCryptoChannel.2.0
mov dword [edi + 0x20], vtable.RolClient::CCryptoChannel.3.0
mov eax, dword [eax + 4]
push 1
push dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov dword [eax + edi + 0x14], vtable.RolClient::CCryptoChannel.4.0
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x258]
mov dword [ecx + edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x88], ecx
lea ecx, [edi + 0x90]
mov dword [edi + 0x8c], eax
call fcn.1003ea10
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
push 1
lea ecx, [edi + 0x150]
call fcn.100a69b0
push 1
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.10003f10
push eax
lea ecx, [edi + 0x200]
call fcn.100a5370
mov dword [edi + 0x250], 0xffffffff
mov eax, edi
mov dword [edi + 0x254], 0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov byte [edi + 0x260], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14