Function at 0x18005ddd0
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 [0x18015f040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0x9fe74ab83cc32036
movabs r14, 0x544f9e93a8b64bd
test dl, 8
je 0x18005de9d
movabs r9, 0x2b30978c53e707e6
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9fe74a9861af4c52
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 0x18005df1b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005de90
jmp 0x18005df1b
test bl, 4
je 0x18005df71
movabs r9, 0x76638a8c57ea03e6
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9fe76ae550af4416
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 0x18005df1b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005df10
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 0x18005e041
movabs r9, 0x71279c9d55f914e6
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9fe74ab81c9e4453
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 0x18005dfeb
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005dfe0
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 0x18005e111
movabs r9, 0x25198d885fe307e6
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 0x18005e0bb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e0b0
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 0x18005e1e1
movabs r9, 0x582a9c8d5ee20ce6
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9fe74ab83cc32016
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 0x18005e18b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e180
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 0x18005e2b1
movabs r9, 0x7c2897864cee00e6
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x50], r9
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x50]
movabs r10, 0x9fe74ab83cc3006b
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 0x18005e25b
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e250
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, 0x544f9e93a8b64b7
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 0x18005e31b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005e310
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.1800e1360
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