Function at 0x140170c80
Capabilities:
Generate random numbers via winapi
Write file on windows

Disassembly:
xchg rbx, rsi
mov qword [rsp + 0x10], rsi
xchg rbx, rsi
push rbp
nop
sub rsp, 8
mov qword [rsp], rsi
push rdi
nop
sub rsp, 8
mov qword [rsp], r12
nop
mov qword [rsp - 8], r13
sub rsp, 8
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movzx r12d, dl
xchg rdx, rcx
mov rdi, rdx
xchg rdx, rcx
xor r14d, r14d
mov dword [rbp + 0x2a0], r14d
xchg rdx, rcx
mov qword [rbp + 0x2b8], rdx
xchg rcx, rdx
sub rcx, 0xfffffffffffffa28
call fcn.14007b910
mov rdx, rax
mov dword [rsp + 0x20], 0x1d01fc9c
add dword [rsp + 0x20], 0x1c366941
sub dword [rsp + 0x20], 0x2c658221
add dword [rsp + 0x20], 0x4f169ef7
sub dword [rsp + 0x20], 0x5686516e
add dword [rsp + 0x20], 0x311b26d
xor dword [rsp + 0x20], 0x5e273993
add dword [rsp + 0x20], 0x24b180e5
sub dword [rsp + 0x20], 0x7b055b05
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x21]
lea rcx, [rbp + 0x150]
call fcn.1400878c0
nop
cmp qword [rbp + 0x1e0], r14
je 0x140172879
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0x638ea06d
sub qword [rbp - 8], 0x22d71bdd
xor qword [rbp - 8], 0x1cb22692
sub qword [rbp - 8], 0x5182ef4c
xor qword [rbp - 8], 0x345638a
add qword [rbp - 8], 0x4deaccf
xor qword [rbp - 8], 0xea67e0c
mov word [rbp - 0x20], r14w
xchg rbp, rsi
movups xmmword [rsi - 0x40], xmm0
xchg rsi, rbp
xchg r14, r13
mov qword [rbp - 0x30], r13
xchg r14, r13
mov qword [rbp - 0x28], 0x74b811d
add qword [rbp - 0x28], 0x42361359
sub qword [rbp - 0x28], 0xe8b215c
sub qword [rbp - 0x28], 0x1e43900f
add qword [rbp - 0x28], 0x55e55cc3
sub qword [rbp - 0x28], 0x49a1a433
sub qword [rbp - 0x28], 0x1e6da650
sub qword [rbp - 0x28], 0xa88f544
mov word [rbp - 0x40], r14w
movups xmmword [rsp + 0x50], xmm0
xchg r14, r12
mov qword [rsp + 0x60], r12
xchg r14, r12
mov qword [rsp + 0x68], 0x358668e5
sub qword [rsp + 0x68], 0x1285b964
sub qword [rsp + 0x68], 0xe1390cb
add qword [rsp + 0x68], 0x664548b7
sub qword [rsp + 0x68], 0x6347100f
add qword [rsp + 0x68], 0xdb7679c
xor qword [rsp + 0x68], 0x5fe6d21e
sub qword [rsp + 0x68], 0x7a446cdd
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], 0xa50865a
add qword [rbp - 0x78], 0x7120c315
xor qword [rbp - 0x78], 0x716345ce
xor qword [rbp - 0x78], 0x2ae05812
add qword [rbp - 0x78], 0x36ec9d53
add qword [rbp - 0x78], 0x153201c4
sub qword [rbp - 0x78], 0x6d10f3c3
mov word [rsp + 0x70], r14w
xchg r15, rax
mov r15, qword [rbp + 0x150]
xchg r15, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x24
add dl, 0x37
sub dl, 0x51
xor dl, 0x7c
xor dl, 0x23
xor dl, 3
xor dl, 0x2a
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 - 0x20]
lea rcx, [rbp + 0x150]
call fcn.140085f20
xchg rdi, rax
mov rdi, qword [rbp + 0x150]
xchg rdi, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0xa
add dl, 0x48
add dl, 0x13
xor dl, 0x20
xor dl, 0x25
sub dl, 0x56
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.140085f20
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x5b
sub dl, 0x26
sub dl, 0x2d
add dl, 0x47
add dl, 7
xor dl, 0x3e
sub dl, 0x4f
add dl, 0x50
xor dl, 0x63
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.140085f20
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x10
xor dl, 0x5a
add dl, 2
add dl, 0x27
sub dl, 0x65
add dl, 6
add dl, 0x33
xor dl, 0x17
sub dl, 0x46
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.140085f20
lea rcx, [rbp + 0x160]
call fcn.140176c20
test rax, rax
jne 0x14017100a
xchg rdi, rax
mov rdi, qword [rbp + 0x150]
xchg rdi, 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 r8, r14
mov qword [rbp + 0x2b0], r8
xchg r14, r8
mov r15d, 0x787f4e23
sub r15d, 0x639e3d92
add r15d, 0x116bc5a2
add r15d, 0x361a0303
sub r15d, 0x218666b6
xor r15d, 0x2da8db2
sub r15d, 0x383aff28
cmp qword [rsp + 0x60], 0
je 0x140171108
test r12b, r12b
jne 0x140171108
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]
xchg rcx, r12
mov r12, rbx
xchg rcx, r12
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
cmp rbx, qword [rbp + 0x2a0]
je 0x140172886
cmp dword [rsi], 0x22
je 0x140172893
mov qword [rbp + 0x2b0], rax
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 + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
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]
xchg rbx, rax
mov r15, rbx
xchg rbx, rax
cmp rbx, qword [rbp + 0x2a0]
je 0x1401728a0
cmp dword [rsi], 0x22
je 0x14017286c
jmp 0x140171520
mov r12b, 0x58
sub r12b, 0x50
add r12b, 0x62
sub r12b, 0x59
add r12b, 0x64
sub r12b, 0x74
mov dword [rsp + 0x20], 0x7e6e13a
add dword [rsp + 0x20], 0x12e0a92d
xor dword [rsp + 0x20], 0x7d10c995
sub dword [rsp + 0x20], 0xe39d540
add dword [rsp + 0x20], 0x22fa6810
sub dword [rsp + 0x20], 0x69488be5
add dword [rsp + 0x20], 0x1265aa64
add dword [rsp + 0x20], 0x2b1a491a
xor dword [rsp + 0x20], 0xa0cf3e5b
mov r9d, 0x19e5834d
sub r9d, 0x10b8eea5
add r9d, 0x5123d607
sub r9d, 0x3eff8e58
xor r9d, 0x778d9e46
sub r9d, 0x6cdd4210
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401728ad
lea r8, [rbp + 0x2b0]
mov edx, 0x949041e
add edx, 0x2c56fedc
xor edx, 0x21bb72df
xor edx, 0x1b655259
add edx, 0x2636be9b
xor edx, 0x133ffeef
sub edx, 0x1452ff74
sub edx, 0x1238207c
xchg rcx, r8
mov r8, qword [rbp + 0x2a0]
xchg r8, rcx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
xchg r12, rcx
mov r12, qword [rbp + 0x2a0]
xchg rcx, r12
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp - 0x60]
call fcn.140179d50
xchg r15, rax
mov rbx, r15
xchg r15, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140171330
xchg r8, rdx
mov r8, qword [rsp + 0x68]
xchg r8, rdx
cmp rdx, 8
jb 0x140171288
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171283
nop
sub rdx, 0x62409351
add rdx, 0x62409378
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140171388
call fcn.1401fd468
xchg r9, r14
mov qword [rsp + 0x60], r9
xchg r9, r14
mov qword [rsp + 0x68], 0x5a75873f
add qword [rsp + 0x68], 0x34beb10
add qword [rsp + 0x68], 0x83a5064
xor qword [rsp + 0x68], 0x71b9af6a
xor qword [rsp + 0x68], 0xc8c9017
add qword [rsp + 0x68], 0x4f981435
sub qword [rsp + 0x68], 0x59bf521b
sub qword [rsp + 0x68], 0xea7bfe1
mov word [rsp + 0x50], r14w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x50], xmm0
xchg rdi, rbx
movups xmm1, xmmword [rdi + 0x10]
xchg rbx, rdi
movups xmmword [rsp + 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0x7123e22
add qword [rbx + 0x18], 0x608136b4
sub qword [rbx + 0x18], 0x4296c60a
add qword [rbx + 0x18], 0x2370eda5
sub qword [rbx + 0x18], 0x12bc8e8
xor qword [rbx + 0x18], 0x4741d38e
mov word [rbx], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140171394
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x14017138f
nop
sub rdx, 0x79a30d8a
add rdx, 0x79a30db1
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x14017138f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xchg r15, r9
mov r9, rax
xchg r15, r9
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140179d50
mov rbx, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x1401714cb
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14017141f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017141a
nop
sub rdx, 0x5e79c0c4
add rdx, 0x5e79c0eb
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffad1bf62a
sub rax, 0xffffffffad1bf632
cmp rax, 0x1f
ja 0x140171514
call fcn.1401fd468
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0x30c5e1e5
add qword [rbp - 0x78], 0xc0454f0
sub qword [rbp - 0x78], 0x172b051b
add qword [rbp - 0x78], 0x13092429
xor qword [rbp - 0x78], 0x766e180c
sub qword [rbp - 0x78], 0x36ade9fb
add qword [rbp - 0x78], 0x1ce106cc
sub qword [rbp - 0x78], 0x34f96ab9
mov word [rsp + 0x70], r14w
xchg rbp, rbx
movups xmm0, xmmword [rbp]
xchg rbx, rbp
movups xmmword [rsp + 0x70], xmm0
xchg rbx, r15
movups xmm1, xmmword [r15 + 0x10]
xchg r15, rbx
xchg rbx, rbp
movups xmmword [rbx - 0x80], xmm1
xchg rbx, rbp
xchg r14, rcx
mov qword [rbx + 0x10], rcx
xchg r14, rcx
mov qword [rbx + 0x18], 0x483f3278
add qword [rbx + 0x18], 0x13782e9a
sub qword [rbx + 0x18], 0x13a53b62
add qword [rbx + 0x18], 0x19bf66cf
sub qword [rbx + 0x18], 0x323447e0
sub qword [rbx + 0x18], 0x2f9d4498
mov word [rbx], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140171520
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017151b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x14017151b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov ecx, dword [rdi + 0x48]
xchg r10, rdi
mov qword [rbp + 0x2a0], r10
xchg rdi, r10
mov qword [rbp - 0x70], rdi
xchg rdi, r11
mov qword [rbp - 0x68], r11
xchg rdi, r11
test ecx, ecx
je 0x14017170b
sub ecx, 1
je 0x140171638
cmp ecx, 1
jne 0x14017170b
mov rax, qword [rdi + 0x30]
movabs rbx, 0x2aaaaaaa4c9c3860
sub rbx, 0x37346866
sub rbx, 0x331abaa
add rbx, 0x3a29594e
xor rbx, 0x46078c9e
xor rbx, 0x21824db5
xor rbx, 0x746dcdd2
add rbx, 0x4af33944
cmp rax, qword [rdi + 0x38]
jne 0x140171629
xchg rcx, r8
mov r8, qword [rdi + 0x40]
xchg r8, 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, 0x13
shr rax, 0xd
shr rax, 0x13
shr rax, 0xb
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x14017161d
mov edx, 0x46b96ba
xor edx, 0x48b06325
add edx, 0x287dbce2
xor edx, 0x54a24822
add edx, 0x314e2565
sub edx, 0x3aa1bd47
add edx, 0x4a215d78
xor edx, 0x62c9c06d
lea rcx, [rdi + 0x30]
call fcn.1401757f0
lea rcx, [rbp + 0x2a0]
call fcn.14009c8b0
xchg rdx, rbx
mov rbx, qword [rdi + 0x30]
xchg rdx, rbx
jmp 0x1401717e0
xchg r11, rax
mov r11, qword [rdi + 0x18]
xchg r11, rax
movabs rbx, 0x2aaaaaaa29d2a753
sub rbx, 0x14c971b6
add rbx, 0x27fbb2f4
xor rbx, 0x75168e89
xor rbx, 0x41470a4b
xor rbx, 0x675ded04
add rbx, 0x3ca22954
cmp rax, qword [rdi + 0x20]
jne 0x1401716fc
mov rcx, qword [rdi + 0x28]
sub rcx, rax
xchg rbx, r12
mov rax, r12
xchg rbx, r12
imul rcx
sar rdx, 1
sar rdx, 1
xchg rdi, rdx
mov rax, rdi
xchg rdx, rdi
shr rax, 0x3b
shr rax, 2
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401716f3
mov edx, 0x5d857a6b
add edx, 0x1c710cf4
sub edx, 0xa378d92
xor edx, 0x9f8ee2a
sub edx, 0x48c19a12
add edx, 0x5a220852
sub edx, 0x4dbc5167
sub edx, 0x29ea346c
lea rcx, [rdi + 0x18]
call fcn.1401757f0
lea rcx, [rbp - 0x68]
call fcn.140136d70
xchg rcx, rdx
mov rcx, qword [rdi + 0x18]
xchg rdx, rcx
jmp 0x1401717e0
mov rax, qword [rdi]
movabs rbx, 0x2aaaaaaa69140aa8
xor rbx, 0x48ca003c
sub rbx, 0x12f63fd4
add rbx, 0x4f909b56
add rbx, 0x36da8bf
xor rbx, 0x7f16f4c7
add rbx, 0x54822fa6
add rbx, 0x7fffffff
sub rbx, 0x48c87f0c
cmp rax, qword [rdi + 8]
jne 0x1401717dd
mov rcx, qword [rdi + 0x10]
sub rcx, rax
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x33
shr rax, 4
shr rax, 6
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401717d4
mov edx, 0x16c86121
xor edx, 0x5aa9bed8
xor edx, 0x3f713133
xor edx, 0x1a3bf2a0
sub edx, 0x4f4cf14d
sub edx, 0x96edfce
add edx, 0x50afd5ef
xor edx, 0xb47b4b5
sub edx, 0x6a589537
xchg r13, rcx
mov r13, rdi
xchg rcx, r13
call fcn.1401757f0
lea rcx, [rbp - 0x70]
call fcn.1400f3520
mov rdx, qword [rdi]
add rdx, 0x5d79e4aa
sub rdx, 0x5d79dd5a
lea rcx, [rbp + 0x110]
call fcn.14007aca0
mov r14d, 0x264f888d
xor r14d, 0x65203d94
xor r14d, 0x61a13794
add r14d, 0xee116d7
xor r14d, 0x18843c59
sub r14d, 0xed5fdf8
xor r14d, 0x1a55a744
lea rcx, [rbp + 0x110]
call fcn.14007b4e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
xchg rcx, r11
mov qword [rsp + 0x40], r11
xchg r11, rcx
xchg rcx, r14
mov qword [rsp + 0x48], r14
xchg rcx, r14
nop
movabs r8, 0xffffffff78351b2b
sub r8, 0x373f4819
sub r8, 0x581e54c
add r8, 0xeb38fac
sub r8, 0x3a7535bd
add r8, 0x7fffffff
add r8, 0x704db84b
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x14017188e
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140030d60
nop
lea rcx, [rbp + 0x110]
call fcn.14007b1b0
test r15, r15
jne 0x140171bf5
mov ecx, dword [rdi + 0x48]
mov qword [rbp + 0x2a0], rdi
xchg r13, rdi
mov qword [rbp - 0x68], r13
xchg r13, rdi
xchg rdi, r12
mov qword [rbp - 0x70], r12
xchg r12, rdi
test ecx, ecx
je 0x140171a09
sub ecx, 1
je 0x140171966
cmp ecx, 1
jne 0x140171a09
mov rax, qword [rdi + 0x30]
cmp rax, qword [rdi + 0x38]
jne 0x14017195d
xchg r11, rcx
mov r11, qword [rdi + 0x40]
xchg r11, rcx
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg rdx, rax
mov rdx, rax
xchg rdx, rax
shr rax, 0x12
shr rax, 0x2b
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171951
lea edx, [r15 + 0x54]
lea rcx, [rdi + 0x30]
call fcn.1401757f0
lea rcx, [rbp + 0x2a0]
call fcn.14009c8b0
mov rdx, qword [rdi + 0x30]
jmp 0x140171aa3
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x1401719fa
xchg r10, rcx
mov r10, qword [rdi + 0x28]
xchg rcx, r10
sub rcx, rax
xchg rbp, rbx
mov rax, rbp
xchg rbx, rbp
imul rcx
sar rdx, 2
xchg rdx, rax
mov rdx, rax
xchg rdx, rax
shr rax, 0x1f
shr rax, 4
shr rax, 0x13
shr rax, 5
shr rax, 1
shr rax, 2
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401719f1
mov edx, 0x8b3fdb1
xor edx, 0x75dfaed3
sub edx, 0x1bc8014e
sub edx, 0x17b18b19
sub edx, 0x18153ab8
add edx, 0x32086962
xor edx, 0x63e5f5f1
lea rcx, [rdi + 0x18]
call fcn.1401757f0
lea rcx, [rbp - 0x70]
call fcn.140136d70
xchg rdx, rsi
mov rsi, qword [rdi + 0x18]
xchg rdx, rsi
jmp 0x140171aa3
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
jne 0x140171aa0
xchg r15, rcx
mov r15, qword [rdi + 0x10]
xchg r15, rcx
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r8, rax
mov r8, rdx
xchg r8, rax
shr rax, 0x13
shr rax, 0x15
shr rax, 7
shr rax, 0xa
shr rax, 3
shr rax, 1
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171a97
mov edx, 0x2045ecfe
add edx, 0x102b9fa3
add edx, 0x2109f969
xor edx, 0x6486ea97
xor edx, 0x7b1c994f
sub edx, 0x41cff69e
sub edx, 0xd11fee0
xchg r14, rdi
mov rcx, r14
xchg r14, rdi
call fcn.1401757f0
lea rcx, [rbp - 0x68]
call fcn.1400f3520
mov rdx, qword [rdi]
sub rdx, 0x1ada2167
add rdx, 0x1ada26d7
lea rcx, [rbp - 0x60]
call fcn.14007aca0
mov r14d, 0xdd455eb
add r14d, 0x23d27da3
xor r14d, 0x79f2e328
xor r14d, 0x6915003b
add r14d, 0xfe31808
xor r14d, 0xa1a604
add r14d, 0x1e673fae
add r14d, 0x2910ae25
sub r14d, 0x78fddc71
lea rcx, [rbp - 0x60]
call fcn.14007b4e0
xchg r9, rax
mov rax, r9
xchg r9, rax
nop
movabs rsi, 0xffffffff26c6f650
xor rsi, 0x36ac82c5
add rsi, 0x3e574aba
xor rsi, 0x55afd146
add rsi, 0x3189261
add rsi, 0xa360ca0
add rsi, 0x15ce64cb
add rsi, 0x3ef3dd94
add rsi, 0x7fffffff
xor rsi, 0x280b097
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140171b52
xchg r15, r9
mov r9, qword [rsp + 0x40]
xchg r15, r9
xchg r13, rcx
mov r13, qword [rsp + 0x48]
xchg r13, rcx
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x140171bc6
lea rax, [r15 + rsi]
xchg rsi, rax
mov qword [rsp + 0x40], rsi
xchg rsi, rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
xchg r8, r9
mov rdx, r8
xchg r8, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x140171be7
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
xchg rsi, rbp
mov rdx, rbp
xchg rbp, rsi
lea rcx, [rsp + 0x30]
call fcn.140035080
nop
lea rcx, [rbp - 0x60]
call fcn.14007b1b0
jmp 0x140171d28
mov r8b, 0x60
sub r8b, 0x52
xor r8b, 0xe
add r8b, 0x2b
sub r8b, 0x20
add r8b, 0x1d
add r8b, 0x25
sub r8b, 0x4b
sub r8b, 1
xchg r13, r15
mov rdx, r13
xchg r13, r15
lea rcx, [rbp - 0x60]
call fcn.1401f5810
xchg r9, rax
mov rax, r9
xchg r9, rax
xchg rsi, rbx
mov rbx, qword [rax + 0x10]
xchg rsi, rbx
cmp qword [rax + 0x18], 8
jb 0x140171c4f
xchg r9, rdi
mov rdi, qword [rax]
xchg r9, rdi
xchg rdx, r15
mov rdx, qword [rsp + 0x40]
xchg r15, rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x140171ca9
lea rax, [r15 + rsi]
xchg r11, rax
mov qword [rsp + 0x40], r11
xchg r11, 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 0x140171cc4
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140035080
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140171d28
lea rdx, [rdx*2 + 2]
xchg r13, rcx
mov r13, qword [rbp - 0x60]
xchg rcx, r13
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171d23
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffd38a25cd
sub rax, 0xffffffffd38a25d5
cmp rax, 0x1f
jbe 0x140171d23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov r15, qword [rdi + 0x2d0]
mov rcx, qword [rsp + 0x40]
inc rcx
mov eax, 0x333c8dc
add eax, 0x1c902115
add eax, 0x3da77c4a
xor eax, 0x53f8604a
xor eax, 0x20c77b33
sub eax, 0x4c5d258
xor eax, 0x5dbc1800
xor eax, 0x7432b2e8
mul rcx
mov rsi, rax
pushf
movabs rax, 0xffffffff57382af5
xor rax, 0x1237acae
sub rax, 0x3c930327
xor rax, 0x2415b475
sub rax, 0x1d6eb6d2
add rax, 0x7fffffff
xor rax, 0x71057f91
popf
cmovo rsi, rax
mov rcx, rsi
call fcn.1401fd470
xchg rbx, rbp
mov rbp, rax
xchg rbp, rbx
test rax, rax
je 0x140171dd3
xchg rsi, r8
mov rsi, r8
xchg r8, rsi
xor edx, edx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
jmp 0x140171dd7
xor esi, esi
mov ebx, esi
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
xchg r12, rdx
mov r12, qword [rsp + 0x40]
xchg r12, rdx
inc rdx
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xchg r14, rbx
mov qword [rdi + 0x2d0], r14
xchg r14, rbx
xchg r11, rdx
mov r11, rbx
xchg r11, rdx
xchg rcx, r14
mov r14, qword [rdi + 0x2b0]
xchg rcx, r14
call fcn.14017e000
test r15, r15
je 0x140171e3e
mov rcx, r15
call fcn.1401fd468
test r12b, r12b
je 0x140172402
lea rcx, [rdi + 0x5d8]
call fcn.14007b910
xchg rbp, rbx
mov rbp, rax
xchg rbp, rbx
lea rax, [0x140003480]
mov qword [rbp], 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
xchg r10, rax
mov r10, qword [rbp]
xchg r10, 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]
mov qword [rbp + 8], rax
mov byte [rbp + 0x84], 0x78
xor byte [rbp + 0x84], 0x4d
xor byte [rbp + 0x84], 0x40
sub byte [rbp + 0x84], 0x54
xor byte [rbp + 0x84], 0x34
xor byte [rbp + 0x84], 0x46
xor byte [rbp + 0x84], 0x32
sub byte [rbp + 0x84], 0x61
mov byte [rbp + 0x7a], 0x18
add byte [rbp + 0x7a], 0x43
sub byte [rbp + 0x7a], 0x21
add byte [rbp + 0x7a], 7
sub byte [rbp + 0x7a], 0x39
xor byte [rbp + 0x7a], 0x60
sub byte [rbp + 0x7a], 0xe
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]
mov qword [rbp + 0x88], rsi
mov rax, qword [0x140218068]
xchg r10, rax
mov qword [rbp + 0x7c], r10
xchg r10, rax
mov qword [rbp + 0x70], rsi
mov r9d, 0x2b8ac010
xor r9d, 0x5515ee89
xor r9d, 0x7de3d4a5
add r9d, 0x772339a
add r9d, 0x7163d6bc
xor r9d, 0x7c5304d2
lea r8d, [r9 - 0xe]
xchg r14, rdx
mov r14, rbx
xchg r14, rdx
lea rcx, [rbp + 8]
call fcn.140177e70
test rax, rax
jne 0x140171fb9
xchg r10, rax
mov r10, qword [rbp]
xchg r10, 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 0x14017285f
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp]
call fcn.140081c50
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
mov ebx, 0x6896f73b
sub ebx, 0x23dd9e4f
sub ebx, 0x15ef58c1
add ebx, 0x366a4c7
xor ebx, 0x30697680
add ebx, 0x57a18553
sub ebx, 0x59fb57bb
movzx edx, bx
call fcn.14007dc10
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
xchg r8, rsi
mov rsi, qword [rbp - 0x30]
xchg r8, rsi
lea rcx, [rbp]
call fcn.140081c50
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
movzx edx, bx
call fcn.14007dc10
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
xchg r8, rbx
mov rbx, qword [rsp + 0x60]
xchg r8, rbx
lea rcx, [rbp]
call fcn.140081c50
xchg rdx, rax
mov rcx, rdx
xchg rdx, rax
movzx edx, bx
call fcn.14007dc10
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.140081c50
lea rcx, [rbp + 8]
cmp qword [rbp + 0x88], 0
je 0x14017233b
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 0x1401720e7
xchg r9, rcx
mov rcx, qword [rbp + 0x98]
xchg r9, rcx
xchg rdx, r11
mov r11, qword [rbp + 0x90]
xchg r11, rdx
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 0x1401721d7
cmp byte [rbp + 0x7a], 0
je 0x1401721d7
mov rax, qword [rbp + 8]
mov r8, qword [rax + 0x18]
lea rax, [fcn.1401780c0]
mov ebx, 0x5170a165
add ebx, 0x2ab9e37c
xor ebx, 0x535b63b6
add ebx, 0x246b26aa
xor ebx, 0x472ca461
add ebx, 0x24be1ffa
xor ebx, 0x39af35a5
lea rcx, [rbp + 8]
mov edx, ebx
cmp r8, rax
jne 0x14017214d
call fcn.1401780c0
jmp 0x140172150
call r8
cmp bx, ax
jne 0x140172160
xor al, al
jmp 0x1401721e9
lea rax, [rbp + 0x2a0]
xchg rcx, rax
mov qword [rsp + 0x20], rcx
xchg rcx, rax
lea r9, [rbp + 0x148]
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x7c]
xchg rcx, r12
mov r12, qword [rbp + 0x70]
xchg rcx, r12
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 0x140172294
sub eax, 1
je 0x1401722b0
cmp eax, 2
je 0x1401721b3
xor al, al
jmp 0x1401721e9
mov byte [rbp + 0x7a], 0x5f
sub byte [rbp + 0x7a], 0x1e
xor byte [rbp + 0x7a], 0x1b
xor byte [rbp + 0x7a], 0x65
xor byte [rbp + 0x7a], 0x16
add byte [rbp + 0x7a], 0x11
add byte [rbp + 0x7a], 0x17
xor byte [rbp + 0x7a], 0x4a
sub byte [rbp + 0x7a], 0x1b
mov al, 0x3a
xor al, 0x57
xor al, 0x4f
add al, 0x1d
sub al, 8
xor al, 0xc
add al, 0x15
add al, 0xe
xor al, 0x5f
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], 0x64
sub byte [rbp + 0x84], 0x54
add byte [rbp + 0x84], 0x43
sub byte [rbp + 0x84], 5
sub byte [rbp + 0x84], 0x24
sub byte [rbp + 0x84], 0x1c
sub byte [rbp + 0x84], 9
sub byte [rbp + 0x84], 5
mov byte [rbp + 0x7a], 0x19
add byte [rbp + 0x7a], 0xc
xor byte [rbp + 0x7a], 0x67
sub byte [rbp + 0x7a], 0x37
xor byte [rbp + 0x7a], 0x5d
sub byte [rbp + 0x7a], 0x56
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 rsi, rdi
mov qword [rbp + 0x88], rdi
xchg rdi, rsi
mov rax, qword [0x140218068]
xchg rsi, rax
mov qword [rbp + 0x7c], rsi
xchg rsi, rax
xchg rsi, r13
mov qword [rbp + 0x70], r13
xchg rsi, r13
test rbx, rbx
jne 0x1401723c3
jmp 0x1401723a6
mov byte [rbp + 0x7a], 0x1b
xor byte [rbp + 0x7a], 0x34
add byte [rbp + 0x7a], 0x38
xor byte [rbp + 0x7a], 0x39
sub byte [rbp + 0x7a], 0x57
add byte [rbp + 0x7a], 0x23
sub byte [rbp + 0x7a], 0x2a
lea rax, [rbp + 0x128]
mov rbx, qword [rbp + 0x2a0]
sub rbx, rax
je 0x14017232f
xchg r8, r9
mov r8, qword [rbp + 0x88]
xchg r8, r9
xchg rbx, r8
mov rbx, r8
xchg rbx, r8
mov edx, 0x222eaaa6
sub edx, 0x8b0b818
sub edx, 0x534465f
xor edx, 0x37cb99ac
xor edx, 0x61d83a36
add edx, 0x12498dcf
sub edx, 0x17bb21cd
add edx, 0x6a3020e
xor edx, 0x438b7dc4
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14017232f
xor al, al
jmp 0x1401721e9
cmp byte [rbp + 0x7a], 0
sete al
jmp 0x1401721e9
mov byte [rbp + 0x84], 0x2c
xor byte [rbp + 0x84], 0x22
add byte [rbp + 0x84], 0x33
xor byte [rbp + 0x84], 0x1f
sub byte [rbp + 0x84], 0x5d
add byte [rbp + 0x84], 8
sub byte [rbp + 0x84], 9
mov byte [rbp + 0x7a], 0x22
xor byte [rbp + 0x7a], 0x65
xor byte [rbp + 0x7a], 0x36
sub byte [rbp + 0x7a], 7
sub byte [rbp + 0x7a], 0xd
sub byte [rbp + 0x7a], 0x5d
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 [0x140218068]
mov qword [rbp + 0x7c], rax
xchg r13, rsi
mov qword [rbp + 0x70], r13
xchg rsi, r13
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
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.1400903d0
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 0x14017245e
xchg rdx, r15
mov r15, qword [rbp + 0x2b0]
xchg r15, rdx
call fcn.1401c4980
mov rcx, qword [rdi + 0x50]
call fcn.1401c4480
test al, al
je 0x14017245e
mov r8b, 0x43
add r8b, 0x36
sub r8b, 0x10
sub r8b, 0x3b
sub r8b, 0xe
xor r8b, 0x53
sub r8b, 0x42
sub r8b, 0x30
movzx edx, r8b
mov rcx, qword [rdi + 0x50]
call fcn.1401c4840
lea rcx, [rdi + 0x5d8]
call fcn.14007b880
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1401724bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401724b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x1401724b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
xchg r9, rsi
mov qword [rsp + 0x40], r9
xchg rsi, r9
mov qword [rsp + 0x48], 0x49bd1466
sub qword [rsp + 0x48], 0x223012fe
xor qword [rsp + 0x48], 0x31ce1d44
sub qword [rsp + 0x48], 0x13894923
xor qword [rsp + 0x48], 0x30cdf239
add qword [rsp + 0x48], 0x1e7693f9
xor qword [rsp + 0x48], 0x50eab52e
mov word [rsp + 0x30], si
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14017256e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x140172569
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xffffffffdca652c6
add rax, 0xffffffffdca652be
cmp rax, 0x1f
jbe 0x140172569
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0x4b1c25d9
sub qword [rbp - 0x78], 0x3e307b8c
xor qword [rbp - 0x78], 0x432abee4
xor qword [rbp - 0x78], 0x601d0892
sub qword [rbp - 0x78], 0x162e94b9
xor qword [rbp - 0x78], 0xadbf7f2
sub qword [rbp - 0x78], 0x13767069
mov word [rsp + 0x70], si
xchg r13, rdx
mov r13, qword [rsp + 0x68]
xchg rdx, r13
cmp rdx, 8
jb 0x140172606
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140172601
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140172601
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0x4fb98c79
add qword [rsp + 0x68], 0x1c3d0b1a
xor qword [rsp + 0x68], 0x1fc2d415
sub qword [rsp + 0x68], 0x125dbc89
sub qword [rsp + 0x68], 0x18c36ce5
xor qword [rsp + 0x68], 0x6f575ee9
sub qword [rsp + 0x68], 0x264444ea
mov word [rsp + 0x50], si
xchg r8, rdx
mov r8, qword [rbp - 0x28]
xchg rdx, r8
cmp rdx, 8
jb 0x1401726ae
lea rdx, [rdx*2 + 2]
xchg rcx, r14
mov r14, qword [rbp - 0x40]
xchg r14, rcx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x1401726a9
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401726a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x4760f538
xor qword [rbp - 0x28], 0x37da21b6
add qword [rbp - 0x28], 0x1c46525
sub qword [rbp - 0x28], 0x46bc8805
add qword [rbp - 0x28], 0x2b92032c
sub qword [rbp - 0x28], 0xf04af3d
sub qword [rbp - 0x28], 0x29aa0807
xor qword [rbp - 0x28], 0x1ea5fd91
mov word [rbp - 0x40], si
xchg r9, rdx
mov r9, qword [rbp - 8]
xchg r9, rdx
cmp rdx, 8
jb 0x140172751
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14017274c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x14017274c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd468
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0x79e003eb
sub qword [rbp - 8], 0x5a4318bb
xor qword [rbp - 8], 0x5520d66a
xor qword [rbp - 8], 0x2ac4c59d
xor qword [rbp - 8], 0x865977b
xor qword [rbp - 8], 0x144952d3
sub qword [rbp - 8], 0x4fee9e1
sub qword [rbp - 8], 0x77555387
mov word [rbp - 0x20], si
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [0x140003468]
xchg r11, rax
mov qword [rbp + rcx + 0x150], r11
xchg r11, 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.1400903d0
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
mov r15, qword [rsp - 8]
push rcx
push rdx
push rdx
push rdx
push rdx
push rdx
xchg qword [rsp + 0x30], r14
add rsp, 0x38
nop
xchg qword [rsp], r13
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], r12
push rbx
xchg qword [rsp + 8], rdi
pop rbx
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], rsi
push rbx
push rcx
push rcx
push rbx
xchg qword [rsp + 0x20], rbp
pop rbx
pop rcx
pop rcx
pop rbx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
lea rcx, [rbp + 0x2b8]
call fcn.1400f1070
nop
lea rcx, [0x1400032b8]
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
nop
lea rcx, [rbp + 0x2b8]
call fcn.1400f1070
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.1400f1070
int3