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

Disassembly:
push 0xffffffffffffffff
push 0x1004d3cb
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.10032b10
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebp
je 0x1001da92
push eax
call fcn.1001d6f0
mov esi, eax
jmp 0x1001da94
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x1001daa8
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 0x1001dae3
lea edi, [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001dae3
cmp edi, ebp
je 0x1001dae3
lea ecx, [edi - 4]
cmp ecx, ebp
je 0x1001dae3
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 0x1001db0f
add eax, 4
push eax
call ebx
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1001db37
lea ebx, [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001db37
test ebx, ebx
je 0x1001db37
lea ecx, [ebx - 4]
test ecx, ecx
je 0x1001db37
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 0x1001dbc9
push edi
mov byte [esp + 0x28], 0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1001db95
test edi, edi
je 0x1001db95
add edi, 0xffffffe8
je 0x1001db95
push edi
call fcn.1001d790
push edi
call fcn.10032a5e
add esp, 4
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1001dbc2
add esi, 4
push esi
call ebx
test eax, eax
jne 0x1001dbc2
test esi, esi
je 0x1001dbc2
lea ecx, [esi - 4]
test ecx, ecx
je 0x1001dbc2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov al, 1
jmp 0x1001dc50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
cmp eax, 0x3e5
je 0x1001db6c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call ebx
test eax, eax
jne 0x1001dbfd
test edi, edi
je 0x1001dbfd
lea esi, [edi - 0x18]
test esi, esi
je 0x1001dbfd
push esi
call fcn.1001d790
push esi
call fcn.10032a5e
add esp, 4
push edi
mov byte [esp + 0x28], 0
call ebx
test eax, eax
jne 0x1001dc21
test edi, edi
je 0x1001dc21
add edi, 0xffffffe8
je 0x1001dc21
push edi
call fcn.1001d790
push edi
call fcn.10032a5e
add esp, 4
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1001dc4e
add esi, 4
push esi
call ebx
test eax, eax
jne 0x1001dc4e
test esi, esi
je 0x1001dc4e
lea ecx, [esi - 4]
test ecx, ecx
je 0x1001dc4e
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