Function at 0x140001a57
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 0x54]
test al, al
je 0x140001a8c
mov rax, qword [rbp + 0x20]
add rax, 0xd0
jmp 0x140001a96
mov rax, qword [rbp + 0x20]
add rax, 0xc0
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
add rax, 8
mov eax, dword [rax]
test eax, eax
jne 0x140001add
mov ecx, 2
mov rax, qword [fcn.140008fb0]
call rax
mov r9, rax
mov r8d, 0x21
mov edx, 1
lea rax, str._pe_load_imports__got_no_imports_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov eax, 1
jmp 0x140001cd1
mov rax, qword [rbp + 0x20]
movzx eax, byte [rax + 0x54]
test al, al
je 0x140001af5
movabs rax, 0x7fffffffffffffff
jmp 0x140001afa
mov eax, 0x7fffffff
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x28]
add rax, 8
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov qword [rbp - 8], rax
jmp 0x140001cbe
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x40], 0
jne 0x140001b7a
mov ecx, 2
mov rax, qword [fcn.140008fb0]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x38]
mov r8, rax
lea rax, str.Could_not_load_library___s__n
mov rdx, rax
call fcn.140003380
mov eax, 0
jmp 0x140001cd1
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x10]
mov edx, eax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov qword [rbp - 0x18], rax
jmp 0x140001ca9
mov qword [rbp - 0x20], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
test rax, rax
jns 0x140001c29
mov rax, qword [rbp - 0x48]
and rax, qword [rbp - 0x30]
mov qword [rbp - 0x58], rax
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140001c94
mov rbx, qword [rbp - 0x58]
mov ecx, 2
mov rax, qword [fcn.140008fb0]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x38]
mov r9, rax
mov r8, rbx
lea rax, str.Failed_to_find__llx__ordinal__in___s__n
mov rdx, rax
call fcn.140003380
mov eax, 0
jmp 0x140001cd1
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x48]
add rax, rdx
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x50]
lea rdx, [rax + 2]
mov rax, qword [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140001c94
mov rax, qword [rbp - 0x50]
lea rbx, [rax + 2]
mov ecx, 2
mov rax, qword [fcn.140008fb0]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x38]
mov r9, rax
mov r8, rbx
lea rax, str.Failed_to_find___s___non_ordinal__in___s__n
mov rdx, rax
call fcn.140003380
mov eax, 0
jmp 0x140001cd1
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x18]
mov qword [rax], rdx
add qword [rbp - 0x10], 8
add qword [rbp - 0x18], 8
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
test rax, rax
jne 0x140001ba6
add qword [rbp - 8], 0x14
mov rax, qword [rbp - 8]
mov eax, dword [rax]
test eax, eax
jne 0x140001b1a
mov eax, 1
add rsp, 0x88
pop rbx
pop rbp
ret