Function at 0x1800569b0
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 [0x18017c040]
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 0x180056a02
mov rbx, rax
add rax, 2
jmp 0x1800569f0
add rax, 2
test dx, dx
jne 0x1800569f0
test rbx, rbx
jne 0x180056a2a
mov rbx, rcx
cmp word [rcx], r14w
je 0x180056a2a
nop dword [rax]
add rbx, 2
cmp word [rbx], r14w
jne 0x180056a20
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 0x180056a40
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 0x180056aab
nop
movzx eax, word [rdi]
dec rbx
test ax, ax
je 0x180056a9f
add rdi, 2
mov word [rcx], ax
add rcx, 2
test rbx, rbx
jne 0x180056a90
mov word [rcx], r14w
movabs rax, 0xe9f8385816d5a5ab
mov qword [rsp + 0x30], rax
movabs rdi, 0x216ff70400bc85c6
mov rax, qword [rsp + 0x30]
movabs rsi, 0xe996383116b7a585
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 0x180056b2a
nop dword [rax]
add rcx, 2
cmp word [rcx], r14w
jne 0x180056b20
movq rax, xmm0
test ax, ax
je 0x180056b50
lea rdx, [rbp - 0x60]
sub rdx, rcx
nop dword [rax + rax]
mov word [rcx], ax
add rcx, 2
movzx eax, word [rdx + rcx]
test ax, ax
jne 0x180056b40
mov word [rcx], r14w
mov rdx, qword [0x18017d050]
cmp rdx, qword [0x18017d058]
je 0x180056b80
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov rcx, qword [0x18017d050]
add rcx, 8
mov qword [0x18017d050], rcx
jmp 0x180056b91
lea r8, [rsp + 0x38]
call fcn.180059040
mov rcx, qword [0x18017d050]
sub rcx, qword [0x18017d048]
sar rcx, 3
dec rcx
call fcn.180056fb0
test al, al
je 0x180056d62
mov dl, 1
call fcn.180076910
mov rbx, rax
lea rdx, [rbp - 0x80]
movabs rax, 0xc9f25d4577d2d7e6
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x531a906d66d2eaa5
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xd0b08ea17ba61186
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xbe9193b075877034
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, 0xb9d6aecf14cf65e7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xbe91939255bd1558
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 0x180056c9d
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056c92
mov rcx, qword [0x18017ced8]
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.180076a80
movabs rax, 0xe996383116b7a5a7
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 0x180056d3e
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056d33
mov rcx, qword [0x18017ced8]
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 0x180056f7b
mov dl, 2
call fcn.180076910
mov rbx, rax
lea rdx, [rbp - 0x50]
movabs rax, 0x9db65c547adec4e3
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x441b966172dfa5a9
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xccb1c7a97aa006c7
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xd8b1fdfd3cc9742a
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x40], rcx
movabs rcx, 0xe8f45940589d3f3a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x237e42dcdc74b40
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, 0xb9d6aecf14cf65e7
movdqa xmm2, xmmword [rbp]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0xbe91939255bd1558
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x237c60df7a22729
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 0x180056ebb
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056eb0
mov rcx, qword [0x18017ced8]
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.180076a80
movabs rax, 0xe996383116b7a5a7
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 0x180056f5c
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056f51
mov rcx, qword [0x18017ced8]
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.1800dbf50
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