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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100707f0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1008c0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x34
call fcn.1006bfd9
mov esi, eax
lea edx, [edi + 0x2401d3]
lea eax, [edi + 0x9380]
add esp, 4
lea ecx, [edi + 0x6290f]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x657e0]
mov dword [esi + 0x18], eax
lea eax, [edi + 0x5d7b0]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x6ad30]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x10d50]
mov dword [esi + 0x24], eax
lea eax, [edi + 0x10b90]
mov dword [esi + 0x28], eax
lea eax, [edi + 0x3ad0]
mov dword [esi + 4], edx
lea edx, [edi + 0x628df]
mov dword [esi + 0xc], ecx
lea ecx, [edi + 0x2565e2]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x686c0]
mov dword [esi], edi
mov dword [esi + 8], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x30], eax
mov eax, dword [0x1009936c]
mov dword [0x1009936c], esi
test eax, eax
je 0x1001d790
push 0x34
push eax
call fcn.1006c392
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 4
push 4
push 0x858aa4
call esi
lea eax, [ebp - 0x14]
mov dword [0x858aa4], 0x1003b7c0
push eax
push dword [ebp - 0x14]
push 4
push 0x858aa4
call esi
mov eax, dword [0x1008c13c]
movzx eax, al
cmp byte [eax + 0x10091228], 0
mov byte [eax + 0x10091328], 0x58
jne 0x1001d7de
mov byte [eax + 0x10091228], 1
mov eax, dword [0x1008c140]
movzx eax, al
cmp byte [eax + 0x10091228], 0
mov byte [eax + 0x10091328], 0x5a
jne 0x1001d7fd
mov byte [eax + 0x10091228], 1
mov ecx, dword [0x1009936c]
call fcn.10030c00
test al, al
je 0x1001d8ce
sub esp, 0x28
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_P6AXX_EX__V_std__.0
mov dword [eax + 4], 0x1001d900
mov dword [eax + 0x24], eax
call fcn.10030ed0
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_no_alloc_P6AXX_EX__V_std__.0
mov dword [eax + 4], 0x1001daa0
mov dword [eax + 0x24], eax
call fcn.10031080
mov ecx, dword [0x1009936c]
add esp, 0x28
call fcn.100167d0
test al, al
je 0x1001d8c9
sub esp, 0x28
mov eax, esp
mov dword [eax], 0x1007e494
mov dword [eax + 4], 0x1001e2e0
mov dword [eax + 0x24], eax
call fcn.10017190
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_void____cdecl___struct_Header::ConnectPacket____void__struct_Header::ConnectPacket__.0
mov dword [eax + 4], 0x1001e300
mov dword [eax + 0x24], eax
call fcn.10017460
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_bool____cdecl___struct_Header::PluginInitPacket_const____bool__struct_Header::PluginInitPacket_const__.0
mov dword [eax + 4], 0x1001e380
mov dword [eax + 0x24], eax
call fcn.10017730
mov eax, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [eax + 4], 0x1001f000
mov dword [eax + 0x24], eax
call fcn.10017a00
mov ecx, dword [0x1009936c]
add esp, 0x28
call fcn.10023470
test al, al
jne 0x1001d8d2
call fcn.10016bf0
call fcn.10030d80
xor al, al
jmp 0x1001d8d4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006bfcb
mov esp, ebp
pop ebp
ret