Function at 0x18005aad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0x9f5b4b58b94977f2
movabs r14, 0x72bbfcf5dd1d9285
test dl, 8
je 0x18005ab9d
movabs r9, 0x5ccf9290b471f1de
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9f5b4b78e4251b96
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005ac1b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ab90
jmp 0x18005ac1b
test bl, 4
je 0x18005ac71
movabs r9, 0x19c8f90b07cf5de
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9f5b6b05d52513d2
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005ac1b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ac10
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x20
je 0x18005ad41
movabs r9, 0x6d89981b26fe2de
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9f5b4b5899141397
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005aceb
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ace0
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
bt ebx, 0xe
jae 0x18005ae11
movabs r9, 0x52e68894b875f1de
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov r8d, edx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005adbb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005adb0
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], rsi
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x10
je 0x18005aee1
movabs r9, 0x2fd59991b974fade
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9f5b4b58b94977d2
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005ae8b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ae80
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 2
je 0x18005afb1
movabs r9, 0xbd7929aab78f6de
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9f5b4b58b94957af
mov qword [rbp - 0x30], rax
mov r8d, edx
mov qword [rbp - 0x50], r10
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005af5b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005af50
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], r10
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs r9, 0x72bbfcf5dd1d928f
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov r8d, edx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x30]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp - 0x30], xmm0
test al, al
je 0x18005b01b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005b010
mov qword [rbp - 0x50], r9
sub r8d, edx
mov rax, qword [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x50], rsi
mov rcx, rdi
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r14
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rsi
mov rax, qword [rbp - 0x50]
movdqa xmm0, xmmword [rbp - 0x20]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800db810
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret