Function at 0x140002160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x150
movaps xmmword [rsp + 0x140], xmm6
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rdx
mov ebx, ecx
xor edi, edi
mov ecx, 8
call fcn.140004dd0
lea rcx, [0x140001530]
mov qword [rax], rcx
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140004d10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x140002b9b
cmp ebx, 2
jge 0x140002280
lea rdx, str.Usage:_drag_and_drop_a_file_onto_this_utility_to_convert_it_to_a_byte_array.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004210
mov rcx, rax
lea rdx, [0x1400043f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rsp + 0xc8], edi
je 0x140002274
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140002274
mov eax, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140004db0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rdx, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400022a6
lea rcx, [rsp + 0x110]
call fcn.140004540
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rbx, 0x989680
jne 0x1400022df
imul rbx, rcx, 0x64
jmp 0x140002359
cmp rbx, 0x16e3600
jne 0x14000233d
movabs r14, 0xb2f4fc0794908cf3
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x140002363
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
movabs r14, 0xb2f4fc0794908cf3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xd0]
call fcn.1400019b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 8
lea rdx, str.dump.cpp
lea rcx, [rsp + 0x30]
call fcn.140004540
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call fcn.140001d30
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000240b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002406
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r9, rax
cmp rsi, 0x989680
jne 0x14000242c
imul rax, r9, 0x64
jmp 0x14000249b
cmp rsi, 0x16e3600
jne 0x140002480
mov rax, r14
imul r9
add rdx, r9
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
imul r8, rdx, 0x3b9aca00
imul rcx, rdx, 0x16e3600
sub r9, rcx
imul rcx, r9, 0x3b9aca00
mov rax, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x14000249b
cqo
idiv rsi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
add rax, rcx
sub rax, rbx
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
divsd xmm6, qword [0x140007858]
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rdi
mov r8d, 0x1d
lea rdx, str.File_converted_successfully__n
lea rcx, [rsp + 0xf0]
call fcn.140004540
nop
mov r8d, 0x16
lea rdx, str.Output_file:_dump.cpp_n
lea rcx, [rsp + 0xf0]
call fcn.140003ce0
mov rdx, qword [rsp + 0xd8]
sub rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x70]
call fcn.140003ef0
nop
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
sub rax, r8
lea r14, str.Size:
cmp rax, 6
jb 0x1400025c9
lea rax, [r8 + 6]
mov qword [rsp + 0x80], rax
lea rsi, [rsp + 0x70]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x70]
lea rax, [0x1400076f6]
cmp rax, rsi
jbe 0x140002587
lea rax, [rsi + r8]
cmp r14, rax
ja 0x140002587
mov ebx, 6
cmp rsi, r14
ja 0x14000257f
mov r15, rdi
jmp 0x14000258f
mov r15, rsi
sub r15, r14
jmp 0x14000258f
mov ebx, 6
mov r15d, ebx
lea rcx, [rsi + 6]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r15]
sub rbx, r15
lea rdx, [r14 + 6]
add rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x70]
jmp 0x1400025e4
mov ebx, 6
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140004b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 7
lea rdx, str._bytes_n
lea rcx, [rsp + 0x30]
call fcn.140003ce0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x90]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rsp + 0xf0]
call fcn.140003ce0
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x1400026d0
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140002710
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000270b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000270b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x140002766
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002761
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002761
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
movaps xmm1, xmm6
movq rdx, xmm6
lea rcx, [0x140007594]
call fcn.140001080
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400038d0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
movq r9, xmm6
lea r8, [0x140007594]
call fcn.140001020
nop
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
lea r14, str.Conversion_time:
cmp rax, 0x11
jb 0x14000285e
lea rax, [r8 + 0x11]
mov qword [rsp + 0x60], rax
lea rsi, [rsp + 0x50]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x50]
lea rax, [0x140007719]
cmp rax, rsi
jbe 0x14000281c
lea rax, [rsi + r8]
cmp r14, rax
ja 0x14000281c
mov ebx, 0x11
cmp rsi, r14
ja 0x140002814
mov r15, rdi
jmp 0x140002824
mov r15, rsi
sub r15, r14
jmp 0x140002824
mov ebx, 0x11
mov r15d, ebx
lea rcx, [rsi + 0x11]
inc r8
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + r15]
sub rbx, r15
lea rdx, [r14 + 0x11]
add rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140002879
mov ebx, 0x11
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140004b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 8
lea rdx, str._seconds
lea rcx, [rsp + 0x30]
call fcn.140003ce0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x90]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rsp + 0xf0]
call fcn.140003ce0
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140002965
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000295f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000295f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400029a5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400029f8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0xf
cmova rdx, qword [rsp + 0xf0]
mov r9d, 0x40
lea r8, str.Conversion_Complete
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0xf
jbe 0x140002a6e
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], 0xf
mov byte [rsp + 0xf0], 0
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140002ad0
mov rdx, qword [rsp + 0xe0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002aca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
nop
jmp 0x140002ad4
cmp dword [rsp + 0xc8], 0
je 0x140002b8f
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140002b8f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov rdx, qword [rsp + 0x128]
cmp rdx, 0xf
jbe 0x140002b5b
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e0c
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0xf
mov byte [rsp + 0x110], 0
cmp dword [rsp + 0xc8], 0
je 0x140002b88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
jmp 0x140002246
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0xc8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3