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

Disassembly:
sub esp, 0x21c
mov eax, dword [0x101ce00c]
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
xchg ebx, eax
xchg ebx, eax
test edi, edi
mov edi, edi
push eax
pop eax
test cl, cl
test ch, ch
test edx, edx
mov ebp, ebp
test dh, dh
mov cl, cl
mov dl, dl
mov bl, bl
test eax, 0x5f28
test bh, bh
mov dh, dh
test ecx, ecx
mov dl, dl
mov dword [esp + 0x18], 0xffffffff
mov edx, edx
test ebp, ebp
je 0x100f3441
mov dword [ebp], 0
mov edi, edi
mov dword [esp + 0x1c], 4
test cl, cl
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 0x100f3156
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
push eax
pop eax
mov bh, bh
or esi, 0xffffffff
mov cl, cl
jmp 0x100f344f
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 0x100f3194
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
push edx
pop edx
nop
or esi, 0xffffffff
test ebx, ebx
jmp 0x100f344f
test esi, esi
je 0x100f32e2
mov eax, dword [esp + 0x238]
test eax, eax
je 0x100f32e2
xor edi, edi
mov al, al
xor ebp, ebp
test ah, ah
lea ebx, [eax + 4]
nop
cmp ebx, 0x200
jb 0x100f31c8
mov esi, 0x200
mov ah, ah
jmp 0x100f31cc
mov esi, ebx
test ebx, ebx
push 0x200
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.10118770
add esp, 0xc
test ecx, ecx
mov edi, edi
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
push edx
pop edx
cmp esi, 0xffffffff
je 0x100f326f
test esi, esi
je 0x100f32d3
test ebp, ebp
jne 0x100f3234
mov eax, dword [esp + 0x24]
lea ecx, [esi - 4]
push ecx
lea edx, [esp + 0x30]
push edx
add eax, edi
push eax
call fcn.10119900
add esp, 0xc
mov bh, bh
lea edi, [edi + esi - 4]
test eax, 0x4168
jmp 0x100f324f
mov edx, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x2c]
push ecx
add edx, edi
push edx
call fcn.10119900
add esp, 0xc
mov edx, edx
add edi, esi
test dl, dl
add ebp, 1
test al, al
sub ebx, esi
push edx
pop edx
test ebx, ebx
jg 0x100f31b7
test bh, bh
mov esi, edi
mov cl, cl
mov ebp, dword [esp + 0x20]
jmp 0x100f3448
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov cl, cl
mov eax, dword [ecx]
cmp eax, 0x2746
je 0x100f32c3
cmp eax, 0x2745
je 0x100f32c3
cmp eax, 0x274a
je 0x100f32c3
cmp eax, 0x2744
je 0x100f32c3
cmp eax, 0x274c
jne 0x100f32b5
test dl, dl
mov esi, 0xfffffffb
test eax, 0x7316
mov ebp, ecx
jmp 0x100f3448
mov bh, bh
or esi, 0xffffffff
mov dh, dh
mov ebp, ecx
jmp 0x100f3448
push ecx
pop ecx
mov esi, 0xfffffffa
mov al, al
mov ebp, ecx
jmp 0x100f3448
mov ebp, ebp
xor esi, esi
mov bh, bh
mov ebp, dword [esp + 0x20]
jmp 0x100f3448
mov edi, dword [sym.imp.WS2_32.dll_recv]
xor esi, esi
mov dl, dl
lea esp, [esp]
mov dword [esp + 0x10], 0
mov ebp, ebp
push 2
push 4
lea eax, [esp + 0x18]
push eax
push ebx
call edi
test ah, ah
cmp eax, 0xffffffff
je 0x100f3366
test eax, eax
je 0x100f33bf
cmp eax, 4
jae 0x100f332a
cmp esi, 3
jge 0x100f33ca
add esi, 1
test dl, dl
jmp 0x100f32f0
jne 0x100f33d3
mov esi, dword [esp + 0x10]
mov ecx, ecx
cmp esi, 0xc521974f
jne 0x100f342c
push 0
push 4
lea ecx, [esp + 0x18]
push ecx
push ebx
call edi
cmp eax, 0xffffffff
je 0x100f33dc
test eax, eax
jne 0x100f32e8
xchg ebx, eax
xchg ebx, eax
xor esi, esi
mov bl, bl
jmp 0x100f344f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov ebx, ebx
mov eax, dword [ebp]
cmp eax, 0x2746
je 0x100f33b1
cmp eax, 0x2745
je 0x100f33b1
cmp eax, 0x274a
je 0x100f33b1
cmp eax, 0x2744
je 0x100f33b1
cmp eax, 0x274c
jne 0x100f33a5
push ecx
pop ecx
mov esi, 0xfffffffb
mov dh, dh
jmp 0x100f344f
mov ecx, ecx
or esi, 0xffffffff
test cl, cl
jmp 0x100f344f
mov cl, cl
mov esi, 0xfffffffa
mov cl, cl
jmp 0x100f344f
mov edi, edi
xor esi, esi
mov ebx, ebx
jmp 0x100f344f
test eax, eax
or esi, 0xffffffff
mov al, al
jmp 0x100f344f
test dl, dl
or esi, 0xffffffff
mov bl, bl
jmp 0x100f344f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov bh, bh
mov eax, dword [ebp]
cmp eax, 0x2746
je 0x100f3421
cmp eax, 0x2745
je 0x100f3421
cmp eax, 0x274a
je 0x100f3421
cmp eax, 0x2744
je 0x100f3421
cmp eax, 0x274c
jne 0x100f3418
mov esi, esi
mov esi, 0xfffffffb
mov al, al
jmp 0x100f344f
test edx, edx
or esi, 0xffffffff
mov al, al
jmp 0x100f344f
push edx
pop edx
mov esi, 0xfffffffa
mov eax, eax
jmp 0x100f344f
test esi, esi
jg 0x100f343b
test dl, dl
mov esi, 0xfffffff8
test bl, bl
jmp 0x100f344f
test bh, bh
mov dl, dl
jmp 0x100f344f
test eax, eax
or esi, 0xffffffff
test edi, edi
mov ebx, dword [esp + 0x230]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x100f3499
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, edi
mov dword [esp + 0x14], eax
mov cl, cl
push 4
lea edx, [esp + 0x18]
push edx
push 0x1006
push 0xffff
push ebx
call edi
cmp eax, 0xffffffff
jne 0x100f3499
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov esi, esi
mov bl, bl
or esi, 0xffffffff
mov edx, edx
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x100f3460
mov ecx, dword [esp + 0x228]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101180ca
add esp, 0x21c
ret