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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100491fb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10080180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 8]
cmp eax, 3
je 0x1003065c
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10031e30
add esp, 8
cmp dword [0x10080074], 2
mov dword [ebp - 4], 0
jl 0x1003061d
cmp dword [ebp - 0x40], 0xf
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmova ecx, dword [ebp - 0x54]
sub esp, 8
mov dword [ebp - 0x2c], eax
mov eax, esp
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0xc0000000
push 0x41
mov dword [eax], 1
mov dword [eax + 4], ecx
lea eax, [ebp - 0x6c]
push str.Signal_send_packet_attempted_but_provider_is_not_ready._State:_
push eax
mov byte [ebp - 4], 0
call fcn.1000c8c0
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov byte [ebp - 4], 2
jbe 0x100305b0
mov ecx, dword [eax]
push dword [eax + 0x10]
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push ecx
sub esp, 8
lea ecx, [esi + 0x64]
mov eax, esp
sub esp, 8
mov dword [eax], str.e_31m
mov dword [eax + 4], 5
mov eax, esp
push edx
mov dword [eax], str.Error
mov dword [eax + 4], 5
call fcn.100120c0
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xf
jbe 0x1003061d
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030613
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030613
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10030868
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003064d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003064d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
jmp 0x10030868
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
mov byte [ebp - 0x88], 0
movq qword [ebp - 0x80], xmm0
push ecx
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x78], 0
call fcn.10031630
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.100309c0
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.10027b70
cmp dword [esi + 0x30], 0xf
lea eax, [esi + 0x1c]
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 5
jbe 0x100306cb
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10011ba0
cmp dword [0x10080074], 5
jl 0x100307b6
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
cmova eax, dword [ebp - 0x28]
sub esp, 8
mov dword [ebp - 0x30], eax
mov eax, esp
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x20000000
mov dword [ebp - 0x38], 0xc0000004
push 0x30
mov dword [eax], 2
mov dword [eax + 4], ecx
lea eax, [ebp - 0x6c]
push str.Sending_to_server__buffer_size:___contents:_
push eax
mov byte [ebp - 4], 5
call fcn.1000c8c0
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov edx, eax
mov byte [ebp - 4], 7
jbe 0x10030745
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
sub esp, 8
mov eax, esp
sub esp, 8
mov dword [eax], str.e_35m
mov dword [eax + 4], 5
mov eax, esp
push ecx
lea ecx, [esi + 0x64]
mov dword [eax], str.Debug
mov dword [eax + 4], 5
call fcn.100120c0
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x100307b6
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100307ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100307ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10030807
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
lea ecx, [esi + 0x64]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], str.Signaling_send_packet_error:_
mov dword [eax + 4], 0x1f
call fcn.10017750
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10030841
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030837
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030837
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push dword [ebp - 0x88]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 8
call fcn.100277e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10044f75
mov esp, ebp
pop ebp
ret 4