Function at 0x46db30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9ec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ecx
mov eax, 0x20d4
call fcn.00498e30
mov eax, dword [0x4cfa1c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x208c], 0
sub esp, 0x10
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x4cfd50
call fcn.00476ba0
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x46dbaa
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20b0]
call fcn.00448220
add esp, 4
mov dword [ebp - 0x208c], 1
push 0x4d206c
lea edx, [ebp - 0x20b0]
lea ecx, [ebp - 0x70]
call fcn.00447d90
add esp, 4
mov byte [ebp - 4], 2
mov eax, 1
mov dword [ebp - 0x208c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2098], eax
mov dword [ebp - 0x208c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20b0]
call fcn.00446fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00446fc0
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
cmovae ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
call fcn.0046b590
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xor esi, esi
mov dword [ebp - 0x24], esi
mov edx, 0xf
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 5
push 0x2000
push esi
lea eax, [ebp - 0x2088]
push eax
call fcn.00499a10
add esp, 0xc
mov eax, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0x2000
lea ecx, [ebp - 0x2088]
push ecx
push dword [0x4cfba8]
call eax
mov edi, eax
test edi, edi
jle 0x46dcfc
mov edx, dword [ebp - 0x20]
mov ecx, edx
sub ecx, esi
push edi
cmp edi, ecx
ja 0x46dcbe
lea eax, [esi + edi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmp edx, 0x10
cmovae eax, dword [ebp - 0x34]
add esi, eax
lea eax, [ebp - 0x2088]
push eax
push esi
call fcn.00499b70
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x46dcd4
lea eax, [ebp - 0x2088]
push eax
push dword [ebp - 0x2098]
push edi
lea ecx, [ebp - 0x34]
call fcn.0044a7f0
cmp byte [ebp + edi - 0x2089], 0xa
je 0x46dce3
mov esi, dword [ebp - 0x24]
jmp 0x46dc69
mov ecx, dword [ebp - 0x24]
dec ecx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov byte [eax + ecx], 0
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae eax, dword [ebp - 0x34]
add esi, eax
lea edi, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
cmovae edi, dword [ebp - 0x34]
cmp edi, esi
je 0x46df19
nop dword [eax]
mov al, byte [edi]
mov byte [ebp - 0x208d], al
movzx eax, al
push eax
call fcn.00484890
add esp, 4
test eax, eax
jne 0x46df10
cmp byte [ebp - 0x208d], al
je 0x46df10
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x88]
call fcn.00448fe0
mov byte [ebp - 4], 6
sub esp, 0x28
mov dword [ebp - 0x20b8], esp
mov eax, esp
mov dword [ebp - 0x20b4], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 8
push 0
push 1
mov byte [ebp - 4], 6
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x58]
call fcn.00459fc0
add esp, 0x30
mov byte [ebp - 4], 9
mov byte [ebp - 0x48], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004469b0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x48]
call fcn.0046b5f0
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x2098]
jmp 0x46dddc
mov edi, dword [sym.imp.WS2_32.dll_recv]
sub esp, 0x10
lea eax, [ebp - 0x20e8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00476ba0
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x46de03
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x20d0]
call fcn.00448220
add esp, 4
or esi, 8
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0x10
push 0x4d206c
lea ecx, [ebp - 0x20d0]
call fcn.00445ae0
xorps xmm0, xmm0
movups xmmword [ebp - 0x20b0], xmm0
mov dword [ebp - 0x20a0], 0
mov dword [ebp - 0x209c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20b0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20a0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
or esi, 0x10
mov dword [ebp - 0x208c], esi
lea ecx, [ebp - 0x20b0]
cmp dword [ebp - 0x209c], 0x10
cmovae ecx, dword [ebp - 0x20b0]
mov edx, dword [ebp - 0x20a0]
call fcn.0046b590
and esi, 0xffffffef
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20b0]
call fcn.00446fc0
and esi, 0xfffffff7
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20d0]
call fcn.00446fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x20e8]
call fcn.00446fc0
mov byte [ebp - 4], 9
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.00446660
mov byte [ebp - 4], 6
push dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
call fcn.00446660
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00446fc0
jmp 0x46dfad
inc edi
cmp edi, esi
jne 0x46dd20
mov byte [ebp - 4], 0x11
mov ecx, dword [0x4d207c]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x46e00f
mov eax, 0x4d206c
cmp dword [0x4d2080], 0x10
cmovae eax, dword [0x4d206c]
push ecx
push eax
push 1
push 0x4bea9c
push ecx
push dword [ebp - 0x20b4]
lea ecx, [ebp - 0x20b0]
call fcn.0044bcf0
mov esi, dword [ebp - 0x2098]
or esi, 4
mov dword [ebp - 0x208c], esi
lea ecx, [ebp - 0x20b0]
cmp dword [ebp - 0x209c], 0x10
cmovae ecx, dword [ebp - 0x20b0]
mov edx, dword [ebp - 0x20a0]
call fcn.0046b590
and esi, 0xfffffffb
mov dword [ebp - 0x208c], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20b0]
call fcn.00446fc0
mov edi, dword [sym.imp.WS2_32.dll_recv]
push 0
push 1
lea eax, [ebp - 0x2088]
push eax
push dword [0x4cfba8]
call edi
mov eax, dword [0x4cfba8]
test eax, eax
je 0x46dfd0
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00446fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00446fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00497d9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00433610
int3