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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x4f2728
call fcn.00493610
mov word [ebp - 0x14], 8
mov edx, dword [ebp + 8]
mov dword [edx], fcn.0040dbd8
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp + 8]
mov word [ecx + 0x32], 0xfffe
mov eax, dword [ebp + 8]
mov word [eax + 0x30], 0xffff
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 1
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x18], 0xfffe
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], str._none._
mov ecx, dword [ebp + 8]
mov eax, dword [0x4e09a4]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x40], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x44], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x48], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x50], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x4c], ecx
push 0x70
push 0
mov edx, dword [ebp + 8]
add edx, 0x54
push edx
call fcn.004930bc
add esp, 0xc
mov eax, dword [ebp + 8]
mov word [eax + 0x9c], 0xfffd
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0xc4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0xcc], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0xc8], edx
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xd0], 0xff
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0xd4], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0xd8], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0xdc], ecx
push 0
push 1
push 0x4e3627
mov eax, dword [ebp + 8]
add eax, 0xe0
push eax
call fcn.0040d468
add esp, 0x10
push 0
push 1
push str._Server_Title_
mov edx, dword [ebp + 8]
add edx, 0xe4
push edx
call fcn.0040d468
add esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0xe8], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0xec], ecx
mov eax, dword [ebp + 8]
mov word [eax + 0xf0], 0xfffd
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0xf4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0xf8], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0xfc], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x100], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x104], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x108], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x110], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x10c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x114], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x118], 1
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x11c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x120], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x124], 1
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x128], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x12c], edx
mov ecx, dword [ebp + 8]
mov eax, dword [0x4e09a0]
mov dword [ecx + 0x130], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x134], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x138], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x140], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x144], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x148], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x14c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x154], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x150], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x160], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x15c], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x158], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x168], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x164], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x16c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x170], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x174], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x178], 0xffffffff
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x17c], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x180], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x184], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x188], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x18c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x190], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x194], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x198], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x19c], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1a4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x1a0], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1a8], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1ac], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1b0], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1b4], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1b8], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1bc], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1c0], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1c4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1c8], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1cc], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1d0], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1d4], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1d8], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x1dc], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x1e0], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x1e8], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x1e4], eax
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1ec], 0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x5ec], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x5f0], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x5f4], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x5f8], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x5fc], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x600], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x604], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x608], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x610], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x60c], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [edx + 0x614], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x618], ecx
push 0
call fcn.0049f19c
pop ecx
push eax
call fcn.0049b094
pop ecx
mov eax, dword [ebp + 8]
mov dword [eax + 4], 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret