Function at 0x100102b8
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x100129c7
call sub.MSVCRT.dll__EH_prolog
push ecx
mov eax, 0x1174
call fcn.10012400
push ebx
push esi
push edi
mov edi, ecx
stosd dword es:[edi], eax
rdpmc
imul byte [ebp + 0x30892847]
mov dword [edi + 0x2c], ecx
inc dword [eax]
cmp dword [ebp + 8], esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
lea ecx, [edi + 0x12c]
je 0x100102f5
mov dword [ecx], esi
jmp 0x100102fd
mov edx, dword [0x1001cbdc]
mov dword [ecx], edx
push ecx
jbe 0x10010356
push eax
push esi
call sub.WSOCK32.dll_select
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10010345
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2734
jne 0x10010323
cmp dword [ebp + 8], esi
jne 0x10010489
push eax
lea eax, [ebp - 0x184]
push 0x140197ec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x184]
push eax
call fcn.1000fafb
add esp, 0x10
cmp ebx, esi
jne 0x10010352
cmp dword [ebp + 8], esi
jne 0x10010489
push esi
push dword [edi + 0x20]
push dword [edi + 4]
push dword [edi]
call sub.WSOCK32.dll_recv
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x1c], ebx
je 0x10010397
cmp ebx, 0xffffffff
jne 0x10010493
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x10010489
cmp eax, 0x2741
jle 0x100103a1
cmp eax, 0x2746
jle 0x10010397
cmp eax, 0x2749
jne 0x100103a1
mov eax, 0xfb0
jmp 0x100106bf
push eax
lea eax, [ebp - 0x184]
mov eax, 0xfad
jmp 0x100106bf
cmp byte [0x100243d2], 0
je 0x100103c6
mov al, byte [0x10023708]
push ebx
push str.superDebug:_Received__u_bytes:_n
mov byte [ebp + 0xb], al
mov byte [0x10023708], 0
call fcn.100013bb
cmp byte [0x10024344], 2
pop ecx
pop ecx
jne 0x100105a3
mov eax, dword [edi + 4]
mov esi, 0x3e8
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
jle 0x1001054f
push 0x3ea
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push esi
push dword [ebp - 0x14]
mov edi, eax
push edi
call sub.MSVCRT.dll_memcpy
push 0xa
push edi
mov byte [edi + 0x3e8], 0
call sub.MSVCRT.dll_strrchr
add esp, 0x18
test eax, eax
je 0x10010516
inc eax
mov ebp, edi
sub ecx, eax
mov byte [eax], 0
sub eax, edi
add ebx, ecx
add dword [ebp - 0x14], eax
jmp 0x1001051b
sub ebx, esi
add dword [ebp - 0x14], esi
push edi
push 0x10013204
call fcn.100013bb
push edi
call sub.MSVCRT.dll_strlen
add esp, 0xc
cmp byte [eax + edi - 1], 0x2a
je 0x10010541
push 0x10013278
call fcn.100013bb
pop ecx
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
cmp ebx, esi
pop ecx
jg 0x100104d9
mov edi, dword [ebp - 0x18]
test ebx, ebx
pop ds
test byte [eax], dl
add dword [eax], eax
add byte [ebp - 0x17affdbd], cl
sbb al, 0x1c
add byte [eax], al
push ebx
push dword [ebp - 0x14]
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0x18]
add esi, ebx
push 0x10013204
mov byte [esi], 0
call fcn.100013bb
add esp, 0x18
cmp byte [esi - 1], 0xa
je 0x10010595
push 0x10013278
call fcn.100013bb
pop ecx
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10010667
push 0x42
lea eax, [ebp - 0x84]
push 0x20
push eax
call sub.MSVCRT.dll_memset
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0x1c], edi
jle 0x1001063b
cmp edi, 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov bh, byte [esi + eax]
jne 0x100105f9
lea eax, [ebp - 0x84]
push eax
lea eax, [esi - 0x10]
push eax
push str.superDebug:__05X__s_r_n
mov byte [ebp - 0x42], 0
call fcn.100013bb
push 0x42
lea eax, [ebp - 0x84]
push 0x20
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
xor edi, edi
jmp [edx + 0x20]
movzx eax, bl
push eax
lea eax, [ebp - 0x14]
push str.__02X
push eax
call 0x180121b8
push 3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + edi - 0x84]
lea eax, [eax + edi*2]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
cmp bl, 0x20
jb 0x1001062e
cmp bl, 0x7e
jbe 0x10010630
mov bl, 0x2e
mov byte [ebp + edi - 0x52], bl
inc edi
inc esi
cmp esi, dword [ebp - 0x1b]
jl 0x100105bd
cmp edi, 0x10
mov byte [ebp - 0x42], 0
jne 0x10010645
dec esi
lea eax, [ebp - 0x84]
push eax
mov eax, esi
push 0x10
jns 0x100105eb
idiv ecx
sub esi, edx
push esi
push str.superDebug:__05X__s_r_n
call fcn.100013bb
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov al, byte [ebp + 0xb]
mov byte [0x10023708], al
xor esi, esi
jmp 0x100103c6