Function at 0x1800d4b60
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 [0x180371940]
xor rax, rbp
mov qword [rbp + 0x7c0], rax
lea rcx, [rbp + 0x10]
call fcn.1800c83c0
movzx eax, al
test eax, eax
jne 0x1800d4bb4
xor al, al
jmp 0x1800d4e1f
mov rdx, qword [rbp + 0x7f0]
lea rcx, [rbp + 0x10]
call fcn.1800c28a0
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 0x1800d4c0d
xor al, al
jmp 0x1800d4e1f
xor ecx, ecx
call fcn.1800d5e70
mov qword [rbp + 0x258], rax
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x278]
call fcn.1800d5e30
lea r8, [rbp + 0x278]
lea rdx, str.__d__m__Y__T__asphyxia__convars_dump_n_n
lea rcx, [rbp + 0x2c0]
call fcn.1800d4a30
lea rcx, [rbp + 0x2c0]
call fcn.1800d5300
mov dword [rbp + 0x7b4], eax
lea rcx, [rbp + 0x2c0]
call fcn.1800d4b30
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 [0x1803787c0]
add rax, 0x40
mov rcx, rax
call fcn.1800d5040
movzx eax, ax
mov dword [rbp + 0x314], eax
jmp 0x1800d4ce0
mov rax, qword [0x1803787c0]
add rax, 0x40
mov qword [rbp + 0x7b8], rax
movzx edx, word [rbp + 0x314]
mov rcx, qword [rbp + 0x7b8]
call fcn.1800d5330
movzx eax, ax
mov dword [rbp + 0x314], eax
call fcn.1800d50c0
movzx eax, ax
cmp dword [rbp + 0x314], eax
je 0x1800d4e10
mov rax, qword [0x1803787c0]
add rax, 0x40
mov qword [rbp + 0x7b8], rax
movzx edx, word [rbp + 0x314]
mov rcx, qword [rbp + 0x7b8]
call fcn.1800d4e50
mov rax, qword [rax]
mov qword [rbp + 0x338], rax
cmp qword [rbp + 0x338], 0
je 0x1800d4e0b
mov rax, qword [rbp + 0x338]
mov edx, dword [rax + 0x28]
mov rcx, qword [rbp + 0x238]
call fcn.1800d5a60
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 0x1800d4d73
lea rax, str.no_description
mov qword [rbp + 0x7b8], rax
jmp 0x1800d4d85
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.1800d4990
lea rcx, [rbp + 0x360]
call fcn.1800d52d0
mov dword [rbp + 0x7b4], eax
lea rcx, [rbp + 0x360]
call fcn.1800d4b00
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.1800d58a0
jmp 0x1800d4cb2
mov rcx, qword [rbp + 0x238]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x180258890]
call fcn.180225a10
mov rax, rdi
mov rcx, qword [rbp + 0x7c0]
xor rcx, rbp
call fcn.180225d60
lea rsp, [rbp + 0x7d8]
pop rdi
pop rbp
ret