Function at 0x405c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443608
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45703c]
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, ecx
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp + 0x20]
lea edx, [ebp + 8]
push str._Send
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
and ebx, 0xfffff000
call fcn.00405510
push 0x68
mov byte [ebp - 4], 1
call fcn.0040c5dc
mov esi, eax
mov dword [ebp - 0x4c], esi
push 0x68
push 0
push esi
mov byte [ebp - 4], 2
call fcn.0040e98a
add esp, 0x14
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
push 1
push ecx
mov ecx, esi
call fcn.004191c0
push eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.00406040
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp + 0x28]
push edi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
push str._Recv
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00405510
push 0x68
mov byte [ebp - 4], 3
call fcn.0040c5dc
mov esi, eax
mov dword [ebp - 0x4c], esi
push 0x68
push 0
push esi
mov byte [ebp - 4], 4
call fcn.0040e98a
add esp, 0x14
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
push 1
push ecx
mov ecx, esi
call fcn.004191c0
mov esi, dword [ebp - 0x44]
push eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0x14]
call fcn.00406040
mov ecx, dword [esi + 0x14]
push edi
push ebx
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, dword [ebp - 0x48]
mov edx, 0xc
inc ebx
xor ecx, ecx
mov eax, ebx
mov dword [ebp - 0x4c], ebx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0040cadd
add esp, 4
mov dword [ebp - 0x48], eax
push 0x403ee0
push 0x4059b0
push ebx
lea esi, [eax + 4]
mov byte [ebp - 4], 5
push 0xc
push esi
mov dword [eax], ebx
call fcn.0040cae6
mov edi, dword [ebp - 0x44]
xor ecx, ecx
mov eax, ebx
mov byte [ebp - 4], 3
mov edx, 0x28
mul edx
mov dword [edi + 0x1c], esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040cadd
add esp, 4
mov dword [edi + 0x2c], eax
mov ecx, edi
mov dword [edi + 0x30], ebx
call fcn.004064f0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x405db9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405daf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e33
push edx
push ecx
call fcn.0040c60c
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x405dfb
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405df1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405e33
push edx
push ecx
call fcn.0040c60c
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x405e43
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405e39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405e39
call dword [0x4475d8]
push edx
push ecx
call fcn.0040c60c
add esp, 8
mov al, 1
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.0040c879
mov esp, ebp
pop ebp
ret 0x24