Function at 0x1400082c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov rax, qword [0x140098180]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rdx
call fcn.140004de0
mov rdx, rdi
mov qword [rbp - 0x78], rax
mov r15, rax
call fcn.140003be0
mov rbx, rax
test rax, rax
jne 0x14000831b
mov rdx, rdi
lea rcx, str.Failed_to_open__s_for_reading_n
call fcn.140004b40
xor al, al
jmp 0x140009cb9
mov rcx, qword [rax]
lea r8, [rbp - 0x60]
mov qword [rsp + 0x280], rsi
xor edx, edx
mov qword [rsp + 0x298], r13
xor r13d, r13d
mov qword [rsp + 0x250], r14
mov dword [rbp - 0x60], r13d
lea r9d, [r13 + 2]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbx]
lea r9d, [r13 + 1]
lea r8, [rbp - 0x60]
mov dword [rbp - 0x60], r13d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbx]
lea r8, [rbp - 0x60]
xor r9d, r9d
mov esi, eax
xor edx, edx
mov dword [rbp - 0x60], r13d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r10, qword [r15]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x20], r13
mov rcx, r15
call qword [r10 + 8]
mov rcx, qword [rbx]
mov rdi, rax
test rax, rax
jne 0x1400083d4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140099fc0]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r13
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140009ca1
lea r9, [rbp - 0x60]
mov qword [rsp + 0x290], r12
mov r8d, esi
mov dword [rbp - 0x60], r13d
mov rdx, rdi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140099fc0]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r13
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov r9, r15
mov qword [rsp + 0x48], r13
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call fcn.14005dd30
mov rbx, qword [rsp + 0x48]
xor r9d, r9d
mov r10, qword [r15]
xor edx, edx
mov dword [rsp + 0x28], r13d
mov rcx, r15
mov rsi, rax
mov qword [rsp + 0x20], r13
lea r8, [rbx - 0x40]
call qword [r10 + 8]
mov qword [rbp - 0x80], rax
mov r12, rax
test rax, rax
jne 0x14000848e
mov rax, qword [r15]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], r13
mov rcx, r15
call qword [rax + 8]
xor al, al
jmp 0x140009c99
lea r8, [rbx - 0x40]
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140086ff0]
mov r9, rbx
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.14005ef30
mov r10, qword [r15]
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], r13
mov rcx, r15
mov ebx, eax
call qword [r10 + 8]
mov ecx, dword [rbp - 0x68]
lea eax, [rcx + rbx*4]
mov ecx, 0x10
mov dword [r12], eax
mov ebx, dword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp - 0x70], rax
mov r13, rax
test rax, rax
jne 0x140008521
mov rax, qword [r15]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r15
mov rdx, r12
call qword [rax + 8]
xor al, al
jmp 0x140009c99
xor esi, esi
lea rcx, [0x140099fd0]
mov dword [rax + 0xc], esi
xor edx, edx
mov r8d, 0xa8
mov qword [rax], r12
mov dword [rax + 8], ebx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x140099568]
lea r8, [rsp + 0x48]
mov eax, ecx
mov byte [rsp + 0x40], sil
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x3c], ecx
xor eax, 0x46522d54
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008593
cmp byte [rax], 0x10
jne 0x140008593
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
mov dword [0x140099fd0], ecx
mov rcx, qword [0x14008b520]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
mov ecx, 0x40
test rax, rax
je 0x1400085f8
cmp byte [rax], 2
jne 0x1400085f8
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx]
cmp eax, ecx
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [0x140099ff0]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x140099578]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000864a
cmp byte [rax], 0x11
jne 0x14000864a
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax]
mov qword [0x140099fd8], rbx
jmp 0x140008651
mov rbx, qword [0x140099fd8]
mov rcx, qword [0x1400995d0]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x1400086a3
cmp byte [rax], 0x11
jne 0x1400086a3
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov qword [0x140099fe0], rcx
jmp 0x1400086aa
mov rcx, qword [0x140099fe0]
cmp rcx, 0xffffffffffffffff
jne 0x1400086c4
movabs rax, 0x11ed178c6c000
add rax, rbx
mov qword [0x140099fe0], rax
mov rcx, qword [str.2H32]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008714
cmp byte [rax], 0x12
jne 0x140008714
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov qword [0x140099fe8], rcx
mov rcx, qword [0x14008b4e8]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x1400087f6
cmp byte [rax], 5
jne 0x1400087f6
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsi]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400087f4
lea rdx, [rsi + 5]
mov r8d, edi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
lea r11, [0x140099fd0]
mov r10d, esi
test edi, edi
je 0x1400087ea
lea r14d, [rsi + 0x57]
nop dword [rax + rax]
movzx r9d, byte [rbx]
lea r8d, [r10 + r10]
movzx eax, r9b
lea rbx, [rbx + 1]
shr al, 4
mov ecx, 0x30
cmp al, 0xa
mov edx, 0x30
cmovae ecx, r14d
and r9b, 0xf
add cl, al
lea eax, [r8 + 1]
cmp r9b, 0xa
mov byte [r8 + r11 + 0x60], cl
cmovae edx, r14d
inc r10d
add dl, r9b
mov byte [rax + r11 + 0x60], dl
cmp r10d, edi
jb 0x1400087a0
lea eax, [rdi + rdi]
mov byte [rax + r11 + 0x60], sil
jmp 0x1400087f6
xor esi, esi
mov rcx, qword [0x14008b518]
lea r8, [rsp + 0x48]
mov eax, ecx
mov qword [rsp + 0x48], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r13
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009c73
cmp byte [rax], 4
jne 0x140009c73
mov rbx, qword [rsp + 0x48]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
mov r12, rax
test rax, rax
jne 0x140008868
mov r12, rsi
mov qword [rsp + 0x60], rsi
jmp 0x140008871
mov dword [rax + 0xc], esi
mov qword [rax], rbx
mov dword [rax + 8], edi
test r12, r12
je 0x140009c6f
mov rdx, qword [rsp + 0x40]
lea r9, str.0123456789
mov r8, qword [rsp + 0x38]
mov eax, esi
movaps xmmword [rsp + 0x240], xmm6
mov rcx, rsi
movsd xmm6, qword [rsp + 0x40]
mov r10d, 0x20
movaps xmmword [rsp + 0x230], xmm7
mov r15d, 0x100
movsd xmm7, qword [rsp + 0x40]
movaps xmmword [rsp + 0x220], xmm8
movsd xmm8, qword [rsp + 0x40]
movaps xmmword [rsp + 0x210], xmm9
movsd xmm9, qword [rsp + 0x38]
movaps xmmword [rsp + 0x200], xmm10
movsd xmm10, qword [rsp + 0x40]
movaps xmmword [rsp + 0x1f0], xmm11
movsd xmm11, qword [rsp + 0x38]
movaps xmmword [rsp + 0x1e0], xmm12
movsd xmm12, qword [rsp + 0x38]
movaps xmmword [rsp + 0x1d0], xmm13
movsd xmm13, qword [rsp + 0x38]
movaps xmmword [rsp + 0x1c0], xmm14
xorps xmm14, xmm14
mov dword [rbp - 0x60], eax
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x68], r8
cmp eax, 0xa
jae 0x140008942
mov rdx, qword [r9 + rcx*8]
jmp 0x140008962
mov r9d, eax
lea r8, [0x14008b824]
mov rdx, r10
lea rcx, [0x14009a698]
call fcn.140004ba0
lea rdx, [0x14009a698]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
mov rcx, r12
call fcn.14005e920
test rax, rax
je 0x140009c0f
cmp byte [rax], 3
jne 0x140009c0f
mov rbx, qword [rsp + 0x30]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x140009c0f
mov dword [rax + 0xc], esi
lea r8, [rsp + 0x30]
mov rdx, qword [0x1400995e0]
mov ecx, edx
mov qword [rax], rbx
shr rdx, 0x20
xor ecx, 0x46522d54
xor edx, 0x68657461
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
mov rcx, rax
lea rdx, [rsp + 0x38]
mov dword [rax + 8], edi
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140008a01
cmp byte [rax], 0x10
jne 0x140008a01
mov rax, qword [rsp + 0x30]
mov ebx, dword [rax]
mov dword [rsp + 0x58], ebx
jmp 0x140008a05
mov ebx, dword [rsp + 0x58]
mov edx, ebx
call fcn.1400081c0
mov r13, rax
test ebx, ebx
jne 0x140008a84
mov rdx, qword [0x1400995b0]
lea r8, [rsp + 0x30]
mov ecx, edx
mov qword [rsp + 0x30], rsi
shr rdx, 0x20
xor ecx, 0x46522d54
xor edx, 0x68657461
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
mov rcx, r14
lea rdx, [rsp + 0x38]
call fcn.14005e920
test rax, rax
je 0x140008b3e
cmp byte [rax], 2
jne 0x140008b3e
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
mov eax, dword [rdx]
cmp eax, 0x40
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [r13 + 0x10]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140008b3e
cmp ebx, 1
jne 0x140008b3e
mov rcx, qword [0x1400995b0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008aec
cmp byte [rax], 2
jne 0x140008aec
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x50]
mov eax, dword [rdx]
cmp eax, r15d
cmova eax, r15d
add rdx, 4
mov r8d, eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x23
lea rcx, [rbp - 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
lea rcx, [r13 + 0x10]
mov rbx, rax
lea r9, [rbp - 0x50]
lea r8, [0x14008b8e4]
test rax, rax
je 0x140008b34
mov edi, 0x40
mov byte [rax], 0
mov edx, edi
call fcn.140003ba0
lea r9, [rbx + 1]
mov edx, edi
lea rcx, [r13 + 0x50]
lea r8, [0x14008b8e4]
jmp 0x140008b39
mov edx, 0x40
call fcn.140003ba0
mov rcx, qword [str.2H32]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008b8b
cmp byte [rax], 0x12
jne 0x140008b8b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [r13 + 8], rcx
mov rcx, qword [0x140099598]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008eae
cmp byte [rax], 3
jne 0x140008eae
mov rbx, qword [rsp + 0x30]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
jne 0x140008bf3
mov r12, rsi
jmp 0x140008bfc
mov dword [rax + 0xc], esi
mov qword [rax], rbx
mov dword [rax + 8], edi
mov r15, r14
test r12, r12
je 0x140008e3c
mov rcx, qword [0x1400995c8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r12
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008e33
cmp byte [rax], 4
jne 0x140008e33
mov rbx, qword [rsp + 0x30]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x140008c70
mov r15, rsi
jmp 0x140008c79
mov dword [rax + 0xc], esi
mov qword [rax], rbx
mov dword [rax + 8], edi
test r15, r15
je 0x140008e30
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x50]
mov rcx, r15
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008d51
cmp byte [rax], 4
jne 0x140008d51
mov rdi, qword [rsp + 0x50]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140008ccd
xor esi, esi
mov ebx, esi
jmp 0x140008cda
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
mov qword [rsp + 0x30], r14
test rbx, rbx
je 0x140008d56
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008d16
cmp byte [rax], 1
jne 0x140008d16
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [r13 + 0x90], rcx
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008d48
cmp byte [rax], 1
jne 0x140008d48
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov qword [r13 + 0x98], rdx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x30], r14
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x50]
mov rcx, r15
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008e20
cmp byte [rax], 4
jne 0x140008e20
mov rdi, qword [rsp + 0x50]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140008da1
xor esi, esi
mov ebx, esi
jmp 0x140008dae
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov qword [rax], rdi
mov dword [rax + 8], esi
xor esi, esi
test rbx, rbx
je 0x140008e20
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008de5
cmp byte [rax], 1
jne 0x140008de5
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [r13 + 0xa0], rcx
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x50], rsi
call fcn.14005e920
test rax, rax
je 0x140008e17
cmp byte [rax], 1
jne 0x140008e17
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov qword [r13 + 0xa8], rdx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rsp + 0x30]
jmp 0x140008e33
mov r15, r14
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x60]
mov rcx, qword [0x140099580]
lea r8, [rsp + 0x30]
mov eax, ecx
mov byte [rsp + 0x40], 0
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x3c], ecx
xor eax, 0x46522d54
mov rcx, r15
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000961b
cmp byte [rax], 3
jne 0x14000961b
mov rbx, qword [rsp + 0x30]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x140008eb3
mov r14, rsi
jmp 0x140008ebc
mov r15, r14
jmp 0x140008e41
mov dword [rax + 0xc], esi
mov qword [rax], rbx
mov dword [rax + 8], edi
test r14, r14
je 0x14000961b
mov rcx, qword [0x1400995e0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140008f14
cmp byte [rax], 0x10
jne 0x140008f14
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x100], ecx
mov rcx, qword [0x1400995e8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009018
cmp byte [rax], 4
jne 0x140009018
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140008f7d
xor esi, esi
mov ebx, esi
jmp 0x140008f8a
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x140009018
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140008fc0
cmp byte [rax], 1
jne 0x140008fc0
mov rax, qword [rsp + 0x30]
movsd xmm9, qword [rax]
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140008fed
cmp byte [rax], 1
jne 0x140008fed
mov rax, qword [rsp + 0x30]
movsd xmm8, qword [rax]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm9
mov rcx, rbx
cvtsd2ss xmm1, xmm8
movss dword [r13 + 0x104], xmm0
movss dword [r13 + 0x108], xmm1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14008b508]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000911e
cmp byte [rax], 4
jne 0x14000911e
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140009081
xor esi, esi
mov ebx, esi
jmp 0x14000908e
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x14000911e
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400090c4
cmp byte [rax], 1
jne 0x1400090c4
mov rax, qword [rsp + 0x30]
movsd xmm11, qword [rax]
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400090f1
cmp byte [rax], 1
jne 0x1400090f1
mov rax, qword [rsp + 0x30]
movsd xmm10, qword [rax]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm11
mov rcx, rbx
cvtsd2ss xmm1, xmm10
movss dword [r13 + 0x10c], xmm0
movss dword [r13 + 0x110], xmm1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000913a
mov eax, dword [r13 + 0x104]
mov dword [r13 + 0x10c], eax
mov eax, dword [r13 + 0x108]
mov dword [r13 + 0x110], eax
mov rcx, qword [0x14008b500]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009235
cmp byte [rax], 4
jne 0x140009235
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400091a3
xor esi, esi
mov ebx, esi
jmp 0x1400091b0
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x140009238
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400091e6
cmp byte [rax], 1
jne 0x1400091e6
mov rax, qword [rsp + 0x30]
movsd xmm12, qword [rax]
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140009212
cmp byte [rax], 1
jne 0x140009212
mov rax, qword [rsp + 0x30]
movsd xmm6, qword [rax]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm12
cvtsd2ss xmm1, xmm6
movss dword [r13 + 0x114], xmm0
movss dword [r13 + 0x118], xmm1
jmp 0x140009238
mov rbx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x14008b510]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000933c
cmp byte [rax], 4
jne 0x14000933c
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400092aa
xor esi, esi
mov ebx, esi
jmp 0x1400092b7
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x14000933f
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400092ed
cmp byte [rax], 1
jne 0x1400092ed
mov rax, qword [rsp + 0x30]
movsd xmm13, qword [rax]
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140009319
cmp byte [rax], 1
jne 0x140009319
mov rax, qword [rsp + 0x30]
movsd xmm7, qword [rax]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsd2ss xmm0, xmm13
cvtsd2ss xmm1, xmm7
movss dword [r13 + 0x11c], xmm0
movss dword [r13 + 0x120], xmm1
jmp 0x14000933f
mov rbx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400995d8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009427
cmp byte [rax], 4
jne 0x140009427
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400093b1
xor esi, esi
mov ebx, esi
jmp 0x1400093be
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x14000942a
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400093f4
cmp byte [rax], 0x10
jne 0x1400093f4
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x124], ecx
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x14000942a
cmp byte [rax], 0x10
jne 0x14000942a
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x128], ecx
jmp 0x14000942a
mov rbx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140099570]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000953e
cmp byte [rax], 4
jne 0x14000953e
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14000949c
xor esi, esi
mov ebx, esi
jmp 0x1400094a9
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x140009541
mov rdx, qword [str.0123456789]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x1400094e4
cmp byte [rax], 0x12
jne 0x1400094e4
mov rax, qword [rsp + 0x30]
mov rdi, qword [rax]
mov qword [rsp + 0x68], rdi
jmp 0x1400094e9
mov rdi, qword [rsp + 0x68]
mov rdx, qword [0x14008c398]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.14005e920
test rax, rax
je 0x140009529
cmp byte [rax], 0x12
jne 0x140009529
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov dword [r13 + 0x130], eax
mov dword [r13 + 0x12c], edi
jmp 0x140009541
mov rax, qword [rsp + 0x48]
mov dword [r13 + 0x130], eax
mov dword [r13 + 0x12c], edi
jmp 0x140009541
mov rbx, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140099588]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009594
cmp byte [rax], 0x10
jne 0x140009594
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
jmp 0x140009596
mov ecx, esi
mov rax, r13
mov edx, 0x134
mov dword [rdx + rax], ecx
mov eax, dword [r13 + 8]
bt rax, 0xb
jae 0x140009612
mov rcx, qword [0x1400995b0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r14
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009612
cmp byte [rax], 2
jne 0x140009612
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
mov eax, dword [rdx]
cmp eax, 0x40
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [r13 + 0x138]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400995a0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r15
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009881
cmp byte [rax], 3
jne 0x140009881
mov rbx, qword [rsp + 0x30]
mov ecx, 0x10
mov edi, dword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x140009684
xor edi, edi
mov esi, edi
jmp 0x140009691
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], edi
xor edi, edi
mov qword [rax], rbx
test rsi, rsi
je 0x14000987f
mov rcx, qword [0x1400995c0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rdi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, rsi
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009700
cmp byte [rax], 2
jne 0x140009700
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
mov eax, dword [rdx]
cmp eax, 0x40
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [r13 + 0xb0]
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, str.flags
mov rcx, rsi
call fcn.14005e920
test rax, rax
je 0x140009731
cmp byte [rax], 0x10
jne 0x140009731
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0xf0], ecx
test byte [r13 + 0xf0], 1
je 0x140009876
mov rcx, qword [0x140099590]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rdi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, rsi
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x1400097a1
cmp byte [rax], 3
jne 0x1400097a1
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov r14d, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14000984e
xor edi, edi
mov rbx, rdi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, str.size
mov rcx, rbx
movaps xmm0, xmm14
call fcn.14005e920
test rax, rax
je 0x1400097de
cmp byte [rax], 1
jne 0x1400097de
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
movsd xmm0, qword [rsp + 0x30]
cvtsd2ss xmm0, xmm0
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, str.units
mov rcx, rbx
movss dword [r13 + 0xf4], xmm0
call fcn.14005e920
test rax, rax
je 0x14000981c
cmp byte [rax], 0x10
jne 0x14000981c
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0xf8], ecx
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, str.serial
mov rcx, rbx
call fcn.14005e920
test rax, rax
je 0x140009861
cmp byte [rax], 0x12
jne 0x140009861
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x140009866
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov qword [rax], rdi
xor edi, edi
mov dword [rax + 8], r14d
jmp 0x1400097a4
mov rax, qword [rsp + 0x70]
mov rcx, rbx
mov dword [r13 + 0xfc], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor esi, esi
mov rcx, qword [0x140099560]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r15
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009ac4
cmp byte [rax], 3
jne 0x140009ac4
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400098ea
xor esi, esi
mov ebx, esi
jmp 0x1400098f7
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x140009ac4
mov rcx, qword [0x14008b4f8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000994f
cmp byte [rax], 0x10
jne 0x14000994f
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x178], ecx
mov rcx, qword [0x14008b4e0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x14000999e
cmp byte [rax], 0x10
jne 0x14000999e
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x17c], ecx
mov rcx, qword [str._L1_]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x1400099ed
cmp byte [rax], 0x10
jne 0x1400099ed
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov dword [r13 + 0x180], ecx
mov rcx, qword [0x1400995b8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov edi, 0x2010
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009a3a
cmp byte [rax], 0x10
jne 0x140009a3a
mov rax, qword [rsp + 0x30]
mov edi, dword [rax]
mov rcx, qword [0x1400995b0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov word [r13 + 0x184], di
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
mov dword [rsp + 0x3c], ecx
xor eax, 0x46522d54
mov rcx, rbx
movups xmmword [r13 + 0x186], xmm0
mov dword [rsp + 0x38], eax
movups xmmword [r13 + 0x196], xmm0
call fcn.14005e920
test rax, rax
je 0x140009abb
cmp byte [rax], 2
jne 0x140009abb
mov rdx, qword [rsp + 0x30]
mov ecx, 0x20
mov eax, dword [rdx]
cmp eax, 0x20
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [r13 + 0x186]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400995a8]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
shr rcx, 0x20
lea rdx, [rsp + 0x38]
xor ecx, 0x68657461
xor eax, 0x46522d54
mov dword [rsp + 0x3c], ecx
mov rcx, r15
mov dword [rsp + 0x38], eax
call fcn.14005e920
test rax, rax
je 0x140009bd5
cmp byte [rax], 3
jne 0x140009bd5
mov rdi, qword [rsp + 0x30]
mov ecx, 0x10
mov esi, dword [rdi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140009b2d
xor esi, esi
mov ebx, esi
jmp 0x140009b3a
xor ecx, ecx
mov dword [rax + 0xc], ecx
mov dword [rax + 8], esi
xor esi, esi
mov qword [rax], rdi
test rbx, rbx
je 0x140009bd5
mov rcx, qword [0x1400995b0]
lea r8, [rsp + 0x30]
mov eax, ecx
mov qword [rsp + 0x30], rsi
xorps xmm0, xmm0
shr rcx, 0x20
movups xmmword [r13 + 0x1a8], xmm0
xor ecx, 0x68657461
lea rdx, [rsp + 0x38]
movups xmmword [r13 + 0x1b8], xmm0
mov dword [rsp + 0x3c], ecx
xor eax, 0x46522d54
movups xmmword [r13 + 0x1c8], xmm0
mov rcx, rbx
mov dword [rsp + 0x38], eax
movups xmmword [r13 + 0x1d8], xmm0
call fcn.14005e920
test rax, rax
je 0x140009bcc
cmp byte [rax], 2
jne 0x140009bcc
mov rdx, qword [rsp + 0x30]
mov ecx, 0x40
mov eax, dword [rdx]
cmp eax, 0x40
cmova eax, ecx
add rdx, 4
mov r8d, eax
lea rcx, [r13 + 0x1a8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbp - 0x60]
lea r9, str.0123456789
mov rcx, qword [rsp + 0x78]
inc eax
inc rcx
mov dword [rbp - 0x60], eax
mov qword [rsp + 0x78], rcx
mov r10d, 0x20
mov r15d, 0x100
cmp eax, 0x10
jb 0x140008937
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rbp - 0x78]
mov r13, qword [rbp - 0x70]
movaps xmm14, xmmword [rsp + 0x1c0]
movaps xmm13, xmmword [rsp + 0x1d0]
movaps xmm12, xmmword [rsp + 0x1e0]
movaps xmm11, xmmword [rsp + 0x1f0]
movaps xmm10, xmmword [rsp + 0x200]
movaps xmm9, xmmword [rsp + 0x210]
movaps xmm8, xmmword [rsp + 0x220]
movaps xmm7, xmmword [rsp + 0x230]
movaps xmm6, xmmword [rsp + 0x240]
mov r12, qword [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [r15]
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, r12
mov qword [rsp + 0x20], rsi
mov rcx, r15
call qword [rax + 8]
mov al, 1
mov r12, qword [rsp + 0x290]
mov r13, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x280]
mov r14, qword [rsp + 0x250]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14007b230
add rsp, 0x258
pop r15
pop rdi
pop rbx
pop rbp
ret