Function at 0x140008eb0
Capabilities:
Read file on windows

Disassembly:
push rbx
mov eax, 0x1030
call fcn.1400f23b0
sub rsp, rax
mov rax, qword [0x1406bd868]
xor rax, rsp
mov qword [rsp + 0x1020], rax
cmp byte [0x1406be6e7], 0
mov rbx, rcx
je 0x140008f14
cmp dword [reloc.WS2_32.dll_bind], 4
jae 0x140008f14
cmp qword [0x1406bdef0], 0
jne 0x140008efa
cmp qword [0x1406bdef8], 0
je 0x140008f14
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.WARNING:_no_verification_of_server_certificate_will_be_done._Use___ssl_modeVERIFY_CA_or_VERIFY_IDENTITY._n
call fcn.140009f30
mov r8, qword [0x1406bdf18]
mov edx, reloc.WS2_32.dll_send
mov rcx, rbx
call fcn.1400260a0
mov r8, qword [0x1406bdf00]
mov edx, setsockopt
mov rcx, rbx
call fcn.1400260a0
mov r8, qword [0x1406bdf08]
mov edx, reloc.WS2_32.dll_socket
mov rcx, rbx
call fcn.1400260a0
cmp dword [reloc.WS2_32.dll_bind], 4
mov edx, reloc.WS2_32.dll_setsockopt
mov rcx, rbx
jb 0x140008f76
mov r8, qword [0x1406bdef0]
call fcn.1400260a0
mov r8, qword [0x1406bdef8]
jmp 0x140008f81
xor r8d, r8d
call fcn.1400260a0
xor r8d, r8d
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rbx
call fcn.1400260a0
mov r8, qword [0x1406bdf20]
mov edx, 0x18
mov rcx, rbx
mov qword [rsp + 0x1048], rbp
mov qword [rsp + 0x1058], rdi
call fcn.1400260a0
mov r8, qword [0x1406bdf28]
mov edx, 0x19
mov rcx, rbx
call fcn.1400260a0
mov r8, qword [0x1406bdf30]
mov edx, 0x22
mov rcx, rbx
call fcn.1400260a0
lea r8, [0x1403f2900]
mov edx, 0x23
mov rcx, rbx
call fcn.1400260a0
cmp dword [0x1406bed34], 0
jbe 0x14000901e
lea r8, [0x1406bed34]
mov edx, 0x27
mov rcx, rbx
call fcn.1400260a0
mov rcx, rbx
call fcn.140024f80
cmp eax, 0x810
je 0x140009154
mov r8, qword [0x1406bdf10]
mov edx, 0x28
mov rcx, rbx
call fcn.1400260a0
mov rcx, qword [0x1406bdf38]
test rcx, rcx
je 0x140009193
lea rdx, [0x1400fc2ec]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
lea rdi, [rsp + 0x20]
mov rbp, rax
test rax, rax
jne 0x14000907c
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:_Cant_open_the_ssl_session_data_file._n
call fcn.140009f30
lea eax, [rbp + 1]
jmp 0x140009195
xor edx, edx
mov qword [rsp + 0x1050], rsi
mov rcx, rbp
mov esi, 0xfff
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400090ff
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
mov rcx, rbp
test eax, eax
jle 0x1400090ef
mov eax, 0x10000
cmp esi, eax
cmovg esi, eax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
cmp esi, 0xfff
jle 0x1400090ff
lea eax, [rsi + 1]
movsxd rcx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400090e8
movsxd rcx, esi
mov byte [rcx + rax], 0
jmp 0x1400090ff
lea rdi, [rsp + 0x20]
jmp 0x1400090fa
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov esi, 0xfff
movsxd r8, esi
mov r9, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rsi, qword [rsp + 0x1050]
test rax, rax
jne 0x14000915b
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:_Cant_read_the_ssl_session_data_file._n
call fcn.140009f30
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x140009154
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x140009195
mov rcx, rbp
mov byte [rax + rdi], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea r8, [rsp + 0x20]
mov edx, 0x2d
mov rcx, rbx
call fcn.1400260a0
mov ebx, eax
lea rax, [rsp + 0x20]
cmp rdi, rax
je 0x14000918f
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
jmp 0x140009195
xor eax, eax
mov rdi, qword [rsp + 0x1058]
mov rbp, qword [rsp + 0x1048]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400f2410
add rsp, 0x1030
pop rbx
ret