Function at 0x140170090
Capabilities:
Authenticate hmac
Create new key via cryptacquirecontext
Generate random numbers via winapi
Write file on windows

Disassembly:
xchg r15, rbx
mov qword [rsp + 0x10], r15
xchg r15, rbx
nop
sub rsp, 8
mov qword [rsp], rbp
nop
mov qword [rsp - 8], rsi
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 8
mov qword [rsp], r12
nop
mov qword [rsp - 8], r13
sub rsp, 8
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movzx r12d, dl
mov rdi, rcx
xor r14d, r14d
mov dword [rbp + 0x2a0], r14d
xchg rcx, rdi
mov qword [rbp + 0x2b8], rdi
xchg rcx, rdi
sub rcx, 0x183d842c
add rcx, 0x183d8a04
call fcn.14007b590
mov rdx, rax
mov dword [rsp + 0x20], 0x48d7f552
xor dword [rsp + 0x20], 0x54cc8a8b
add dword [rsp + 0x20], 0x388cb514
xor dword [rsp + 0x20], 0x4cdb653d
sub dword [rsp + 0x20], 0x3babeb6
xor dword [rsp + 0x20], 0x22512a93
sub dword [rsp + 0x20], 0x30ec8196
xor dword [rsp + 0x20], 0x786ae07f
xor dword [rsp + 0x20], 0x7d97d78d
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x21]
lea rcx, [rbp + 0x150]
call fcn.1400874d0
nop
cmp qword [rbp + 0x1e0], r14
je 0x140171cf3
xorps xmm0, xmm0
xchg r13, rbp
movups xmmword [r13 - 0x20], xmm0
xchg r13, rbp
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0x382c343a
add qword [rbp - 8], 0x11c23dd4
xor qword [rbp - 8], 0x648542b7
add qword [rbp - 8], 0x369081c5
sub qword [rbp - 8], 0x3f12ee05
add qword [rbp - 8], 0x341ebaf0
add qword [rbp - 8], 0xa8c9db8
xor qword [rbp - 8], 0x63941d26
mov word [rbp - 0x20], r14w
xchg rcx, rbp
movups xmmword [rcx - 0x40], xmm0
xchg rcx, rbp
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0x196a1e9a
add qword [rbp - 0x28], 0xf32c6e1
add qword [rbp - 0x28], 0x52317ba9
sub qword [rbp - 0x28], 0x4b41d6d9
xor qword [rbp - 0x28], 0x66741225
add qword [rbp - 0x28], 0x11e4e34c
sub qword [rbp - 0x28], 0x59c6781
sub qword [rbp - 0x28], 0x49838e39
sub qword [rbp - 0x28], 0xcbd85f9
mov word [rbp - 0x40], r14w
movups xmmword [rsp + 0x50], xmm0
xchg rdi, r14
mov qword [rsp + 0x60], rdi
xchg rdi, r14
mov qword [rsp + 0x68], 0x61d75dfc
xor qword [rsp + 0x68], 0x1b61da23
sub qword [rsp + 0x68], 0x4ca992b2
xor qword [rsp + 0x68], 0x639135e7
add qword [rsp + 0x68], 0x11ea5ab2
xor qword [rsp + 0x68], 0x295987fd
xor qword [rsp + 0x68], 0x377c1e07
xor qword [rsp + 0x68], 0x6204286b
xor qword [rsp + 0x68], 0x23a9aaea
mov word [rsp + 0x50], r14w
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0x468a3227
xor qword [rbp - 0x78], 0x9f8d95f
sub qword [rbp - 0x78], 0x178ba272
sub qword [rbp - 0x78], 0x11052bba
add qword [rbp - 0x78], 0x3c04cf8c
sub qword [rbp - 0x78], 0x1c374e6d
xor qword [rbp - 0x78], 0x46af9e6c
mov word [rsp + 0x70], r14w
xchg rcx, rax
mov rcx, qword [rbp + 0x150]
xchg rcx, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x4d
xor dl, 0x59
xor dl, 8
xor dl, 0x51
sub dl, 0x2f
add dl, 0x4a
sub dl, 0x5e
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x150]
call fcn.140085b50
xchg r11, rax
mov r11, qword [rbp + 0x150]
xchg r11, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x39
add dl, 0x19
sub dl, 6
sub dl, 0x27
xor dl, 0xe
sub dl, 0x15
xor dl, 0x30
xor dl, 0x30
sub dl, 0xc
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x150]
call fcn.140085b50
xchg r8, rax
mov r8, qword [rbp + 0x150]
xchg r8, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x62
sub dl, 0x1f
add dl, 0x37
sub dl, 0x4d
add dl, 0x14
sub dl, 0xa
sub dl, 0x19
sub dl, 0x14
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x150]
call fcn.140085b50
xchg r14, rax
mov r14, qword [rbp + 0x150]
xchg r14, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x25
add dl, 0x48
add dl, 0x10
xor dl, 0x45
xor dl, 0x13
sub dl, 1
add dl, 0x3a
sub dl, 0x5a
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
movzx r8d, ax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x150]
call fcn.140085b50
lea rcx, [rbp + 0x160]
call fcn.140175ff0
test rax, rax
jne 0x14017043c
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
xor r8d, r8d
lea edx, [r14 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
mov qword [rbp + 0x2b0], r14
mov r15d, 0x6eff3a98
xor r15d, 0x3f9c2e52
sub r15d, 0x3d757863
add r15d, 0x57b84905
sub r15d, 0x31bcaec1
xor r15d, 0x6fdd48a9
sub r15d, 0x56347df8
cmp qword [rsp + 0x60], 0
je 0x140170534
test r12b, r12b
jne 0x140170534
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xchg rsi, rax
mov rax, rsi
xchg rsi, rax
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rbx, qword [rsp + 0x50]
mov dword [rax], r14d
mov r8d, r15d
lea rdx, [rbp + 0x2a0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
cmp rbx, qword [rbp + 0x2a0]
je 0x140171d00
cmp dword [rsi], 0x22
je 0x140171d0d
mov qword [rbp + 0x2b0], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xchg r10, rax
mov rsi, r10
xchg r10, rax
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
mov dword [rax], r14d
mov r8d, r15d
lea rdx, [rbp + 0x2a0]
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
xchg r15, rax
mov rax, r15
xchg r15, rax
cmp rbx, qword [rbp + 0x2a0]
je 0x140171d1a
cmp dword [rsi], 0x22
je 0x140171ce6
jmp 0x140170969
mov r12b, reloc.SHLWAPI.dll_SHCreateMemStream
xor r12b, 0x71
sub r12b, 0x39
add r12b, 0x2e
sub r12b, 0x17
sub r12b, 0x3b
add r12b, 0x28
sub r12b, 0x29
sub r12b, 0x1e
mov dword [rsp + 0x20], 0x314ddd81
add dword [rsp + 0x20], 0xab1a9f3
add dword [rsp + 0x20], 0x35e7320e
sub dword [rsp + 0x20], 0x4de04e9d
xor dword [rsp + 0x20], 0x74a35ba2
xor dword [rsp + 0x20], 0xa0a53147
mov r9d, 0x777a4af0
xor r9d, 0x401261cd
add r9d, 0x32b50b28
xor r9d, 0x16ba7536
sub r9d, 0x446d30f
sub r9d, 0x332bdf77
sub r9d, 0x453490cc
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140171d27
lea r8, [rbp + 0x2b0]
mov edx, 0x2f0b9422
add edx, 0x1b710ddd
sub edx, 0x14bcc727
xor edx, 0x248378e1
xor edx, 0x5576ea27
sub edx, 0x1e56cbff
sub edx, 0x25f37c17
xchg r9, rcx
mov r9, qword [rbp + 0x2a0]
xchg rcx, r9
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
xchg r10, rcx
mov r10, qword [rbp + 0x2a0]
xchg r10, rcx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp - 0x60]
call fcn.140179030
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140170771
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1401706b3
lea rdx, [rdx*2 + 2]
xchg r11, rcx
mov r11, qword [rsp + 0x50]
xchg r11, rcx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x1401706ae
nop
sub rdx, 0x79a52581
add rdx, 0x79a525a8
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
ja 0x1401707c9
call fcn.1401fcb88
xchg r14, rbx
mov qword [rsp + 0x60], rbx
xchg r14, rbx
mov qword [rsp + 0x68], 0x4027197a
sub qword [rsp + 0x68], 0x2f3cb14b
xor qword [rsp + 0x68], 0x7f82effc
sub qword [rsp + 0x68], 0x211647cd
sub qword [rsp + 0x68], 0x4c5bec46
add qword [rsp + 0x68], 0x285de6b7
sub qword [rsp + 0x68], 0x2a543a70
mov word [rsp + 0x50], r14w
xchg rbx, r11
movups xmm0, xmmword [r11]
xchg rbx, r11
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x60], xmm1
xchg r9, r14
mov qword [rbx + 0x10], r9
xchg r14, r9
mov qword [rbx + 0x18], 0xd892a41
add qword [rbx + 0x18], 0xf1e9a45
xor qword [rbx + 0x18], 0x156981c1
xor qword [rbx + 0x18], 0xf168680
xor qword [rbx + 0x18], 0x4862ea22
sub qword [rbx + 0x18], 0x2685e1f6
add qword [rbx + 0x18], 0x451b38a1
xor qword [rbx + 0x18], 0x53628ff5
xor qword [rbx + 0x18], 0x3e2d0f62
mov word [rbx], r14w
xchg r13, rdx
mov r13, qword [rbp - 0x48]
xchg rdx, r13
cmp rdx, 8
jb 0x1401707d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
xchg rcx, rdx
mov rax, rdx
xchg rcx, rdx
cmp rdx, 0x1000
jb 0x1401707d0
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xfffffffff2b8e411
sub rax, 0xfffffffff2b8e419
cmp rax, 0x1f
jbe 0x1401707d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xchg r15, rax
mov rax, r15
xchg r15, rax
xchg rdx, r11
mov r11, rax
xchg r11, rdx
lea rcx, [rbp - 0x60]
call fcn.140179030
xchg r10, rax
mov rbx, r10
xchg r10, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x14017090e
xchg rdx, r9
mov r9, qword [rbp - 0x78]
xchg r9, rdx
cmp rdx, 8
jb 0x140170860
lea rdx, [rdx*2 + 2]
xchg r9, rcx
mov r9, qword [rsp + 0x70]
xchg r9, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017085b
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14017095d
call fcn.1401fcb88
xchg r14, r8
mov qword [rbp - 0x80], r8
xchg r8, r14
mov qword [rbp - 0x78], 0x3702fa84
add qword [rbp - 0x78], 0x2d54f1a9
add qword [rbp - 0x78], 0xbee8ebb
add qword [rbp - 0x78], 0xfe5227
sub qword [rbp - 0x78], 0x44fa203d
xor qword [rbp - 0x78], 0x4e7dafb6
sub qword [rbp - 0x78], 0x441070b2
add qword [rbp - 0x78], 0x34191e03
sub qword [rbp - 0x78], 0x523fb0ae
mov word [rsp + 0x70], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
xchg rsi, rbp
movups xmmword [rsi - 0x80], xmm1
xchg rbp, rsi
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0x6d9a1b50
add qword [rbx + 0x18], 0x2cbdb20
sub qword [rbx + 0x18], 0x14b18e9e
sub qword [rbx + 0x18], 0x165a1944
add qword [rbx + 0x18], 0x71268fb
add qword [rbx + 0x18], 0x61bcb41
xor qword [rbx + 0x18], 0x528882cd
mov word [rbx], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140170969
lea rdx, [rdx*2 + 2]
xchg rcx, r11
mov r11, qword [rbp - 0x60]
xchg rcx, r11
xchg rcx, rdx
mov rax, rdx
xchg rcx, rdx
cmp rdx, 0x1000
jb 0x140170964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140170964
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
mov ecx, dword [rdi + 0x48]
xchg rdi, rcx
mov qword [rbp + 0x2a0], rcx
xchg rdi, rcx
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
test ecx, ecx
je 0x140170b35
sub ecx, 1
je 0x140170a59
cmp ecx, 1
jne 0x140170b35
mov rax, qword [rdi + 0x30]
movabs rbx, 0x2aaaaaaa41bd99e6
add rbx, 0x1134ce67
xor rbx, 0x2daefcc8
xor rbx, 0x21c50a30
xor rbx, 0x6767917a
add rbx, 0x70ac9adc
cmp rax, qword [rdi + 0x38]
jne 0x140170a50
mov rcx, qword [rdi + 0x40]
sub rcx, rax
xchg rsi, rax
mov rsi, rbx
xchg rsi, rax
imul rcx
sar rdx, 2
xchg rcx, rax
mov rcx, rdx
xchg rcx, rax
shr rax, 7
shr rax, 0x2c
shr rax, 6
shr rax, 1
shr rax, 3
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170a44
mov edx, 0x371091d1
add edx, 0x2b73de60
sub edx, 0x10100605
xor edx, 0x7ad068a4
add edx, 0x2c64cc32
sub edx, 0x5508ce66
lea rcx, [rdi + 0x30]
call fcn.140174c40
lea rcx, [rbp + 0x2a0]
call fcn.14009c720
mov rdx, qword [rdi + 0x30]
jmp 0x140170bf6
xchg rdx, rax
mov rdx, qword [rdi + 0x18]
xchg rdx, rax
movabs rbx, 0x2aaaaaaa7e082ead
sub rbx, 0x7b02c247
xor rbx, 0x5ec1dc34
sub rbx, 0x2134785
sub rbx, 0x536e5cc
xor rbx, 0x526a2279
add rbx, 0x7fffffff
add rbx, 0x269a0934
cmp rax, qword [rdi + 0x20]
jne 0x140170b26
mov rcx, qword [rdi + 0x28]
sub rcx, rax
xchg rcx, rax
mov rcx, rbx
xchg rcx, rax
imul rcx
sar rdx, 1
sar rdx, 1
xchg r10, rax
mov r10, rdx
xchg r10, rax
shr rax, 0xd
shr rax, 0x1a
shr rax, 0xc
shr rax, 5
shr rax, 1
shr rax, 1
shr rax, 3
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170b1d
mov edx, 0x6524817c
xor edx, 0xa0d58df
sub edx, 0x562e8043
sub edx, 0x8d2425a
add edx, 0x4a5506e6
xor edx, 0x5a7e1db8
lea rcx, [rdi + 0x18]
call fcn.140174c40
lea rcx, [rbp - 0x68]
call fcn.140136430
xchg r10, rdx
mov r10, qword [rdi + 0x18]
xchg r10, rdx
jmp 0x140170bf6
xchg rcx, rax
mov rcx, qword [rdi]
xchg rcx, rax
movabs rbx, 0x2aaaaaaa575f558d
add rbx, 0x167e4d52
xor rbx, 0x10ea4931
xor rbx, 0x25532eb5
xor rbx, 0x75aa9310
add rbx, 0x7fffffff
sub rbx, 0x323ab9f
cmp rax, qword [rdi + 8]
jne 0x140170bf3
mov rcx, qword [rdi + 0x10]
sub rcx, rax
xchg r14, rbx
mov rax, r14
xchg rbx, r14
imul rcx
sar rdx, 1
sar rdx, 1
xchg r14, rax
mov r14, rdx
xchg r14, rax
shr rax, 1
shr rax, 0x2e
shr rax, 0xc
shr rax, 3
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170bea
mov edx, 0xcb0283f
add edx, 0x42c2463
add edx, 0x382649b4
add edx, 0x21763198
xor edx, 0xcad1dc8
xor edx, 0x66d5da72
xchg rdi, r11
mov rcx, r11
xchg r11, rdi
call fcn.140174c40
lea rcx, [rbp - 0x70]
call fcn.1400f2cd0
mov rdx, qword [rdi]
sub rdx, 0x1c1d259b
add rdx, 0x1c1d2ceb
lea rcx, [rbp + 0x110]
call fcn.14007a950
mov r14d, 0x26af0e16
xor r14d, 0x4ea6e718
xor r14d, 0x61ce804a
add r14d, 0x6dbd829c
sub r14d, 0x3d95701d
xor r14d, 0x7385d5da
xor r14d, 0x6bc5dc53
sub r14d, 0x21af7249
lea rcx, [rbp + 0x110]
call fcn.14007b1a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
xchg r8, rcx
mov qword [rsp + 0x48], r8
xchg r8, rcx
nop
movabs r8, 0xffffffff7c88845d
sub r8, 0x34030493
sub r8, 0x26503146
xor r8, 0x5c4651f6
xor r8, 0x2fe2b952
xor r8, 0x5c064e97
xor r8, 0x1deca885
add r8, 0x7fffffff
add r8, 0x6f84bfce
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x140170cb3
xchg rdx, r9
mov r9, rax
xchg r9, rdx
lea rcx, [rsp + 0x30]
call fcn.140030b50
nop
lea rcx, [rbp + 0x110]
call fcn.14007ae50
test r15, r15
jne 0x140170ffb
mov ecx, dword [rdi + 0x48]
mov qword [rbp + 0x2a0], rdi
xchg r12, rdi
mov qword [rbp - 0x68], r12
xchg r12, rdi
mov qword [rbp - 0x70], rdi
test ecx, ecx
je 0x140170e34
sub ecx, 1
je 0x140170d9c
cmp ecx, 1
jne 0x140170e34
xchg rsi, rax
mov rsi, qword [rdi + 0x30]
xchg rsi, rax
cmp rax, qword [rdi + 0x38]
jne 0x140170d8d
xchg r13, rcx
mov r13, qword [rdi + 0x40]
xchg r13, rcx
sub rcx, rax
xchg rcx, rbx
mov rax, rcx
xchg rbx, rcx
imul rcx
sar rdx, 2
xchg rdx, r12
mov rax, r12
xchg rdx, r12
shr rax, 0x12
shr rax, 0x21
shr rax, 9
shr rax, 2
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170d81
lea edx, [r15 + 0x54]
lea rcx, [rdi + 0x30]
call fcn.140174c40
lea rcx, [rbp + 0x2a0]
call fcn.14009c720
xchg rdx, rbp
mov rbp, qword [rdi + 0x30]
xchg rbp, rdx
jmp 0x140170eca
xchg r11, rax
mov r11, qword [rdi + 0x18]
xchg r11, rax
cmp rax, qword [rdi + 0x20]
jne 0x140170e25
mov rcx, qword [rdi + 0x28]
sub rcx, rax
xchg r10, rax
mov r10, rbx
xchg r10, rax
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x2d
shr rax, 0xf
shr rax, 1
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170e1c
mov edx, 0x7eb37f45
sub edx, 0x195bded9
sub edx, 0x27250cfd
xor edx, 0x4dff5401
xor edx, 0x605f6ae0
add edx, 0x23219b41
add edx, 0x44fb7476
sub edx, 0x7bafbcf1
lea rcx, [rdi + 0x18]
call fcn.140174c40
lea rcx, [rbp - 0x70]
call fcn.140136430
xchg rdx, rcx
mov rcx, qword [rdi + 0x18]
xchg rcx, rdx
jmp 0x140170eca
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
jne 0x140170ec1
xchg rsi, rcx
mov rsi, qword [rdi + 0x10]
xchg rcx, rsi
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 2
xchg rdx, r11
mov rax, r11
xchg r11, rdx
shr rax, 0x2c
shr rax, 0xc
shr rax, 4
shr rax, 2
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170eb8
mov edx, 0x6c56e0a4
sub edx, 0x42e0283e
xor edx, 0x4781e2bb
sub edx, 0x20479a7f
add edx, 0xedc56be
xor edx, 0x347b2c6b
sub edx, 0x27c6246e
xor edx, 0x4231175d
mov rcx, rdi
call fcn.140174c40
lea rcx, [rbp - 0x68]
call fcn.1400f2cd0
xchg r14, rdx
mov r14, qword [rdi]
xchg r14, rdx
sub rdx, 0xfffffffffffffa90
lea rcx, [rbp - 0x60]
call fcn.14007a950
mov r14d, 0x429bda83
xor r14d, 0x5a81dc4f
xor r14d, 0x7f4392df
sub r14d, 0x1e098d6
add r14d, 0xebea1f4
sub r14d, 0x74379d2e
lea rcx, [rbp - 0x60]
call fcn.14007b1a0
mov r9, rax
nop
movabs rsi, 0xffffffff02c509a1
add rsi, 0x401239ed
xor rsi, 0x6072a2ba
add rsi, 0x5c6879db
sub rsi, 0x69bfe81a
xor rsi, 0x556b0944
add rsi, 0x2870d71c
add rsi, 0x7fffffff
xor rsi, 0x1769ad33
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140170f52
mov r15, qword [rsp + 0x40]
xchg rdi, rcx
mov rdi, qword [rsp + 0x48]
xchg rcx, rdi
xchg r15, rcx
mov rax, r15
xchg r15, rcx
sub rax, r15
cmp rsi, rax
ja 0x140170fc6
lea rax, [r15 + rsi]
xchg rdi, rax
mov qword [rsp + 0x40], rdi
xchg rdi, rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
xchg r12, r9
mov rdx, r12
xchg r9, r12
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x140170fed
xchg rsi, rbx
mov qword [rsp + 0x20], rbx
xchg rsi, rbx
movzx r8d, byte [rbp + 0x2a0]
xchg rsi, rdx
mov rsi, rdx
xchg rsi, rdx
lea rcx, [rsp + 0x30]
call fcn.140034e50
nop
lea rcx, [rbp - 0x60]
call fcn.14007ae50
jmp 0x14017112e
mov r8b, 0xd
add r8b, 0x5a
add r8b, 0xf
sub r8b, 0x51
xor r8b, 0x4a
xor r8b, 0x6e
xchg rdx, r12
mov r12, r15
xchg rdx, r12
lea rcx, [rbp - 0x60]
call fcn.1401f4de0
xchg r9, rax
mov rax, r9
xchg r9, rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14017103d
mov r9, qword [rax]
xchg r15, r10
mov r10, qword [rsp + 0x40]
xchg r10, r15
mov rcx, qword [rsp + 0x48]
xchg rdx, rax
mov rdx, rcx
xchg rdx, rax
sub rax, r15
cmp rsi, rax
ja 0x14017109b
lea rax, [r15 + rsi]
xchg r10, rax
mov qword [rsp + 0x40], r10
xchg r10, rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x1401710c2
xchg rsi, rdi
mov qword [rsp + 0x20], rdi
xchg rsi, rdi
movzx r8d, byte [rbp + 0x2a0]
xchg rdx, rsi
mov rsi, rdx
xchg rsi, rdx
lea rcx, [rsp + 0x30]
call fcn.140034e50
nop
xchg r9, rdx
mov r9, qword [rbp - 0x48]
xchg r9, rdx
cmp rdx, 8
jb 0x14017112e
lea rdx, [rdx*2 + 2]
xchg rcx, r11
mov r11, qword [rbp - 0x60]
xchg rcx, r11
xchg r8, rcx
mov rax, r8
xchg rcx, r8
cmp rdx, 0x1000
jb 0x140171129
nop
add rdx, 0x29ffc1c
sub rdx, 0x29ffbf5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171129
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
mov r15, qword [rdi + 0x2d0]
xchg rcx, rbp
mov rbp, qword [rsp + 0x40]
xchg rcx, rbp
inc rcx
mov eax, 0x42fe612d
add eax, 0x7c037f4
sub eax, 0x28057eae
add eax, 0xf89a265
add eax, 0x12d1d490
xor eax, 0x4514916a
mul rcx
xchg rbp, rsi
mov rbp, rax
xchg rsi, rbp
pushf
movabs rax, 0xffffffff78769c27
sub rax, 0x3fe4b6d9
add rax, 0x338142bb
xor rax, 0x10e4388c
xor rax, 0x7bb3f9ae
xor rax, 0x516064c3
add rax, 0x7fffffff
add rax, 0x29db7218
popf
cmovo rsi, rax
xchg rcx, rsi
mov rsi, rcx
xchg rsi, rcx
call fcn.1401fcb90
xchg r9, rax
mov rbx, r9
xchg r9, rax
test rax, rax
je 0x1401711e7
xchg r8, rsi
mov rsi, r8
xchg r8, rsi
xor edx, edx
xchg rcx, r9
mov r9, rax
xchg rcx, r9
call sub.VCRUNTIME140.dll_memset
xor esi, esi
jmp 0x1401711eb
xor esi, esi
mov ebx, esi
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
xchg rdx, r15
mov r15, qword [rsp + 0x40]
xchg r15, rdx
inc rdx
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov qword [rdi + 0x2d0], rbx
xchg rdx, rbx
mov rbx, rdx
xchg rbx, rdx
xchg rcx, r15
mov r15, qword [rdi + 0x2b0]
xchg rcx, r15
call fcn.14017d3f0
test r15, r15
je 0x140171252
xchg rbp, rcx
mov rbp, r15
xchg rcx, rbp
call fcn.1401fcb88
test r12b, r12b
je 0x14017183c
lea rcx, [rdi + 0x5d8]
call fcn.14007b590
xchg r15, rax
mov rbx, r15
xchg r15, rax
lea rax, [0x140003480]
xchg rdi, rax
mov qword [rbp], rdi
xchg rdi, rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or r14d, 4
mov dword [rbp + 0x2a0], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea r14, [0x140003478]
xchg r9, r14
mov qword [rbp + rcx], r9
xchg r9, r14
xchg r13, rax
mov r13, qword [rbp]
xchg r13, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, [0x1400033f0]
xchg r12, rax
mov qword [rbp + 8], r12
xchg r12, rax
mov byte [rbp + 0x84], 0x44
add byte [rbp + 0x84], 0x38
xor byte [rbp + 0x84], 0x27
add byte [rbp + 0x84], 0x12
sub byte [rbp + 0x84], 0x29
xor byte [rbp + 0x84], 0x65
add byte [rbp + 0x84], 0
sub byte [rbp + 0x84], 0x21
mov byte [rbp + 0x7a], 0x41
add byte [rbp + 0x7a], 0x16
xor byte [rbp + 0x7a], 0x19
add byte [rbp + 0x7a], 0x2b
sub byte [rbp + 0x7a], 0x75
add byte [rbp + 0x7a], 0x27
add byte [rbp + 0x7a], 0x2f
sub byte [rbp + 0x7a], 0x5a
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
xchg r13, rsi
mov qword [rbp + 0x88], r13
xchg rsi, r13
mov rax, qword [0x140217068]
mov qword [rbp + 0x7c], rax
mov qword [rbp + 0x70], rsi
mov r9d, 0x34c51bc7
add r9d, 0x1eb43e7a
sub r9d, 0x14752bda
sub r9d, 0x1b2bb27d
xor r9d, 0x40619bfa
sub r9d, 0x25e8c457
xor r9d, 0x2fef59b8
sub r9d, 0x123e41c1
lea r8d, [r9 - 0xe]
xchg rbx, rdx
mov rbx, rdx
xchg rbx, rdx
lea rcx, [rbp + 8]
call fcn.140177180
test rax, rax
jne 0x1401713e9
xchg rdx, rax
mov rdx, qword [rbp]
xchg rdx, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
cmp qword [rbp + 0x88], 0
je 0x140171cd9
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp]
call fcn.1400818f0
mov rcx, rax
mov ebx, 0x7ad703ee
xor ebx, 0x112fbcf4
add ebx, 0x12a22ba2
xor ebx, 0x5edc6d9a
add ebx, 0x11d00883
sub ebx, 0x10496c49
add ebx, 0xbd93618
sub ebx, 0x2da6596e
movzx edx, bx
call fcn.14007d850
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
xchg rsi, r8
mov rsi, qword [rbp - 0x30]
xchg r8, rsi
lea rcx, [rbp]
call fcn.1400818f0
xchg r9, rax
mov rcx, r9
xchg r9, rax
movzx edx, bx
call fcn.14007d850
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp]
call fcn.1400818f0
xchg r11, rax
mov rcx, r11
xchg r11, rax
movzx edx, bx
call fcn.14007d850
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.1400818f0
lea rcx, [rbp + 8]
cmp qword [rbp + 0x88], 0
je 0x140171762
call qword [sym.imp.MSVCP140.dll_protected:_wchar_t____ptr64___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::eback_void_const___ptr64]
lea rcx, [rbp + 0x78]
cmp rax, rcx
jne 0x140171507
mov r9, qword [rbp + 0x98]
mov rdx, qword [rbp + 0x90]
mov r8, rdx
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::setg_wchar_t____ptr64__wchar_t____ptr64__wchar_t____ptr64____ptr64]
cmp qword [rbp + 0x70], 0
je 0x140171603
cmp byte [rbp + 0x7a], 0
je 0x140171603
xchg r8, rax
mov r8, qword [rbp + 8]
xchg r8, rax
xchg r12, r8
mov r12, qword [rax + 0x18]
xchg r12, r8
lea rax, [0x1401773a0]
mov ebx, 0x62fd116e
xor ebx, 0x205f7da
sub ebx, 0x4fecccea
add ebx, 0x6844aea5
sub ebx, 0x42011b46
xor ebx, 0x623f79b5
add ebx, 0x50a8588
add ebx, 0x6910bd
sub ebx, 0x5ae36ae2
lea rcx, [rbp + 8]
mov edx, ebx
cmp r8, rax
jne 0x140171583
call 0x1401773a0
jmp 0x140171586
call r8
cmp bx, ax
jne 0x140171596
xor al, al
jmp 0x140171613
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x148]
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x7c]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1401716bf
sub eax, 1
je 0x1401716d7
cmp eax, 2
je 0x1401715df
xor al, al
jmp 0x140171613
mov byte [rbp + 0x7a], 0x49
xor byte [rbp + 0x7a], 0x2e
sub byte [rbp + 0x7a], 0x3d
xor byte [rbp + 0x7a], 0x2e
xor byte [rbp + 0x7a], 0x1a
add byte [rbp + 0x7a], 0x31
xor byte [rbp + 0x7a], 0x48
xor byte [rbp + 0x7a], 0x62
sub byte [rbp + 0x7a], 0x65
mov al, 0x75
sub al, 0x5d
add al, 9
add al, 0x23
sub al, 0x23
add al, 0x24
xor al, 0x53
sub al, 0x15
lea rbx, [rbp + 8]
test al, al
cmove rbx, rsi
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rbx, rsi
mov byte [rbp + 0x84], 0x42
sub byte [rbp + 0x84], 0x16
add byte [rbp + 0x84], 0x34
xor byte [rbp + 0x84], 0x64
xor byte [rbp + 0x84], 0x44
xor byte [rbp + 0x84], 0x7a
add byte [rbp + 0x84], 0xa
sub byte [rbp + 0x84], 0x22
sub byte [rbp + 0x84], 0x22
mov byte [rbp + 0x7a], 0x1f
add byte [rbp + 0x7a], 0x2e
sub byte [rbp + 0x7a], 0x22
xor byte [rbp + 0x7a], 0x39
xor byte [rbp + 0x7a], 2
sub byte [rbp + 0x7a], 0x10
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbp + 0x88], rsi
mov rax, qword [0x140217068]
xchg rcx, rax
mov qword [rbp + 0x7c], rcx
xchg rcx, rax
xchg rsi, r13
mov qword [rbp + 0x70], r13
xchg rsi, r13
test rbx, rbx
jne 0x1401717f3
jmp 0x1401717d2
mov byte [rbp + 0x7a], 0x42
add byte [rbp + 0x7a], 0x21
sub byte [rbp + 0x7a], 0x2a
sub byte [rbp + 0x7a], 0x33
add byte [rbp + 0x7a], 0x56
sub byte [rbp + 0x7a], 0x5c
lea rax, [rbp + 0x128]
mov rbx, qword [rbp + 0x2a0]
sub rbx, rax
je 0x140171756
xchg r15, r9
mov r15, qword [rbp + 0x88]
xchg r9, r15
xchg rbp, r8
mov rbp, rbx
xchg r8, rbp
mov edx, 0xd88b11b
xor edx, 0x130ab0b3
add edx, 0x23ae4994
sub edx, 0x1df61160
add edx, 0xf647ddb
sub edx, 0x22d1e97a
xor edx, 0x3c9c8086
add edx, 0x2ceb8851
xor edx, 0x593bd70d
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x140171756
xor al, al
jmp 0x140171613
cmp byte [rbp + 0x7a], 0
sete al
jmp 0x140171613
mov byte [rbp + 0x84], 0x69
sub byte [rbp + 0x84], 0x23
xor byte [rbp + 0x84], 0x5d
add byte [rbp + 0x84], 0x54
sub byte [rbp + 0x84], 0x39
sub byte [rbp + 0x84], 0x36
mov byte [rbp + 0x7a], 0x26
xor byte [rbp + 0x7a], 0x46
sub byte [rbp + 0x7a], 0x14
xor byte [rbp + 0x7a], 0x38
xor byte [rbp + 0x7a], 0x11
xor byte [rbp + 0x7a], 0x11
xor byte [rbp + 0x7a], 0x63
xor byte [rbp + 0x7a], 0x2f
sub byte [rbp + 0x7a], 0x38
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::_Init_void____ptr64]
mov qword [rbp + 0x88], rsi
mov rax, qword [0x140217068]
mov qword [rbp + 0x7c], rax
xchg rsi, r8
mov qword [rbp + 0x70], r8
xchg r8, rsi
xchg r9, rax
mov r9, qword [rbp]
xchg r9, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
xchg r9, r14
mov qword [rbp + rcx], r9
xchg r9, r14
xchg rdi, rax
mov rdi, qword [rbp]
xchg rdi, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.14008ffb0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1401718a0
xchg r10, rdx
mov r10, qword [rbp + 0x2b0]
xchg r10, rdx
call fcn.1401c3ff0
xchg rbx, rcx
mov rbx, qword [rdi + 0x50]
xchg rbx, rcx
call fcn.1401c3ac0
test al, al
je 0x1401718a0
mov r8b, 6
xor r8b, 0xf
add r8b, 0x4c
xor r8b, 0x39
sub r8b, 0x6b
add r8b, 0x46
sub r8b, 0x46
movzx edx, r8b
xchg rbp, rcx
mov rbp, qword [rdi + 0x50]
xchg rbp, rcx
call fcn.1401c3eb0
lea rcx, [rdi + 0x5d8]
call fcn.14007b500
nop
xchg rcx, rdx
mov rcx, qword [rsp + 0x48]
xchg rdx, rcx
cmp rdx, 8
jb 0x140171916
lea rdx, [rdx*2 + 2]
xchg r8, rcx
mov r8, qword [rsp + 0x30]
xchg r8, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171911
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x140171911
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0x7830fbcd
xor qword [rsp + 0x48], 0x2211012c
sub qword [rsp + 0x48], 0x3a8bc9bb
xor qword [rsp + 0x48], 0x16144a2b
add qword [rsp + 0x48], 0x7c8cbe9
xor qword [rsp + 0x48], 0x4f1a50df
add qword [rsp + 0x48], 0x1b134302
xor qword [rsp + 0x48], 0x7964592c
mov word [rsp + 0x30], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1401719bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
xchg rbp, rax
mov rbp, rcx
xchg rbp, rax
cmp rdx, 0x1000
jb 0x1401719b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401719b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
xchg rsi, r9
mov qword [rbp - 0x80], r9
xchg rsi, r9
mov qword [rbp - 0x78], 0x111ce16d
add qword [rbp - 0x78], 0x572cfda7
xor qword [rbp - 0x78], 0x4131735c
sub qword [rbp - 0x78], 0x223f66c0
xor qword [rbp - 0x78], 0x4eb56a06
sub qword [rbp - 0x78], 0x498c2f87
mov word [rsp + 0x70], si
xchg r12, rdx
mov r12, qword [rsp + 0x68]
xchg rdx, r12
cmp rdx, 8
jb 0x140171a6a
lea rdx, [rdx*2 + 2]
xchg rcx, r9
mov r9, qword [rsp + 0x50]
xchg r9, rcx
xchg r14, rcx
mov rax, r14
xchg rcx, r14
cmp rdx, 0x1000
jb 0x140171a65
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x140171a65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
xchg rsi, r8
mov qword [rsp + 0x60], r8
xchg r8, rsi
mov qword [rsp + 0x68], 0x7f47b40a
sub qword [rsp + 0x68], 0xc173ebb
sub qword [rsp + 0x68], 0x516858ef
add qword [rsp + 0x68], 0x17758f12
add qword [rsp + 0x68], 0x2a43cfe5
sub qword [rsp + 0x68], 0x133c74df
sub qword [rsp + 0x68], 0x3bccf2c9
xor qword [rsp + 0x68], 0x147813a8
mov word [rsp + 0x50], si
xchg r10, rdx
mov r10, qword [rbp - 0x28]
xchg rdx, r10
cmp rdx, 8
jb 0x140171b21
lea rdx, [rdx*2 + 2]
xchg rcx, rsi
mov rsi, qword [rbp - 0x40]
xchg rsi, rcx
xchg rbp, rax
mov rbp, rcx
xchg rbp, rax
cmp rdx, 0x1000
jb 0x140171b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x215fb7a0
xor qword [rbp - 0x28], 0x6c793a09
add qword [rbp - 0x28], 0x2702c354
sub qword [rbp - 0x28], 0xb0e4043
xor qword [rbp - 0x28], 0x67feaf62
sub qword [rbp - 0x28], 0xcff925
sub qword [rbp - 0x28], 0xe15c6ac
mov word [rbp - 0x40], si
xchg rdx, r15
mov r15, qword [rbp - 8]
xchg rdx, r15
cmp rdx, 8
jb 0x140171bcd
lea rdx, [rdx*2 + 2]
xchg rsi, rcx
mov rsi, qword [rbp - 0x20]
xchg rcx, rsi
xchg r9, rcx
mov rax, r9
xchg r9, rcx
cmp rdx, 0x1000
jb 0x140171bc8
nop
sub rdx, 0x15679d9e
add rdx, 0x15679dc5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171bc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb88
xchg rsi, rcx
mov qword [rbp - 0x10], rcx
xchg rcx, rsi
mov qword [rbp - 8], 0x11427184
xor qword [rbp - 8], 0x62acf170
xor qword [rbp - 8], 0x77fff7d9
add qword [rbp - 8], 0x50f460c8
add qword [rbp - 8], 0x2a983579
sub qword [rbp - 8], 0x3eaefed0
sub qword [rbp - 8], 0x2b0c3908
sub qword [rbp - 8], 0x15e2d58f
mov word [rbp - 0x20], si
xchg rcx, rax
mov rcx, qword [rbp + 0x150]
xchg rcx, rax
movsxd rcx, dword [rax + 4]
lea rax, [0x140003468]
mov qword [rbp + rcx + 0x150], rax
xchg rbx, rax
mov rbx, qword [rbp + 0x150]
xchg rbx, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x160]
call fcn.14008ffb0
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x200]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x360
nop
add rsp, 8
xchg qword [rsp - 8], r15
nop
xchg qword [rsp], r14
add rsp, 8
nop
mov r13, qword [rsp]
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
nop
xchg qword [rsp], rdi
add rsp, 8
nop
mov rsi, qword [rsp]
add rsp, 8
push rbx
push rcx
push rcx
xchg qword [rsp + 0x18], rbp
pop rcx
pop rcx
pop rbx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
lea rcx, [rbp + 0x2b8]
call fcn.1400f07e0
nop
lea rcx, [0x1400032b8]
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
nop
lea rcx, [rbp + 0x2b8]
call fcn.1400f07e0
nop
lea rcx, [0x1400032a0]
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, [0x1400032b8]
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
lea rcx, [0x1400032a0]
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, [rbp + 0x2b8]
call fcn.1400f07e0
int3