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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10107290
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.100e3fd0
mov eax, dword [0x1014bb94]
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 ebx, dword [ebp + 8]
lea eax, [edi + 0x100]
push eax
call fcn.10001b70
add esp, 4
test eax, eax
je 0x1000f5a1
xor eax, eax
jmp 0x1000f7e0
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.100e5000
add esp, 0xc
lea ecx, [ebp - 0x1024]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1024], xmm0
call fcn.100a1ae0
mov eax, 0x80
mov dword [ebp - 4], 0
push 0x7e
mov word [ebp - 0x10a8], ax
lea eax, [ebp - 0x10a6]
push 0
push eax
call fcn.100e5000
add esp, 0xc
mov dword [ebp - 0x1028], 0x80
lea eax, [ebp - 0x1028]
mov ecx, ebx
push eax
lea eax, [ebp - 0x10a8]
push eax
push 0
push 0x1000
lea eax, [ebp - 0x1010]
push eax
call fcn.100a3250
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
test esi, esi
jns 0x1000f696
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x2745
je 0x1000f66c
cmp esi, 0x2746
je 0x1000f66c
cmp esi, 0x2744
je 0x1000f66c
cmp esi, 0x274a
je 0x1000f66c
cmp esi, 0x274c
je 0x1000f66c
cmp esi, 0x2733
je 0x1000f692
xor esi, esi
jmp 0x1000f7d3
cmp esi, 0x2733
je 0x1000f692
mov ecx, ebx
call fcn.100a3360
cmp eax, 1
jne 0x1000f68b
mov edx, esi
lea ecx, [ebx + 0x4c]
xor eax, eax
lock cmpxchg dword [ecx], edx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1000f6a7
jne 0x1000f6a7
mov ecx, ebx
call fcn.100a31e0
test eax, eax
je 0x1000f789
test esi, esi
je 0x1000f7ce
push dword [ebp - 0x1028]
lea eax, [ebp - 0x10a8]
push eax
lea ecx, [ebp - 0x1024]
call fcn.100a2300
test eax, eax
je 0x1000f789
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x1014], 0
push eax
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0
push eax
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1018], 0
push eax
movzx eax, word [edi + 0xc]
push eax
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.1000c860
add esp, 0x18
test eax, eax
je 0x1000f7ce
xor eax, eax
mov ecx, edi
cmp byte [ebp - 0x1014], 0x50
sete al
push eax
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1024]
push dword [ebp - 0x1018]
push eax
push dword [ebp - 0x1014]
call fcn.1000ec00
test eax, eax
je 0x1000f789
cmp dword [edi + 8], 0
mov al, byte [ebp - 0x1014]
je 0x1000f791
cmp al, 0x43
je 0x1000f78d
cmp al, 0x50
jne 0x1000f7ce
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x1024]
mov ecx, edi
push eax
je 0x1000f780
push 0x41
push ebx
call fcn.1000fc40
test eax, eax
jne 0x1000f7ce
xor esi, esi
jmp 0x1000f7d3
call fcn.1000d780
test eax, eax
jne 0x1000f7ce
xor esi, esi
jmp 0x1000f7d3
push 0
jmp 0x1000f79b
cmp al, 0x41
je 0x1000f799
cmp al, 0x50
jne 0x1000f7ce
push 1
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1024]
mov ecx, edi
push eax
push dword [ebp - 0x101c]
call fcn.1000ff30
test eax, eax
je 0x1000f789
push ebx
mov ecx, edi
call fcn.1000fa40
lea ecx, [edi + 0x100]
mov eax, 1
xchg dword [ecx], eax
mov esi, 1
lea ecx, [ebp - 0x1024]
call fcn.100a1af0
mov eax, esi
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.100e3d0f
mov esp, ebp
pop ebp
ret 8