Function at 0x1800568d0
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 [0x180179040]
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 0x180056922
mov rbx, rax
add rax, 2
jmp 0x180056910
add rax, 2
test dx, dx
jne 0x180056910
test rbx, rbx
jne 0x18005694a
mov rbx, rcx
cmp word [rcx], r14w
je 0x18005694a
nop dword [rax]
add rbx, 2
cmp word [rbx], r14w
jne 0x180056940
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 0x180056960
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 0x1800569cb
nop
movzx eax, word [rdi]
dec rbx
test ax, ax
je 0x1800569bf
add rdi, 2
mov word [rcx], ax
add rcx, 2
test rbx, rbx
jne 0x1800569b0
mov word [rcx], r14w
movabs rax, 0xdb1b274801a94553
mov qword [rsp + 0x30], rax
movabs rdi, 0x12cf7f50f696ddf2
mov rax, qword [rsp + 0x30]
movabs rsi, 0xdb75272101cb457d
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 0x180056a4a
nop dword [rax]
add rcx, 2
cmp word [rcx], r14w
jne 0x180056a40
movq rax, xmm0
test ax, ax
je 0x180056a70
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 0x180056a60
mov word [rcx], r14w
mov rdx, qword [0x18017a050]
cmp rdx, qword [0x18017a058]
je 0x180056aa0
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov rcx, qword [0x18017a050]
add rcx, 8
mov qword [0x18017a050], rcx
jmp 0x180056ab1
lea r8, [rsp + 0x38]
call fcn.180058f60
mov rcx, qword [0x18017a050]
sub rcx, qword [0x18017a048]
sar rcx, 3
dec rcx
call fcn.180056ed0
test al, al
je 0x180056c82
mov dl, 1
call fcn.1800755f0
mov rbx, rax
lea rdx, [rbp - 0x80]
movabs rax, 0xfb11425560ae371e
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x60ba183990f8b291
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xb4405db512d4a2de
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x115589886ad52168
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, 0xdd267ddb7dbdd6bf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0x115589aa4aef4404
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 0x180056bbd
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056bb2
mov rcx, qword [0x180179ed8]
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.180075760
movabs rax, 0xdb75272101cb455f
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 0x180056c5e
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056c53
mov rcx, qword [0x180179ed8]
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 0x180056e9b
mov dl, 2
call fcn.1800755f0
mov rbx, rax
lea rdx, [rbp - 0x50]
movabs rax, 0xaf5543446da2241b
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x77bb1e3584f5fd9d
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xa84114bd13d2b59f
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x7775e7c5239b2576
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x40], rcx
movabs rcx, 0x8783f164f67cb746
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x931b39c5908564e8
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, 0xdd267ddb7dbdd6bf
movdqa xmm2, xmmword [rbp]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x115589aa4aef4404
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x931b1be5aae00881
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 0x180056ddb
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056dd0
mov rcx, qword [0x180179ed8]
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.180075760
movabs rax, 0xdb75272101cb455f
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 0x180056e7c
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180056e71
mov rcx, qword [0x180179ed8]
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.1800da510
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