Function at 0x100f57a0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov esi, dword [esp + 0x230]
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
mov ebp, ebp
mov ch, ch
test ah, ah
mov cl, cl
mov ecx, ecx
test edi, edi
push ecx
pop ecx
test dh, dh
push ecx
pop ecx
mov edi, edi
test ah, ah
push edx
pop edx
mov al, al
push ecx
pop ecx
test cl, cl
test al, al
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x18], 0xffffffff
test bl, bl
test ebp, ebp
je 0x100f5b57
mov dword [ebp], 0
mov ah, ah
mov dword [esp + 0x1c], 4
mov esi, esi
mov ebx, dword [esp + 0x230]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x1006
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x100f5853
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
test al, al
mov eax, eax
or esi, 0xffffffff
push ecx
pop ecx
jmp 0x100f5b65
mov edx, dword [esp + 0x23c]
push 4
lea eax, [esp + 0x18]
push eax
push 0x1006
push 0xffff
push ebx
mov dword [esp + 0x28], edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100f5892
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov cl, cl
mov al, al
or esi, 0xffffffff
push ecx
pop ecx
jmp 0x100f5b65
test esi, esi
je 0x100f59f6
mov eax, dword [esp + 0x238]
test eax, eax
je 0x100f59f6
xor edi, edi
test bh, bh
xor ebp, ebp
test eax, 0x5bb9
lea ebx, [eax + 4]
mov dl, dl
lea esp, [esp]
cmp ebx, 0x200
jb 0x100f58d1
mov esi, 0x200
push eax
pop eax
jmp 0x100f58d8
mov esi, ebx
test eax, 0x184a
push 0x200
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.101182b0
add esp, 0xc
mov ecx, ecx
mov ebp, ebp
mov eax, dword [esp + 0x230]
push 0
push esi
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
mov dh, dh
cmp esi, 0xffffffff
je 0x100f597a
test esi, esi
je 0x100f59e7
test ebp, ebp
jne 0x100f593d
mov eax, dword [esp + 0x24]
lea ecx, [esi - 4]
push ecx
lea edx, [esp + 0x30]
push edx
add eax, edi
push eax
call fcn.10117f40
add esp, 0xc
mov edx, edx
lea edi, [edi + esi - 4]
push ebx
pop ebx
jmp 0x100f5958
mov edx, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x2c]
push ecx
add edx, edi
push edx
call fcn.10117f40
add esp, 0xc
mov ch, ch
add edi, esi
mov bh, bh
add ebp, 1
nop
sub ebx, esi
test bl, bl
test ebx, ebx
jg 0x100f58c0
test eax, 0x1c33
mov esi, edi
test cl, cl
mov ebp, dword [esp + 0x20]
jmp 0x100f5b5e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov al, al
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100f59d1
cmp eax, 0x2745
je 0x100f59d1
cmp eax, 0x274a
je 0x100f59d1
cmp eax, 0x2744
je 0x100f59d1
cmp eax, 0x274c
jne 0x100f59c3
test eax, 0x4350
mov esi, 0xfffffffb
test eax, 0x3944
mov ebp, ecx
jmp 0x100f5b5e
mov ah, ah
or esi, 0xffffffff
mov bh, bh
mov ebp, ecx
jmp 0x100f5b5e
test eax, 0x6c5c
mov esi, 0xfffffffa
test eax, 0x7075
mov ebp, ecx
jmp 0x100f5b5e
test bh, bh
xor esi, esi
test bh, bh
mov ebp, dword [esp + 0x20]
jmp 0x100f5b5e
mov edi, dword [sym.imp.WS2_32.dll_recv]
lea esp, [esp]
xor esi, esi
mov ebp, ebp
mov dword [esp + 0x10], 0
test eax, eax
push 2
push 4
lea eax, [esp + 0x18]
push eax
push ebx
call edi
test ah, ah
cmp eax, 0xffffffff
je 0x100f5a79
test eax, eax
je 0x100f5ad2
cmp eax, 4
jae 0x100f5a3e
cmp esi, 3
jge 0x100f5add
add esi, 1
mov esi, esi
jmp 0x100f5a04
jne 0x100f5ae6
mov esi, dword [esp + 0x10]
push edx
pop edx
cmp esi, 0xc521974f
jne 0x100f5b3f
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push ebx
call edi
cmp eax, 0xffffffff
je 0x100f5aef
test eax, eax
jne 0x100f5a00
push ebx
pop ebx
xor esi, esi
nop
jmp 0x100f5b65
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov dh, dh
mov eax, dword [ebp]
cmp eax, 0x2746
je 0x100f5ac4
cmp eax, 0x2745
je 0x100f5ac4
cmp eax, 0x274a
je 0x100f5ac4
cmp eax, 0x2744
je 0x100f5ac4
cmp eax, 0x274c
jne 0x100f5ab8
xchg ebx, eax
xchg ebx, eax
mov esi, 0xfffffffb
mov esi, esi
jmp 0x100f5b65
test edx, edx
or esi, 0xffffffff
push ebx
pop ebx
jmp 0x100f5b65
mov dh, dh
mov esi, 0xfffffffa
push ecx
pop ecx
jmp 0x100f5b65
test ah, ah
xor esi, esi
push edx
pop edx
jmp 0x100f5b65
mov dh, dh
or esi, 0xffffffff
test ebx, ebx
jmp 0x100f5b65
test ch, ch
or esi, 0xffffffff
mov edx, edx
jmp 0x100f5b65
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov dl, dl
mov eax, dword [ebp]
cmp eax, 0x2746
je 0x100f5b34
cmp eax, 0x2745
je 0x100f5b34
cmp eax, 0x274a
je 0x100f5b34
cmp eax, 0x2744
je 0x100f5b34
cmp eax, 0x274c
jne 0x100f5b2b
mov dl, dl
mov esi, 0xfffffffb
mov edx, edx
jmp 0x100f5b65
test eax, eax
or esi, 0xffffffff
test al, al
jmp 0x100f5b65
push ecx
pop ecx
mov esi, 0xfffffffa
mov edi, edi
jmp 0x100f5b65
test esi, esi
jg 0x100f5b51
test eax, eax
mov esi, 0xfffffff8
test eax, 0x6149
jmp 0x100f5b65
test al, al
test bl, bl
jmp 0x100f5b65
push ecx
pop ecx
or esi, 0xffffffff
mov eax, eax
mov ebx, dword [esp + 0x230]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x100f5bb0
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esp + 0x14], eax
test eax, 0x234
push 4
lea edx, [esp + 0x18]
push edx
push 0x1006
push 0xffff
push ebx
call edi
cmp eax, 0xffffffff
jne 0x100f5bb0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
test cl, cl
mov ecx, ecx
or esi, 0xffffffff
test edi, edi
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x100f5b74
mov ecx, dword [esp + 0x228]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011717a
add esp, 0x21c
ret