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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ac77
mov eax, dword fs:[0]
push eax
mov eax, 0x10c8
call fcn.1000f030
mov eax, dword [0x1004a258]
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
xor ebx, ebx
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
mov dword [ebp - 0x10d4], ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.1000f6b0
add esp, 0xc
lea eax, [ebp - 0x1010]
push ebx
push 0x200
push eax
push dword [edi + 0x78]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1000b840
lea ecx, [ebp - 0x1010]
mov eax, str.PONG_n
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b2f0
test dl, dl
je 0x1000b2ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b2f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b2d0
xor eax, eax
jmp 0x1000b2f5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000b840
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1028]
push eax
call fcn.1000bbc0
add esp, 8
push 0
push 0x1003c4ac
lea ecx, [ebp - 0x1028]
mov dword [ebp - 4], 0
mov byte [ebp - 0x1010], 0
call fcn.1000a240
cmp eax, 0xffffffff
je 0x1000b365
push 0xffffffffffffffff
dec eax
push eax
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1000b9c0
push eax
lea ecx, [ebp - 0x1028]
call fcn.10003a50
lea ecx, [ebp - 0x1058]
call fcn.10003430
cmp dword [ebp - 0x1018], 6
jb 0x1000b3d3
push str.ERROR_n
lea ecx, [ebp - 0x1040]
call fcn.10001ce0
mov esi, eax
mov ecx, dword [ebp - 0x1018]
push 0xffffffffffffffff
add ecx, 0xfffffffa
push ecx
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10d4], 1
call fcn.1000b9c0
push esi
mov ebx, 3
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x10d4], ebx
call fcn.10001000
add esp, 8
mov byte [ebp - 0x10cd], 1
test al, al
je 0x1000b3da
mov byte [ebp - 0x10cd], 0
test bl, 2
je 0x1000b3ed
lea ecx, [ebp - 0x1058]
and ebx, 0xfffffffd
call fcn.10003430
mov dword [ebp - 4], 0
test bl, 1
je 0x1000b404
lea ecx, [ebp - 0x1040]
call fcn.10003430
cmp byte [ebp - 0x10cd], 0
je 0x1000b829
push str.FOUND_n
lea ecx, [ebp - 0x1058]
call fcn.10001ce0
mov esi, eax
mov ecx, dword [ebp - 0x1018]
push 0xffffffffffffffff
add ecx, 0xfffffffa
push ecx
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 3
call fcn.1000b9c0
push esi
push eax
mov byte [ebp - 4], 4
call fcn.10001000
add esp, 8
lea ecx, [ebp - 0x1040]
mov bl, al
call fcn.10003430
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0
call fcn.10003430
test bl, bl
je 0x1000b7b9
xor eax, eax
mov dword [ebp - 0x105c], 7
mov dword [ebp - 0x1060], 0
mov word [ebp - 0x1070], ax
mov dword [ebp - 0x1074], 7
mov dword [ebp - 0x1078], eax
mov word [ebp - 0x1088], ax
push 2
push 0x1003c4ac
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 6
call fcn.1000a240
mov esi, eax
cmp esi, 0xffffffff
je 0x1000b4f4
push esi
push 0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1000b9c0
push eax
lea ecx, [ebp - 0x1070]
call fcn.10003a50
lea ecx, [ebp - 0x1040]
call fcn.10003430
lea ebx, [esi + 2]
push ebx
push 0x1003c528
lea ecx, [ebp - 0x1028]
call fcn.1000a240
cmp eax, 0xffffffff
je 0x1000b53b
sub eax, esi
dec eax
push eax
push ebx
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1000b9c0
push eax
lea ecx, [ebp - 0x1088]
call fcn.10003a50
lea ecx, [ebp - 0x1040]
call fcn.10003430
push 0
sub esp, 0x18
lea eax, [ebp - 0x1070]
mov ecx, esp
push eax
call fcn.10001cb0
mov ecx, edi
call fcn.10005400
test al, al
je 0x1000b59d
push str.:_OK
lea ecx, [ebp - 0x1070]
call fcn.10008e10
lea eax, [ebp - 0x1070]
push eax
mov ecx, edi
call fcn.100077d0
lea ecx, [ebp - 0x1088]
call fcn.10003430
lea ecx, [ebp - 0x1070]
call fcn.10003430
lea ecx, [ebp - 0x1028]
call fcn.10003430
jmp 0x1000b840
cmp byte [edi + 0x40db], 0
jne 0x1000b5c7
cmp byte [edi + 0x40dc], 0
jne 0x1000b5b5
cmp byte [edi + 0x2a], 0
je 0x1000b5c7
inc dword [edi + 0x18]
inc dword [edi + 0x1c]
inc dword [edi + 0x4100]
inc dword [edi + 0x40f8]
cmp dword [edi + 0x4120], 8
lea eax, [edi + 0x410c]
jb 0x1000b5d8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x4108], 2
cmp byte [edi + 0x40db], cl
je 0x1000b60e
lea eax, [ebp - 0x10cd]
push eax
push 1
mov byte [ebp - 0x10cd], 1
call fcn.1000bef0
add esp, 8
mov byte [edi + 0x40db], 0
lea eax, [edi + 0x40e0]
push eax
lea ecx, [ebp - 0x10cc]
call fcn.10003330
cmp dword [ebp - 0x108c], 8
lea eax, [ebp - 0x10a0]
cmovae eax, dword [ebp - 0x10a0]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x10b8], 8
lea eax, [ebp - 0x10cc]
cmovae eax, dword [ebp - 0x10cc]
push 0xffffffffffffffff
mov word [eax], cx
push ecx
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 7
call fcn.100091c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1088]
push eax
lea ecx, [ebp - 0x10a0]
call fcn.100091c0
cmp byte [edi + 0x415d], 0
jne 0x1000b6b8
mov eax, dword [ebp - 0x10b0]
or ecx, 0xffffffff
cmp dword [edi + 0x416c], 0
cmovne eax, ecx
cmp byte [edi + 0x29], 0
mov dword [ebp - 0x10b0], eax
jne 0x1000b6b8
lea eax, [ebp - 0x10cc]
push eax
push 4
call fcn.1000bef0
add esp, 8
cmp byte [edi + 0x40dd], 0
je 0x1000b6dc
cmp byte [edi + 0x29], 0
jne 0x1000b6d3
push 0
push 0
call fcn.1000bef0
add esp, 8
mov word [edi + 0x40dc], 0
cmp byte [edi + 0x40de], 0
je 0x1000b702
cmp byte [edi + 0x29], 0
jne 0x1000b6f7
push 0
push 0
call fcn.1000bef0
add esp, 8
mov byte [edi + 0x2a], 0
mov byte [edi + 0x40de], 0
push 0xffffffffffffffff
push 0x1003c4ac
lea ecx, [ebp - 0x1028]
call fcn.1000b860
push eax
push 0
lea eax, [ebp - 0x1058]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1000b9c0
cmp byte [edi + 0x25], 0
mov byte [ebp - 4], 8
je 0x1000b78b
lea eax, [ebp - 0x1058]
push eax
mov ecx, edi
call fcn.100065e0
test eax, eax
je 0x1000b78b
cmp byte [edi + 0x24], 0
je 0x1000b78b
inc dword [edi + 0x20]
lea ecx, [ebp - 0x1028]
call fcn.1000af30
push 0x1003c52c
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.10001400
add esp, 0xc
lea ecx, [ebp - 0x1028]
push eax
call fcn.10003a50
lea ecx, [ebp - 0x1040]
call fcn.10003430
lea ecx, [ebp - 0x1058]
call fcn.10003430
lea ecx, [ebp - 0x10cc]
call fcn.100039f0
lea ecx, [ebp - 0x1088]
call fcn.10003430
lea ecx, [ebp - 0x1070]
call fcn.10003430
jmp 0x1000b829
push 0x1003c540
lea ecx, [ebp - 0x1058]
call fcn.10001ce0
mov esi, eax
mov ecx, dword [ebp - 0x1018]
push 0xffffffffffffffff
add ecx, 0xfffffffd
push ecx
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 9
call fcn.1000b9c0
push esi
push eax
mov byte [ebp - 4], 0xa
call fcn.10001000
add esp, 8
lea ecx, [ebp - 0x1040]
mov bl, al
call fcn.10003430
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0
call fcn.10003430
test bl, bl
je 0x1000b829
lea eax, [ebp - 0x1028]
push eax
mov ecx, edi
call fcn.100077d0
cmp dword [ebp - 0x1014], 8
jb 0x1000b840
push dword [ebp - 0x1028]
call fcn.1000c900
add esp, 4
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.1000eb31
mov esp, ebp
pop ebp
ret