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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
nop
mov qword [rsp - 8], rdi
sub rsp, 8
push r12
nop
push 0x5fa50fb3
mov qword [rsp], r13
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
mov qword [rsp - 8], r15
sub rsp, 8
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movzx r12d, dl
xchg rdi, rcx
mov rcx, rdi
xchg rdi, rcx
xor r14d, r14d
mov dword [rbp + 0x2a0], r14d
xchg r9, rcx
mov qword [rbp + 0x2b8], r9
xchg rcx, r9
sub rcx, 0x6f8be6d7
add rcx, 0x6f8becaf
call fcn.14007b5c0
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
mov dword [rsp + 0x20], 0x4c2fa2db
add dword [rsp + 0x20], 0x1c77c09b
sub dword [rsp + 0x20], 0x1e222e6a
sub dword [rsp + 0x20], 0x22d44cb8
add dword [rsp + 0x20], 0x358e4239
sub dword [rsp + 0x20], 0x5602c77a
sub dword [rsp + 0x20], 0x73c6312
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x21]
lea rcx, [rbp + 0x150]
call fcn.140087560
nop
cmp qword [rbp + 0x1e0], r14
je 0x1401722f7
xorps xmm0, xmm0
xchg r12, rbp
movups xmmword [r12 - 0x20], xmm0
xchg r12, rbp
xchg rcx, r14
mov qword [rbp - 0x10], rcx
xchg r14, rcx
mov qword [rbp - 8], 0x78cb3b38
xor qword [rbp - 8], 0x314a3d1d
add qword [rbp - 8], 0x4ee154c
xor qword [rbp - 8], 0xbe56009
xor qword [rbp - 8], 0x13ab7129
sub qword [rbp - 8], 0x2efd48e0
xor qword [rbp - 8], 0x2723c176
mov word [rbp - 0x20], r14w
xchg rbp, r14
movups xmmword [r14 - 0x40], xmm0
xchg rbp, r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0x1b055c3
add qword [rbp - 0x28], 0x3879b85d
xor qword [rbp - 0x28], 0x1eef9c8b
xor qword [rbp - 0x28], 0x993c4ec
add qword [rbp - 0x28], 0x20eae81d
xor qword [rbp - 0x28], 0x86c1fd8
sub qword [rbp - 0x28], 0x3aba0354
add qword [rbp - 0x28], 0x5f1910ed
sub qword [rbp - 0x28], 0x6a8c2f4e
mov word [rbp - 0x40], r14w
movups xmmword [rsp + 0x50], xmm0
xchg r14, rbx
mov qword [rsp + 0x60], rbx
xchg r14, rbx
mov qword [rsp + 0x68], 0x5442a2ce
xor qword [rsp + 0x68], 0x181bb520
sub qword [rsp + 0x68], 0x219f889f
sub qword [rsp + 0x68], 0x22402eee
add qword [rsp + 0x68], 0x1b97feab
sub qword [rsp + 0x68], 0x24115f05
mov word [rsp + 0x50], r14w
movups xmmword [rsp + 0x70], xmm0
xchg r14, rcx
mov qword [rbp - 0x80], rcx
xchg rcx, r14
mov qword [rbp - 0x78], 0x6c3d3efc
sub qword [rbp - 0x78], 0x1ed36d0f
xor qword [rbp - 0x78], 0x6938255d
add qword [rbp - 0x78], 0xe07ae9c
add qword [rbp - 0x78], 0x17b47d15
add qword [rbp - 0x78], 0x2d2e0e7f
sub qword [rbp - 0x78], 0x41e46e63
sub qword [rbp - 0x78], 0x3557c076
mov word [rsp + 0x70], r14w
xchg rbx, rax
mov rbx, qword [rbp + 0x150]
xchg rbx, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x28
xor dl, 0x55
xor dl, 0x25
add dl, 0x1b
sub dl, 0x25
sub dl, 0x47
xor dl, 0x2f
sub dl, 0x1e
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.140085c20
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, 0x28
add dl, 0x21
add dl, 0x11
sub dl, 0x40
xor dl, 0x2c
xor dl, 0x3c
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.140085c20
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, 0x5b
sub dl, 0x31
xor dl, 0x34
sub dl, 0x1c
add dl, 0x5b
sub dl, 0x53
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.140085c20
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x49
sub dl, 0x29
add dl, 0x1e
sub dl, 0x32
add dl, 0x64
xor dl, 0x7c
xor dl, 0x27
sub dl, 0x21
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.140085c20
lea rcx, [rbp + 0x160]
call fcn.140176540
test rax, rax
jne 0x140170a10
xchg r15, rax
mov r15, qword [rbp + 0x150]
xchg r15, 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 r11, r14
mov qword [rbp + 0x2b0], r11
xchg r14, r11
mov r15d, 0x3e7bf07f
add r15d, 0x268f4b22
xor r15d, 0x6b486cfa
add r15d, 0x4eb7cc80
sub r15d, 0xf9eabfa
xor r15d, 0x47d21317
xor r15d, 0x3de6a180
sub r15d, 0x3768c56c
cmp qword [rsp + 0x60], 0
je 0x140170b17
test r12b, r12b
jne 0x140170b17
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, r14
mov r14, rbx
xchg r14, rcx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
cmp rbx, qword [rbp + 0x2a0]
je 0x140172304
cmp dword [rsi], 0x22
je 0x140172311
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]
xchg rbx, rsi
mov rcx, rsi
xchg rsi, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
mov r15, rax
cmp rbx, qword [rbp + 0x2a0]
je 0x14017231e
cmp dword [rsi], 0x22
je 0x1401722ea
jmp 0x140170f86
mov r12b, 0x3b
add r12b, 0x37
sub r12b, 0x43
xor r12b, 0x3b
add r12b, 0x1d
add r12b, 0xf
add r12b, 0x29
xor r12b, 0x68
mov dword [rsp + 0x20], 0x6494d7b6
xor dword [rsp + 0x20], 0x39e53296
xor dword [rsp + 0x20], 0x583689dd
add dword [rsp + 0x20], 0x3f40d061
xor dword [rsp + 0x20], 0x6347e41c
add dword [rsp + 0x20], 0xf45c096
add dword [rsp + 0x20], 0xb8ea6628
mov r9d, 0x13ca8a3d
xor r9d, 0x26642fd3
xor r9d, 0x7b4bb85b
xor r9d, 0x5b60a563
add r9d, 0x5f98584f
xor r9d, 0x522101d8
xor r9d, 0x5cbc3524
sub r9d, 0x74d4d3f1
sub r9d, 0x6ae51e7
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14017232b
lea r8, [rbp + 0x2b0]
mov edx, 0x59c2dec8
sub edx, 0xcddb1e5
xor edx, 0x4e6de364
xor edx, 0x760f10f
add edx, 0x6ce3a5e5
xor edx, 0x34d11031
sub edx, 0x615cde9
xor edx, 0xf0a3893
xor edx, 0x4f0f1ee8
mov rcx, qword [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
mov rcx, qword [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp - 0x60]
call fcn.140179640
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140170d5c
xchg rbp, rdx
mov rbp, qword [rsp + 0x68]
xchg rbp, rdx
cmp rdx, 8
jb 0x140170ca2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
xchg rdi, rax
mov rdi, rcx
xchg rdi, rax
cmp rdx, 0x1000
jb 0x140170c9d
nop
add rdx, 0x5e5c989d
sub rdx, 0x5e5c9876
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
ja 0x140170dbf
call fcn.1401fd08c
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0x77552fd4
xor qword [rsp + 0x68], 0x3691459a
sub qword [rsp + 0x68], 0x7829023
xor qword [rsp + 0x68], 0x502bc54e
sub qword [rsp + 0x68], 0x25dc6af5
xor qword [rsp + 0x68], 0x717774b4
xor qword [rsp + 0x68], 0x233f0429
sub qword [rsp + 0x68], 0x16c5c4e6
mov word [rsp + 0x50], r14w
movups xmm0, xmmword [rbx]
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], 0x77110f81
xor qword [rbx + 0x18], 0x45e392f5
xor qword [rbx + 0x18], 0x129c6bea
xor qword [rbx + 0x18], 0x534660cf
sub qword [rbx + 0x18], 0x7228c4c6
add qword [rbx + 0x18], 0x5abec291
sub qword [rbx + 0x18], 0x220bde35
sub qword [rbx + 0x18], 0x114c8190
sub qword [rbx + 0x18], 0x28663450
mov word [rbx], r14w
xchg rdx, rcx
mov rcx, qword [rbp - 0x48]
xchg rdx, rcx
cmp rdx, 8
jb 0x140170dcb
lea rdx, [rdx*2 + 2]
xchg rcx, rsi
mov rsi, qword [rbp - 0x60]
xchg rcx, rsi
mov rax, rcx
cmp rdx, 0x1000
jb 0x140170dc6
nop
sub rdx, 0x274bd9be
add rdx, 0x274bd9e5
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xffffffffb28dac5c
add rax, 0xffffffffb28dac54
cmp rax, 0x1f
jbe 0x140170dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xchg rsi, rax
mov r15, rsi
xchg rsi, rax
xchg rbp, rax
mov rdx, rbp
xchg rbp, rax
lea rcx, [rbp - 0x60]
call fcn.140179640
xchg r9, rbx
mov r9, rax
xchg r9, rbx
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x140170f1c
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140170e5f
lea rdx, [rdx*2 + 2]
xchg rcx, rsi
mov rsi, qword [rsp + 0x70]
xchg rsi, rcx
xchg r13, rax
mov r13, rcx
xchg r13, rax
cmp rdx, 0x1000
jb 0x140170e5a
nop
add rdx, 0x6b07b67
sub rdx, 0x6b07b40
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140170f7a
call fcn.1401fd08c
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0x77ed3e29
sub qword [rbp - 0x78], 0x1efe3293
xor qword [rbp - 0x78], 0x64c5b63b
add qword [rbp - 0x78], 0x37c3ee09
sub qword [rbp - 0x78], 0x119692b7
sub qword [rbp - 0x78], 0x5435fe09
add qword [rbp - 0x78], 0x3848e431
add qword [rbp - 0x78], 0xae61a8e
xor qword [rbp - 0x78], 0x515119b2
mov word [rsp + 0x70], r14w
xchg rcx, rbx
movups xmm0, xmmword [rcx]
xchg rbx, rcx
movups xmmword [rsp + 0x70], xmm0
xchg r15, rbx
movups xmm1, xmmword [r15 + 0x10]
xchg r15, rbx
movups xmmword [rbp - 0x80], xmm1
xchg rdx, r14
mov qword [rbx + 0x10], rdx
xchg r14, rdx
mov qword [rbx + 0x18], 0x4989f549
xor qword [rbx + 0x18], 0x3716bf2e
sub qword [rbx + 0x18], 0x62e526d7
sub qword [rbx + 0x18], 0x12ec8fe8
add qword [rbx + 0x18], 0x6223a6f4
xor qword [rbx + 0x18], 0x3439ab61
sub qword [rbx + 0x18], 0x5d2d3b8d
sub qword [rbx + 0x18], 0x19b5669
mov word [rbx], r14w
xchg rdx, rcx
mov rcx, qword [rbp - 0x48]
xchg rdx, rcx
cmp rdx, 8
jb 0x140170f86
lea rdx, [rdx*2 + 2]
xchg rcx, rbx
mov rbx, qword [rbp - 0x60]
xchg rbx, rcx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x140170f81
nop
add rdx, 0x4c773074
sub rdx, 0x4c77304d
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x140170f81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
mov ecx, dword [rdi + 0x48]
xchg rdi, r14
mov qword [rbp + 0x2a0], r14
xchg r14, rdi
xchg rcx, rdi
mov qword [rbp - 0x70], rcx
xchg rdi, rcx
xchg rdi, r13
mov qword [rbp - 0x68], r13
xchg rdi, r13
test ecx, ecx
je 0x140171165
sub ecx, 1
je 0x140171098
cmp ecx, 1
jne 0x140171165
xchg rbp, rax
mov rbp, qword [rdi + 0x30]
xchg rbp, rax
movabs rbx, 0x2aaaaaaa0fb9c677
add rbx, 0x54d9f76b
xor rbx, 0x74c658f7
add rbx, 0x4dedf24c
xor rbx, 0x3aabbe49
add rbx, 0xf379922
xor rbx, 0x64dd6a8c
add rbx, 0x7fffffff
add rbx, 0x19ad41e6
cmp rax, qword [rdi + 0x38]
jne 0x14017108f
mov rcx, qword [rdi + 0x40]
sub rcx, rax
xchg r12, rax
mov r12, rbx
xchg r12, rax
imul rcx
sar rdx, 2
xchg rdx, rsi
mov rax, rsi
xchg rsi, rdx
shr rax, 0xb
shr rax, 0x34
add rdx, rax
cmp rdx, 0x54
jae 0x140171083
mov edx, 0x68d2d3e1
sub edx, 0x5df31ba5
add edx, 0x5fd3c6e
xor edx, 0x78a911e1
sub edx, 0x64ca959f
xor edx, 0x6b4d38ea
sub edx, 0x4e2aa801
sub edx, 0x1abbcef1
lea rcx, [rdi + 0x30]
call fcn.1401751a0
lea rcx, [rbp + 0x2a0]
call fcn.14009c7a0
mov rdx, qword [rdi + 0x30]
jmp 0x140171242
xchg rbx, rax
mov rbx, qword [rdi + 0x18]
xchg rbx, rax
movabs rbx, 0x2aaaaaaa132f1e00
sub rbx, 0xffb792e
xor rbx, 0x798f5a66
xor rbx, 0x42242344
sub rbx, 0x6267f1b
add rbx, 0x78384bd6
cmp rax, qword [rdi + 0x20]
jne 0x140171156
mov rcx, qword [rdi + 0x28]
sub rcx, rax
xchg r8, rbx
mov rax, r8
xchg r8, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg rdx, rax
mov rdx, rax
xchg rdx, rax
shr rax, 0x37
shr rax, 5
shr rax, 1
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x14017114d
mov edx, 0x7b9a751b
xor edx, 0x7a1a711e
xor edx, 0x57ae77a3
xor edx, 0x5077bf6a
add edx, 0x161dd218
sub edx, 0x4754b1e
add edx, 0x17ecc34f
xor edx, 0x2fef1741
lea rcx, [rdi + 0x18]
call fcn.1401751a0
lea rcx, [rbp - 0x68]
call fcn.140136980
xchg r10, rdx
mov r10, qword [rdi + 0x18]
xchg r10, rdx
jmp 0x140171242
xchg r9, rax
mov r9, qword [rdi]
xchg r9, rax
movabs rbx, 0x2aaaaaaa00e22dfe
add rbx, 0x5405e2d3
sub rbx, 0x12c60edd
xor rbx, 0x744fa9b8
xor rbx, 0x54d902b5
add rbx, 0x7fffffff
sub rbx, 0x380a004d
cmp rax, qword [rdi + 8]
jne 0x140171239
xchg r12, rcx
mov r12, qword [rdi + 0x10]
xchg r12, rcx
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r11, rax
mov r11, rdx
xchg r11, rax
shr rax, 0xe
shr rax, 0x26
shr rax, 6
shr rax, 3
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171230
mov edx, 0x24a2bea
add edx, 0x67316d6f
sub edx, 0x50db4d5a
xor edx, 0x3b0b27ba
add edx, 0x36a82e8a
sub edx, 0x5430f327
xor edx, 0x37f04bf2
add edx, 0x3ddae47e
sub edx, 0x6fadd084
xchg r13, rdi
mov rcx, r13
xchg r13, rdi
call fcn.1401751a0
lea rcx, [rbp - 0x70]
call fcn.1400f3140
xchg r14, rdx
mov r14, qword [rdi]
xchg rdx, r14
add rdx, 0x750
lea rcx, [rbp + 0x110]
call fcn.14007a900
mov r14d, 0x35f9fe65
sub r14d, 0x153028bd
xor r14d, 0x65bb8af0
xor r14d, 0x548a77ed
add r14d, 0x325fdc9
add r14d, 0x4ebd0186
add r14d, 0xf952194
xor r14d, 0x4e2f4793
sub r14d, 0x3d5f0e0a
lea rcx, [rbp + 0x110]
call fcn.14007b1a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
xchg r12, rcx
mov qword [rsp + 0x40], r12
xchg rcx, r12
xchg rbp, rcx
mov qword [rsp + 0x48], rbp
xchg rbp, rcx
nop
movabs r8, 0xffffffff1947f361
xor r8, 0x679b86a6
sub r8, 0x4f2b95df
xor r8, 0x1bbf2dd3
add r8, 0x44d74dae
sub r8, 0x39b24b5f
add r8, 0x7fffffff
xor r8, 0x40cb0b76
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x1401712fe
xchg rbp, rdx
mov rbp, rax
xchg rbp, rdx
lea rcx, [rsp + 0x30]
call fcn.140030d10
nop
lea rcx, [rbp + 0x110]
call fcn.14007ae40
test r15, r15
jne 0x14017165c
mov ecx, dword [rdi + 0x48]
xchg r9, rdi
mov qword [rbp + 0x2a0], r9
xchg rdi, r9
mov qword [rbp - 0x68], rdi
xchg r11, rdi
mov qword [rbp - 0x70], r11
xchg r11, rdi
test ecx, ecx
je 0x140171487
sub ecx, 1
je 0x1401713e9
cmp ecx, 1
jne 0x140171487
xchg rbp, rax
mov rbp, qword [rdi + 0x30]
xchg rbp, rax
cmp rax, qword [rdi + 0x38]
jne 0x1401713e0
mov rcx, qword [rdi + 0x40]
sub rcx, rax
xchg r13, rax
mov r13, rbx
xchg r13, rax
imul rcx
sar rdx, 1
sar rdx, 1
xchg r9, rax
mov r9, rdx
xchg r9, rax
shr rax, 0x1b
shr rax, 0xc
shr rax, 0xa
shr rax, 5
shr rax, 6
shr rax, 1
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401713d4
lea edx, [r15 + 0x54]
lea rcx, [rdi + 0x30]
call fcn.1401751a0
lea rcx, [rbp + 0x2a0]
call fcn.14009c7a0
mov rdx, qword [rdi + 0x30]
jmp 0x140171529
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x14017147e
xchg rdx, rcx
mov rdx, qword [rdi + 0x28]
xchg rcx, rdx
sub rcx, rax
xchg r11, rax
mov r11, rbx
xchg r11, rax
imul rcx
sar rdx, 1
sar rdx, 1
xchg r12, rax
mov r12, rdx
xchg r12, rax
shr rax, 0x29
shr rax, 0x10
shr rax, 3
shr rax, 1
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171475
mov edx, 0x5a0ce988
sub edx, 0x5033c69d
add edx, 0x1cdb3a1e
add edx, 0x20235b10
xor edx, 0x1add5807
xor edx, 0x2f094ed6
xor edx, 0x56d12ded
xor edx, 0x25d28371
lea rcx, [rdi + 0x18]
call fcn.1401751a0
lea rcx, [rbp - 0x70]
call fcn.140136980
mov rdx, qword [rdi + 0x18]
jmp 0x140171529
xchg r11, rax
mov r11, qword [rdi]
xchg r11, rax
cmp rax, qword [rdi + 8]
jne 0x140171520
xchg rcx, rdx
mov rdx, qword [rdi + 0x10]
xchg rdx, rcx
sub rcx, rax
xchg rbx, rax
mov rbx, rax
xchg rbx, rax
imul rcx
sar rdx, 2
xchg r13, rax
mov r13, rdx
xchg r13, rax
shr rax, 0x1f
shr rax, 0x1b
shr rax, 2
shr rax, 2
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171517
mov edx, 0x50d8d48c
xor edx, 0x49c56410
xor edx, 0x2bfa1157
xor edx, 0x147f2906
add edx, 0x3d3e57ba
xor edx, 0x1d70fcf9
xor edx, 0x2f4c2116
sub edx, 0x47300b4a
xor edx, 0xaba324a
mov rcx, rdi
call fcn.1401751a0
lea rcx, [rbp - 0x68]
call fcn.1400f3140
xchg rbp, rdx
mov rbp, qword [rdi]
xchg rbp, rdx
add rdx, 0x570
lea rcx, [rbp - 0x60]
call fcn.14007a900
mov r14d, 0x1d2fb07b
add r14d, 0x5187a1e8
sub r14d, 0xe2e23fa
add r14d, 0x8deb535
xor r14d, 0x1823b1a0
sub r14d, 0x29b0f34b
xor r14d, 0x2e6e3423
sub r14d, 0x3778b4c1
sub r14d, 0x3284b60c
lea rcx, [rbp - 0x60]
call fcn.14007b1a0
xchg r9, rax
mov rax, r9
xchg r9, rax
nop
movabs rsi, 0xffffffff23d6185a
xor rsi, 0x367659b2
xor rsi, 0x7fe356cd
sub rsi, 0x5d9cbfa7
add rsi, 0x48f9707
xor rsi, 0xdac8f7c
add rsi, 0x7fffffff
xor rsi, 0x63669e07
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1401715c3
mov r15, qword [rsp + 0x40]
xchg rcx, r14
mov r14, qword [rsp + 0x48]
xchg rcx, r14
xchg r13, rcx
mov rax, r13
xchg r13, rcx
sub rax, r15
cmp rsi, rax
ja 0x14017162d
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]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x14017164e
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
xchg r10, rsi
mov rdx, r10
xchg r10, rsi
lea rcx, [rsp + 0x30]
call fcn.140035040
nop
lea rcx, [rbp - 0x60]
call fcn.14007ae40
jmp 0x140171785
mov r8b, 0x40
add r8b, 0x15
add r8b, 0
sub r8b, 0x13
xor r8b, 0x1c
xor r8b, 0x5f
xchg rsi, rdx
mov rsi, r15
xchg rsi, rdx
lea rcx, [rbp - 0x60]
call fcn.1401f5360
mov r9, rax
xchg rsi, r12
mov r12, qword [rax + 0x10]
xchg r12, rsi
cmp qword [rax + 0x18], 8
jb 0x1401716a0
mov r9, qword [rax]
mov r15, qword [rsp + 0x40]
xchg rcx, rbx
mov rbx, qword [rsp + 0x48]
xchg rcx, rbx
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
sub rax, r15
cmp rsi, rax
ja 0x1401716fa
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]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x14017171b
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
xchg rsi, r11
mov rdx, r11
xchg rsi, r11
lea rcx, [rsp + 0x30]
call fcn.140035040
nop
xchg rcx, rdx
mov rcx, qword [rbp - 0x48]
xchg rdx, rcx
cmp rdx, 8
jb 0x140171785
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x140171780
nop
sub rdx, 0x78d373e5
add rdx, 0x78d3740c
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x140171780
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
xchg rdx, r15
mov rdx, qword [rdi + 0x2d0]
xchg r15, rdx
xchg rcx, r15
mov r15, qword [rsp + 0x40]
xchg r15, rcx
inc rcx
mov eax, 0x7e528aee
sub eax, 0x35d267a2
add eax, 0x4f2c13
xor eax, 0x7052f562
add eax, 0x5d16576
sub eax, 0xc994024
xor eax, 0x7160b8d7
add eax, 0x10adabc8
xor eax, 0x51631322
mul rcx
mov rsi, rax
pushf
movabs rax, 0xffffffff13df7f9c
add rax, 0x49f3ef2f
xor rax, 0x4026a7e1
add rax, 0x4fcf9157
add rax, 0xd11956f
xor rax, 0x2637613a
add rax, 0xcef6bd3
add rax, 0x7fffffff
add rax, 0x162f0563
popf
cmovo rsi, rax
xchg r10, rcx
mov r10, rsi
xchg rcx, r10
call fcn.1401fd094
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
test rax, rax
je 0x14017184d
mov r8, rsi
xor edx, edx
xchg r13, rcx
mov r13, rax
xchg rcx, r13
call sub.VCRUNTIME140.dll_memset
xor esi, esi
jmp 0x140171851
xor esi, esi
mov ebx, esi
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
inc rdx
xchg rdi, rcx
mov rdi, rbx
xchg rcx, rdi
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
mov rcx, qword [rdi + 0x2b0]
call fcn.14017d930
test r15, r15
je 0x1401718ac
xchg rdx, rcx
mov rdx, r15
xchg rcx, rdx
call fcn.1401fd08c
test r12b, r12b
je 0x140171e51
lea rcx, [rdi + 0x5d8]
call fcn.14007b5c0
mov rbx, rax
lea rax, [0x140003480]
xchg rdx, rax
mov qword [rbp], rdx
xchg rdx, 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 r14, r9
xchg r11, rax
mov r11, qword [rbp]
xchg r11, 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], 0x57
add byte [rbp + 0x84], 4
sub byte [rbp + 0x84], 0x13
sub byte [rbp + 0x84], 0x40
add byte [rbp + 0x84], 0x31
sub byte [rbp + 0x84], 0x23
sub byte [rbp + 0x84], 0x16
mov byte [rbp + 0x7a], 0x46
add byte [rbp + 0x7a], 0x37
sub byte [rbp + 0x7a], 0x60
add byte [rbp + 0x7a], 0x5d
sub byte [rbp + 0x7a], 7
sub byte [rbp + 0x7a], 0x6e
sub byte [rbp + 0x7a], 5
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 r13, rax
mov qword [rbp + 0x7c], r13
xchg r13, rax
mov qword [rbp + 0x70], rsi
mov r9d, 0x25ccd6fc
add r9d, 0x84a5b0e
xor r9d, 0x5b75b491
sub r9d, 0x2ad80090
sub r9d, 0x1341caa4
add r9d, 0x1f2c358f
sub r9d, 0x43d3a18f
sub r9d, 0x12a14f27
lea r8d, [r9 - 0xe]
xchg rbx, rcx
mov rdx, rcx
xchg rbx, rcx
lea rcx, [rbp + 8]
call fcn.140177790
test rax, rax
jne 0x140171a2e
xchg r14, rax
mov r14, qword [rbp]
xchg r14, 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 0x1401722dd
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
xchg r14, r8
mov r14, qword [rbp - 0x10]
xchg r14, r8
lea rcx, [rbp]
call fcn.140081a20
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
mov ebx, 0x7fb84224
sub ebx, 0x562491f0
add ebx, 0x46c73c45
sub ebx, 0x5824e91c
sub ebx, 0xc8ab301
xor ebx, 0x35edcad9
sub ebx, 0x3e469a7b
movzx edx, bx
call fcn.14007d8f0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp]
call fcn.140081a20
xchg rbp, rax
mov rcx, rbp
xchg rbp, rax
movzx edx, bx
call fcn.14007d8f0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp]
call fcn.140081a20
mov rcx, rax
movzx edx, bx
call fcn.14007d8f0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.140081a20
lea rcx, [rbp + 8]
cmp qword [rbp + 0x88], 0
je 0x140171d81
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 0x140171b58
xchg r9, rdx
mov rdx, qword [rbp + 0x98]
xchg r9, rdx
xchg r10, rdx
mov r10, qword [rbp + 0x90]
xchg r10, rdx
xchg rcx, rdx
mov r8, rcx
xchg rcx, 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 0x140171c42
cmp byte [rbp + 0x7a], 0
je 0x140171c42
mov rax, qword [rbp + 8]
xchg rbp, r8
mov rbp, qword [rax + 0x18]
xchg rbp, r8
lea rax, [0x1401779b0]
mov ebx, 0x181fa667
xor ebx, 0x1d40d44b
xor ebx, 0x3445abe3
xor ebx, 0x7c13058
add ebx, 0x39d19b48
xor ebx, 0x4ca2ba31
xor ebx, 0x1a9cd759
sub ebx, 0x2692e9b8
lea rcx, [rbp + 8]
mov edx, ebx
cmp r8, rax
jne 0x140171bca
call 0x1401779b0
jmp 0x140171bcd
call r8
cmp bx, ax
jne 0x140171bdd
xor al, al
jmp 0x140171c50
lea rax, [rbp + 0x2a0]
xchg r14, rax
mov qword [rsp + 0x20], r14
xchg r14, 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 0x140171cf0
sub eax, 1
je 0x140171d08
cmp eax, 2
je 0x140171c2a
xor al, al
jmp 0x140171c50
mov byte [rbp + 0x7a], 0x28
add byte [rbp + 0x7a], 0x55
xor byte [rbp + 0x7a], 0x5f
add byte [rbp + 0x7a], 0x1a
xor byte [rbp + 0x7a], 0x4a
sub byte [rbp + 0x7a], 0x76
mov al, 0x74
sub al, 0x4a
add al, 0x28
add al, 0xc
sub al, 0x2a
sub al, 0x19
sub al, 0x1a
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], 0x48
sub byte [rbp + 0x84], 0x1b
xor byte [rbp + 0x84], 0x18
add byte [rbp + 0x84], 0x35
sub byte [rbp + 0x84], 0xe
xor byte [rbp + 0x84], 0x3f
sub byte [rbp + 0x84], 0x63
mov byte [rbp + 0x7a], 0x5d
sub byte [rbp + 0x7a], 2
add byte [rbp + 0x7a], 0x21
sub byte [rbp + 0x7a], 0x7a
add byte [rbp + 0x7a], 0x3d
xor byte [rbp + 0x7a], 0x3f
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, r10
mov qword [rbp + 0x88], r10
xchg rsi, r10
mov rax, qword [0x140217068]
mov qword [rbp + 0x7c], rax
xchg r14, rsi
mov qword [rbp + 0x70], r14
xchg r14, rsi
test rbx, rbx
jne 0x140171e0e
jmp 0x140171df1
mov byte [rbp + 0x7a], 0x4c
add byte [rbp + 0x7a], 5
add byte [rbp + 0x7a], 4
xor byte [rbp + 0x7a], 0x1a
add byte [rbp + 0x7a], 0x2a
sub byte [rbp + 0x7a], 0x79
lea rax, [rbp + 0x128]
mov rbx, qword [rbp + 0x2a0]
sub rbx, rax
je 0x140171d75
xchg r9, r15
mov r15, qword [rbp + 0x88]
xchg r15, r9
xchg r8, r11
mov r11, rbx
xchg r8, r11
mov edx, 0x6f6b618e
sub edx, 0x541f76eb
sub edx, 0xb707f6b
add edx, 0x6ad8f222
xor edx, 0x2558c26b
sub edx, 0x5fec9f30
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x140171d75
xor al, al
jmp 0x140171c50
cmp byte [rbp + 0x7a], 0
sete al
jmp 0x140171c50
mov byte [rbp + 0x84], 0x74
sub byte [rbp + 0x84], 0x2c
sub byte [rbp + 0x84], 0x2e
add byte [rbp + 0x84], 0x3e
sub byte [rbp + 0x84], 0x57
sub byte [rbp + 0x84], 1
mov byte [rbp + 0x7a], 5
add byte [rbp + 0x7a], 0x6d
sub byte [rbp + 0x7a], 0x72
xor byte [rbp + 0x7a], 0x23
add byte [rbp + 0x7a], 0x2a
sub byte [rbp + 0x7a], 0x37
add byte [rbp + 0x7a], 4
sub byte [rbp + 0x7a], 3
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]
xchg rsi, rbx
mov qword [rbp + 0x88], rbx
xchg rbx, rsi
mov rax, qword [0x140217068]
mov qword [rbp + 0x7c], rax
mov qword [rbp + 0x70], rsi
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
xchg r8, rax
mov r8, qword [rbp]
xchg r8, rax
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.1400900a0
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 rcx, r12
mov r12, qword [rdi + 0x50]
xchg rcx, r12
test rcx, rcx
je 0x140171eb5
xchg rbx, rdx
mov rbx, qword [rbp + 0x2b0]
xchg rdx, rbx
call fcn.1401c4520
mov rcx, qword [rdi + 0x50]
call fcn.1401c4010
test al, al
je 0x140171eb5
mov r8b, 7
xor r8b, 0x79
sub r8b, 0x6c
add r8b, 0x49
sub r8b, 0x1c
xor r8b, 0x52
sub r8b, 0x6c
movzx edx, r8b
xchg rcx, r10
mov r10, qword [rdi + 0x50]
xchg r10, rcx
call fcn.1401c43e0
lea rcx, [rdi + 0x5d8]
call 0x14007b520
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140171f26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
xchg rcx, rax
mov rcx, rax
xchg rcx, rax
cmp rdx, 0x1000
jb 0x140171f21
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffbe4e6a97
sub rax, 0xffffffffbe4e6a9f
cmp rax, 0x1f
jbe 0x140171f21
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0x1b82182f
add qword [rsp + 0x48], 0x4ce789f2
sub qword [rsp + 0x48], 0x16653fda
sub qword [rsp + 0x48], 0x2986e2f7
sub qword [rsp + 0x48], 0xffb5858
add qword [rsp + 0x48], 0x66e14df
sub qword [rsp + 0x48], 0x1ef03bd0
mov word [rsp + 0x30], si
xchg rdx, r8
mov r8, qword [rbp - 0x78]
xchg rdx, r8
cmp rdx, 8
jb 0x140171fcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
xchg rbp, rax
mov rbp, rcx
xchg rbp, rax
cmp rdx, 0x1000
jb 0x140171fca
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x140171fca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
xchg rdx, rsi
mov qword [rbp - 0x80], rdx
xchg rsi, rdx
mov qword [rbp - 0x78], 0x6c823921
sub qword [rbp - 0x78], 0x93d658b
xor qword [rbp - 0x78], 0x3d5353f0
sub qword [rbp - 0x78], 0x48d280a6
add qword [rbp - 0x78], 0x655a269e
xor qword [rbp - 0x78], 0x3034bfdd
sub qword [rbp - 0x78], 0x3be0d043
xor qword [rbp - 0x78], 0x664fcb59
xor qword [rbp - 0x78], 0x6885021e
mov word [rsp + 0x70], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14017208a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
xchg r10, rax
mov r10, rcx
xchg r10, rax
cmp rdx, 0x1000
jb 0x140172085
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffff827c976a
sub rax, 0xffffffff827c9772
cmp rax, 0x1f
jbe 0x140172085
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0x17e90c4d
xor qword [rsp + 0x68], 0x40c55791
sub qword [rsp + 0x68], 0x47db055
add qword [rsp + 0x68], 0x2629f264
sub qword [rsp + 0x68], 0x69e7a1dc
add qword [rsp + 0x68], 0x41ebf601
xor qword [rsp + 0x68], 0x50dcf217
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14017212c
lea rdx, [rdx*2 + 2]
xchg r11, rcx
mov r11, qword [rbp - 0x40]
xchg rcx, r11
xchg rsi, rax
mov rsi, rcx
xchg rsi, rax
cmp rdx, 0x1000
jb 0x140172127
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x140172127
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
xchg r8, rsi
mov qword [rbp - 0x30], r8
xchg r8, rsi
mov qword [rbp - 0x28], 0x101d0e51
add qword [rbp - 0x28], 0x102d2bfd
sub qword [rbp - 0x28], 0x131384ff
xor qword [rbp - 0x28], 0x4db310e5
sub qword [rbp - 0x28], 0x30133f76
sub qword [rbp - 0x28], 0x1072662d
mov word [rbp - 0x40], si
xchg rdx, rdi
mov rdi, qword [rbp - 8]
xchg rdx, rdi
cmp rdx, 8
jb 0x1401721bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401721ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401721ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fd08c
xchg rsi, r14
mov qword [rbp - 0x10], r14
xchg r14, rsi
mov qword [rbp - 8], 0x56840fd2
sub qword [rbp - 8], 0x1571a829
xor qword [rbp - 8], 0x47d25213
add qword [rbp - 8], 0x2fc9393f
add qword [rbp - 8], 0xf1289a2
sub qword [rbp - 8], 0x29be2ecf
xor qword [rbp - 8], 0x7994cb94
sub qword [rbp - 8], 0x192dcc94
xor qword [rbp - 8], 0x491b35c3
mov word [rbp - 0x20], si
xchg r15, rax
mov r15, qword [rbp + 0x150]
xchg r15, rax
movsxd rcx, dword [rax + 4]
lea rax, [0x140003468]
mov qword [rbp + rcx + 0x150], rax
xchg rdi, rax
mov rdi, qword [rbp + 0x150]
xchg rdi, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x14c], edx
lea rcx, [rbp + 0x160]
call fcn.1400900a0
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
add rsp, 8
mov r14, qword [rsp - 8]
push rdx
push rcx
push rbx
push rbx
push rdx
xchg qword [rsp + 0x28], r13
add rsp, 0x30
nop
mov r12, qword [rsp]
add rsp, 8
push rdx
push rcx
push rbx
push rax
push rcx
xchg qword [rsp + 0x28], rdi
pop rcx
pop rax
pop rbx
pop rcx
pop rdx
add rsp, 8
nop
mov rsi, qword [rsp]
add rsp, 8
nop
xchg qword [rsp], rbp
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]
lea rcx, [rbp + 0x2b8]
call fcn.1400f0c00
nop
lea rcx, [0x1400032b8]
call fcn.1401fde74
nop
lea rcx, [rbp + 0x2b8]
call fcn.1400f0c00
nop
lea rcx, [0x1400032a0]
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, [0x1400032b8]
call fcn.1401fde74
int3
lea rcx, [0x1400032a0]
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, [rbp + 0x2b8]
call fcn.1400f0c00
int3