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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [esi + 0x44]
cmp eax, edi
mov dword [ebp - 0x14], ecx
je 0x42bb87
push edi
push edi
lea edx, [ebp - 8]
push edi
push edx
push eax
lea eax, [esi + 0x2c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x42ba5a
cmp dword [ebp - 8], edi
je 0x42ba5a
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x30]
mov dword [esi + 0x44], edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, ebx
jmp 0x42c039
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
cmp eax, 0x2733
mov dword [ebp + 0xc], eax
jne 0x42baf8
cmp dword [0x441ff4], edi
je 0x42c036
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42ba9f
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42c036
cmp eax, 4
jle 0x42c036
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42babd
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bc23
push 4
push dword [0x43e9c8]
push 0x9c5
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push 0x2733
push str._Error__d_sending_data_to_server__4__n
call fcn.0041c506
add esp, 0x18
jmp 0x42bc1e
cmp dword [0x441ff4], edi
je 0x42bb7f
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42bb1b
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42bb7f
cmp eax, 1
jle 0x42bb7f
call ebx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov dword [ebp + 8], eax
jge 0x42bb3a
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bb6f
push 1
push dword [0x43e9c8]
push 0x9cb
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp + 0xc]
push str._Error__d_sending_data_to_server__4__n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
or ebx, 0xffffffff
jmp 0x42ba46
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, edi
pop ecx
mov dword [ebp - 4], eax
jne 0x42bc36
cmp dword [0x441ff4], edi
je 0x42c036
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42bbcf
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42c036
cmp eax, 1
jle 0x42c036
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42bbf1
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bc23
push 1
push dword [0x43e9c8]
push 0x9e4
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push str._Out_of_memory__2__n
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]
jmp 0x42c036
cmp dword [esi + 0x48], edi
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x42bcdb
push 4
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0042e9db
cmp dword [0x441ff4], edi
je 0x42bcdb
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42bc77
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42bcdb
cmp eax, 4
jle 0x42bcdb
call ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov dword [ebp - 0x10], eax
jge 0x42bc97
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bcc9
push 4
push dword [0x43e9c8]
push 0x9f2
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 dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x68], eax
add eax, ecx
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [esi + 0x2a4]
push edi
mov dword [ebp - 0x54], edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [0x4453cc]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], 6
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 4
call dword [eax + 0x64]
cmp eax, edi
mov dword [ebp - 0x10], eax
jge 0x42bdd2
cmp dword [0x441ff4], edi
je 0x42bdca
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42bd69
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42bdca
cmp eax, 1
jle 0x42bdca
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42bd87
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bdbc
push 1
push dword [0x43e9c8]
push 0xa0f
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp - 0x10]
push str._Error_0x_x_returned_by_EncryptMessage_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]
or esi, 0xffffffff
jmp 0x42bedc
mov eax, dword [ebp - 0x68]
push edi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x38]
push 3
push eax
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x42beed
cmp dword [ebp - 8], edi
je 0x42beed
cmp dword [esi + 0x48], edi
je 0x42bed9
push 4
mov ecx, esi
push dword [ebp - 4]
push dword [esi + 0x18]
call fcn.0042e9db
push 4
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0042e9db
mov eax, dword [ebp - 4]
push 4
add eax, dword [esi + 0x18]
mov ecx, esi
push eax
push dword [esi + 0x1c]
call fcn.0042e9db
cmp dword [0x441ff4], edi
je 0x42bed9
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42be7b
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42bed9
cmp eax, 4
jle 0x42bed9
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42be99
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42becb
push 4
push dword [0x43e9c8]
push 0xa3e
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]
mov esi, dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, esi
jmp 0x42c039
call ebx
cmp eax, 0x2733
mov dword [ebp + 0xc], eax
jne 0x42bfa8
cmp dword [0x441ff4], edi
je 0x42bf8a
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 4
je 0x42bf24
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42bf8a
cmp eax, 4
jle 0x42bf8a
call ebx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov dword [ebp + 0xc], eax
jge 0x42bf43
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42bf7a
push 4
push dword [0x43e9c8]
push 0xa27
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push 0x2733
push str._Error__d_sending_data_to_server__3__n
call fcn.0041c506
add esp, 0x18
call fcn.0041c4cc
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x38]
push 0x18
push eax
lea eax, [esi + 0x2c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [esi + 0x44], 3
jmp 0x42c036
cmp dword [0x441ff4], edi
je 0x42c02c
mov eax, dword [0x441fd4]
mov eax, dword [eax]
cmp eax, 1
je 0x42bfcb
mov ecx, dword [0x441fdc]
cmp dword [ecx], edi
jne 0x42c02c
cmp eax, 1
jle 0x42c02c
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x43e9c8], edi
mov ebx, eax
jge 0x42bfe9
mov eax, dword [0x441fa0]
mov dword [0x43e9c8], eax
call fcn.0041c4b1
test eax, eax
je 0x42c01e
push 1
push dword [0x43e9c8]
push 0xa2f
push str.C:_build_rel_sp_8_4_6_2_srcwindowsSHARED_sslsock_sslsock.cpp
call fcn.0041c4e1
push dword [ebp + 0xc]
push str._Error__d_sending_data_to_server__3__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]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc