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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebx + 4], 3
mov dword [ebx + 0x2c], 0x41241f
push esi
push edi
mov esi, eax
mov dword [ebx + 0x34], esi
xor eax, eax
lea ecx, [ebx + 0x10]
xor edx, edx
mov dword [ecx], edx
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x100000
test dword [esi + 0x1c], edi
je 0x41ba17
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x44], eax
test eax, eax
jne 0x41ba08
push str.CreateEvent
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041fca8
pop ecx
pop ecx
mov eax, dword [ebx + 0x44]
or dword [ebx + 0x48], 0xffffffff
or eax, 1
mov dword [ebx + 0x20], eax
xor edx, edx
push edx
lea eax, [ebx + 0x10]
push eax
push edx
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 0xc]
push dword [esi + 0x74]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x41ba83
test dword [esi + 0x1c], 0x40000
je 0x41bab0
and dword [ebx + 0x24], eax
mov eax, dword [esi + 0x34]
inc dword [esi + 0x30]
inc dword [esi + 0x6c]
lea ecx, [eax + 1]
mov dword [esi + 0x34], ecx
test eax, eax
jne 0x41ba69
mov eax, dword [esi + 0x1c]
test al, 0x40
jne 0x41ba69
or eax, 0x40
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41ba69
mov esi, dword [esi + 8]
inc dword [esi + 0xc]
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x18]
mov esi, dword [eax]
lea edx, [ebx + 8]
mov dword [edx], esi
mov dword [esi + 4], edx
mov dword [ebx + 0xc], eax
mov dword [eax], edx
jmp 0x41bb3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41bab0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov ecx, esi
call fcn.0041fd2f
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
or eax, 0xffffffff
jmp 0x41bb48
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x34]
inc dword [esi + 0x30]
inc dword [esi + 0x6c]
lea ecx, [eax + 1]
mov dword [esi + 0x34], ecx
test eax, eax
jne 0x41bae2
mov eax, dword [esi + 0x1c]
test al, 0x40
jne 0x41bae2
or eax, 0x40
mov dword [esi + 0x1c], eax
test al, 0x20
je 0x41bae2
mov eax, dword [esi + 8]
inc dword [eax + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x18
mov edx, dword [eax]
lea ecx, [ebx + 8]
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [eax], ecx
mov eax, dword [ebx + 0x24]
add dword [esi + 0x20], eax
test dword [esi + 0x1c], edi
je 0x41bb46
push 0xc
push 0xffffffffffffffff
push ebx
push 0x41b486
push dword [ebx + 0x44]
lea eax, [ebx + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x41bb46
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x41bb2d
call esi
jmp 0x41bb39
call esi
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.0041af8f
xor eax, eax
pop edi
pop esi
leave
ret