Function at 0x18005df10
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
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0xe8202de72d50f57c
movabs r14, 0xc904e9b66bf8fb37
test dl, 8
je 0x18005e04f
movabs r9, 0xe77087d30294986c
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x20]
mov rax, qword [rsp + 0x30]
movabs r10, 0xe8202dc7703c9918
mov qword [rbp + 0x20], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0x20], xmm0
test al, al
je 0x18005dfeb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005dfe0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0x90]
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x90]
mov qword [rsp + 0x58], rax
xorps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x90], xmm0
jmp 0x18005e13a
test bl, 4
je 0x18005e14b
movabs r9, 0xba239ad306999c6c
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x30]
mov rax, qword [rsp + 0x30]
movabs r10, 0xe8200dba413c915c
mov qword [rbp + 0x30], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0x30], xmm0
test al, al
je 0x18005e0db
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e0d0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xa0]
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xa0]
mov qword [rsp + 0x78], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0xa0], xmm0
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x20
je 0x18005e23a
movabs r9, 0xbd678cc2048a8b6c
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x40]
mov rax, qword [rsp + 0x30]
movabs r10, 0xe8202de70d0d9119
mov qword [rbp + 0x40], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x40]
mov qword [rbp - 0x78], rax
xorps xmm0, xmmword [rbp - 0x80]
movq rax, xmm0
movdqa xmmword [rbp + 0x40], xmm0
test al, al
je 0x18005e1cd
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e1c2
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xb0]
mov qword [rbp + 0xb0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xb0]
mov qword [rbp - 0x68], rax
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
bt ebx, 0xe
jae 0x18005e328
movabs r9, 0xe9599dd70e90986c
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x50]
mov qword [rbp - 0x58], rax
xorps xmm0, xmmword [rbp - 0x60]
movq rax, xmm0
movdqa xmmword [rbp + 0x50], xmm0
test al, al
je 0x18005e2bb
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e2b0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xc0]
mov qword [rbp + 0xc0], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xc0]
mov qword [rbp - 0x48], rax
xorps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0xc0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 0x10
je 0x18005e418
movabs r9, 0x946a8cd20f91936c
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x60]
mov rax, qword [rsp + 0x30]
movabs r10, 0xe8202de72d50f55c
mov qword [rbp + 0x60], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp - 0x38], rax
xorps xmm0, xmmword [rbp - 0x40]
movq rax, xmm0
movdqa xmmword [rbp + 0x60], xmm0
test al, al
je 0x18005e3ab
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e3a0
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xd0]
mov qword [rbp + 0xd0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xd8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xd0]
mov qword [rbp - 0x28], rax
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test bl, 2
je 0x18005e508
movabs r9, 0xb06887d91d9d9f6c
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x70]
mov rax, qword [rsp + 0x30]
movabs r10, 0xe8202de72d50d521
mov qword [rbp + 0x70], rax
mov r8d, edx
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x70]
mov qword [rbp - 0x18], rax
xorps xmm0, xmmword [rbp - 0x20]
movq rax, xmm0
movdqa xmmword [rbp + 0x70], xmm0
test al, al
je 0x18005e49b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e490
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xe0]
mov qword [rbp + 0xe0], rax
xor r9d, r9d
mov qword [rsp + 0x30], r10
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xe8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xe0]
mov qword [rbp - 8], rax
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0xe0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs r9, 0xc904e9b66bf8fb3d
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x80]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x80]
mov qword [rbp + 8], rax
xorps xmm0, xmmword [rbp]
movq rax, xmm0
movdqa xmmword [rbp + 0x80], xmm0
test al, al
je 0x18005e58b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e580
mov qword [rsp + 0x30], r9
sub r8d, edx
mov rax, qword [rsp + 0x30]
lea rdx, [rbp + 0xf0]
mov qword [rbp + 0xf0], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rcx, rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xf8], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0xf0]
mov qword [rbp + 0x18], rax
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0xf0], xmm0
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800f39f0
lea r11, [rsp + 0x210]
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