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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
lea edi, [esi + 0x14]
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], ebx
jne 0x434298
mov edi, dword [edi]
test edi, edi
je 0x434267
mov eax, dword [edi + 0x14]
test eax, eax
je 0x434194
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434180
sub eax, edx
sar eax, 1
lea ebx, [eax + 1]
jmp 0x434196
xor ebx, ebx
cmp dword [edi + 4], 2
jne 0x434252
cmp dword [edi + 0x18], 0
je 0x434252
mov eax, dword [edi + 0x10]
test eax, eax
je 0x434252
cmp eax, 0x10
jb 0x434252
lea eax, [ebx + 0x30]
push eax
call dword [0x4c0510]
mov esi, eax
add esp, 4
test esi, esi
je 0x43427b
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x20]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], ecx
mov eax, dword [edi + 0x18]
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
test ebx, ebx
je 0x434238
lea eax, [ecx + 0x10]
xor edx, edx
mov dword [esi + 0x14], eax
test ebx, ebx
je 0x434231
nop
mov eax, dword [edi + 0x14]
mov ecx, dword [esi + 0x14]
mov al, byte [eax + edx*2]
mov byte [edx + ecx], al
inc edx
cmp edx, ebx
jb 0x434220
mov eax, dword [esi + 0x14]
mov byte [ebx + eax], 0
mov ebx, dword [ebp - 4]
test ebx, ebx
mov eax, dword [ebp - 8]
cmove ebx, esi
mov dword [ebp - 4], ebx
test eax, eax
je 0x43424d
mov dword [eax + 0x1c], esi
mov dword [ebp - 8], esi
jmp 0x434255
mov ebx, dword [ebp - 4]
mov edi, dword [edi + 0x28]
test edi, edi
jne 0x434173
test ebx, ebx
jne 0x43428f
mov esi, dword [ebp + 0x10]
push 0x2af9
mov dword [ebp + 8], 0x2af9
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x434292
push dword [ebp - 4]
mov dword [ebp + 8], 8
call fcn.004528e0
add esp, 4
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [esi + 0x68], ebx
lea edi, [esi + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x4342ab
push eax
call dword [0x4c1d90]
mov dword [edi], 0
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
je 0x4342d3
call edi
test eax, eax
je 0x4342d0
call edi
mov dword [esi + 0x64], eax
test eax, eax
jne 0x4342d3
mov dword [esi + 0x64], 8
jmp 0x4342d3
mov dword [esi + 0x64], ebx
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x4c], 0
je 0x434353
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x48]
test eax, eax
je 0x434305
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 0x48]
call dword [0x4c0514]
add esp, 4
push dword [esi + 0x54]
call dword [0x4c0514]
mov eax, dword [esi + 0x68]
add esp, 4
test eax, eax
je 0x434321
push eax
call fcn.004528e0
add esp, 4
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x434330
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x90
push 0
push esi
call fcn.0046e6a0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x4c0514]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x434377
push 0
push 1
lea ecx, [ebp + 0x13]
mov byte [ebp + 0x13], 1
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x434377
call edi
mov dword [esi + 0x64], eax
push dword [esi + 0x48]
mov dword [esi + 0x4c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x434397
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc