Function at 0x1800d46c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x818
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x166
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x838]
mov rax, qword [0x180370940]
xor rax, rbp
mov qword [rbp + 0x7c0], rax
lea rcx, [rbp + 0x10]
call fcn.1800c78e0
movzx eax, al
test eax, eax
jne 0x1800d4714
xor al, al
jmp 0x1800d497f
mov rdx, qword [rbp + 0x7f0]
lea rcx, [rbp + 0x10]
call fcn.1800c1850
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x238], rax
cmp qword [rbp + 0x238], 0xffffffffffffffff
jne 0x1800d476d
xor al, al
jmp 0x1800d497f
xor ecx, ecx
call fcn.1800d59d0
mov qword [rbp + 0x258], rax
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x278]
call fcn.1800d5990
lea r8, [rbp + 0x278]
lea rdx, str.__d__m__Y__T__asphyxia__convars_dump_n_n
lea rcx, [rbp + 0x2c0]
call fcn.1800d4590
lea rcx, [rbp + 0x2c0]
call fcn.1800d4e60
mov dword [rbp + 0x7b4], eax
lea rcx, [rbp + 0x2c0]
call fcn.1800d4690
mov qword [rbp + 0x7b8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x7b4]
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [0x180377880]
add rax, 0x40
mov rcx, rax
call fcn.1800d4ba0
movzx eax, ax
mov dword [rbp + 0x314], eax
jmp 0x1800d4840
mov rax, qword [0x180377880]
add rax, 0x40
mov qword [rbp + 0x7b8], rax
movzx edx, word [rbp + 0x314]
mov rcx, qword [rbp + 0x7b8]
call fcn.1800d4e90
movzx eax, ax
mov dword [rbp + 0x314], eax
call fcn.1800d4c20
movzx eax, ax
cmp dword [rbp + 0x314], eax
je 0x1800d4970
mov rax, qword [0x180377880]
add rax, 0x40
mov qword [rbp + 0x7b8], rax
movzx edx, word [rbp + 0x314]
mov rcx, qword [rbp + 0x7b8]
call fcn.1800d49b0
mov rax, qword [rax]
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
je 0x1800d496b
mov rax, qword [rbp + 0x338]
mov edx, dword [rax + 0x28]
mov rcx, qword [rbp + 0x238]
call fcn.1800d55c0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x338]
mov rcx, qword [rcx + 0x20]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1800d48d3
lea rax, str.no_description
mov qword [rbp + 0x7b8], rax
jmp 0x1800d48e5
mov rax, qword [rbp + 0x338]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x7b8], rax
mov r9, qword [rbp + 0x7b8]
mov rax, qword [rbp + 0x338]
mov r8, qword [rax]
lea rdx, str._s_:___s_
lea rcx, [rbp + 0x360]
call fcn.1800d44f0
lea rcx, [rbp + 0x360]
call fcn.1800d4e30
mov dword [rbp + 0x7b4], eax
lea rcx, [rbp + 0x360]
call fcn.1800d4660
mov qword [rbp + 0x7b8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x7b4]
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbp + 0x338]
mov edx, dword [rax + 0x30]
mov rcx, qword [rbp + 0x238]
call fcn.1800d5400
jmp 0x1800d4812
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x180257b00]
call fcn.180224a80
mov rax, rdi
mov rcx, qword [rbp + 0x7c0]
xor rcx, rbp
call fcn.180224dd0
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret