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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
nop
push 0x1df3c64f
mov qword [rsp], rsi
nop
sub rsp, 8
mov qword [rsp], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
nop
push 0x4bc1b19d
mov qword [rsp], r13
nop
sub rsp, 8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movzx r12d, dl
xchg rdi, rbp
mov rbp, rcx
xchg rbp, rdi
xor r14d, r14d
mov dword [rbp + 0x2a0], r14d
mov qword [rbp + 0x2b8], rcx
neg rcx
add rcx, 0xfffffffffffffa28
neg rcx
call fcn.14007b660
xchg r12, rdx
mov r12, rax
xchg r12, rdx
mov dword [rsp + 0x20], 0x5aae9b9a
xor dword [rsp + 0x20], 0x4152cd2a
sub dword [rsp + 0x20], 0xfa67b3e
add dword [rsp + 0x20], 0x275ce933
sub dword [rsp + 0x20], 0x1c004ed1
add dword [rsp + 0x20], 0x120afcbe
sub dword [rsp + 0x20], 0x29bd7291
lea r9d, [r14 + 0x40]
lea r8d, [r14 + 0x21]
lea rcx, [rbp + 0x150]
call fcn.1400876f0
nop
cmp qword [rbp + 0x1e0], r14
je 0x140172477
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xchg r14, r11
mov qword [rbp - 0x10], r11
xchg r11, r14
mov qword [rbp - 8], 0x20db2df7
add qword [rbp - 8], 0xcfd51cc
xor qword [rbp - 8], 0x4b3d1be4
sub qword [rbp - 8], 0x4bbd6ba3
add qword [rbp - 8], 0x32f31b8
sub qword [rbp - 8], 0x1e572a35
mov word [rbp - 0x20], r14w
xchg r14, rbp
movups xmmword [r14 - 0x40], xmm0
xchg rbp, r14
xchg r14, rbx
mov qword [rbp - 0x30], rbx
xchg r14, rbx
mov qword [rbp - 0x28], 0x3d9a173b
xor qword [rbp - 0x28], 0x59468985
sub qword [rbp - 0x28], 0x8e517b3
sub qword [rbp - 0x28], 0x53c9c27e
add qword [rbp - 0x28], 0x6b494ebc
xor qword [rbp - 0x28], 0x7997157f
add qword [rbp - 0x28], 0xfeee976
add qword [rbp - 0x28], 0xc0a3c34
xor qword [rbp - 0x28], 0x26d92be7
mov word [rbp - 0x40], r14w
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xc803956
add qword [rsp + 0x68], 0x57d81ab1
xor qword [rsp + 0x68], 0x7e6761e7
add qword [rsp + 0x68], 0x352bc6d9
xor qword [rsp + 0x68], 0x18865ee3
sub qword [rsp + 0x68], 0x27e8649a
sub qword [rsp + 0x68], 0x50b1e83
sub qword [rsp + 0x68], 0x163954dc
sub qword [rsp + 0x68], 0x14bfca5a
mov word [rsp + 0x50], r14w
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0x12d182f
xor qword [rbp - 0x78], 0x68697e8e
sub qword [rbp - 0x78], 0x38181483
xor qword [rbp - 0x78], 0x31ae8ad
sub qword [rbp - 0x78], 0x1037e096
xor qword [rbp - 0x78], 0x3b7626b4
xor qword [rbp - 0x78], 0x1a88fcae
mov word [rsp + 0x70], r14w
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 3
xor dl, 0x5d
xor dl, 0x4f
add dl, 0x39
xor dl, 0x1e
xor dl, 0x58
add dl, 4
sub dl, 6
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.140085d40
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, 0x57
sub dl, 1
sub dl, 0x2d
add dl, 0
xor dl, 0x4a
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 - 0x40]
lea rcx, [rbp + 0x150]
call fcn.140085d40
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, 0x4e
xor dl, 0x7e
sub dl, 0x29
xor dl, 0x7c
xor dl, 0x48
xor dl, 0x17
sub dl, 0x1b
xor dl, 0x43
sub dl, 0x40
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.140085d40
mov rax, qword [rbp + 0x150]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x150]
add rcx, rax
mov dl, 0x45
sub dl, 0x17
sub dl, 0x2e
xor dl, 0x73
xor dl, 0x3f
sub dl, 0x1c
xor dl, 0x25
sub dl, 0xb
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.140085d40
lea rcx, [rbp + 0x160]
call fcn.1401768a0
test rax, rax
jne 0x140170c1b
xchg r8, rax
mov r8, qword [rbp + 0x150]
xchg r8, 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 r13, r14
mov qword [rbp + 0x2b0], r13
xchg r13, r14
mov r15d, 0x1a23e0e1
add r15d, 0x100f571a
sub r15d, 0x23c0f883
add r15d, 0x103cee4c
xor r15d, 0x6babb41a
sub r15d, 0x4b483898
add r15d, 0x1a01da6a
sub r15d, 0x4bbe3ba6
cmp qword [rsp + 0x60], 0
je 0x140170d24
test r12b, r12b
jne 0x140170d24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xchg r8, rax
mov rsi, r8
xchg r8, 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, rbx
mov rbx, rcx
xchg rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
cmp rbx, qword [rbp + 0x2a0]
je 0x140172484
cmp dword [rsi], 0x22
je 0x140172491
xchg r11, rax
mov qword [rbp + 0x2b0], r11
xchg r11, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xchg rbp, rax
mov rsi, rbp
xchg rbp, 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 r15, rax
mov rax, r15
xchg r15, rax
cmp rbx, qword [rbp + 0x2a0]
je 0x14017249e
cmp dword [rsi], 0x22
je 0x14017246a
jmp 0x14017115a
mov r12b, 0x47
add r12b, 0x1e
xor r12b, 3
xor r12b, 0x39
sub r12b, 0x57
xor r12b, 9
mov dword [rsp + 0x20], 0x160b1ce0
sub dword [rsp + 0x20], 0xd2039f6
add dword [rsp + 0x20], 0xd3ba4f6
sub dword [rsp + 0x20], 0x97debba
xor dword [rsp + 0x20], 0x761934e1
sub dword [rsp + 0x20], 0x3d12675f
sub dword [rsp + 0x20], 0x6d58732
add dword [rsp + 0x20], 0xb93645ca
mov r9d, 0x35818b82
sub r9d, 0x214a65dc
xor r9d, 0xea0be7c
sub r9d, 0x15648484
add r9d, 0x7584b520
xor r9d, 0xbcb29e3
sub r9d, 0x684ddaa8
sub r9d, 0x92f0aec
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1401724ab
lea r8, [rbp + 0x2b0]
mov edx, 0x12e98d74
xor edx, 0x1076fff7
add edx, 0x78975c79
sub edx, 0x27780232
xor edx, 0x3f386ee1
sub edx, 0x1fd629ad
sub edx, 0x2f9f7444
sub edx, 0x17deb4bb
sub edx, 0x5324f77
xchg r14, rcx
mov r14, qword [rbp + 0x2a0]
xchg r14, rcx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
xor edx, edx
xchg r11, rcx
mov r11, qword [rbp + 0x2a0]
xchg rcx, r11
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rdx, qword [rbp + 0x2b0]
lea rcx, [rbp - 0x60]
call fcn.1401799a0
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x140170f4a
xchg rdx, r11
mov r11, qword [rsp + 0x68]
xchg rdx, r11
cmp rdx, 8
jb 0x140170eab
lea rdx, [rdx*2 + 2]
xchg rcx, r10
mov r10, qword [rsp + 0x50]
xchg r10, rcx
xchg r8, rax
mov r8, rcx
xchg r8, rax
cmp rdx, 0x1000
jb 0x140170ea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140170fad
call fcn.1401fcccc
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0x7327dacc
xor qword [rsp + 0x68], 0x2dc26680
sub qword [rsp + 0x68], 0x3356ee3e
add qword [rsp + 0x68], 0x90cd693
add qword [rsp + 0x68], 0x3ff2219
sub qword [rsp + 0x68], 0x389ac6b3
mov word [rsp + 0x50], r14w
xchg r14, rbx
movups xmm0, xmmword [r14]
xchg rbx, r14
movups xmmword [rsp + 0x50], xmm0
xchg rdi, rbx
movups xmm1, xmmword [rdi + 0x10]
xchg rdi, rbx
movups xmmword [rsp + 0x60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0x50fe4b81
sub qword [rbx + 0x18], 0x26a8e607
xor qword [rbx + 0x18], 0x3d235793
add qword [rbx + 0x18], 0x5b55685f
sub qword [rbx + 0x18], 0x677dab86
add qword [rbx + 0x18], 0x6d0f7261
sub qword [rbx + 0x18], 0x785d621c
mov word [rbx], r14w
xchg r10, rdx
mov r10, qword [rbp - 0x48]
xchg r10, rdx
cmp rdx, 8
jb 0x140170fb9
lea rdx, [rdx*2 + 2]
xchg rcx, rsi
mov rsi, qword [rbp - 0x60]
xchg rsi, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140170fb4
nop
add rdx, 0x374f9e54
sub rdx, 0x374f9e2d
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
sub rax, 0xfffffffffd8c15f1
add rax, 0xfffffffffd8c15e9
cmp rax, 0x1f
jbe 0x140170fb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov r15, rax
xchg rbx, rax
mov rdx, rbx
xchg rbx, rax
lea rcx, [rbp - 0x60]
call fcn.1401799a0
xchg r9, rax
mov rbx, r9
xchg r9, rax
lea rax, [rsp + 0x70]
cmp rax, rbx
je 0x1401710fa
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140171041
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
xchg r15, rcx
mov rax, r15
xchg r15, rcx
cmp rdx, 0x1000
jb 0x14017103c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffd21d7c34
sub rax, 0xffffffffd21d7c3c
cmp rax, 0x1f
ja 0x14017114e
call fcn.1401fcccc
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0x72cfa53c
sub qword [rbp - 0x78], 0x4074ff65
add qword [rbp - 0x78], 0x1c687a27
add qword [rbp - 0x78], 0x247c2f55
sub qword [rbp - 0x78], 0x1345e990
xor qword [rbp - 0x78], 0x3d5f8a6b
sub qword [rbp - 0x78], 0x3fade4b
sub qword [rbp - 0x78], 0x5eac1156
mov word [rsp + 0x70], r14w
xchg rbx, r12
movups xmm0, xmmword [r12]
xchg r12, rbx
movups xmmword [rsp + 0x70], xmm0
xchg r13, rbx
movups xmm1, xmmword [r13 + 0x10]
xchg rbx, r13
movups xmmword [rbp - 0x80], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0x14446ceb
add qword [rbx + 0x18], 0x642d1887
sub qword [rbx + 0x18], 0x47731da7
xor qword [rbx + 0x18], 0x59748aa7
xor qword [rbx + 0x18], 0x3a89d135
sub qword [rbx + 0x18], 0x471f99e2
add qword [rbx + 0x18], 0x1e2ab51e
add qword [rbx + 0x18], 0x53bdd423
xor qword [rbx + 0x18], 0x7dcc2bbf
mov word [rbx], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14017115a
lea rdx, [rdx*2 + 2]
xchg rcx, rsi
mov rsi, qword [rbp - 0x60]
xchg rcx, rsi
mov rax, rcx
cmp rdx, 0x1000
jb 0x140171155
nop
add rdx, 0x19ba1721
sub rdx, 0x19ba16fa
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140171155
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
mov ecx, dword [rdi + 0x48]
mov qword [rbp + 0x2a0], rdi
xchg rsi, rdi
mov qword [rbp - 0x70], rsi
xchg rsi, rdi
mov qword [rbp - 0x68], rdi
test ecx, ecx
je 0x140171321
sub ecx, 1
je 0x14017124b
cmp ecx, 1
jne 0x140171321
mov rax, qword [rdi + 0x30]
movabs rbx, 0x2aaaaaaa65a93f81
xor rbx, 0x1fb9fe18
sub rbx, 0x4836167f
add rbx, 0x23d8ea81
xor rbx, 0x4a334e3
add rbx, 0x599a0933
cmp rax, qword [rdi + 0x38]
jne 0x140171242
mov rcx, qword [rdi + 0x40]
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r13, rax
mov r13, rdx
xchg r13, rax
shr rax, 0x3d
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171236
mov edx, 0x51ca16d
xor edx, 0x5c0a77d4
sub edx, 0x3a6c04ce
add edx, 0xaaa5a42
add edx, 0xc68cd9e
add edx, 0x4057165f
sub edx, 0x2abfb9d4
sub edx, 0x2af326dd
sub edx, 0x20622f25
lea rcx, [rdi + 0x30]
call fcn.1401754d0
lea rcx, [rbp + 0x2a0]
call fcn.14009c980
mov rdx, qword [rdi + 0x30]
jmp 0x1401713e5
xchg rdx, rax
mov rdx, qword [rdi + 0x18]
xchg rdx, rax
movabs rbx, 0x2aaaaaaa2089e66a
xor rbx, 0xf0bb411
xor rbx, 0xf3643e1
sub rbx, 0x131e4f60
xor rbx, 0x3e0c4cf0
add rbx, 0x3c68b41b
add rbx, 0x3aa867c6
cmp rax, qword [rdi + 0x20]
jne 0x140171312
mov rcx, qword [rdi + 0x28]
sub rcx, rax
xchg r11, rax
mov r11, rbx
xchg r11, rax
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0xe
shr rax, 0x14
shr rax, 7
shr rax, 0xe
shr rax, 4
shr rax, 3
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171309
mov edx, 0x238733dd
sub edx, 0x1eda6dbc
add edx, 0x2f5e30a0
sub edx, 0x1068309f
add edx, 0x1bb9c905
xor edx, 0xb7f3713
add edx, 0x331344ee
sub edx, 0x6736fcce
lea rcx, [rdi + 0x18]
call fcn.1401754d0
lea rcx, [rbp - 0x68]
call fcn.140136c60
xchg rdx, r15
mov r15, qword [rdi + 0x18]
xchg r15, rdx
jmp 0x1401713e5
mov rax, qword [rdi]
movabs rbx, 0x2aaaaaaa11ab585c
xor rbx, 0x3746002c
xor rbx, 0x53e99f6f
sub rbx, 0x5709a9c6
xor rbx, 0x3e75aff6
add rbx, 0x53db0d31
add rbx, 0x7fffffff
sub rbx, 0x4cbf1534
cmp rax, qword [rdi + 8]
jne 0x1401713e2
mov rcx, qword [rdi + 0x10]
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x37
shr rax, 4
shr rax, 2
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401713d9
mov edx, 0x36b51f3e
sub edx, 0xb813975
add edx, 0x2a190484
add edx, 0xbf33454
sub edx, 0x314587ac
add edx, 0x2b3fb52f
sub edx, 0x35991486
xor edx, 0x25a137ca
xchg r12, rdi
mov rcx, r12
xchg r12, rdi
call fcn.1401754d0
lea rcx, [rbp - 0x70]
call fcn.1400f3500
mov rdx, qword [rdi]
add rdx, 0x1e92fb19
sub rdx, 0x1e92f3c9
lea rcx, [rbp + 0x110]
call fcn.14007aa10
mov r14d, 0x74dddcf6
sub r14d, 0x1fd8ccdf
xor r14d, 0x59bdbfac
xor r14d, 0x3304cf82
xor r14d, 0x19d5ef82
add r14d, 0x4d52c167
sub r14d, 0x73bc5121
lea rcx, [rbp + 0x110]
call fcn.14007b260
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
nop
movabs r8, 0xffffffff0894969e
add r8, 0x123f577d
add r8, 0x220fcd5
sub r8, 0x846ca
xor r8, 0xed754bb
add r8, 0x7fffffff
xor r8, 0x6dc40f63
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x140171487
xchg rdx, rax
mov rax, rdx
xchg rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140030e10
nop
lea rcx, [rbp + 0x110]
call fcn.14007af20
test r15, r15
jne 0x1401717d1
mov ecx, dword [rdi + 0x48]
mov qword [rbp + 0x2a0], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
test ecx, ecx
je 0x1401715f1
sub ecx, 1
je 0x140171557
cmp ecx, 1
jne 0x1401715f1
mov rax, qword [rdi + 0x30]
cmp rax, qword [rdi + 0x38]
jne 0x14017154e
mov rcx, qword [rdi + 0x40]
sub rcx, rax
xchg rbp, rbx
mov rax, rbp
xchg rbx, rbp
imul rcx
sar rdx, 1
sar rdx, 1
xchg r10, rax
mov r10, rdx
xchg r10, rax
shr rax, 0x22
shr rax, 0x15
shr rax, 6
shr rax, 1
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x140171542
lea edx, [r15 + 0x54]
lea rcx, [rdi + 0x30]
call fcn.1401754d0
lea rcx, [rbp + 0x2a0]
call fcn.14009c980
mov rdx, qword [rdi + 0x30]
jmp 0x14017168c
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
jne 0x1401715e2
mov rcx, qword [rdi + 0x28]
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg rdx, r11
mov rax, r11
xchg rdx, r11
shr rax, 0x36
shr rax, 2
shr rax, 2
shr rax, 4
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x1401715d9
mov edx, 0x6adf8ef9
sub edx, 0x12aa797e
add edx, 0xe3ae82e
sub edx, 0x351b2c2d
xor edx, 0x7611c33a
xor edx, 0x523a6bc4
xor edx, 0x3b3b9554
sub edx, 0x2e44ec82
lea rcx, [rdi + 0x18]
call fcn.1401754d0
lea rcx, [rbp - 0x70]
call fcn.140136c60
xchg rdx, r9
mov r9, qword [rdi + 0x18]
xchg rdx, r9
jmp 0x14017168c
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
jne 0x140171683
mov rcx, qword [rdi + 0x10]
sub rcx, rax
xchg rbx, r14
mov rax, r14
xchg r14, rbx
imul rcx
sar rdx, 1
sar rdx, 1
xchg r13, rax
mov r13, rdx
xchg r13, rax
shr rax, 0x2f
shr rax, 1
shr rax, 0xa
shr rax, 4
shr rax, 1
add rdx, rax
cmp rdx, 0x54
jae 0x14017167a
mov edx, 0x352bb686
xor edx, 0x17f891bb
add edx, 0x6f480f0
xor edx, 0x67f1f40
sub edx, 0x11037922
xor edx, 0x18537a85
add edx, 0x57d2962d
sub edx, 0x5eb8daa7
xchg rcx, r15
mov r15, rdi
xchg r15, rcx
call fcn.1401754d0
lea rcx, [rbp - 0x68]
call fcn.1400f3500
xchg rdx, rsi
mov rsi, qword [rdi]
xchg rsi, rdx
add rdx, 0x6863cc7a
sub rdx, 0x6863c70a
lea rcx, [rbp - 0x60]
call fcn.14007aa10
mov r14d, 0x52d7ffb8
sub r14d, 0x33c6a887
xor r14d, 0x2fecbfc4
xor r14d, 0x648f9255
add r14d, 0x281ed588
sub r14d, 0x7398b31b
add r14d, 0x1a38d365
xor r14d, 0x7abc9a0a
sub r14d, 0x598dea75
lea rcx, [rbp - 0x60]
call fcn.14007b260
xchg r9, rax
mov rax, r9
xchg r9, rax
nop
movabs rsi, 0xffffffff18a4d2f8
sub rsi, 0x17af2b3d
add rsi, 0x2e771be0
xor rsi, 0x60891f32
sub rsi, 0x2e583f63
add rsi, 0x528852e5
xor rsi, 0x7e185e09
add rsi, 0x7fffffff
add rsi, 0x75f251de
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140171734
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 0x14017179c
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, r9
mov r9, rdx
xchg rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x1401717c3
xchg rcx, rsi
mov qword [rsp + 0x20], rcx
xchg rsi, rcx
movzx r8d, byte [rbp + 0x2a0]
xchg r9, rdx
mov r9, rsi
xchg r9, rdx
lea rcx, [rsp + 0x30]
call fcn.1400350e0
nop
lea rcx, [rbp - 0x60]
call fcn.14007af20
jmp 0x1401718fb
mov r8b, 0x27
sub r8b, 0xf
sub r8b, 0x15
add r8b, 0x11
add r8b, 0x63
xor r8b, 0x32
add r8b, 0x39
sub r8b, 0x16
sub r8b, 0x67
xchg r13, r15
mov rdx, r13
xchg r13, r15
lea rcx, [rbp - 0x60]
call fcn.1401f4fb0
xchg r13, rax
mov r9, r13
xchg r13, rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140171825
xchg r9, rsi
mov rsi, qword [rax]
xchg rsi, r9
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x14017187f
lea rax, [r15 + rsi]
xchg r8, rax
mov qword [rsp + 0x40], r8
xchg r8, rax
lea rbx, [rsp + 0x30]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
xchg rcx, r9
mov rdx, rcx
xchg r9, rcx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
xor ecx, ecx
mov word [rbx + rax*2], cx
jmp 0x1401718a0
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rbp + 0x2a0]
xchg r10, rdx
mov r10, rsi
xchg r10, rdx
lea rcx, [rsp + 0x30]
call fcn.1400350e0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1401718fb
lea rdx, [rdx*2 + 2]
xchg rcx, r8
mov r8, qword [rbp - 0x60]
xchg rcx, r8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401718f6
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x1401718f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
mov r15, qword [rdi + 0x2d0]
xchg rcx, rbx
mov rbx, qword [rsp + 0x40]
xchg rcx, rbx
inc rcx
mov eax, 0x11099ea6
xor eax, 0x689f5a36
xor eax, 0x762fbd65
add eax, 0x6724931c
sub eax, 0x1c15d3de
add eax, 0xf8f0da5
sub eax, 0x1d9acf5c
sub eax, 0x2ab986ae
sub eax, 0x2202f0cc
mul rcx
mov rsi, rax
pushf
movabs rax, 0xffffffff4e4ab57d
sub rax, 0x3e4cf1b8
add rax, 0x3e8f688b
sub rax, 0x2a12a28
add rax, 0x31a2ce53
add rax, 0x7fffffff
add rax, 0x2712f85
popf
cmovo rsi, rax
xchg r8, rcx
mov r8, rsi
xchg r8, rcx
call fcn.1401fccd4
xchg rbx, rax
mov rax, rbx
xchg rbx, rax
test rax, rax
je 0x1401719b5
xchg r8, rsi
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 0x1401719b9
xor esi, esi
mov ebx, esi
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
xchg rdx, r11
mov r11, qword [rsp + 0x40]
xchg rdx, r11
inc rdx
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov qword [rdi + 0x2d0], rbx
xchg rsi, rbx
mov rdx, rsi
xchg rbx, rsi
mov rcx, qword [rdi + 0x2b0]
call fcn.14017db70
test r15, r15
je 0x140171a1a
xchg rcx, rdx
mov rdx, r15
xchg rcx, rdx
call fcn.1401fcccc
test r12b, r12b
je 0x140171fe7
lea rcx, [rdi + 0x5d8]
call fcn.14007b660
xchg rbx, rdi
mov rdi, rax
xchg rbx, rdi
lea rax, [0x140003480]
xchg r13, rax
mov qword [rbp], r13
xchg r13, 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]
xchg r14, rax
mov qword [rbp + 8], r14
xchg r14, rax
mov byte [rbp + 0x84], 0x63
sub byte [rbp + 0x84], 0x20
xor byte [rbp + 0x84], 0x22
xor byte [rbp + 0x84], 0x2d
xor byte [rbp + 0x84], 0x7e
xor byte [rbp + 0x84], 4
xor byte [rbp + 0x84], 0x36
mov byte [rbp + 0x7a], 0xa
add byte [rbp + 0x7a], 0x69
sub byte [rbp + 0x7a], 0x5a
add byte [rbp + 0x7a], 0x18
sub byte [rbp + 0x7a], 0xd
xor byte [rbp + 0x7a], 0x14
sub byte [rbp + 0x7a], 1
xor byte [rbp + 0x7a], 0x2f
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 r12, rsi
mov qword [rbp + 0x88], r12
xchg r12, rsi
mov rax, qword [0x140217068]
xchg rsi, rax
mov qword [rbp + 0x7c], rsi
xchg rsi, rax
xchg rbx, rsi
mov qword [rbp + 0x70], rbx
xchg rsi, rbx
mov r9d, 0x3d76f315
add r9d, 0x2ea22ebd
xor r9d, 0x2687cc8b
sub r9d, 0x1a8581ff
add r9d, 0x4e1ab062
xor r9d, 0x3f35f13f
sub r9d, 0x4101ea43
lea r8d, [r9 - 0xe]
xchg r8, rbx
mov rdx, r8
xchg rbx, r8
lea rcx, [rbp + 8]
call fcn.140177ac0
test rax, rax
jne 0x140171ba9
xchg r11, rax
mov r11, qword [rbp]
xchg r11, 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 0x14017245d
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp]
call fcn.140081a80
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
mov ebx, 0x42628966
sub ebx, 0x1dfebdb0
xor ebx, 0x6621e0c5
xor ebx, 0x4c6047d5
add ebx, 0x3694e605
sub ebx, 0x2c76d7ce
sub ebx, 0x18407ad3
movzx edx, bx
call fcn.14007d9c0
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp]
call fcn.140081a80
xchg rsi, rax
mov rcx, rsi
xchg rsi, rax
movzx edx, bx
call fcn.14007d9c0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rbp]
call fcn.140081a80
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
movzx edx, bx
call fcn.14007d9c0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
xchg r8, rcx
mov rcx, qword [rbp - 0x80]
xchg r8, rcx
lea rcx, [rbp]
call fcn.140081a80
lea rcx, [rbp + 8]
cmp qword [rbp + 0x88], 0
je 0x140171f06
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 0x140171cd1
xchg r9, r14
mov r14, qword [rbp + 0x98]
xchg r9, r14
mov rdx, qword [rbp + 0x90]
xchg rcx, r8
mov rcx, rdx
xchg rcx, r8
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 0x140171db9
cmp byte [rbp + 0x7a], 0
je 0x140171db9
mov rax, qword [rbp + 8]
xchg r8, r15
mov r15, qword [rax + 0x18]
xchg r8, r15
lea rax, [0x140177cc0]
mov ebx, 0x7a7a685d
sub ebx, 0x4e1394a2
xor ebx, 0x2616c1a9
xor ebx, 0x18105a24
xor ebx, 0x247ad6fc
sub ebx, 0x36199ecb
lea rcx, [rbp + 8]
mov edx, ebx
cmp r8, rax
jne 0x140171d37
call 0x140177cc0
jmp 0x140171d3a
call r8
cmp bx, ax
jne 0x140171d4a
xor al, al
jmp 0x140171dc9
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x148]
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0x7c]
xchg rdi, rcx
mov rdi, qword [rbp + 0x70]
xchg rdi, rcx
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 0x140171e69
sub eax, 1
je 0x140171e81
cmp eax, 2
je 0x140171d99
xor al, al
jmp 0x140171dc9
mov byte [rbp + 0x7a], 0x4b
sub byte [rbp + 0x7a], 0x3b
add byte [rbp + 0x7a], 0x69
xor byte [rbp + 0x7a], 0x43
xor byte [rbp + 0x7a], 0x55
sub byte [rbp + 0x7a], 0x45
sub byte [rbp + 0x7a], 0x25
xor byte [rbp + 0x7a], 5
mov al, 0x60
add al, 4
add al, 0x14
sub al, 0xc
xor al, 0x21
xor al, 0x62
xor al, 0x19
sub al, 0x35
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], 0x34
add byte [rbp + 0x84], 3
sub byte [rbp + 0x84], 0x1e
xor byte [rbp + 0x84], 0x42
sub byte [rbp + 0x84], 0x17
xor byte [rbp + 0x84], 0x7b
sub byte [rbp + 0x84], 0x3f
mov byte [rbp + 0x7a], SHCreateMemStream
add byte [rbp + 0x7a], 0x57
xor byte [rbp + 0x7a], 0x62
add byte [rbp + 0x7a], 0x10
xor byte [rbp + 0x7a], 0x7b
sub byte [rbp + 0x7a], 1
add byte [rbp + 0x7a], 0xb
sub byte [rbp + 0x7a], 0x75
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 r10, rax
mov qword [rbp + 0x7c], r10
xchg r10, rax
mov qword [rbp + 0x70], rsi
test rbx, rbx
jne 0x140171fa4
jmp 0x140171f83
mov byte [rbp + 0x7a], 0x20
add byte [rbp + 0x7a], 0x1a
sub byte [rbp + 0x7a], 0x1f
xor byte [rbp + 0x7a], 6
add byte [rbp + 0x7a], 0x16
sub byte [rbp + 0x7a], 0x33
lea rax, [rbp + 0x128]
xchg rbx, r12
mov r12, qword [rbp + 0x2a0]
xchg rbx, r12
sub rbx, rax
je 0x140171efa
xchg r9, r14
mov r14, qword [rbp + 0x88]
xchg r9, r14
xchg r8, r10
mov r10, rbx
xchg r8, r10
mov edx, 0x6aa77a94
sub edx, 0x1d2c2f30
sub edx, 0x4b73c23f
add edx, 0x6b530ecc
sub edx, 0xd64be1a
sub edx, 0x2ac93688
xor edx, 0x352ca34e
lea rcx, [rbp + 0x128]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x140171efa
xor al, al
jmp 0x140171dc9
cmp byte [rbp + 0x7a], 0
sete al
jmp 0x140171dc9
mov byte [rbp + 0x84], 0x59
add byte [rbp + 0x84], 0x11
xor byte [rbp + 0x84], 0x2c
xor byte [rbp + 0x84], 0x73
sub byte [rbp + 0x84], 0x30
xor byte [rbp + 0x84], 0x5a
sub byte [rbp + 0x84], 0x5f
mov byte [rbp + 0x7a], 0x23
xor byte [rbp + 0x7a], 0x27
xor byte [rbp + 0x7a], 0x3d
add byte [rbp + 0x7a], 0xc
add byte [rbp + 0x7a], 0x34
sub byte [rbp + 0x7a], 0xd
xor byte [rbp + 0x7a], 0x6d
xor byte [rbp + 0x7a], 1
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, r12
mov qword [rbp + 0x88], r12
xchg rsi, r12
mov rax, qword [0x140217068]
xchg r10, rax
mov qword [rbp + 0x7c], r10
xchg r10, rax
xchg r10, rsi
mov qword [rbp + 0x70], r10
xchg r10, rsi
xchg r9, rax
mov r9, qword [rbp]
xchg r9, rax
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], r14
xchg r8, rax
mov r8, qword [rbp]
xchg r8, rax
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.1400901c0
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 0x140172043
xchg r13, rdx
mov r13, qword [rbp + 0x2b0]
xchg rdx, r13
call fcn.1401c4120
mov rcx, qword [rdi + 0x50]
call fcn.1401c3bf0
test al, al
je 0x140172043
mov r8b, 0x76
sub r8b, 0x65
xor r8b, 0x30
add r8b, 0x50
sub r8b, 0x54
sub r8b, 9
xor r8b, 4
sub r8b, 0xf
movzx edx, r8b
mov rcx, qword [rdi + 0x50]
call fcn.1401c3fe0
lea rcx, [rdi + 0x5d8]
call 0x14007b5c0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1401720ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
xchg r9, rax
mov r9, rcx
xchg r9, rax
cmp rdx, 0x1000
jb 0x1401720a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffffb26b0f35
sub rax, 0xffffffffb26b0f3d
cmp rax, 0x1f
jbe 0x1401720a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0x23be22c5
sub qword [rsp + 0x48], 0x7d3495c
sub qword [rsp + 0x48], 0x592cb29
xor qword [rsp + 0x48], 0x528ff5f8
add qword [rsp + 0x48], 0x849e81b
add qword [rsp + 0x48], 0x1b4a2c45
xor qword [rsp + 0x48], 0x686c101f
mov word [rsp + 0x30], si
xchg r9, rdx
mov r9, qword [rbp - 0x78]
xchg rdx, r9
cmp rdx, 8
jb 0x14017215c
lea rdx, [rdx*2 + 2]
xchg r11, rcx
mov r11, qword [rsp + 0x70]
xchg rcx, r11
mov rax, rcx
cmp rdx, 0x1000
jb 0x140172157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
nop
add rax, 0xffffffff9f3fb207
sub rax, 0xffffffff9f3fb20f
cmp rax, 0x1f
jbe 0x140172157
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
xchg rsi, r14
mov qword [rbp - 0x80], r14
xchg r14, rsi
mov qword [rbp - 0x78], 0x3db4cdab
xor qword [rbp - 0x78], 0x3e7b1084
add qword [rbp - 0x78], 0x1da13887
xor qword [rbp - 0x78], 0x5c9db2c8
sub qword [rbp - 0x78], 0x157d3c4
sub qword [rbp - 0x78], 0x7c94d3b3
mov word [rsp + 0x70], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1401721f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
xchg rcx, rdx
mov rax, rdx
xchg rcx, rdx
cmp rdx, 0x1000
jb 0x1401721ed
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
sub rax, 8
cmp rax, 0x1f
jbe 0x1401721ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0x32a04688
add qword [rsp + 0x68], 0x1d8e2c63
add qword [rsp + 0x68], 0x18add6c7
sub qword [rsp + 0x68], 0x18358f24
xor qword [rsp + 0x68], 0x1c1daa66
sub qword [rsp + 0x68], 0x39c15bd4
xor qword [rsp + 0x68], 0x12f9b513
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401722a1
lea rdx, [rdx*2 + 2]
xchg rcx, r9
mov r9, qword [rbp - 0x40]
xchg r9, rcx
xchg r12, rcx
mov rax, r12
xchg rcx, r12
cmp rdx, 0x1000
jb 0x14017229c
nop
add rdx, 0xc6b1677
sub rdx, 0xc6b1650
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14017229c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x64b1656e
sub qword [rbp - 0x28], 0xeebe346
sub qword [rbp - 0x28], 0x2854f419
add qword [rbp - 0x28], 0x43f8d2a1
sub qword [rbp - 0x28], 0x45f7c7d5
sub qword [rbp - 0x28], 0x2b7198d4
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14017233a
lea rdx, [rdx*2 + 2]
xchg r10, rcx
mov r10, qword [rbp - 0x20]
xchg r10, rcx
xchg rcx, r8
mov rax, r8
xchg r8, rcx
cmp rdx, 0x1000
jb 0x140172335
sub rdx, 0xffffffffffffffd9
mov rcx, qword [rcx - 8]
sub rax, rcx
neg rax
add rax, 8
neg rax
cmp rax, 0x1f
jbe 0x140172335
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcccc
xchg rdi, rsi
mov qword [rbp - 0x10], rdi
xchg rsi, rdi
mov qword [rbp - 8], 0x1e493da9
sub qword [rbp - 8], 0x1d11cb0d
add qword [rbp - 8], 0x6fb7e850
sub qword [rbp - 8], 0x4aa9f237
xor qword [rbp - 8], 0x40f40793
xor qword [rbp - 8], 0x4f1b4acd
xor qword [rbp - 8], 0x29aa25ec
mov word [rbp - 0x20], si
xchg r12, rax
mov r12, qword [rbp + 0x150]
xchg r12, rax
movsxd rcx, dword [rax + 4]
lea rax, [0x140003468]
xchg r10, rax
mov qword [rbp + rcx + 0x150], r10
xchg r10, 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.1400901c0
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
push rbx
push rdx
push rax
push rax
push rcx
push rcx
push rax
xchg qword [rsp + 0x38], r15
pop rax
pop rcx
pop rcx
pop rax
pop rax
pop rdx
pop rbx
add rsp, 8
nop
add rsp, 8
mov r14, qword [rsp - 8]
push rbx
push rcx
push rax
xchg qword [rsp + 0x18], r13
add rsp, 0x20
nop
add rsp, 8
xchg qword [rsp - 8], r12
push rcx
push rcx
push rdx
xchg qword [rsp + 0x18], rdi
pop rdx
pop rcx
pop rcx
add rsp, 8
push rax
push rax
push rdx
push rbx
push rax
push rax
xchg qword [rsp + 0x30], rsi
pop rax
pop rax
pop rbx
pop rdx
pop rax
pop rax
add rsp, 8
nop
add rsp, 8
xchg qword [rsp - 8], rbp
nop
add rsp, 8
jmp qword [rsp - 8]
lea rcx, [rbp + 0x2b8]
call fcn.1400f1000
nop
lea rcx, [0x1400032b8]
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
nop
lea rcx, [rbp + 0x2b8]
call fcn.1400f1000
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.1400f1000
int3