Function at 0x14016ffd0
Capabilities:
Authenticate hmac
Generate random numbers via winapi
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
nop
sub rsp, 8
mov qword [rsp], rbp
push rsi
push rdi
nop
push 0x4ce766d3
mov qword [rsp], r12
push rax
mov qword [rsp], r13
push rsi
mov qword [rsp], r14
nop
push 0x7d34abd9
mov qword [rsp], r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movzx r12d, dl
xchg rdi, r11
mov r11, rcx
xchg rdi, r11
xor r14d, r14d
mov dword [rbp + 0x2a0], r14d
mov qword [rbp + 0x2b8], rcx
add rcx, 0x35eb51ae
sub rcx, 0x35eb4bd6
call fcn.14007b620
xchg r14, rax
mov rdx, r14
xchg r14, rax
mov dword [rsp + 0x20], 0x5d1dc5e4
sub dword [rsp + 0x20], 0x36c6acf5
xor dword [rsp + 0x20], 0x4d4cf16f
sub dword [rsp + 0x20], 0x30b7461c
add dword [rsp + 0x20], 0x1afa29f8
sub dword [rsp + 0x20], 0x975e890
xor dword [rsp + 0x20], 0x4be8e4cd
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x21]
lea rcx, [rbp + 0x150]
call fcn.140087810
nop
cmp qword [rbp + 0x1e0], r14
je 0x140171bf9
xorps xmm0, xmm0
xchg r14, rbp
movups xmmword [r14 - 0x20], xmm0
xchg rbp, r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0x4acf64cc
xor qword [rbp - 8], 0x32ee86b6
sub qword [rbp - 8], 0x6d8b5e8d
add qword [rbp - 8], 0x495a0856
sub qword [rbp - 8], 0x49996e66
sub qword [rbp - 8], 0xa571dd6
mov word [rbp - 0x20], r14w
xchg rsi, rbp
movups xmmword [rsi - 0x40], xmm0
xchg rbp, rsi
xchg r14, r12
mov qword [rbp - 0x30], r12
xchg r12, r14
mov qword [rbp - 0x28], 0x78856464
sub qword [rbp - 0x28], 0x19b5a9fa
sub qword [rbp - 0x28], 0x27f96489
xor qword [rbp - 0x28], 0x21334606
sub qword [rbp - 0x28], 0x121a3200
sub qword [rbp - 0x28], 0x5cae1e0
mov word [rbp - 0x40], r14w
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0x56e00557
sub qword [rsp + 0x68], 0x2b53b437
add qword [rsp + 0x68], 0x1ed5cc83
sub qword [rsp + 0x68], 0x4711b673
xor qword [rsp + 0x68], 0x32e9ed9e
add qword [rsp + 0x68], 0x2c26aebe
sub qword [rsp + 0x68], 0xbd0102d
sub qword [rsp + 0x68], 0x30c44c4f
sub qword [rsp + 0x68], 0x214bdce9
mov word [rsp + 0x50], r14w
movups xmmword [rsp + 0x70], xmm0
xchg r14, r11
mov qword [rbp - 0x80], r11
xchg r14, r11
mov qword [rbp - 0x78], 0x60cf9376
sub qword [rbp - 0x78], 0x2163f83e
sub qword [rbp - 0x78], 0x99673f0
xor qword [rbp - 0x78], 0x2007bd3c
add qword [rbp - 0x78], 0x4104aa43
sub qword [rbp - 0x78], 0x355ae883
xor qword [rbp - 0x78], 0x5ed3a3af
xor qword [rbp - 0x78], 0x16d14d67
xor qword [rbp - 0x78], 0x697eb2fb
mov word [rsp + 0x70], r14w
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x72
xor dl, 0x2e
xor dl, 0x79
xor dl, 0x42
sub dl, 0x2b
add dl, 0x27
sub dl, 0x59
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.140085e00
xchg r12, rax
mov r12, qword [rbp + 0x150]
xchg r12, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x3d
add dl, 0x33
add dl, 8
add dl, 4
xor dl, 0x66
xor dl, 0x59
add dl, 0x16
add dl, 0x23
xor dl, 0x76
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.140085e00
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x7e
xor dl, 0x35
xor dl, 0x3d
sub dl, 0x60
add dl, 0x55
xor dl, 0x34
sub dl, 0xe
sub dl, 0x18
sub dl, 0x2f
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.140085e00
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x13
sub dl, 0x11
add dl, 0x64
sub dl, 0x28
sub dl, 0x2b
add dl, 9
add dl, 0x2d
xor dl, 0x15
sub dl, 0x52
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.140085e00
lea rcx, [rbp + 0x160]
call fcn.140175e90
test rax, rax
jne 0x14017034c
xchg rsi, rax
mov rsi, qword [rbp + 0x150]
xchg rsi, rax
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]
xchg r14, rdx
mov qword [rbp + 0x2b0], rdx
xchg rdx, r14
mov r15d, 0x756858dd
sub r15d, 0x6008150c
add r15d, 0x2eda8d1
add r15d, 0x2b6933c2
sub r15d, 0xdd4914f
xor r15d, 0x14a682e4
add r15d, 0x2950758e
sub r15d, 0x4a948375
cmp qword [rsp + 0x60], 0
je 0x140170449
test r12b, r12b
jne 0x140170449
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 0x140171c06
cmp dword [rsi], 0x22
je 0x140171c13
mov qword [rbp + 0x2b0], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, 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, rdx
mov rcx, rdx
xchg rbx, rdx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
mov r15, rax
cmp rbx, qword [rbp + 0x2a0]
je 0x140171c20
cmp dword [rsi], 0x22
je 0x140171bec
jmp 0x14017089d
mov r12b, 0x65
add r12b, 0x12
xor r12b, 0x2b
sub r12b, 0x37
xor r12b, 0x34
xor r12b, 0x74
xor r12b, 0x64
mov dword [rsp + 0x20], 0x5ef31b4e
sub dword [rsp + 0x20], 0x5d36888a
add dword [rsp + 0x20], 0x53f848cd
sub dword [rsp + 0x20], 0x4df7f44b
xor dword [rsp + 0x20], 0x3e72e06c
add dword [rsp + 0x20], 0xb631f8d6
mov r9d, 0x1e326778
add r9d, 0x2b02caec
sub r9d, 0x42d4ebbd
add r9d, 0x177fe925
add r9d, 0x26d22cba
xor r9d, 0x44b25c87
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140171c2d
lea r8, [rbp + 0x2b0]
mov edx, 0x28beab04
xor edx, 0x2fb8d9c6
xor edx, 0x1978b20b
add edx, 0x394ab5e4
xor edx, 0x754519f7
sub edx, 0x6cbd51e
add edx, 0x374d96b0
add edx, 0x3f381aa
sub edx, 0x5701b28e
mov rcx, qword [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
xchg rcx, rsi
mov rsi, qword [rbp + 0x2a0]
xchg rsi, rcx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xchg rdx, r14
mov r14, qword [rbp + 0x2b0]
xchg rdx, r14
lea rcx, [rbp - 0x60]
call fcn.140178ef0
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x14017067c
xchg r14, rdx
mov r14, qword [rsp + 0x68]
xchg rdx, r14
cmp rdx, 8
jb 0x1401705b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401705b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xffffffffef393f32
add rax, 0xffffffffef393f2a
cmp rax, 0x1f
ja 0x1401706d4
call fcn.1401fc804
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0x37337797
xor qword [rsp + 0x68], 0x52b590fd
xor qword [rsp + 0x68], 0x264d5bff
xor qword [rsp + 0x68], 0x6c2185fa
add qword [rsp + 0x68], 0x7396a91
sub qword [rsp + 0x68], 0x2ab128db
add qword [rsp + 0x68], 0x2f539018
xor qword [rsp + 0x68], 0xabca3bd
sub qword [rsp + 0x68], 0x317aa879
mov word [rsp + 0x50], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x50], xmm0
xchg rcx, rbx
movups xmm1, xmmword [rcx + 0x10]
xchg rbx, rcx
movups xmmword [rsp + 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0x758ead47
sub qword [rbx + 0x18], 0x28979cfc
xor qword [rbx + 0x18], 0x120184bf
xor qword [rbx + 0x18], 0x136180b8
xor qword [rbx + 0x18], 0x2d7236ef
sub qword [rbx + 0x18], 0x4120b73b
add qword [rbx + 0x18], 0x3202af9f
xor qword [rbx + 0x18], 0x3b69b6a4
xor qword [rbx + 0x18], 0x6aaeada4
mov word [rbx], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1401706e0
lea rdx, [rdx*2 + 2]
xchg rcx, r8
mov r8, qword [rbp - 0x60]
xchg rcx, r8
xchg r13, rax
mov r13, rcx
xchg r13, rax
cmp rdx, 0x1000
jb 0x1401706db
nop
add rdx, 0x2ba6e00a
sub rdx, 0x2ba6dfe3
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x1401706db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov r15, rax
xchg r14, rax
mov rdx, r14
xchg r14, rax
lea rcx, [rbp - 0x60]
call fcn.140178ef0
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x140170828
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14017076c
lea rdx, [rdx*2 + 2]
xchg r11, rcx
mov r11, qword [rsp + 0x70]
xchg r11, rcx
xchg r14, rax
mov r14, rcx
xchg r14, rax
cmp rdx, 0x1000
jb 0x140170767
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xffffffff9b1fc425
add rax, 0xffffffff9b1fc41d
cmp rax, 0x1f
ja 0x140170891
call fcn.1401fc804
xchg rdi, r14
mov qword [rbp - 0x80], rdi
xchg r14, rdi
mov qword [rbp - 0x78], 0x583de4df
add qword [rbp - 0x78], 0x27838998
sub qword [rbp - 0x78], 0x5103db82
sub qword [rbp - 0x78], 0x2027c097
add qword [rbp - 0x78], 0xb8bdaa0
add qword [rbp - 0x78], 0x15e1d56f
add qword [rbp - 0x78], 0xfdfb02e
sub qword [rbp - 0x78], 0x3fe33294
mov word [rsp + 0x70], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x70], xmm0
xchg rbx, r9
movups xmm1, xmmword [r9 + 0x10]
xchg r9, rbx
xchg rbp, r15
movups xmmword [r15 - 0x80], xmm1
xchg rbp, r15
xchg rdi, r14
mov qword [rbx + 0x10], rdi
xchg r14, rdi
mov qword [rbx + 0x18], 0x2f47ed7c
add qword [rbx + 0x18], 0x274687b0
sub qword [rbx + 0x18], 0x2409bd6d
add qword [rbx + 0x18], 0x820ba86
add qword [rbx + 0x18], 0x15a18e1c
xor qword [rbx + 0x18], 0x4a98d53d
xor qword [rbx + 0x18], 0x5c3b630a
sub qword [rbx + 0x18], 0x46e4b64f
mov word [rbx], r14w
xchg rcx, rdx
mov rcx, qword [rbp - 0x48]
xchg rcx, rdx
cmp rdx, 8
jb 0x14017089d
lea rdx, [rdx*2 + 2]
xchg rcx, r13
mov r13, qword [rbp - 0x60]
xchg r13, rcx
xchg rcx, r8
mov rax, r8
xchg r8, rcx
cmp rdx, 0x1000
jb 0x140170898
nop
sub rdx, 0x5c689af0
add rdx, 0x5c689b17
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffdc8015b7
sub rax, 0xffffffffdc8015bf
cmp rax, 0x1f
jbe 0x140170898
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
mov ecx, dword [rdi + 0x48]
xchg r12, rdi
mov qword [rbp + 0x2a0], r12
xchg r12, rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
test ecx, ecx
je 0x140170a74
sub ecx, 1
je 0x1401709a6
cmp ecx, 1
jne 0x140170a74
mov rax, qword [rdi + 0x30]
movabs rbx, 0x2aaaaaaa34ac5fc2
add rbx, 0x3b81484c
sub rbx, 0x55f53864
add rbx, 0x3d510865
sub rbx, 0x555b8dbb
add rbx, 0x55910123
add rbx, 0x7fffffff
xor rbx, 0x7d1441dd
cmp rax, qword [rdi + 0x38]
jne 0x14017099d
xchg r15, rcx
mov r15, qword [rdi + 0x40]
xchg rcx, r15
sub rcx, rax
xchg rbx, rdi
mov rax, rdi
xchg rdi, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r13, rdx
mov rax, r13
xchg rdx, r13
shr rax, 0x36
shr rax, 6
shr rax, 3
add rdx, rax
cmp rdx, 0x54
jae 0x140170991
mov edx, 0x33bac91c
add edx, 0x19a5c6fd
add edx, 0xe2dadd8
sub edx, 0x5b2ef1f3
add edx, 0x140f128d
sub edx, 0xaac65f7
xor edx, 0x46f3ac2a
sub edx, 0x4f32546a
lea rcx, [rdi + 0x30]
call fcn.140174ac0
lea rcx, [rbp + 0x2a0]
call fcn.14009c470
mov rdx, qword [rdi + 0x30]
jmp 0x140170b47
mov rax, qword [rdi + 0x18]
movabs rbx, 0x2aaaaaaa01af11d6
add rbx, 0x6a17dac4
sub rbx, 0x35be9382
xor rbx, 0x32749a3f
add rbx, 0x516eff2f
add rbx, 0x54bee855
cmp rax, qword [rdi + 0x20]
jne 0x140170a6b
xchg r15, rcx
mov r15, qword [rdi + 0x28]
xchg r15, rcx
sub rcx, rax
xchg r14, rbx
mov rax, r14
xchg r14, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r12, rdx
mov rax, r12
xchg r12, rdx
shr rax, 8
shr rax, 0x15
shr rax, 0x15
shr rax, 7
shr rax, 4
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170a62
mov edx, 0x5f4719bc
xor edx, 0x5ba2f115
add edx, 0x3ceb0e30
sub edx, 0x397e6332
xor edx, 0x7951a08c
xor edx, 0x5aefe227
xor edx, 0x2becd158
lea rcx, [rdi + 0x18]
call fcn.140174ac0
lea rcx, [rbp - 0x68]
call fcn.140136450
mov rdx, qword [rdi + 0x18]
jmp 0x140170b47
mov rax, qword [rdi]
movabs rbx, 0x2aaaaaaa351a785f
sub rbx, 0x1ea976a4
add rbx, 0x67e52233
xor rbx, 0x49ea8409
sub rbx, 0x216164de
xor rbx, 0x14cd5c33
add rbx, 0x4c80f635
add rbx, 0x5b93953c
cmp rax, qword [rdi + 8]
jne 0x140170b44
xchg rcx, r10
mov r10, qword [rdi + 0x10]
xchg r10, rcx
sub rcx, rax
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
imul rcx
sar rdx, 2
xchg rdx, r8
mov rax, r8
xchg rdx, r8
shr rax, 1
shr rax, 0x38
shr rax, 6
add rdx, rax
cmp rdx, 0x54
jae 0x140170b3b
mov edx, 0x523365be
xor edx, 0xeb392ff
sub edx, 0x5a917531
add edx, 0xfdf84c8
add edx, 0x65f06f64
xor edx, 0x568b3f04
add edx, 0x3129820
add edx, 0xdde97ed
xor edx, 0x32257911
xchg rdi, rbx
mov rcx, rbx
xchg rbx, rdi
call fcn.140174ac0
lea rcx, [rbp - 0x70]
call fcn.1400f3190
mov rdx, qword [rdi]
add rdx, 0x750
lea rcx, [rbp + 0x110]
call fcn.14007a9f0
mov r14d, 0x2461d30e
xor r14d, 0x5e3b65bc
xor r14d, 0x4a2c5ceb
xor r14d, 0x5e864a4f
xor r14d, 0x3574982c
sub r14d, 0x5b843839
lea rcx, [rbp + 0x110]
call fcn.14007b220
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
nop
movabs r8, 0xffffffff6011afd3
sub r8, 0x1e86a90d
sub r8, 0x12092d7e
sub r8, 0x29c721b0
xor r8, 0x75dea023
sub r8, 0x346b75af
add r8, 0x7fffffff
xor r8, 0x44075df4
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x140170be2
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140030d10
nop
lea rcx, [rbp + 0x110]
call fcn.14007aef0
test r15, r15
jne 0x140170f32
mov ecx, dword [rdi + 0x48]
xchg rsi, rdi
mov qword [rbp + 0x2a0], rsi
xchg rdi, rsi
xchg r14, rdi
mov qword [rbp - 0x68], r14
xchg rdi, r14
xchg r8, rdi
mov qword [rbp - 0x70], r8
xchg rdi, r8
test ecx, ecx
je 0x140170d69
sub ecx, 1
je 0x140170cce
cmp ecx, 1
jne 0x140170d69
xchg r11, rax
mov r11, qword [rdi + 0x30]
xchg r11, rax
cmp rax, qword [rdi + 0x38]
jne 0x140170cbf
mov rcx, qword [rdi + 0x40]
sub rcx, rax
xchg rbx, rbp
mov rax, rbp
xchg rbx, rbp
imul rcx
sar rdx, 1
sar rdx, 1
xchg r14, rax
mov r14, rdx
xchg r14, rax
shr rax, 0x1d
shr rax, 0x1a
shr rax, 4
shr rax, 2
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170cb3
lea edx, [r15 + 0x54]
lea rcx, [rdi + 0x30]
call fcn.140174ac0
lea rcx, [rbp + 0x2a0]
call fcn.14009c470
xchg rdx, r8
mov r8, qword [rdi + 0x30]
xchg r8, rdx
jmp 0x140170dfb
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x140170d5a
xchg r8, rcx
mov r8, qword [rdi + 0x28]
xchg rcx, r8
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r12, rax
mov r12, rdx
xchg r12, rax
shr rax, 0x2f
shr rax, 5
shr rax, 1
shr rax, 1
shr rax, 2
shr rax, 5
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170d51
mov edx, 0x2c80a61c
sub edx, 0xeea91a2
sub edx, 0x14e947a4
xor edx, 0x2c6f181a
xor edx, 0x33afd19d
sub edx, 0x176c04fd
lea rcx, [rdi + 0x18]
call fcn.140174ac0
lea rcx, [rbp - 0x70]
call fcn.140136450
xchg r10, rdx
mov r10, qword [rdi + 0x18]
xchg rdx, r10
jmp 0x140170dfb
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
jne 0x140170df2
mov rcx, qword [rdi + 0x10]
sub rcx, rax
xchg rbx, r15
mov rax, r15
xchg rbx, r15
imul rcx
sar rdx, 2
xchg rbp, rax
mov rbp, rdx
xchg rbp, rax
shr rax, 0x10
shr rax, 0x23
shr rax, 6
shr rax, 3
shr rax, 2
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140170de9
mov edx, 0x30e87424
xor edx, 0x1a75e19a
add edx, 0x3caa2741
xor edx, 0x7c45b526
xor edx, 0x51a8e3c7
sub edx, 0x4aaae9ca
xchg rdi, rcx
mov rdi, rcx
xchg rdi, rcx
call fcn.140174ac0
lea rcx, [rbp - 0x68]
call fcn.1400f3190
xchg rbx, rdx
mov rbx, qword [rdi]
xchg rdx, rbx
add rdx, 0x570
lea rcx, [rbp - 0x60]
call fcn.14007a9f0
mov r14d, 0x83ea00e
add r14d, 0x1a0dfdae
sub r14d, 0x271394e
xor r14d, 0x3313cf22
sub r14d, 0x1865801f
add r14d, 0x4dd7f0ad
sub r14d, 0x623b1bd7
lea rcx, [rbp - 0x60]
call fcn.14007b220
xchg r10, r9
mov r10, rax
xchg r10, r9
nop
movabs rsi, 0xffffffff7f77b159
sub rsi, 0x37d6e2cf
xor rsi, 0x60b39851
add rsi, 0x1b58f335
xor rsi, 0x15d0d2fe
sub rsi, 0x390f9c74
add rsi, 0x7fffffff
xor rsi, 0x61530386
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140170e89
xchg r13, r15
mov r13, qword [rsp + 0x40]
xchg r15, r13
xchg r11, rcx
mov r11, qword [rsp + 0x48]
xchg rcx, r11
xchg r14, rax
mov r14, rcx
xchg r14, rax
sub rax, r15
cmp rsi, rax
ja 0x140170efd
lea rax, [r15 + rsi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
xchg rdx, r15
mov r15, r9
xchg rdx, r15
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x140170f24
xchg r8, rsi
mov qword [rsp + 0x20], r8
xchg r8, rsi
movzx r8d, byte [rbp + 0x2a0]
xchg rsi, r10
mov rdx, r10
xchg r10, rsi
lea rcx, [rsp + 0x30]
call fcn.140035030
nop
lea rcx, [rbp - 0x60]
call fcn.14007aef0
jmp 0x140171066
mov r8b, 0x50
add r8b, 0x1e
add r8b, 6
sub r8b, 0x25
xor r8b, 0x65
sub r8b, 0x29
xchg rdx, r15
mov r15, rdx
xchg r15, rdx
lea rcx, [rbp - 0x60]
call fcn.1401f4a00
xchg r15, rax
mov r9, r15
xchg r15, rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140170f7a
xchg rbx, r9
mov rbx, qword [rax]
xchg r9, rbx
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
sub rax, r15
cmp rsi, rax
ja 0x140170fd8
lea rax, [r15 + rsi]
xchg r15, rax
mov qword [rsp + 0x40], r15
xchg r15, rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
xchg rdx, r9
mov r9, rdx
xchg r9, rdx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x140170ff9
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
xchg r8, rsi
mov rdx, r8
xchg r8, rsi
lea rcx, [rsp + 0x30]
call fcn.140035030
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140171066
lea rdx, [rdx*2 + 2]
xchg rcx, r8
mov r8, qword [rbp - 0x60]
xchg r8, rcx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x140171061
nop
add rdx, 0x67808b9a
sub rdx, 0x67808b73
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffe1011698
sub rax, 0xffffffffe10116a0
cmp rax, 0x1f
jbe 0x140171061
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
mov r15, qword [rdi + 0x2d0]
mov rcx, qword [rsp + 0x40]
inc rcx
mov eax, 0x149256c0
add eax, 0x5cd3afb
add eax, 0x47294a64
add eax, 0x1a9d0fc8
xor eax, 0x7c35cff8
add eax, 0x202b7cd2
add eax, 0x24e3bf3d
xor eax, 0x125f29ee
sub eax, 0x574049be
mul rcx
xchg rsi, r15
mov r15, rax
xchg r15, rsi
pushf
movabs rax, 0xffffffff3725dcef
add rax, 0x187cf1cd
xor rax, 0x327fa03c
xor rax, 0x753efdad
xor rax, 0x7906f5c0
xor rax, 0x9170ea
add rax, 0x7fffffff
add rax, 0xe8be9f9
popf
cmovo rsi, rax
xchg rcx, rbp
mov rbp, rsi
xchg rbp, rcx
call fcn.1401fc80c
xchg rbx, r11
mov r11, rax
xchg r11, rbx
test rax, rax
je 0x140171128
xchg rdi, r8
mov rdi, rsi
xchg r8, rdi
xor edx, edx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
jmp 0x14017112c
xor esi, esi
mov ebx, esi
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
xchg r8, rdx
mov r8, qword [rsp + 0x40]
xchg r8, rdx
inc rdx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov qword [rdi + 0x2d0], rbx
xchg r9, rbx
mov rdx, r9
xchg rbx, r9
mov rcx, qword [rdi + 0x2b0]
call fcn.14017d1e0
test r15, r15
je 0x140171187
xchg rcx, r8
mov r8, r15
xchg rcx, r8
call fcn.1401fc804
test r12b, r12b
je 0x140171742
lea rcx, [rdi + 0x5d8]
call fcn.14007b620
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
lea rax, [0x140003480]
xchg r14, rax
mov qword [rbp], r14
xchg r14, 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]
mov qword [rbp + rcx], r14
mov rax, qword [rbp]
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], 0x54
sub byte [rbp + 0x84], 0x38
xor byte [rbp + 0x84], 0xb
xor byte [rbp + 0x84], 0x59
xor byte [rbp + 0x84], 0x58
xor byte [rbp + 0x84], 0x40
add byte [rbp + 0x84], 0x1c
xor byte [rbp + 0x84], 0x72
mov byte [rbp + 0x7a], 0x74
sub byte [rbp + 0x7a], 8
xor byte [rbp + 0x7a], 0x29
sub byte [rbp + 0x7a], 0x1b
add byte [rbp + 0x7a], 0x2a
add byte [rbp + 0x7a], 1
sub byte [rbp + 0x7a], 0x4a
sub byte [rbp + 0x7a], 0xb
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 r8, rax
mov qword [rbp + 0x7c], r8
xchg r8, rax
xchg rdx, rsi
mov qword [rbp + 0x70], rdx
xchg rdx, rsi
mov r9d, 0x678caf7f
add r9d, 0x17e9dde4
sub r9d, 0x5427678b
sub r9d, 0x4e1d0c0
add r9d, 0x11c65976
sub r9d, 0x6e1c789
add r9d, 0xb59eb85
sub r9d, 0x3cabd24a
lea r8d, [r9 - 0xe]
mov rdx, rbx
lea rcx, [rbp + 8]
call fcn.140177050
test rax, rax
jne 0x140171312
xchg r13, rax
mov r13, qword [rbp]
xchg r13, 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 0x140171bdf
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
xchg r8, r13
mov r13, qword [rbp - 0x10]
xchg r8, r13
lea rcx, [rbp]
call fcn.140081ab0
mov rcx, rax
mov ebx, 0x19f70800
add ebx, 0x3b7813c2
xor ebx, 0x71500469
xor ebx, 0xed3e609
add ebx, 0x3279fe1e
xor ebx, 0x4164c959
sub ebx, 0xe46c64a
add ebx, 0x53841af4
sub ebx, 0x613f9339
movzx edx, bx
call fcn.14007d980
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp]
call fcn.140081ab0
xchg rbx, rcx
mov rbx, rax
xchg rbx, rcx
movzx edx, bx
call fcn.14007d980
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp]
call fcn.140081ab0
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
movzx edx, bx
call fcn.14007d980
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
xchg rdi, r8
mov rdi, qword [rbp - 0x80]
xchg r8, rdi
lea rcx, [rbp]
call fcn.140081ab0
lea rcx, [rbp + 8]
cmp qword [rbp + 0x88], 0
je 0x14017167a
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 0x14017144a
xchg r9, rdi
mov rdi, qword [rbp + 0x98]
xchg r9, rdi
mov rdx, qword [rbp + 0x90]
xchg rdx, r8
mov rdx, r8
xchg 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 0x14017152c
cmp byte [rbp + 0x7a], 0
je 0x14017152c
xchg rsi, rax
mov rsi, qword [rbp + 8]
xchg rsi, rax
mov r8, qword [rax + 0x18]
lea rax, [fcn.140177290]
mov ebx, 0x64ea989c
xor ebx, 0x3fd3b516
xor ebx, 0x2571e064
sub ebx, 0x275e3730
sub ebx, 0x3e7459f7
sub ebx, 0x18753cc8
lea rcx, [rbp + 8]
mov edx, ebx
cmp r8, rax
jne 0x1401714ae
call fcn.140177290
jmp 0x1401714b1
call r8
cmp bx, ax
jne 0x1401714c1
xor al, al
jmp 0x14017153e
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x148]
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x7c]
xchg r14, rcx
mov r14, qword [rbp + 0x70]
xchg rcx, r14
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 0x1401715e7
sub eax, 1
je 0x140171607
cmp eax, 2
je 0x140171510
xor al, al
jmp 0x14017153e
mov byte [rbp + 0x7a], 0x5b
sub byte [rbp + 0x7a], 0x53
add byte [rbp + 0x7a], 0x3c
sub byte [rbp + 0x7a], 0x3c
add byte [rbp + 0x7a], 0x5c
sub byte [rbp + 0x7a], 0x3f
xor byte [rbp + 0x7a], 0x25
mov al, 0x52
add al, 0x19
xor al, 0x50
xor al, 0x20
add al, 0x32
add al, 0x18
xor al, 0x7f
add al, 0x2d
sub al, 0x46
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], 3
add byte [rbp + 0x84], 0x5d
sub byte [rbp + 0x84], 0x21
add byte [rbp + 0x84], 0x14
sub byte [rbp + 0x84], 0xf
sub byte [rbp + 0x84], 0x44
mov byte [rbp + 0x7a], 0x6b
xor byte [rbp + 0x7a], 0xc
sub byte [rbp + 0x7a], 0x46
xor byte [rbp + 0x7a], 0x18
add byte [rbp + 0x7a], 0x25
add byte [rbp + 0x7a], 0xf
sub byte [rbp + 0x7a], 0x50
add byte [rbp + 0x7a], 0x5d
xor byte [rbp + 0x7a], 0x7a
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 rdx, rsi
mov qword [rbp + 0x88], rdx
xchg rdx, rsi
mov rax, qword [0x140217068]
xchg rcx, rax
mov qword [rbp + 0x7c], rcx
xchg rcx, rax
xchg rsi, rcx
mov qword [rbp + 0x70], rcx
xchg rcx, rsi
test rbx, rbx
jne 0x1401716ff
jmp 0x1401716e2
mov byte [rbp + 0x7a], 0x58
sub byte [rbp + 0x7a], 7
xor byte [rbp + 0x7a], 0x24
sub byte [rbp + 0x7a], 0x6f
xor byte [rbp + 0x7a], 0x22
xor byte [rbp + 0x7a], 0
add byte [rbp + 0x7a], 3
xor byte [rbp + 0x7a], 0x27
lea rax, [rbp + 0x128]
xchg rbx, r9
mov r9, qword [rbp + 0x2a0]
xchg rbx, r9
sub rbx, rax
je 0x14017166e
mov r9, qword [rbp + 0x88]
mov r8, rbx
mov edx, 0x405ead93
add edx, 0x2cf11c8b
xor edx, 0x17d25195
sub edx, 0x74bde75f
xor edx, 0x123427b1
sub edx, 0x17eb939c
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14017166e
xor al, al
jmp 0x14017153e
cmp byte [rbp + 0x7a], 0
sete al
jmp 0x14017153e
mov byte [rbp + 0x84], 0x18
add byte [rbp + 0x84], 8
add byte [rbp + 0x84], 0x2e
xor byte [rbp + 0x84], 0x1d
sub byte [rbp + 0x84], 0x22
sub byte [rbp + 0x84], 0x31
mov byte [rbp + 0x7a], 0x4a
sub byte [rbp + 0x7a], 0x46
add byte [rbp + 0x7a], 0x60
add byte [rbp + 0x7a], 0x19
sub byte [rbp + 0x7a], 0x4a
sub byte [rbp + 0x7a], 0x1c
sub byte [rbp + 0x7a], 0x17
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, r10
mov qword [rbp + 0x70], r10
xchg rsi, r10
mov rax, qword [rbp]
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]
mov qword [rbp + rcx], r14
xchg rdx, rax
mov rdx, qword [rbp]
xchg rdx, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.140090280
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]
xchg r10, rcx
mov r10, qword [rdi + 0x50]
xchg r10, rcx
test rcx, rcx
je 0x14017179c
xchg r11, rdx
mov r11, qword [rbp + 0x2b0]
xchg r11, rdx
call fcn.1401c3bd0
mov rcx, qword [rdi + 0x50]
call fcn.1401c36e0
test al, al
je 0x14017179c
mov r8b, 0x25
add r8b, 0x59
sub r8b, 0x4d
sub r8b, 0x27
add r8b, 0x1a
sub r8b, 0x23
movzx edx, r8b
mov rcx, qword [rdi + 0x50]
call fcn.1401c3a90
lea rcx, [rdi + 0x5d8]
call fcn.14007b590
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14017180f
lea rdx, [rdx*2 + 2]
xchg rcx, rdx
mov rdx, qword [rsp + 0x30]
xchg rdx, rcx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x14017180a
nop
sub rdx, 0x6f9a506
add rdx, 0x6f9a52d
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x14017180a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
xchg rsi, r8
mov qword [rsp + 0x40], r8
xchg rsi, r8
mov qword [rsp + 0x48], 0x14985055
add qword [rsp + 0x48], 0x298b41fd
xor qword [rsp + 0x48], 0x5ef5d54f
sub qword [rsp + 0x48], 0x3870a0b0
xor qword [rsp + 0x48], 0x688fcd4a
sub qword [rsp + 0x48], 0x3abaf334
add qword [rsp + 0x48], 0x335075d6
xor qword [rsp + 0x48], 0x5410f13c
sub qword [rsp + 0x48], 0x6d6f1cee
mov word [rsp + 0x30], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1401718d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401718cf
nop
add rdx, 0x287e863e
sub rdx, 0x287e8617
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xffffffff8657a668
add rax, 0xffffffff8657a660
cmp rax, 0x1f
jbe 0x1401718cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xa023f0e
xor qword [rbp - 0x78], 0x1269da0d
add qword [rbp - 0x78], 0x606ebbd
add qword [rbp - 0x78], 0x1badb60f
sub qword [rbp - 0x78], 0xdfc558c
xor qword [rbp - 0x78], 0x46378913
sub qword [rbp - 0x78], 0x2a3c598
xor qword [rbp - 0x78], 0x676ff2bf
mov word [rsp + 0x70], si
xchg r13, rdx
mov r13, qword [rsp + 0x68]
xchg rdx, r13
cmp rdx, 8
jb 0x140171989
lea rdx, [rdx*2 + 2]
xchg rcx, rdx
mov rdx, qword [rsp + 0x50]
xchg rdx, rcx
xchg rdx, rax
mov rdx, rcx
xchg rdx, rax
cmp rdx, 0x1000
jb 0x140171984
nop
add rdx, 0x3677a27a
sub rdx, 0x3677a253
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171984
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
xchg rcx, rsi
mov qword [rsp + 0x60], rcx
xchg rcx, rsi
mov qword [rsp + 0x68], 0x5b4dfcfd
sub qword [rsp + 0x68], 0x32d8058a
add qword [rsp + 0x68], 0x306748
sub qword [rsp + 0x68], 0x149c96c0
xor qword [rsp + 0x68], 0x57e8432d
sub qword [rsp + 0x68], 0x3736ee56
sub qword [rsp + 0x68], 0xcaa9679
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140171a33
lea rdx, [rdx*2 + 2]
xchg rcx, r10
mov r10, qword [rbp - 0x40]
xchg r10, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171a2e
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171a2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x61013b11
sub qword [rbp - 0x28], 0x3aaa3efa
add qword [rbp - 0x28], 0x23be5b02
add qword [rbp - 0x28], 0x526c888
sub qword [rbp - 0x28], 0x2a093d62
xor qword [rbp - 0x28], 0x102ec896
xor qword [rbp - 0x28], 0x749ff94a
xor qword [rbp - 0x28], 0xb80f87f
xor qword [rbp - 0x28], 0x4a032b9b
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140171ae3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171ade
nop
sub rdx, 0x72838b2d
add rdx, 0x72838b54
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x140171ade
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fc804
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0x37e6172e
xor qword [rbp - 8], 0x14ffc2ee
add qword [rbp - 8], 0x1af00897
xor qword [rbp - 8], 0x5c05b84
add qword [rbp - 8], 0x276e4613
xor qword [rbp - 8], 0x54acd0cb
xor qword [rbp - 8], 0x7ddc9d55
sub qword [rbp - 8], 0x4a478671
mov word [rbp - 0x20], si
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [0x140003468]
mov qword [rbp + rcx + 0x150], rax
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x160]
call fcn.140090280
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]
xchg r15, rbx
mov r15, qword [rsp + 0x3a8]
xchg r15, rbx
add rsp, 0x360
nop
xchg qword [rsp], r15
add rsp, 8
nop
add rsp, 8
mov r14, qword [rsp - 8]
push rbx
push rdx
xchg qword [rsp + 0x10], r13
pop rdx
pop rbx
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
nop
mov rdi, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rsi, qword [rsp - 8]
nop
add rsp, 8
mov rbp, qword [rsp - 8]
ret
lea rcx, [rbp + 0x2b8]
call fcn.1400f0c50
nop
lea rcx, [0x1400032b8]
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
nop
lea rcx, [rbp + 0x2b8]
call fcn.1400f0c50
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.1400f0c50
int3