Function at 0x1800568e0
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 - 0x40]
sub rsp, 0x140
mov rax, qword [0x18017a040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r14d, r14d
mov rdi, rcx
mov ebx, r14d
mov rax, rcx
nop word [rax + rax]
movzx edx, word [rax]
cmp dx, 0x2e
jne 0x180056932
mov rbx, rax
add rax, 2
jmp 0x180056920
add rax, 2
test dx, dx
jne 0x180056920
test rbx, rbx
jne 0x18005695a
mov rbx, rcx
cmp word [rcx], r14w
je 0x18005695a
nop dword [rax]
add rbx, 2
cmp word [rbx], r14w
jne 0x180056950
sub rbx, rcx
lea r15, str..bin
sar rbx, 1
mov rsi, r15
nop word [rax + rax]
add rsi, 2
cmp word [rsi], r14w
jne 0x180056970
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r9, rax
sub rsi, r15
sar rsi, 1
mov eax, 2
lea rcx, [rsi + 1]
add rcx, rbx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
xor edx, edx
mov r8, rax
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x38], rax
mov rcx, rax
test rbx, rbx
je 0x1800569db
nop
movzx eax, word [rdi]
dec rbx
test ax, ax
je 0x1800569cf
add rdi, 2
mov word [rcx], ax
add rcx, 2
test rbx, rbx
jne 0x1800569c0
mov word [rcx], r14w
movabs rax, 0x1d19a9055f3079c9
mov qword [rsp + 0x30], rax
movabs rdi, 0xda952d7936bc53c0
mov rax, qword [rsp + 0x30]
movabs rsi, 0x1d77a96c5f5279e7
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
cmp word [rcx], r14w
je 0x180056a5a
nop dword [rax]
add rcx, 2
cmp word [rcx], r14w
jne 0x180056a50
movq rax, xmm0
test ax, ax
je 0x180056a80
lea rdx, [rbp - 0x60]
sub rdx, rcx
nop dword [rax + rax]
mov word [rcx], ax
add rcx, 2
movzx eax, word [rcx + rdx]
test ax, ax
jne 0x180056a70
mov word [rcx], r14w
mov rdx, qword [0x18017b050]
cmp rdx, qword [0x18017b058]
je 0x180056ab0
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov rcx, qword [0x18017b050]
add rcx, 8
mov qword [0x18017b050], rcx
jmp 0x180056ac1
lea r8, [rsp + 0x38]
call fcn.180058f80
mov rcx, qword [0x18017b050]
sub rcx, qword [0x18017b048]
sar rcx, 3
dec rcx
call fcn.180056ee0
test al, al
je 0x180056c92
mov dl, 1
call fcn.180075a40
mov rbx, rax
lea rdx, [rbp - 0x80]
movabs rax, 0x3d13cc183e370b84
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0xa8e04a1050d23ca3
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x6f64cb88f59c2038
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x84c0ea31cf6969ae
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x602ebe69af55459
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0x84c0ea13ef530cc2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm1, xmmword [rbp - 0x80]
xorps xmm1, xmmword [rbp - 0x20]
mov qword [rbp - 8], rax
movq rax, xmm1
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
test al, al
je 0x180056bcd
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056bc2
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.180075bb0
movabs rax, 0x1d77a96c5f5279c5
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movq rax, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test al, al
je 0x180056c6e
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056c63
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
jmp 0x180056eab
mov dl, 2
call fcn.180075a40
mov rbx, rax
lea rdx, [rbp - 0x50]
movabs rax, 0x6957cd09333b1881
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0xbfe14c1c44df73af
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x73658280f49a3779
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xe2e0847c86276db0
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x40], rcx
movabs rcx, 0x8a0ee29d662c2864
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x487bd29037b0b972
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0x602ebe69af55459
movdqa xmm2, xmmword [rbp]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x84c0ea13ef530cc2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x487bf0b00dd5d51b
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x50]
mov rax, qword [rsp + 0x30]
xorps xmm2, xmmword [rbp - 0x50]
xorps xmm0, xmmword [rbp - 0x40]
mov qword [rbp + 0x28], rax
movq rax, xmm2
movdqa xmm1, xmmword [rbp + 0x20]
xorps xmm1, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm1
movdqa xmmword [rbp - 0x50], xmm2
movdqa xmmword [rbp - 0x40], xmm0
test al, al
je 0x180056deb
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056de0
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.180075bb0
movabs rax, 0x1d77a96c5f5279c5
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x70]
movq rax, xmm0
movdqa xmmword [rsp + 0x70], xmm0
test al, al
je 0x180056e8c
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056e81
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800da960
lea r11, [rsp + 0x140]
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