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

Disassembly:
push 0xffffffffffffffff
push 0x63f19a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], edi
cmp byte [esi + 0xcb], 0
mov eax, dword [esi + 0xb0]
je 0x5c0f96
mov ecx, dword [eax + 0x164]
jmp 0x5c0f9c
mov ecx, dword [eax + 0x160]
cmp ecx, 5
jne 0x5c1261
cmp dword [0x711144], edi
jne 0x5c1059
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], edi
call fcn.005bd8e0
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x5c1059
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x54]
push edi
push ebp
lea ecx, [esp + 0x64]
push str.Cannot_init_openssl__res_ld__lastError_ld_r_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x6c]
add esp, 0x10
push edx
mov ecx, esi
call fcn.0054c540
test edi, edi
je 0x5c1041
cmp dword [esi + 0x9c], 0
je 0x5c1041
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push 0x400
push edi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.00554e70
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00402550
mov eax, ebp
jmp 0x5c1673
cmp dword [esi + 0x344c], edi
jne 0x5c1103
call dword [0x711120]
cmp eax, edi
jne 0x5c10d0
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 1
call dword [0x7110fc]
push eax
push str.SSL_method_error__ld_r_n
lea eax, [esp + 0x64]
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x68]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054c540
mov edx, dword [esp + 0x5c]
push edx
mov ecx, dword [esi + 0x9c]
call fcn.00554e70
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00402550
mov eax, 0x80090304
jmp 0x5c1673
push eax
call dword [0x711124]
add esp, 4
mov dword [esi + 0x344c], eax
cmp eax, edi
jne 0x5c1103
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 2
call dword [0x7110fc]
push eax
push str.SSL_CTX_new_error__ld_r_n
jmp 0x5c108c
mov eax, dword [esi + 0x3450]
cmp eax, edi
je 0x5c1117
push eax
call dword [0x711118]
add esp, 4
mov eax, dword [esi + 0x344c]
push eax
call dword [0x711128]
add esp, 4
mov dword [esi + 0x3450], eax
cmp eax, edi
jne 0x5c1171
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 3
call dword [0x7110fc]
push eax
push str.SSL_new_error__ld_r_n
lea ecx, [esp + 0x64]
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x68]
add esp, 0xc
push edx
mov ecx, esi
call fcn.0054c540
mov eax, dword [esp + 0x5c]
push eax
jmp 0x5c10aa
mov ebp, dword [esp + 0x48]
push ebp
push eax
call dword [0x71110c]
add esp, 8
cmp eax, 1
je 0x5c11a4
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 4
call dword [0x7110fc]
push eax
push str.SSL_set_fd_error__ld_r_n
jmp 0x5c114e
mov ecx, dword [esi + 0x3450]
push ecx
call dword [0x711108]
add esp, 4
cmp eax, 1
je 0x5c1204
mov bl, byte [esp + 0x5c]
lea ecx, [ecx]
mov edx, dword [esi + 0x3450]
push eax
push edx
call dword [0x711114]
mov edi, eax
add esp, 8
cmp edi, 2
je 0x5c11dd
cmp edi, 3
jne 0x5c1215
test bl, bl
je 0x5c1231
push 0x14
push ebp
mov ecx, esi
call fcn.0054e2e0
test eax, eax
jne 0x5c1240
mov eax, dword [esi + 0x3450]
push eax
call dword [0x711108]
add esp, 4
cmp eax, 1
jne 0x5c11c0
push str.Openssl_handshake_ok_n
mov ecx, esi
call fcn.0054c540
jmp 0x5c1671
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 6
push edi
push str.SSL_connect_error__ld_r_n
jmp 0x5c114e
mov dword [esi + 0x3438], 0
jmp 0x5c165d
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov dword [esp + 0x40], 5
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.SSL_connect__select_error__ld_r_n
jmp 0x5c114e
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x5c]
push ecx
push edi
push edi
push 0x10
push edi
push 0xc11c
push edx
push edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], 1
mov dword [esp + 0x58], edi
mov eax, dword [eax + 0x3f8]
push ebx
call eax
mov ebp, eax
cmp ebp, 0x90312
je 0x5c142d
lea ecx, [esp + 0x5c]
call fcn.004024e0
mov ebx, 7
mov dword [esp + 0x40], ebx
push ebp
lea ecx, [esp + 0x60]
push str.Error_0x_x_returned_by_InitializeSecurityContext__1__n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x68]
add esp, 0xc
push edx
mov ecx, esi
call fcn.0054c540
mov edi, dword [esi + 0xb0]
cmp byte [edi + 0x31a], 0
jne 0x5c13c5
cmp byte [esi + 0xcb], 0
lea eax, [edi + 0x164]
jne 0x5c131d
lea eax, [edi + 0x160]
mov ecx, dword [eax]
test ecx, ecx
jne 0x5c1350
mov dword [eax], 1
push str.Try_SSL3_r_n
mov ecx, esi
call fcn.0054c540
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00402550
mov eax, 0x757e
jmp 0x5c1673
cmp ecx, 1
jne 0x5c1362
mov dword [eax], 2
push str.Try_TLS1_r_n
jmp 0x5c132e
cmp ecx, 2
jne 0x5c1374
mov dword [eax], 3
push str.Try_SSL3_old_r_n
jmp 0x5c132e
cmp dword [0x70f5e0], 0
je 0x5c138f
cmp ecx, 3
jne 0x5c138f
mov dword [eax], 4
push str.Try_TLS_1.3_r_n
jmp 0x5c132e
mov edx, dword [esi + 0x184]
test edx, edx
je 0x5c13ab
cmp byte [edx + 0x137], 0
je 0x5c13ab
cmp dword [esi + 0x3454], 0
jne 0x5c13c5
cmp ecx, 4
je 0x5c13b5
cmp ecx, 3
jne 0x5c13c5
mov dword [eax], 5
push str.Try_openssl_lib_r_n
jmp 0x5c132e
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x5c13e8
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x58]
call fcn.004030e0
mov byte [esp + 0x40], 8
mov dword [esp + 0x14], 1
mov eax, dword [eax]
mov ecx, dword [0x7105b8]
push eax
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00402f60
add esp, 0xc
mov dword [esp + 0x40], ebx
test byte [esp + 0x14], 1
je 0x5c1418
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x54]
call fcn.00402550
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.00554e70
jmp 0x5c1041
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
cmp eax, edi
je 0x5c151c
mov edx, dword [esp + 0x28]
cmp edx, edi
je 0x5c151c
mov ecx, dword [esi + 0x184]
cmp ecx, edi
je 0x5c14a2
cmp byte [ecx + 0x137], 0
je 0x5c14a2
mov ecx, dword [esi + 0x3454]
cmp ecx, edi
je 0x5c14a2
push eax
push edx
mov edi, eax
call fcn.005beb60
test eax, eax
jne 0x5c1673
lea ecx, [esp + 0x48]
call fcn.004024e0
mov dword [esp + 0x40], 9
push edi
lea ecx, [esp + 0x4c]
push str._ld_bytes_of_handshake__1__data_sent_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x54]
add esp, 0xc
push edx
jmp 0x5c14e7
push edi
push eax
push edx
push ebp
call sub.WS2_32.dll_send
mov edi, eax
cmp edi, 0xffffffff
je 0x5c1541
test edi, edi
je 0x5c1541
lea ecx, [esp + 0x48]
call fcn.004024e0
mov dword [esp + 0x40], 0xc
push edi
lea eax, [esp + 0x4c]
push str._d_bytes_of_handshake__2__data_sent_n
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x54]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.0054c540
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.00402550
mov edx, dword [esi + 0xb0]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x420]
push eax
call ecx
mov dword [esp + 0x28], 0
xor edi, edi
cmp byte [esp + 0x5c], 0
je 0x5c161c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
push 1
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.005bfbb0
jmp 0x5c1673
call sub.WS2_32.dll_WSAGetLastError
lea ecx, [esp + 0x5c]
mov edi, eax
call fcn.004024e0
mov ebp, 0xa
mov dword [esp + 0x40], ebp
push edi
lea edx, [esp + 0x60]
push str.Error__d_sending_data_to_server__1__n
push edx
call fcn.00402f60
mov eax, dword [esp + 0x68]
add esp, 0xc
push eax
mov ecx, esi
call fcn.0054c540
mov eax, dword [esi + 0xb4]
test eax, eax
jne 0x5c15a2
mov ecx, dword [esi + 0xb0]
mov edx, dword [ecx]
push edx
lea ecx, [esp + 0x54]
call fcn.004030e0
mov byte [esp + 0x40], 0xb
mov dword [esp + 0x14], 2
mov eax, dword [eax]
push eax
mov eax, dword [0x7105b8]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00402f60
add esp, 0xc
mov dword [esp + 0x40], ebp
test byte [esp + 0x14], 2
je 0x5c15d1
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x50]
call fcn.00402550
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.00554e70
mov eax, dword [esi + 0xb0]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + 0x420]
push ecx
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [esp + 0x54]
mov edx, dword [eax + 0x404]
push ecx
call edx
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.00402550
mov eax, edi
jmp 0x5c1673
cmp dword [esi + 0x3434], edi
jne 0x5c164d
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esi + 0x3434], eax
cmp eax, edi
jne 0x5c164d
push str.Out_of_memory__1__n
mov ecx, esi
call fcn.0054c540
mov eax, 0x753b
jmp 0x5c1673
mov dword [esi + 0x3438], edi
mov dword [esi + 0x343c], 1
mov dword [esi + 0x8c], 0xf
mov dword [esi + 0x3430], 0x90312
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x18