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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 1
lea eax, [ebp - 8]
pop esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push 2
mov dword [ebp - 0x2c], eax
pop ebx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4453cc]
push dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
call dword [eax + 0x28]
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x42a69d
cmp dword [0x441ff4], edi
je 0x42a9ff
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, esi
je 0x42a637
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a9ff
cmp eax, esi
jle 0x42a9ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov dword [ebp + 0x10], eax
jge 0x42a65a
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a68e
push esi
push dword [0x43e9c8]
push 0x79e
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp - 4]
push str._Error_0x_x_returned_by_ApplyControlToken_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
jmp 0x42a9f9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4453cc]
push dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], esi
push edi
push edi
push 0x10
push edi
push 0xc11c
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x34], edi
push dword [ebp + 0xc]
call dword [eax + 0x18]
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x42a778
cmp dword [0x441ff4], edi
je 0x42a9ff
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, esi
je 0x42a712
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a9ff
cmp eax, esi
jle 0x42a9ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov dword [ebp + 0x10], eax
jge 0x42a735
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a769
push esi
push dword [0x43e9c8]
push 0x7c5
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp - 4]
push str._Error_0x_x_returned_by_InitializeSecurityContext_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
jmp 0x42a9f9
mov eax, dword [ebp - 0x20]
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x42a9ff
cmp dword [ebp - 0x28], edi
je 0x42a9ff
push edi
push dword [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x42a970
cmp eax, edi
je 0x42a970
cmp dword [0x441ff4], edi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x42a8ca
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42a7e4
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a844
cmp eax, 4
jle 0x42a844
call esi
mov dword [ebp + 8], eax
call ebx
cmp dword [0x43e9c8], edi
mov dword [ebp - 0xc], eax
jge 0x42a800
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a832
push 4
push dword [0x43e9c8]
push 0x7db
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str.Sending_Close_Notify_n
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x441ff4], edi
je 0x42a8ca
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42a867
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a8ca
cmp eax, 4
jle 0x42a8ca
call esi
mov dword [ebp + 8], eax
call ebx
cmp dword [0x43e9c8], edi
mov dword [ebp - 0xc], eax
jge 0x42a883
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a8b8
push 4
push dword [0x43e9c8]
push 0x7dc
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp + 0x10]
push str._d_bytes_of_handshake_data_sent_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x48], edi
je 0x42a960
push 4
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042e9db
cmp dword [0x441ff4], edi
je 0x42a960
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42a906
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a960
cmp eax, 4
jle 0x42a960
call esi
mov esi, eax
call ebx
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42a920
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a952
push 4
push dword [0x43e9c8]
push 0x7e1
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push 0x43c998
call fcn.0041c506
add esp, 0x14
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0xc]
mov eax, dword [0x4453cc]
call dword [eax + 0x40]
jmp 0x42a9ff
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp dword [0x441ff4], edi
mov dword [ebp - 4], eax
je 0x42a9ff
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 3
je 0x42a99e
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42a9ff
cmp eax, 3
jle 0x42a9ff
call esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42a9bc
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42a9f1
push 3
push dword [0x43e9c8]
push 0x7d7
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp - 4]
push str.Error__d_sending_close_notify_n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc