Function at 0x41fd00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fab50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x64], 1
push esi
call fcn.00418730
mov cx, ax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
push esi
add ecx, eax
inc eax
mov dl, byte [ecx + esi]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x4c], dl
call fcn.00418730
mov edx, dword [esp + 0x1c]
and eax, 0xffff
add eax, edx
add esp, 8
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov ebp, dword [esp + 0x14]
mov ebx, 4
add ebp, ebx
push esi
mov edi, eax
mov dword [esp + 0x18], ebp
call fcn.00418730
mov edx, dword [esp + 0x18]
and eax, 0xffff
add eax, edx
add esp, 4
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, ebx
push esi
mov dword [esp + 0x18], eax
call fcn.00418730
mov ecx, dword [esp + 0x18]
and eax, 0xffff
add eax, ecx
add esp, 4
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebx, dword [esp + 0x14]
mov ebp, 2
add ebx, ebp
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
call fcn.00418730
mov edx, dword [esp + 0x18]
and eax, 0xffff
add eax, edx
add esp, 4
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, ebp
push esi
mov dword [esp + 0x18], eax
call fcn.00418730
mov edx, dword [esp + 0x18]
add esp, 4
and eax, 0xffff
add eax, edx
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebp, eax
mov eax, dword [esp + 0x14]
add eax, 2
push esi
mov dword [esp + 0x18], eax
call fcn.00418730
mov cx, ax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
push esi
add ecx, eax
inc eax
mov word [esp + 0x54], bx
mov word [esp + 0x56], bp
mov cl, byte [ecx + esi]
mov dword [esp + 0x1c], eax
movsx dx, cl
mov word [esp + 0x58], dx
call fcn.00418730
mov edx, dword [esp + 0x1c]
and eax, 0xffff
add eax, edx
add esp, 8
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebp, dword [esp + 0x14]
push esi
add ebp, 2
mov ebx, eax
mov dword [esp + 0x18], ebp
call fcn.00418730
mov edx, dword [esp + 0x18]
and eax, 0xffff
add eax, edx
add esp, 4
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ebp, eax
mov eax, dword [esp + 0x14]
add eax, 2
push esi
mov dword [esp + 0x18], eax
call fcn.00418730
mov cx, ax
mov eax, dword [esp + 0x18]
and ecx, 0xffff
mov word [esp + 0x58], bx
add ecx, eax
inc eax
push esi
mov word [esp + 0x5e], bp
mov cl, byte [ecx + esi]
mov dword [esp + 0x1c], eax
movsx bx, cl
mov word [esp + 0x60], bx
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x1c]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x20], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x20]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x24], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x24]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x28], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x28]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x2c]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x30], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov dx, ax
mov eax, dword [esp + 0x30]
and edx, 0xffff
push esi
add edx, eax
inc eax
mov cl, byte [edx + esi]
mov dword [esp + 0x34], eax
mov byte [esp + 0x4c], cl
call fcn.00418730
mov ebp, dword [esp + 0x34]
and eax, 0xffff
add eax, ebp
add esp, 0x20
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov ecx, dword [esp + 0x14]
push esi
add ecx, 4
mov ebp, eax
mov dword [esp + 0x18], ecx
call fcn.00418730
mov edx, dword [esp + 0x18]
and eax, 0xffff
add eax, edx
add esp, 4
mov eax, dword [eax + esi]
push eax
call sub.WSOCK32.dll_ntohl
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add eax, 4
push esi
mov dword [esp + 0x18], eax
call fcn.00418730
mov ecx, dword [esp + 0x18]
and eax, 0xffff
add eax, ecx
add esp, 4
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ecx, dword [esp + 0x14]
push esi
add ecx, 2
mov dword [esp + 0x18], ecx
call fcn.00418730
add esp, 4
and eax, 0xffff
add eax, dword [esp + 0x14]
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov eax, dword [esp + 0x14]
push esi
add eax, 2
mov dword [esp + 0x18], eax
call fcn.00418730
mov ecx, dword [esp + 0x18]
and eax, 0xffff
add eax, ecx
add esp, 4
mov ax, word [eax + esi]
push eax
call sub.WSOCK32.dll_ntohs
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push edx
add ecx, 2
push eax
push esi
mov dword [esp + 0x20], ecx
call fcn.004150d0
lea ecx, [esp + 0x78]
lea edx, [esp + 0x20]
push ecx
push edx
push esi
call fcn.00415040
lea eax, [esp + 0x2a]
lea ecx, [esp + 0x2c]
push eax
push ecx
push esi
call fcn.00415040
lea edx, [esp + 0x37]
lea eax, [esp + 0x38]
push edx
push eax
push esi
call fcn.00415040
push edi
call fcn.004cbc20
mov esi, eax
add esp, 0x34
test esi, esi
je 0x4200db
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test eax, eax
jne 0x4200df
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push eax
call fcn.004cbc20
mov edi, eax
add esp, 4
test edi, edi
je 0x4200fd
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
test eax, eax
jne 0x420101
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
test ax, ax
je 0x42016d
cmp ax, 1
je 0x42016d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push ecx
mov ecx, dword [esp + 0x74]
sub esp, 8
mov edx, esp
sub esp, 8
mov dword [edx], ecx
mov ecx, dword [esp + 0x7c]
mov word [edx + 4], bx
mov edx, esp
push eax
push edi
mov dword [edx], ecx
mov cx, word [esp + 0x88]
push esi
mov word [edx + 4], cx
mov edx, dword [esp + 0x80]
push edx
call fcn.00463170
add esp, 0x40
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret