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

Disassembly:
push 0xffffffffffffffff
push 0x1004d913
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005ce10]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebp, ebp
cmp dword [esi + 8], 4
lea eax, [esi + 8]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], eax
jg 0x1001dfc6
cmp dword [esi + 0x1c], ebp
je 0x1001de4e
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
test al, al
je 0x1001dfc6
push 0x34
call fcn.10032c7e
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x1001de6e
push eax
call fcn.1001d870
mov edi, eax
jmp 0x1001de70
xor edi, edi
mov dword [esp + 0x18], edi
cmp edi, ebp
je 0x1001de82
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x34], 1
mov dword [edi + 0x14], esi
mov dword [edi + 0x20], 3
call fcn.1001d820
cmp eax, ebp
je 0x1001dea8
mov esi, eax
call fcn.1001d9b0
mov esi, eax
jmp 0x1001deaa
xor esi, esi
cmp esi, ebp
je 0x1001deb8
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [edi + 0x30]
cmp eax, ebp
je 0x1001dee0
lea ebx, [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001dee0
cmp ebx, ebp
je 0x1001dee0
lea ecx, [ebx - 4]
cmp ecx, ebp
je 0x1001dee0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x30], esi
lea ebp, [edi + 0x24]
mov dword [ebp], 0x2000
mov eax, dword [edi + 0x30]
add eax, 0x8c
lea ebx, [edi + 0x18]
push ebx
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
push ecx
mov eax, 0x1001e280
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.1001e450
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df2d
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1001df5d
add eax, 4
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001df5d
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1001df5d
lea ecx, [eax - 4]
test ecx, ecx
je 0x1001df5d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
push 0
push edi
mov dword [edi + 0x2c], esi
mov eax, dword [edi + 0x30]
lea ecx, [eax + 0x88]
push ecx
mov ecx, dword [esp + 0x48]
add eax, 8
push eax
lea edx, [esp + 0x34]
push edx
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x3c]
push eax
push 1
push ebp
push edx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
test eax, eax
jne 0x1001dfca
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001dfc6
test ebx, ebx
je 0x1001dfc6
add ebx, 0xffffffe8
je 0x1001dfc6
push ebx
call fcn.1001d910
push ebx
call fcn.10032bcc
add esp, 4
mov al, 1
jmp 0x1001e040
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1001dff7
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.1001e3e0
mov al, 1
jmp 0x1001e040
mov eax, ebx
call fcn.1001e380
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x1001e026
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001e026
test esi, esi
je 0x1001e026
lea ecx, [esi - 4]
test ecx, ecx
je 0x1001e026
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea eax, [esp + 0x18]
mov dword [edi + 0x2c], 0
mov dword [esp + 0x34], 0xffffffff
call fcn.1001e3e0
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4