Function at 0x14001cdf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rax, [rsp + 0x50]
mov r10, rdx
mov qword [rsp + 0x40], rax
mov rbx, rcx
test r8, r8
je 0x14001d01c
movzx ecx, byte [r8]
lea rdx, str.0123456789ABCDEF
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x50], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 1]
mov byte [rsp + 0x51], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x52], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 2]
mov byte [rsp + 0x53], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x54], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 3]
mov byte [rsp + 0x55], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x56], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 4]
mov byte [rsp + 0x57], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x58], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 5]
mov byte [rsp + 0x59], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x5a], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 6]
mov byte [rsp + 0x5b], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x5c], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 7]
mov byte [rsp + 0x5d], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x5e], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 8]
mov byte [rsp + 0x5f], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x60], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 9]
mov byte [rsp + 0x61], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x62], al
movzx eax, byte [rcx + rdx]
mov byte [rsp + 0x63], al
movzx ecx, byte [r8 + 0xa]
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x64], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 0xb]
mov byte [rsp + 0x65], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x66], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 0xc]
mov byte [rsp + 0x67], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x68], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 0xd]
mov byte [rsp + 0x69], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x6a], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 0xe]
mov byte [rsp + 0x6b], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x6c], al
movzx eax, byte [rcx + rdx]
movzx ecx, byte [r8 + 0xf]
mov byte [rsp + 0x6d], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
movzx eax, byte [rax + rdx]
mov byte [rsp + 0x6e], al
movzx eax, byte [rcx + rdx]
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x6f], al
jmp 0x14001d07e
xor r8d, r8d
lea r9, str._____________ERROR______________
lea rcx, [rsp + 0x50]
mov eax, 0x134
sub r9, rcx
lea rdx, [rsp + 0x50]
nop dword [rax + rax]
lea rcx, [rax + 0x7ffffeca]
test rcx, rcx
je 0x14001d063
movzx ecx, byte [r9 + rdx]
test cl, cl
je 0x14001d063
mov byte [rdx], cl
inc r8
inc rdx
sub rax, 1
jne 0x14001d040
test rax, rax
lea rcx, [rdx - 1]
cmovne rcx, rdx
mov byte [rcx], 0
lea rcx, [r8 - 1]
cmovne rcx, r8
lea rcx, [rsp + rcx + 0x50]
mov qword [rsp + 0x30], r10
lea rax, str._s_r_n
mov word [rcx], 0x2a20
lea rdx, [rbp + 0x84]
add rcx, 2
mov qword [rsp + 0x28], rax
sub rdx, rcx
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
call fcn.140021250
mov r8d, dword [rsp + 0x40]
lea rax, [rsp + 0x50]
sub r8d, eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rcx, rbx
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140094850
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rbp
ret