Function at 0x1400021f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x2c0], rbx
mov rax, qword [0x1400ab2b8]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor ecx, ecx
call fcn.140060454
mov rcx, rax
call fcn.14005da54
call fcn.14005da28
lea rcx, str.Temp
call fcn.1400615fc
mov rbx, rax
xor esi, esi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140004c30
cmp byte [rbx], sil
jne 0x140002287
mov r8d, esi
jmp 0x140002299
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], sil
jne 0x140002290
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140004cb0
nop
lea r8, str.temp
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.1400062c0
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140006460
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140004c30
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xe0]
call fcn.14000cc20
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
call fcn.14001e710
mov rbx, rax
mov rdx, rdi
lea rcx, [rbp]
call fcn.14000cc20
mov rdi, rax
mov rdx, r12
lea rcx, [rbp + 0x20]
call fcn.14000cc20
nop
cmp qword [rdi + 0x18], 8
jb 0x14000232f
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 8
jb 0x140002339
mov rax, qword [rax]
test rbx, rbx
jne 0x14000234a
mov dword [0x1400b19f0], 0x10000
jmp 0x140002370
cmp dword [rbx], 2
je 0x14000235b
mov dword [0x1400b19f0], 0x80000
jmp 0x140002370
mov r8, rdi
mov rdx, rax
mov rcx, qword [rbx + 8]
call fcn.14001dec0
mov dword [0x1400b19f0], eax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140004bb0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140004bb0
test rbx, rbx
je 0x1400023a6
cmp dword [rbx], 1
sete al
test al, al
je 0x1400023a6
mov rcx, rbx
call fcn.140019c80
jmp 0x1400023ae
mov rcx, rbx
call fcn.14001e820
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea rdx, [0x140093e94]
call fcn.14005db3c
mov r13, rax
test rax, rax
je 0x140002908
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call fcn.14005def8
mov rcx, r13
call fcn.14005da20
mov edi, eax
mov rcx, r13
call fcn.14006002c
mov ecx, edi
call fcn.140054bb8
mov rsi, rax
mov r9, r13
mov r8d, 1
mov edx, edi
mov rcx, rax
call fcn.14006119c
mov r8d, edi
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.140008d70
nop
mov rcx, rsi
call fcn.140060494
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140004c30
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140004d90
nop
mov r14d, ebx
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.140004c30
xor r8d, r8d
lea rdx, [0x140093e7a]
lea rcx, [rbp + 0xc0]
call fcn.140004cb0
nop
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140004c30
xor r8d, r8d
lea rdx, [0x140093e7a]
lea rcx, [rbp - 0x60]
call fcn.140004cb0
nop
mov r15d, ebx
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140002772
mov ecx, ebx
nop dword [rax + rax]
movsxd rax, r14d
cmp rsi, rax
jbe 0x1400024df
mov esi, reloc.WS2_32.dll_sendto
jmp 0x1400024e2
sub esi, r14d
movsxd r9, esi
mov r8, rcx
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140004ac0
nop
lea edx, [r15 + 1]
lea rcx, [rbp + 0x80]
call fcn.140001f60
mov rbx, rax
mov r8, r12
lea rdx, [0x140093e9c]
lea rcx, [rbp + 0x140]
call fcn.140006150
nop
lea r8, str._D.1d0
mov rdx, rax
lea rcx, [rbp + 0x120]
call fcn.140006240
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400063b0
nop
lea r8, str._D.1d0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140006240
nop
lea r8, [rbp]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140006460
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x80]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x120]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x140]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140004c30
lea r8, [0x140093ea0]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1400062c0
nop
lea r8, [0x1400b1a18]
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.140006460
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140004c30
xor ebx, ebx
mov edi, ebx
xor r8d, r8d
lea rdx, [0x140093e7a]
lea rcx, [rbp - 0x60]
call fcn.140004cb0
lea rdx, [0x140093ea4]
lea rcx, [rbp - 0x60]
call fcn.140004a30
test eax, eax
je 0x14000272c
inc edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140004c30
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b1a58]
lea rcx, [rsp + 0x60]
call fcn.140004d90
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140004c30
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x80]
call fcn.140004d90
nop
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.140007230
mov rbx, rax
lea rax, [rbp - 0x60]
cmp rax, rbx
je 0x1400026d8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.140004c30
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140005080
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140004c30
cmp edi, 0xa
je 0x14000272a
lea rdx, [0x140093ea4]
lea rcx, [rbp - 0x60]
call fcn.140004a30
test eax, eax
je 0x14000270d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x140093ea4]
lea rcx, [rbp - 0x60]
call fcn.140004a30
test eax, eax
mov ebx, 0
jne 0x140002630
xor ebx, ebx
add r14d, esi
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x100]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140004c30
add r15d, 0x14
movsxd rcx, r15d
mov rsi, qword [rbp - 0x10]
cmp rcx, rsi
jb 0x1400024d0
mov rcx, r13
call fcn.14005dbcc
lea rdx, [0x140093ea4]
lea rcx, [rbp - 0x60]
call fcn.140004a30
test eax, eax
jne 0x1400028c9
mov r8, r12
lea rdx, [0x140093eac]
lea rcx, [rbp + 0xa0]
call fcn.140006150
nop
lea r8, [0x140093ea8]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140006240
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140004c30
lea r8, [0x140093ea0]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400062c0
nop
lea r8, [0x1400b1a18]
mov rdx, rax
lea rcx, [rbp]
call fcn.140006460
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140004c30
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140004c30
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x1400b1a58]
lea rcx, [rbp - 0x80]
call fcn.140004d90
nop
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140004c30
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.140004d90
nop
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140007230
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140004c30
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call fcn.14005dc38
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x60]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xc0]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xe0]
call fcn.140004bb0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x40]
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
mov rcx, r12
call fcn.140004c30
nop
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x30]
call fcn.140004c30
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140034240
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret