Function at 0x140008e70
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140009257
push rbx
sub rsp, 0x250
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
lea r10, [rbx + 2]
mov ebx, 0x30
lea r9, [rsp + 0x40]
lea r11d, [rbx - 0x2c]
nop word [rax + rax]
movzx edx, byte [r10 - 2]
mov eax, 0x37
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9], al
cmp dl, 9
jbe 0x140008ee8
add dl, 0x37
jmp 0x140008eea
add dl, bl
mov byte [r9 + 1], dl
mov eax, 0x37
movzx edx, byte [r10 - 1]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 2], al
cmp dl, 9
jbe 0x140008f17
add dl, 0x37
jmp 0x140008f19
add dl, bl
mov byte [r9 + 3], dl
mov eax, 0x37
movzx edx, byte [r10]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 4], al
cmp dl, 9
jbe 0x140008f45
add dl, 0x37
jmp 0x140008f47
add dl, bl
mov byte [r9 + 5], dl
mov eax, 0x37
movzx edx, byte [r10 + 1]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 6], al
cmp dl, 9
jbe 0x140008f74
add dl, 0x37
jmp 0x140008f76
add dl, bl
mov byte [r9 + 7], dl
mov eax, 0x37
movzx edx, byte [r10 + 2]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 8], al
cmp dl, 9
jbe 0x140008fa3
add dl, 0x37
jmp 0x140008fa5
add dl, bl
mov byte [r9 + 9], dl
mov eax, 0x37
movzx edx, byte [r10 + 3]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0xa], al
cmp dl, 9
jbe 0x140008fd2
add dl, 0x37
jmp 0x140008fd4
add dl, bl
mov byte [r9 + 0xb], dl
mov eax, 0x37
movzx edx, byte [r10 + 4]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0xc], al
cmp dl, 9
jbe 0x140009001
add dl, 0x37
jmp 0x140009003
add dl, bl
mov byte [r9 + 0xd], dl
mov eax, 0x37
movzx edx, byte [r10 + 5]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0xe], al
cmp dl, 9
jbe 0x140009030
add dl, 0x37
jmp 0x140009032
add dl, bl
mov byte [r9 + 0xf], dl
mov eax, 0x37
movzx edx, byte [r10 + 6]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x10], al
cmp dl, 9
jbe 0x14000905f
add dl, 0x37
jmp 0x140009061
add dl, bl
mov byte [r9 + 0x11], dl
mov eax, 0x37
movzx edx, byte [r10 + 7]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x12], al
cmp dl, 9
jbe 0x14000908e
add dl, 0x37
jmp 0x140009090
add dl, bl
mov byte [r9 + 0x13], dl
mov eax, 0x37
movzx edx, byte [r10 + 8]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x14], al
cmp dl, 9
jbe 0x1400090bd
add dl, 0x37
jmp 0x1400090bf
add dl, bl
mov byte [r9 + 0x15], dl
mov eax, 0x37
movzx edx, byte [r10 + 9]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x16], al
cmp dl, 9
jbe 0x1400090ec
add dl, 0x37
jmp 0x1400090ee
add dl, bl
mov byte [r9 + 0x17], dl
mov eax, 0x37
movzx edx, byte [r10 + 0xa]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x18], al
cmp dl, 9
jbe 0x14000911b
add dl, 0x37
jmp 0x14000911d
add dl, bl
mov byte [r9 + 0x19], dl
mov eax, 0x37
movzx edx, byte [r10 + 0xb]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x1a], al
cmp dl, 9
jbe 0x14000914a
add dl, 0x37
jmp 0x14000914c
add dl, bl
mov byte [r9 + 0x1b], dl
mov eax, 0x37
movzx edx, byte [r10 + 0xc]
movzx ecx, dl
and dl, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x1c], al
cmp dl, 9
jbe 0x140009179
add dl, 0x37
jmp 0x14000917b
add dl, bl
mov byte [r9 + 0x1d], dl
mov eax, 0x37
movzx r8d, byte [r10 + 0xd]
movzx ecx, r8b
and r8b, 0xf
shr cl, 4
cmp cl, 9
cmovbe eax, ebx
add al, cl
mov byte [r9 + 0x1e], al
cmp r8b, 9
mov eax, 0x37
cmovbe eax, ebx
add r10, 0x10
add al, r8b
mov byte [r9 + 0x1f], al
add r9, 0x20
sub r11, 1
jne 0x140008ec0
lea r9, [rsp + 0x40]
mov edx, 0x100
lea r8, str.DumpDataAsHex:__data_is__s__n
lea rcx, [rsp + 0x140]
call fcn.140008bb0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edx, edx
mov dword [rsp + 0x30], edx
cmp rax, 0xffffffffffffffff
je 0x14000923f
lea rcx, [rsp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], dl
jne 0x140009211
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x140]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000923f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x250
pop rbx
ret