Function at 0x140017c90
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1400e71d8]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx r12d, r8b
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov r13, rcx
lea rax, [0x1400ce32c]
cmp rdx, rax
jne 0x140018070
xor r14d, r14d
mov qword [r11 - 0x58], r14
mov qword [r11 - 0x50], 0xf
mov byte [r11 - 0x68], r14b
mov r8d, 0x69b
lea rdx, str.___pool_list_:___n_____n_________pool_address_:__monero.herominers.com:10191___n_________wallet_address_:__47ixQGFQbVa7STgQhwfzzBLPcFEjWrndRG7Dhd2CUypzAZw25ZbMwcFGkocAAJciBCS96NKiPsMR6NKFD5GtV5fLMtKXCjm___________n_________rig_id_:__donate____n_________pool_password_:__z___n_________use_nicehash_:_false__n_________use_tls_:_false____Set_to_true_if_you_are_using_an_SSL_port___n_________tls_fingerprint_:_____n_________pool_weight_:_4_n_n______n_n_n_________pool_address_:__monero.miner.rocks:5555___n_________wallet_address_:__47ixQGFQbVa7STgQhwfzzBLPcFEjWrndRG7Dhd2CUypzAZw25ZbMwcFGkocAAJciBCS96NKiPsMR6NKFD5GtV5fLMtKXCjm___________n_________rig_id_:__donat____n_________pool_password_:__z___n_________use_nicehash_:_false__n_________use_tls_:_false____Set_to_true_if_you_are_using_an_SSL_port___n_________tls_fingerprint_:_____n_________pool_weight_:_5_n_n______n_n__n_________pool_address_:__pool.minexmr.com:5555___n_________wallet_address_:__47ixQGFQbVa7STgQhwfzzBLPcFEjWrndRG7Dhd2CUypzAZw25ZbMwcFGkocAAJciBCS96NKiPsMR6NKFD5GtV5fLMtKXCjm___n_________rig_id_:__1___n_________pool_password_:__x___n_________use_nicehash_:_false__n_________use_tls_:_false____Set_to_true_if_you_are_using_an_SSL_port___n_________tls_fingerprint_:_____n_________pool_weight_:_9_n_n_____n_n__n_________pool_address_:__xmr_eu1.nanopool.org:14444___n_________wallet_address_:__47ixQGFQbVa7STgQhwfzzBLPcFEjWrndRG7Dhd2CUypzAZw25ZbMwcFGkocAAJciBCS96NKiPsMR6NKFD5GtV5fLMtKXCjm___________n_________rig_id_:__1___n_________pool_password_:__x___n_________use_nicehash_:_false__n_________use_tls_:_false____Set_to_true_if_you_are_using_an_SSL_port___n_________tls_fingerprint_:_____n_________pool_weight_:_2_n______n___n_n_n_n_n_currency__:__monero___n_n
lea rcx, [r11 - 0x68]
call fcn.14000c5d0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140017d20
cmp rbx, 0x10000
jb 0x140017d5b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ce9d0]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
cmp rbx, 0x10
ja 0x140017d8a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ce9f0]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
mov rcx, qword [rsp + 0x50]
add rcx, 2
call fcn.1400bcb90
mov rdi, rax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
sub rax, rdx
nop
movzx ecx, byte [rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140017db0
cmp byte [rdi + 1], 0xef
jne 0x140017dda
cmp byte [rdi + 2], 0xbb
jne 0x140017dda
cmp byte [rdi + 3], 0xbf
jne 0x140017dda
mov word [rdi + 1], 0x2020
mov byte [rdi + 3], 0x20
mov byte [rdi], 0x7b
mov word [rdi + rbx], 0x7d
mov rbp, qword [r13 + 0x10]
test r12b, r12b
jne 0x140017df0
add rbp, 0x60
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rbp
call fcn.140014340
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbp + 0x50]
test ecx, ecx
je 0x140017e43
mov rdi, qword [rbp + 0x58]
call fcn.140016830
mov rbx, rax
call fcn.14000e5b0
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9, r15
lea r8, [0x1400cea18]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
cmp word [rbp + 0xe], 3
je 0x140017e68
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400cea50]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
mov edi, 0xd0
test r12b, r12b
je 0x140017f2b
mov esi, 2
lea rbx, str.tls_secure_algo
movsxd rax, dword [rbx - 8]
cmp rax, rsi
jne 0x140018009
mov rdx, qword [rbx]
mov rcx, rbp
call fcn.140016650
mov rcx, qword [r13 + 0x10]
mov qword [rdi + rcx], rax
mov rax, qword [r13 + 0x10]
mov rdx, qword [rdi + rax]
test rdx, rdx
je 0x140017f22
mov ecx, dword [rbx + 8]
movzx eax, word [rdx + 0xe]
and eax, 7
cmp ecx, eax
je 0x140017ed5
test ecx, ecx
je 0x140017ed5
cmp ecx, 2
jne 0x140017ecb
cmp eax, 1
jmp 0x140017ed3
cmp ecx, 1
jne 0x140017eef
cmp eax, 2
jne 0x140017eef
inc rsi
add rdi, 8
add rbx, 0x18
cmp rdi, 0x148
jae 0x140017fd5
jmp 0x140017e82
lea rbx, [rsi + rsi*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x1400cead8]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
lea rbx, [rsi + rsi*2]
jmp 0x140017fdd
mov esi, 0xc0
lea rbx, str.pool_list
nop word [rax + rax]
movsxd rax, dword [rbx - 8]
cmp rax, r14
jne 0x140018009
mov rdx, qword [rbx]
mov rcx, rbp
call fcn.140016650
mov rcx, qword [r13 + 0x10]
mov qword [rsi + rcx], rax
mov rax, qword [r13 + 0x10]
mov rdx, qword [rsi + rax]
test rdx, rdx
je 0x140017fd9
mov ecx, dword [rbx + 8]
movzx eax, word [rdx + 0xe]
and eax, 7
cmp ecx, eax
je 0x140017f93
test ecx, ecx
je 0x140017f93
cmp ecx, 2
jne 0x140017f89
cmp eax, 1
jmp 0x140017f91
cmp ecx, 1
jne 0x140017fa5
cmp eax, 2
jne 0x140017fa5
inc r14
add rsi, 8
add rbx, 0x18
cmp rsi, rdi
jae 0x140017fd5
jmp 0x140017f40
lea rbx, [r14 + r14*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x1400cead8]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
mov bl, 1
jmp 0x140018021
lea rbx, [r14 + r14*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x1400ceaa8]
xor edx, edx
call fcn.140012540
jmp 0x14001801f
call fcn.14000e5b0
lea r8, [0x1400cea78]
xor edx, edx
mov rcx, rax
call fcn.140012540
xor bl, bl
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x140018068
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0x1000
jb 0x140018063
test cl, 0x1f
jne 0x14001805c
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001805c
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14001805c
mov rcx, rax
jmp 0x140018063
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc0e4
movzx eax, bl
jmp 0x140018425
lea rdx, [0x1400ceb14]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
jne 0x1400180a6
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ceb18]
xor edx, edx
call fcn.140012540
jmp 0x140018423
mov esi, 2
mov r8d, esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rbp, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
cmp rbp, 0x10000
jb 0x1400180fe
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ce9d0]
xor edx, edx
call fcn.140012540
jmp 0x140018423
cmp rbp, 0x10
ja 0x14001812b
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ce9f0]
xor edx, edx
call fcn.140012540
jmp 0x140018423
lea rcx, [rbp + 3]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov r9, rdi
mov r8d, 1
mov rdx, rbp
lea rcx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x140018184
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call fcn.14000e5b0
mov rcx, rax
mov r9, r15
lea r8, [0x1400ceb38]
xor edx, edx
call fcn.140012540
jmp 0x140018423
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp byte [rbx + 1], 0xef
jne 0x1400181a9
cmp byte [rbx + 2], 0xbb
jne 0x1400181a9
cmp byte [rbx + 3], 0xbf
jne 0x1400181a9
mov word [rbx + 1], 0x2020
mov byte [rbx + 3], 0x20
mov byte [rbx], 0x7b
mov word [rbx + rbp], 0x7d
mov r15, qword [r13 + 0x10]
test r12b, r12b
jne 0x1400181bf
add r15, 0x60
lea r8, [rbp + 2]
mov rdx, rbx
mov rcx, r15
call fcn.140014340
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [r15 + 0x50]
test ecx, ecx
je 0x140018215
mov rdi, qword [r15 + 0x58]
call fcn.140016830
mov rbx, rax
call fcn.14000e5b0
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x30]
lea r8, [0x1400cea18]
xor edx, edx
call fcn.140012540
jmp 0x140018423
cmp word [r15 + 0xe], 3
je 0x14001823d
call fcn.14000e5b0
mov rcx, rax
mov r9, qword [rsp + 0x30]
lea r8, [0x1400cea50]
xor edx, edx
call fcn.140012540
jmp 0x140018423
mov edi, 0xd0
test r12b, r12b
je 0x140018329
lea rbx, str.tls_secure_algo
movsxd rax, dword [rbx - 8]
cmp rax, rsi
jne 0x14001840d
mov rdx, qword [rbx]
mov rcx, r15
call fcn.140016650
mov rcx, qword [r13 + 0x10]
mov qword [rdi + rcx], rax
mov rax, qword [r13 + 0x10]
mov rdx, qword [rdi + rax]
test rdx, rdx
je 0x1400182f4
mov ecx, dword [rbx + 8]
movzx eax, word [rdx + 0xe]
and eax, 7
cmp ecx, eax
je 0x1400182a5
test ecx, ecx
je 0x1400182a5
cmp ecx, 2
jne 0x14001829b
cmp eax, 1
jmp 0x1400182a3
cmp ecx, 1
jne 0x1400182bf
cmp eax, 2
jne 0x1400182bf
inc rsi
add rdi, 8
add rbx, 0x18
cmp rdi, 0x148
jae 0x1400183d7
jmp 0x140018252
lea rbx, [rsi + rsi*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x1400cead8]
xor edx, edx
call fcn.140012540
jmp 0x140018423
lea rbx, [rsi + rsi*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x1400ceaa8]
xor edx, edx
call fcn.140012540
jmp 0x140018423
xor r14d, r14d
mov esi, 0xc0
lea rbx, str.pool_list
nop dword [rax + rax]
movsxd rax, dword [rbx - 8]
cmp rax, r14
jne 0x14001840d
mov rdx, qword [rbx]
mov rcx, r15
call fcn.140016650
mov rcx, qword [r13 + 0x10]
mov qword [rsi + rcx], rax
mov rax, qword [r13 + 0x10]
mov rdx, qword [rsi + rax]
test rdx, rdx
je 0x1400183db
mov ecx, dword [rbx + 8]
movzx eax, word [rdx + 0xe]
and eax, 7
cmp ecx, eax
je 0x140018393
test ecx, ecx
je 0x140018393
cmp ecx, 2
jne 0x140018389
cmp eax, 1
jmp 0x140018391
cmp ecx, 1
jne 0x1400183a5
cmp eax, 2
jne 0x1400183a5
inc r14
add rsi, 8
add rbx, 0x18
cmp rsi, rdi
jae 0x1400183d7
jmp 0x140018340
lea rbx, [r14 + r14*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x1400cead8]
xor edx, edx
call fcn.140012540
jmp 0x140018423
mov al, 1
jmp 0x140018425
lea rbx, [r14 + r14*2]
lea rdi, [section..data]
call fcn.14000e5b0
mov rcx, rax
mov rax, qword [rdi + rbx*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
lea r8, [0x1400ceaa8]
xor edx, edx
call fcn.140012540
jmp 0x140018423
call fcn.14000e5b0
lea r8, [0x1400cea78]
xor edx, edx
mov rcx, rax
call fcn.140012540
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400bc560
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret