Function at 0x1001dbc0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1004d50b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005ce10]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
push 0x34
mov dword [esp + 0x18], ebp
call fcn.10032c7e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebp
je 0x1001dc12
push eax
call fcn.1001d870
mov esi, eax
jmp 0x1001dc14
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x1001dc28
lea eax, [esi + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x2c]
mov eax, 2
mov byte [esp + 0x24], al
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x30]
cmp eax, ebp
je 0x1001dc63
lea edi, [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001dc63
cmp edi, ebp
je 0x1001dc63
lea ecx, [edi - 4]
cmp ecx, ebp
je 0x1001dc63
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x30], ebp
lea ebp, [esi + 0x24]
lea edi, [esi + 0x18]
mov dword [ebp], 0x52
push edi
mov dword [esi + 0x28], ecx
call ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1001dc8f
add eax, 4
push eax
call ebx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1001dcb7
lea ebx, [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001dcb7
test ebx, ebx
je 0x1001dcb7
lea ecx, [ebx - 4]
test ecx, ecx
je 0x1001dcb7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push 0
push esi
push 0x10
push edx
push 0
lea eax, [esp + 0x28]
push eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x44]
push 1
mov dword [esi + 0x1c], 0
mov edx, dword [ecx + 0x10]
push ebp
push edx
call dword [sym.imp.WS2_32.dll_WSASendTo]
test eax, eax
jne 0x1001dd49
push edi
mov byte [esp + 0x28], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1001dd15
test edi, edi
je 0x1001dd15
add edi, 0xffffffe8
je 0x1001dd15
push edi
call fcn.1001d910
push edi
call fcn.10032bcc
add esp, 4
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1001dd42
add esi, 4
push esi
call ebx
test eax, eax
jne 0x1001dd42
test esi, esi
je 0x1001dd42
lea ecx, [esi - 4]
test ecx, ecx
je 0x1001dd42
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov al, 1
jmp 0x1001ddd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp eax, 0x3e5
je 0x1001dcec
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1001dd7d
test edi, edi
je 0x1001dd7d
lea esi, [edi - 0x18]
test esi, esi
je 0x1001dd7d
push esi
call fcn.1001d910
push esi
call fcn.10032bcc
add esp, 4
push edi
mov byte [esp + 0x28], 0
call ebx
test eax, eax
jne 0x1001dda1
test edi, edi
je 0x1001dda1
add edi, 0xffffffe8
je 0x1001dda1
push edi
call fcn.1001d910
push edi
call fcn.10032bcc
add esp, 4
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1001ddce
add esi, 4
push esi
call ebx
test eax, eax
jne 0x1001ddce
test esi, esi
je 0x1001ddce
lea ecx, [esi - 4]
test ecx, ecx
je 0x1001ddce
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10