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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001eb60
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [reloc.MSVCRT.dll_strncpy]
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, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov ecx, dword [reloc.MSVCRT.dll_strncpy]
mov dword [edi + 8], eax
mov eax, 0x2710
mov dword [edi + 0x10], eax
mov dword [edi + 0x28], eax
mov esi, 1
mov eax, 0x190
mov dword [edi], reloc.MSVCRT.dll_strncpy
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], 0x96
mov dword [edi + 0x18], 0x12c
mov dword [edi + 0x1c], 0x258
mov dword [edi + 0x20], 0x4b0
mov dword [edi + 0x24], 0x7530
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], esi
call fcn.0065be42
push esp
push 0x202
call dword [0x100201cc]
mov dword [edi + 0x34], eax
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], 3
mov dword [edi + 0x50], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
push ebx
push ebx
push ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
call dword [0x10020008]
mov dword [edi + 0x74], eax
lea esi, [edi + 0x84]
call fcn.006486f2
mov esi, dword [reloc.MSVCRT.dll_strncpy]
push ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
push accept
push ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
push ebx
call esi
push ebx
push 1
push ebx
push ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], eax
call esi
mov dword [edi + reloc.MSVCRT.dll_strncpy], eax
lea ecx, [ebp - 0x12]
lea eax, reloc.MSVCRT.dll_strncpy
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.006499d2
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov eax, dword [edi + reloc.MSVCRT.dll_strncpy]
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
cmp eax, ebx
je 0x6459f7
push eax
call fcn.00657803
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
add esp, 4
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
mov byte [ebp - 4], 7
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
push 8
mov dword [edi + reloc.MSVCRT.dll_strncpy], ebx
call fcn.006576ef
add esp, 4
cmp eax, ebx
je 0x645a1c
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x645a1e
xor eax, eax
mov dword [edi + reloc.MSVCRT.dll_strncpy], eax
mov dword [edi + reloc.MSVCRT.dll_strncpy], eax
xor eax, eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x4c], 3
mov eax, edi
lea esp, [ebp - 0x24]
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.006576e0
mov esp, ebp
pop ebp
ret 8