Function at 0x424f00
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fad9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
xor eax, eax
push edi
mov al, byte [esi]
xor ebp, ebp
lea eax, [eax + eax*2]
mov ax, word [eax*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x24], eax
xor eax, eax
mov al, byte [esi]
lea ecx, [eax + eax*2]
mov ax, word [ecx*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi + 4]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [esi]
lea edx, [eax + eax*2]
mov ax, word [edx*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi + 8]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x30], eax
xor eax, eax
mov al, byte [esi]
lea eax, [eax + eax*2]
mov ax, word [eax*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov eax, dword [eax + esi + 0xc]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x2c], eax
xor eax, eax
mov al, byte [esi]
lea ecx, [eax + eax*2]
mov ax, word [ecx*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
mov ax, word [eax + esi + 0x10]
push eax
call sub.WSOCK32.dll_ntohs
xor ecx, ecx
mov cl, byte [esi]
lea edx, [ecx + ecx*2]
mov cx, word [edx*4 + 0x51a0b8]
and cx, 0x8000
mov dx, cx
neg dx
sbb edx, edx
and eax, 0xffff
and edx, 2
inc edx
and edx, 0xffff
add eax, 0x12
mov edi, eax
lea edx, [edx + esi + 0x12]
mov dword [esp + 0x28], edx
neg cx
sbb ecx, ecx
and ecx, 2
inc ecx
and ecx, 0xffff
add ecx, edi
mov cx, word [ecx + esi]
push ecx
call sub.WSOCK32.dll_ntohs
mov ebx, eax
add edi, 2
test bx, bx
mov dword [esp + 0x1c], ebx
je 0x425153
mov ebp, ebx
and ebp, 0xffff
lea eax, [ebp*4]
push eax
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x10], eax
test ebp, ebp
jle 0x4251cf
mov ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], ecx
xor eax, eax
mov al, byte [esi]
lea edx, [eax + eax*2]
mov ax, word [edx*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
add eax, edi
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebx, eax
add edi, 2
and ebx, 0xffff
lea eax, [ebx + ebx + 2]
push eax
call fcn.004ed8ee
mov ecx, dword [esp + 0x48]
add esp, 4
xor ebp, ebp
mov dword [ecx], eax
mov word [eax + ebx*2], 0
test ebx, ebx
jle 0x425131
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
lea ecx, [eax + ebp*2]
xor eax, eax
mov al, byte [esi]
mov dword [esp + 0x18], ecx
lea edx, [eax + eax*2]
mov ax, word [edx*4 + 0x51a0b8]
and eax, 0x8000
or ah, 0x40
shr eax, 0xe
and eax, 0xffff
add eax, edi
mov ax, word [eax + esi]
push eax
mov word [ecx], ax
call sub.WSOCK32.dll_ntohs
mov ecx, dword [esp + 0x18]
add edi, 2
inc ebp
cmp ebp, ebx
mov word [ecx], ax
jl 0x4250e7
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], eax
jne 0x425092
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
push 0xd0
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x3c], 0
je 0x425191
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x40]
push ecx
push edx
mov ecx, eax
call fcn.00456790
test bx, bx
je 0x4251bc
mov edi, ebx
and edi, 0xffff
jle 0x4251b3
mov esi, ebp
mov eax, dword [esi]
push eax
call fcn.004ed4d0
add esp, 4
add esi, 4
dec edi
jne 0x4251a2
push ebp
call fcn.004ed4d0
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ebp, dword [esp + 0x10]
jmp 0x425153