Function at 0x180059f90
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 [0x18017a040]
xor rax, rsp
mov qword [rbp + 0x100], rax
xor r15d, r15d
mov ebx, edx
mov rdi, rcx
movabs rsi, 0xda952d7936bc53c0
movabs r14, 0x1d77a96c5f5279e7
test dl, 8
je 0x18005a0cf
movabs r9, 0x3303c709363e1abc
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x20]
mov rax, qword [rsp + 0x30]
movabs r10, 0xda952d596bd03fa4
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 0x18005a06b
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a060
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 0x18005a1ba
test bl, 4
je 0x18005a1cb
movabs r9, 0x6e50da0932331ebc
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x30]
mov rax, qword [rsp + 0x30]
movabs r10, 0xda950d245ad037e0
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 0x18005a15b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a150
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 0x18005a2ba
movabs r9, 0x6914cc18302009bc
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x40]
mov rax, qword [rsp + 0x30]
movabs r10, 0xda952d7916e137a5
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 0x18005a24d
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a242
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 0x18005a3a8
movabs r9, 0x3d2add0d3a3a1abc
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 0x18005a33b
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a330
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 0x18005a498
movabs r9, 0x4019cc083b3b11bc
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x60]
mov rax, qword [rsp + 0x30]
movabs r10, 0xda952d7936bc53e0
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 0x18005a42b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a420
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 0x18005a588
movabs r9, 0x641bc70329371dbc
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x30], r9
lea rcx, [rbp + 0x70]
mov rax, qword [rsp + 0x30]
movabs r10, 0xda952d7936bc739d
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 0x18005a51b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a510
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, 0x1d77a96c5f5279ed
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 0x18005a60b
nop
inc rcx
mov r8, rcx
cmp byte [rcx], r15b
jne 0x18005a600
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.1800da960
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