Function at 0x140005090
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400e4340]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r15, rcx
mov qword [rsp + 0x30], rdx
mov r8d, 1
lea rdx, [rsp + 0x30]
call fcn.140003c60
mov edx, 0x109
mov r8d, 0x1b6
mov rcx, qword [r15 + 0x18]
call fcn.14001d610
mov ebx, eax
mov edx, 2
mov ecx, eax
call fcn.1400b2f40
mov ecx, ebx
call fcn.14008e1c0
mov ecx, 2
call fcn.1400748a0
mov rdx, rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_SetStdHandle]
call fcn.140073c30
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
lea rcx, [rax + 0x60]
call fcn.140074570
call fcn.140019840
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.14001a4f0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov r8, rax
lea rdx, str._Y__m__d__H:_M:_SZ
lea rcx, [rsp + 0x40]
call fcn.140019a80
nop
mov rbx, qword [r15]
call fcn.140073c30
mov r14, qword [rsp + 0x30]
mov rcx, qword [r14]
mov qword [rsp + 0x20], rcx
mov r9, rbx
mov r8, qword [rsp + 0x40]
lea rdx, str._s:_connecting_to__s_to_launch__s_n
lea rcx, [rax + 0x60]
call fcn.1400025f0
mov rcx, qword [rsp + 0x40]
call fcn.140073030
mov r8, qword [r15 + 8]
xor edx, edx
mov rcx, qword [r15]
call fcn.140020c60
mov qword [rsp + 0x80], rax
cmp qword [r15 + 0x28], rdi
je 0x14000528d
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea r8d, [rdi + 0x20]
lea rdx, [rsp + 0x230]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400051f3
cmp dword [rsp + 0x30], 0x20
je 0x14000528d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [0x1400b59c8]
mov qword [rsp + 0xd0], rax
mov byte [rsp + 0xd8], 0
mov byte [rsp + 0x1d8], 0
or r9d, 0xffffffff
lea r8, str.Error_reading_nonce
mov edx, 0x100
lea rcx, [rsp + 0xd8]
call fcn.14001e6f0
lea r11, [0x1400b5a30]
mov qword [rsp + 0xd0], r11
mov byte [rsp + 0x1d8], 0
or r9d, 0xffffffff
lea r8, str.System
lea edx, [r9 + 0x21]
lea rcx, [rsp + 0x1d8]
call fcn.14001e6f0
mov edx, ebx
lea rcx, [rsp + 0xd0]
call fcn.140020200
lea rdx, [0x1400e07e8]
lea rcx, [rsp + 0xd0]
call fcn.140073110
mov dword [rsp + 0x40], 0x20
lea rax, [rsp + 0x230]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.1400045f0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
movzx edi, byte [rsp + 0x38]
nop
cmp qword [r14], 0
je 0x140005409
mov rcx, qword [r14]
add r14, 8
or edx, 0xffffffff
call fcn.140019060
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14000534a
mov r12, qword [rsp + 0x60]
mov rcx, r12
sub rcx, rsi
sar rcx, 3
mov rax, qword [rsp + 0x68]
sub rax, rsi
sar rax, 3
cmp rcx, rax
jae 0x14000534f
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], dil
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea edx, [rax + 1]
mov rcx, r12
call fcn.140003f50
lea rax, [r12 + 8]
mov qword [rsp + 0x60], rax
jmp 0x1400053fc
mov r12, qword [rsp + 0x60]
mov r13, r12
cmp rsi, r12
jbe 0x140005366
call fcn.1400750c0
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r13
test rsi, rsi
je 0x140005399
mov rax, r12
sub rax, rsi
sar rax, 3
je 0x140005399
cmp rsi, r12
jbe 0x140005390
call fcn.1400750c0
sub r13, rsi
sar r13, 3
jmp 0x14000539c
xor r13d, r13d
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x90], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140004a00
mov rax, qword [rsp + 0x58]
mov rsi, rax
mov rcx, qword [rsp + 0x60]
cmp rax, rcx
jbe 0x1400053e8
call fcn.1400750c0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
lea rdx, [rsi + r13*8]
cmp rdx, rcx
ja 0x1400053f6
cmp rdx, rax
jae 0x1400053fc
call fcn.1400750c0
nop
mov rcx, rbx
call fcn.140073030
jmp 0x1400052d0
mov r8d, 2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call fcn.140021a30
nop
mov byte [rsp + 0xc6], 1
mov r9, qword [rsp + 0x80]
movzx r8d, byte [r15 + 0x10]
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0xb0]
call fcn.140021ae0
xor ecx, ecx
call fcn.140075ba0
nop
mov ecx, 1
call fcn.140075ba0
int3