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

Disassembly:
push 0xffffffffffffffff
push 0x668b7a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x54]
push edi
call fcn.00625813
mov eax, dword [esi + 0xc8]
add esp, 4
cmp byte [esi + 0xe3], bl
je 0x5df9a2
mov ecx, dword [eax + 0x17c]
jmp 0x5df9a8
mov ecx, dword [eax + 0x178]
cmp ecx, 5
jne 0x5dfced
cmp dword [0x75f8d0], ebx
jne 0x5dfa61
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], ebx
call fcn.005db920
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x5dfa61
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x58]
push edi
push ebp
lea ecx, [esp + 0x68]
push str.Cannot_init_openssl__res_ld__lastError_ld_r_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x70]
add esp, 0x10
push edx
mov ecx, esi
call fcn.00562270
cmp edi, ebx
je 0x5dfa49
cmp dword [esi + 0xb4], ebx
je 0x5dfa49
push ebx
push ebx
lea eax, [esp + 0x60]
push eax
push 0x400
push edi
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0056b3d0
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00402560
mov eax, ebp
jmp 0x5e0109
cmp dword [esi + 0x3478], ebx
jne 0x5dfb0b
call dword [0x75f8a0]
cmp eax, ebx
jne 0x5dfad8
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 1
call dword [0x75f87c]
push eax
push str.SSL_method_error__ld_r_n
lea eax, [esp + 0x68]
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x6c]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00562270
mov edx, dword [esp + 0x60]
push edx
mov ecx, dword [esi + 0xb4]
call fcn.0056b3d0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00402560
mov eax, 0x80090304
jmp 0x5e0109
push eax
call dword [0x75f8a4]
add esp, 4
mov dword [esi + 0x3478], eax
cmp eax, ebx
jne 0x5dfb0b
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 2
call dword [0x75f87c]
push eax
push str.SSL_CTX_new_error__ld_r_n
jmp 0x5dfa94
mov eax, dword [esi + 0x347c]
cmp eax, ebx
je 0x5dfb1f
push eax
call dword [0x75f898]
add esp, 4
mov eax, dword [esi + 0x3478]
push eax
call dword [0x75f8a8]
add esp, 4
mov dword [esi + 0x347c], eax
cmp eax, ebx
jne 0x5dfb79
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 3
call dword [0x75f87c]
push eax
push str.SSL_new_error__ld_r_n
lea ecx, [esp + 0x68]
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x6c]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00562270
mov eax, dword [esp + 0x60]
push eax
jmp 0x5dfab2
mov ebp, dword [esp + 0x4c]
push ebp
push eax
call dword [0x75f88c]
add esp, 8
cmp eax, 1
je 0x5dfbac
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 4
call dword [0x75f87c]
push eax
push str.SSL_set_fd_error__ld_r_n
jmp 0x5dfb56
mov eax, dword [0x75f858]
cmp eax, ebx
je 0x5dfbc5
mov ecx, dword [esi + 0x347c]
push edi
push ebx
push 0x37
push ecx
call eax
add esp, 0x10
mov edx, dword [esi + 0x347c]
push edx
call dword [0x75f888]
add esp, 4
cmp eax, 1
je 0x5dfc2e
lea ebx, [ebx]
push eax
mov eax, dword [esi + 0x347c]
push eax
call dword [0x75f894]
mov edi, eax
add esp, 8
cmp edi, 2
je 0x5dfbfd
cmp edi, 3
jne 0x5dfc3f
cmp byte [esp + 0x60], bl
je 0x5dfca3
push 0x14
push ebp
mov ecx, esi
call fcn.00564490
cmp eax, ebx
jne 0x5dfcae
mov ecx, dword [esi + 0x347c]
push ecx
call dword [0x75f888]
add esp, 4
cmp eax, 1
jne 0x5dfbe0
push str.Openssl_handshake_ok_n
mov ecx, esi
call fcn.00562270
jmp 0x5e0107
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 6
push edi
lea edx, [esp + 0x64]
push str.SSL_connect_error__ld_r_n
push edx
call fcn.00402f60
mov eax, dword [esp + 0x6c]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00562270
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [esi + 0xb4]
call fcn.0056b3d0
cmp edi, 5
jne 0x5dfabd
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00402560
mov eax, 0x271d
jmp 0x5e0109
mov dword [esi + 0x3460], ebx
jmp 0x5e00f3
lea ecx, [esp + 0x60]
call fcn.004024f0
mov dword [esp + 0x44], 5
call sub.WS2_32.dll_WSAGetLastError
push eax
lea edx, [esp + 0x64]
push str.SSL_connect__select_error__ld_r_n
push edx
call fcn.00402f60
mov eax, dword [esp + 0x6c]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00562270
mov ecx, dword [esp + 0x60]
push ecx
jmp 0x5dfab2
lea edx, [esp + 0x24]
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x38]
push ecx
push edx
push ebx
push ebx
push 0x10
push ebx
push 0xc11c
push edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
push ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x54], 2
mov dword [esp + 0x60], 1
mov eax, dword [eax + 0x424]
push ebx
call eax
mov ebp, eax
cmp ebp, 0x90312
je 0x5dfebe
lea ecx, [esp + 0x60]
call fcn.004024f0
mov ebx, 7
mov dword [esp + 0x44], ebx
push ebp
lea ecx, [esp + 0x64]
push str.Error_0x_x_returned_by_InitializeSecurityContext__1__n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x6c]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00562270
mov edi, dword [esi + 0xc8]
cmp byte [edi + 0x33e], 0
je 0x5dfd99
cmp byte [edi + 0x174], 0
je 0x5dfe46
cmp byte [esi + 0xe3], 0
lea eax, [edi + 0x17c]
jne 0x5dfdae
lea eax, [edi + 0x178]
mov ecx, dword [eax]
test ecx, ecx
jne 0x5dfde1
mov dword [eax], 1
push str.Try_SSL3_r_n
mov ecx, esi
call fcn.00562270
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00402560
mov eax, 0x757e
jmp 0x5e0109
cmp ecx, 1
jne 0x5dfdf3
mov dword [eax], 2
push str.Try_TLS1_r_n
jmp 0x5dfdbf
cmp ecx, 2
jne 0x5dfe05
mov dword [eax], 3
push str.Try_SSL3_old_r_n
jmp 0x5dfdbf
cmp dword [0x75dbb8], 0
je 0x5dfe20
cmp ecx, 3
jne 0x5dfe20
mov dword [eax], 4
push str.Try_TLS_1.3_r_n
jmp 0x5dfdbf
mov edx, dword [esi + 0x19c]
test edx, edx
je 0x5dfe3c
cmp byte [edx + 0x137], 0
je 0x5dfe3c
cmp dword [esi + 0x3480], 0
jne 0x5dfe46
cmp ecx, 4
je 0x5dfeae
cmp ecx, 3
je 0x5dfeae
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x5dfe69
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x5c]
call fcn.004030a0
mov byte [esp + 0x44], 8
mov dword [esp + 0x14], 1
mov eax, dword [eax]
mov ecx, dword [0x75ecb8]
push eax
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.00402f60
add esp, 0xc
mov dword [esp + 0x44], ebx
test byte [esp + 0x14], 1
je 0x5dfe99
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x58]
call fcn.00402560
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0xb4]
push eax
call fcn.0056b3d0
jmp 0x5dfa49
mov dword [eax], 5
push str.Try_openssl_lib_r_n
jmp 0x5dfdbf
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x4c]
test eax, eax
je 0x5dffac
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x5dffac
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x5dff33
cmp byte [ecx + 0x137], 0
je 0x5dff33
mov ecx, dword [esi + 0x3480]
test ecx, ecx
je 0x5dff33
push eax
push edx
mov edi, eax
call fcn.005dd450
test eax, eax
jne 0x5e0109
lea ecx, [esp + 0x4c]
call fcn.004024f0
mov dword [esp + 0x44], 9
push edi
lea ecx, [esp + 0x50]
push str._ld_bytes_of_handshake__1__data_sent_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x58]
add esp, 0xc
push edx
jmp 0x5dff79
push 0
push eax
push edx
push ebp
call sub.WS2_32.dll_send
mov edi, eax
cmp edi, 0xffffffff
je 0x5dffd1
test edi, edi
je 0x5dffd1
lea ecx, [esp + 0x4c]
call fcn.004024f0
mov dword [esp + 0x44], 0xc
push edi
lea eax, [esp + 0x50]
push str._d_bytes_of_handshake__2__data_sent_n
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x58]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.00562270
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.00402560
mov edx, dword [esi + 0xc8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edx + 0x44c]
push eax
call ecx
mov dword [esp + 0x2c], 0
cmp byte [esp + 0x60], 0
je 0x5e00ac
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push 1
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.005de480
jmp 0x5e0109
call sub.WS2_32.dll_WSAGetLastError
lea ecx, [esp + 0x60]
mov edi, eax
call fcn.004024f0
mov ebp, 0xa
mov dword [esp + 0x44], ebp
push edi
lea edx, [esp + 0x64]
push str.Error__d_sending_data_to_server__1__n
push edx
call fcn.00402f60
mov eax, dword [esp + 0x6c]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00562270
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x5e0032
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx]
push edx
lea ecx, [esp + 0x58]
call fcn.004030a0
mov byte [esp + 0x44], 0xb
mov dword [esp + 0x14], 2
mov eax, dword [eax]
push eax
mov eax, dword [0x75ecb8]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.00402f60
add esp, 0xc
mov dword [esp + 0x44], ebp
test byte [esp + 0x14], 2
je 0x5e0061
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x54]
call fcn.00402560
mov edx, dword [esp + 0x60]
mov ecx, dword [esi + 0xb4]
push edx
call fcn.0056b3d0
mov eax, dword [esi + 0xc8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + 0x44c]
push ecx
call edx
mov eax, dword [esi + 0xc8]
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0x430]
push ecx
call edx
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.00402560
mov eax, edi
jmp 0x5e0109
cmp dword [esi + 0x345c], 0
jne 0x5e00df
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esi + 0x345c], eax
test eax, eax
jne 0x5e00df
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.00562270
mov eax, 0x753b
jmp 0x5e0109
mov dword [esi + 0x3460], 0
mov dword [esi + 0x3464], 1
mov dword [esi + 0xa4], 0xf
mov dword [esi + 0x3458], 0x90312
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x18