Function at 0x18005ab20
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, 0x792321f7c1f9c8c8
movabs r14, 0xadf0c4fe52b74d3f
test dl, 8
je 0x18005abed
movabs r9, 0x8384aa9b3bdb2e64
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x792321d79c95a4ac
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 0x18005ac6b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005abe0
jmp 0x18005ac6b
test bl, 4
je 0x18005acc1
movabs r9, 0xded7b79b3fd62a64
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x792301aaad95ace8
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 0x18005ac6b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ac60
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 0x18005ad91
movabs r9, 0xd993a18a3dc53d64
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x792321f7e1a4acad
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 0x18005ad3b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ad30
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 0x18005ae61
movabs r9, 0x8dadb09f37df2e64
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 0x18005ae0b
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005ae00
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 0x18005af31
movabs r9, 0xf09ea19a36de2564
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x792321f7c1f9c8e8
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 0x18005aedb
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005aed0
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 0x18005b001
movabs r9, 0xd49caa9124d22964
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x792321f7c1f9e895
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 0x18005afab
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005afa0
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, 0xadf0c4fe52b74d35
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 0x18005b06b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005b060
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.1800db5c0
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