Function at 0x140005710
Capabilities:
Acquire debug privileges
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x748
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rsp + 0x738], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0xab]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0xad]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x100]
lea rcx, str.puc8
mov rdi, rax
mov rsi, rcx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 6
movsx eax, byte [rsp + rax + 0x100]
test eax, eax
je 0x1400057bb
mov dword [rsp + 0xe4], 1
jmp 0x1400057c6
mov dword [rsp + 0xe4], 0
movzx eax, byte [rsp + 0xe4]
test eax, eax
je 0x14000582b
mov dword [rsp + 0x5c], 0
jmp 0x1400057e6
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 7
jge 0x14000582b
movsxd rax, dword [rsp + 0x5c]
movsx eax, byte [rsp + rax + 0x100]
mov dword [rsp + 0x190], eax
mov eax, dword [rsp + 0x5c]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x190]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x5c]
mov byte [rsp + rcx + 0x100], al
jmp 0x1400057dc
lea rax, [rsp + 0x100]
mov rdx, rax
mov rcx, qword [rsp + 0x1d8]
call fcn.140001270
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x348]
lea rcx, str.UQ_Y_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x15
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x14
movsx eax, byte [rsp + rax + 0x348]
test eax, eax
je 0x1400058a9
mov dword [rsp + 0xf8], 1
jmp 0x1400058b4
mov dword [rsp + 0xf8], 0
movzx eax, byte [rsp + 0xf8]
test eax, eax
je 0x140005919
mov dword [rsp + 0x60], 0
jmp 0x1400058d4
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x15
jge 0x140005919
movsxd rax, dword [rsp + 0x60]
movsx eax, byte [rsp + rax + 0x348]
mov dword [rsp + 0x194], eax
mov eax, dword [rsp + 0x60]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x194]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x60]
mov byte [rsp + rcx + 0x348], al
jmp 0x1400058ca
lea rax, [rsp + 0x348]
mov rdx, rax
mov rcx, qword [rsp + 0x1f0]
call fcn.140001270
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x340], rax
mov r8d, 2
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x340]
call fcn.1400025c0
lea rax, [rsp + 0x728]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x5f0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x5f0]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140005a29
mov dword [rsp + 0x728], 1
mov eax, 0xc
imul rax, rax, 0
mov dword [rsp + rax + 0x734], 2
mov eax, 0xc
imul rax, rax, 0
lea rax, [rsp + rax + 0x72c]
mov r8, rax
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x140005a1b
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x728]
xor edx, edx
mov rcx, qword [rsp + 0x5f0]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x5f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x760]
call fcn.140001da0
mov rcx, rax
call fcn.140005590
test eax, eax
jne 0x140005c62
lea rax, [rsp + 0x410]
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0xae]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x110], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x110]
test eax, eax
je 0x140005a9b
mov dword [rsp + 0xbc], 1
jmp 0x140005aa6
mov dword [rsp + 0xbc], 0
movzx eax, byte [rsp + 0xbc]
test eax, eax
je 0x140005b0b
mov dword [rsp + 0x64], 0
jmp 0x140005ac6
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 8
jge 0x140005b0b
movsxd rax, dword [rsp + 0x64]
movsx eax, byte [rsp + rax + 0x110]
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x64]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x198]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x64]
mov byte [rsp + rcx + 0x110], al
jmp 0x140005abc
lea rax, [rsp + 0x110]
mov rdx, rax
mov rcx, qword [rsp + 0x210]
call fcn.140001270
mov qword [rsp + 0x218], rax
mov edx, 4
mov rcx, qword [rsp + 0x218]
call fcn.1400028d0
lea rax, [rsp + 0x430]
mov qword [rsp + 0x220], rax
lea rax, [rsp + 0xaf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b0]
lea rcx, [0x14000c6f0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xf
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0xe
movsx eax, byte [rsp + rax + 0x1b0]
test eax, eax
je 0x140005b9f
mov dword [rsp + 0xc0], 1
jmp 0x140005baa
mov dword [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x140005c0f
mov dword [rsp + 0x50], 0
jmp 0x140005bca
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xf
jge 0x140005c0f
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x1b0]
mov dword [rsp + 0x19c], eax
mov eax, dword [rsp + 0x50]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x19c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x50]
mov byte [rsp + rcx + 0x1b0], al
jmp 0x140005bc0
lea rax, [rsp + 0x1b0]
mov rdx, rax
mov rcx, qword [rsp + 0x220]
call fcn.140001270
mov qword [rsp + 0x228], rax
xor edx, edx
mov rcx, qword [rsp + 0x228]
call fcn.140002bb0
mov dword [rsp + 0x140], 0
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x140]
jmp 0x140006e16
mov rcx, qword [rsp + 0x768]
call fcn.140001480
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140005e9d
lea rax, [rsp + 0x450]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x118], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x118]
test eax, eax
je 0x140005cd6
mov dword [rsp + 0xc4], 1
jmp 0x140005ce1
mov dword [rsp + 0xc4], 0
movzx eax, byte [rsp + 0xc4]
test eax, eax
je 0x140005d46
mov dword [rsp + 0x70], 0
jmp 0x140005d01
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 8
jge 0x140005d46
movsxd rax, dword [rsp + 0x70]
movsx eax, byte [rsp + rax + 0x118]
mov dword [rsp + 0x144], eax
mov eax, dword [rsp + 0x70]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x144]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x70]
mov byte [rsp + rcx + 0x118], al
jmp 0x140005cf7
lea rax, [rsp + 0x118]
mov rdx, rax
mov rcx, qword [rsp + 0x230]
call fcn.140001270
mov qword [rsp + 0x238], rax
mov edx, 4
mov rcx, qword [rsp + 0x238]
call fcn.1400028d0
lea rax, [rsp + 0x470]
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x378]
lea rcx, [0x14000c860]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x17
movsx eax, byte [rsp + rax + 0x378]
test eax, eax
je 0x140005dda
mov dword [rsp + 0xc8], 1
jmp 0x140005de5
mov dword [rsp + 0xc8], 0
movzx eax, byte [rsp + 0xc8]
test eax, eax
je 0x140005e4a
mov dword [rsp + 0x74], 0
jmp 0x140005e05
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x18
jge 0x140005e4a
movsxd rax, dword [rsp + 0x74]
movsx eax, byte [rsp + rax + 0x378]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x74]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x148]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x74]
mov byte [rsp + rcx + 0x378], al
jmp 0x140005dfb
lea rax, [rsp + 0x378]
mov rdx, rax
mov rcx, qword [rsp + 0x240]
call fcn.140001270
mov qword [rsp + 0x248], rax
xor edx, edx
mov rcx, qword [rsp + 0x248]
call fcn.140002bb0
mov dword [rsp + 0x14c], 0
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x14c]
jmp 0x140006e16
lea rax, [rsp + 0x600]
mov rdi, rax
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x768]
call fcn.140001480
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 0x24
mov rdx, rax
lea rcx, [rsp + 0x600]
call fcn.140008c30
mov rax, qword [rsp + 0x600]
movsxd rax, dword [rax + 4]
lea rcx, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rax + 0x600], rcx
mov rax, qword [rsp + 0x600]
movsxd rax, dword [rax + 4]
sub rax, 0xb0
mov rcx, qword [rsp + 0x600]
movsxd rcx, dword [rcx + 4]
mov dword [rsp + rcx + 0x5fc], eax
mov rax, qword [rsp + 0x600]
movsxd rax, dword [rax + 4]
lea rax, [rsp + rax + 0x600]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140006188
lea rax, [rsp + 0x490]
mov qword [rsp + 0x208], rax
lea rax, [rsp + 0xa1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x120], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x120]
test eax, eax
je 0x140005f9f
mov dword [rsp + 0xcc], 1
jmp 0x140005faa
mov dword [rsp + 0xcc], 0
movzx eax, byte [rsp + 0xcc]
test eax, eax
je 0x14000600f
mov dword [rsp + 0x78], 0
jmp 0x140005fca
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 8
jge 0x14000600f
movsxd rax, dword [rsp + 0x78]
movsx eax, byte [rsp + rax + 0x120]
mov dword [rsp + 0x150], eax
mov eax, dword [rsp + 0x78]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x150]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x78]
mov byte [rsp + rcx + 0x120], al
jmp 0x140005fc0
lea rax, [rsp + 0x120]
mov rdx, rax
mov rcx, qword [rsp + 0x208]
call fcn.140001270
mov qword [rsp + 0x250], rax
mov edx, 4
mov rcx, qword [rsp + 0x250]
call fcn.1400028d0
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0xac]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x390]
lea rcx, [0x14000c7e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x17
movsx eax, byte [rsp + rax + 0x390]
test eax, eax
je 0x1400060a3
mov dword [rsp + 0xd0], 1
jmp 0x1400060ae
mov dword [rsp + 0xd0], 0
movzx eax, byte [rsp + 0xd0]
test eax, eax
je 0x140006113
mov dword [rsp + 0x7c], 0
jmp 0x1400060ce
mov eax, dword [rsp + 0x7c]
inc eax
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0x18
jge 0x140006113
movsxd rax, dword [rsp + 0x7c]
movsx eax, byte [rsp + rax + 0x390]
mov dword [rsp + 0x18c], eax
mov eax, dword [rsp + 0x7c]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x18c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x7c]
mov byte [rsp + rcx + 0x390], al
jmp 0x1400060c4
lea rax, [rsp + 0x390]
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140001270
mov qword [rsp + 0x260], rax
xor edx, edx
mov rcx, qword [rsp + 0x260]
call fcn.140002bb0
mov dword [rsp + 0x154], 0
lea rax, [rsp + 0x6b0]
mov rcx, rax
call fcn.140008500
lea rax, [rsp + 0x6b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x154]
jmp 0x140006e16
lea rdx, [rsp + 0x710]
lea rcx, [rsp + 0x600]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rax, qword [rsp + 0x710]
add rax, qword [rsp + 0x718]
cmp rax, 0x1000
jge 0x14000642f
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x268], rax
lea rax, [rsp + 0xa2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x128], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x128]
test eax, eax
je 0x14000620f
mov dword [rsp + 0xd4], 1
jmp 0x14000621a
mov dword [rsp + 0xd4], 0
movzx eax, byte [rsp + 0xd4]
test eax, eax
je 0x140006294
mov dword [rsp + 0x80], 0
jmp 0x140006243
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 8
jge 0x140006294
movsxd rax, dword [rsp + 0x80]
movsx eax, byte [rsp + rax + 0x128]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0x80]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x158]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x80]
mov byte [rsp + rcx + 0x128], al
jmp 0x140006233
lea rax, [rsp + 0x128]
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.140001270
mov qword [rsp + 0x270], rax
mov edx, 4
mov rcx, qword [rsp + 0x270]
call fcn.1400028d0
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x278], rax
lea rax, [rsp + 0xa3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x360]
lea rcx, str.TZXP
mov rdi, rax
mov rsi, rcx
mov ecx, 0x16
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x15
movsx eax, byte [rsp + rax + 0x360]
test eax, eax
je 0x140006328
mov dword [rsp + 0xd8], 1
jmp 0x140006333
mov dword [rsp + 0xd8], 0
movzx eax, byte [rsp + 0xd8]
test eax, eax
je 0x1400063ad
mov dword [rsp + 0x84], 0
jmp 0x14000635c
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0x16
jge 0x1400063ad
movsxd rax, dword [rsp + 0x84]
movsx eax, byte [rsp + rax + 0x360]
mov dword [rsp + 0x15c], eax
mov eax, dword [rsp + 0x84]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x15c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x84]
mov byte [rsp + rcx + 0x360], al
jmp 0x14000634c
lea rax, [rsp + 0x360]
mov rdx, rax
mov rcx, qword [rsp + 0x278]
call fcn.140001270
mov qword [rsp + 0x280], rax
xor edx, edx
mov rcx, qword [rsp + 0x280]
call fcn.140002bb0
lea rcx, [rsp + 0x600]
call fcn.1400084a0
mov dword [rsp + 0x160], 0
lea rax, [rsp + 0x6b0]
mov rcx, rax
call fcn.140008500
lea rax, [rsp + 0x6b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x160]
jmp 0x140006e16
mov rax, qword [rsp + 0x710]
add rax, qword [rsp + 0x718]
mov qword [rsp + 0x288], rax
mov rcx, qword [rsp + 0x288]
call fcn.14000a520
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400066db
lea rax, [rsp + 0x510]
mov qword [rsp + 0x298], rax
lea rax, [rsp + 0xa4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x130], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x130]
test eax, eax
je 0x1400064d0
mov dword [rsp + 0xdc], 1
jmp 0x1400064db
mov dword [rsp + 0xdc], 0
movzx eax, byte [rsp + 0xdc]
test eax, eax
je 0x140006555
mov dword [rsp + 0x88], 0
jmp 0x140006504
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 8
jge 0x140006555
movsxd rax, dword [rsp + 0x88]
movsx eax, byte [rsp + rax + 0x130]
mov dword [rsp + 0x164], eax
mov eax, dword [rsp + 0x88]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x164]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x88]
mov byte [rsp + rcx + 0x130], al
jmp 0x1400064f4
lea rax, [rsp + 0x130]
mov rdx, rax
mov rcx, qword [rsp + 0x298]
call fcn.140001270
mov qword [rsp + 0x2a0], rax
mov edx, 4
mov rcx, qword [rsp + 0x2a0]
call fcn.1400028d0
lea rax, [rsp + 0x530]
mov qword [rsp + 0x2a8], rax
lea rax, [rsp + 0xa5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3a8]
lea rcx, [0x14000c6c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x23
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x22
movsx eax, byte [rsp + rax + 0x3a8]
test eax, eax
je 0x1400065e9
mov dword [rsp + 0xe0], 1
jmp 0x1400065f4
mov dword [rsp + 0xe0], 0
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x140006659
mov dword [rsp + 0x54], 0
jmp 0x140006614
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x23
jge 0x140006659
movsxd rax, dword [rsp + 0x54]
movsx eax, byte [rsp + rax + 0x3a8]
mov dword [rsp + 0x168], eax
mov eax, dword [rsp + 0x54]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x168]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x54]
mov byte [rsp + rcx + 0x3a8], al
jmp 0x14000660a
lea rax, [rsp + 0x3a8]
mov rdx, rax
mov rcx, qword [rsp + 0x2a8]
call fcn.140001270
mov qword [rsp + 0x2b0], rax
xor edx, edx
mov rcx, qword [rsp + 0x2b0]
call fcn.140002bb0
lea rcx, [rsp + 0x600]
call fcn.1400084a0
mov dword [rsp + 0x16c], 0
lea rax, [rsp + 0x6b0]
mov rcx, rax
call fcn.140008500
lea rax, [rsp + 0x6b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x16c]
jmp 0x140006e16
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x600]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov rax, qword [rsp + 0x710]
add rax, qword [rsp + 0x718]
mov r8, rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x600]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x600]
call fcn.1400084a0
lea rax, [rsp + 0x550]
mov qword [rsp + 0x2b8], rax
lea rax, [rsp + 0xa6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [0x14000c8d8]
mov dword [rsp + 0x94], eax
mov eax, 1
imul rax, rax, 3
movsx eax, byte [rsp + rax + 0x94]
test eax, eax
je 0x140006777
mov dword [rsp + 0xfc], 1
jmp 0x140006782
mov dword [rsp + 0xfc], 0
movzx eax, byte [rsp + 0xfc]
test eax, eax
je 0x1400067e7
mov dword [rsp + 0x58], 0
jmp 0x1400067a2
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 4
jge 0x1400067e7
movsxd rax, dword [rsp + 0x58]
movsx eax, byte [rsp + rax + 0x94]
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x58]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x170]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x58]
mov byte [rsp + rcx + 0x94], al
jmp 0x140006798
lea rax, [rsp + 0x94]
mov rdx, rax
mov rcx, qword [rsp + 0x2b8]
call fcn.140001270
mov qword [rsp + 0x2c0], rax
mov edx, 2
mov rcx, qword [rsp + 0x2c0]
call fcn.1400028d0
lea rax, [rsp + 0x570]
mov qword [rsp + 0x2c8], rax
lea rax, [rsp + 0xa7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x590]
mov qword [rsp + 0x2e0], rax
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x108]
lea rcx, str.puc8
mov rdi, rax
mov rsi, rcx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 6
movsx eax, byte [rsp + rax + 0x108]
test eax, eax
je 0x14000689f
mov dword [rsp + 0xe8], 1
jmp 0x1400068aa
mov dword [rsp + 0xe8], 0
movzx eax, byte [rsp + 0xe8]
test eax, eax
je 0x14000690f
mov dword [rsp + 0x68], 0
jmp 0x1400068ca
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 7
jge 0x14000690f
movsxd rax, dword [rsp + 0x68]
movsx eax, byte [rsp + rax + 0x108]
mov dword [rsp + 0x174], eax
mov eax, dword [rsp + 0x68]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x174]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x68]
mov byte [rsp + rcx + 0x108], al
jmp 0x1400068c0
lea rax, [rsp + 0x108]
mov rdx, rax
mov rcx, qword [rsp + 0x2c8]
call fcn.140001270
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x2f0], rax
lea rax, [rsp + 0x1c0]
lea rcx, str._RZ_W_
mov rdi, rax
mov rsi, rcx
mov ecx, 0x13
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x12
movsx eax, byte [rsp + rax + 0x1c0]
test eax, eax
je 0x14000698d
mov dword [rsp + 0xec], 1
jmp 0x140006998
mov dword [rsp + 0xec], 0
movzx eax, byte [rsp + 0xec]
test eax, eax
je 0x1400069fd
mov dword [rsp + 0x6c], 0
jmp 0x1400069b8
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0x13
jge 0x1400069fd
movsxd rax, dword [rsp + 0x6c]
movsx eax, byte [rsp + rax + 0x1c0]
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x6c]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x178]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x6c]
mov byte [rsp + rcx + 0x1c0], al
jmp 0x1400069ae
lea rax, [rsp + 0x1c0]
mov rdx, rax
mov rcx, qword [rsp + 0x2e0]
call fcn.140001270
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f8], rax
mov r8d, 2
mov rdx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2f8]
call fcn.1400025c0
mov rax, qword [rsp + 0x710]
add rax, qword [rsp + 0x718]
mov qword [rsp + 0x300], rax
mov rcx, qword [rsp + 0x760]
call fcn.140001da0
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x300]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x308]
call fcn.140002f00
test eax, eax
jne 0x140006c6a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.14000a4ec
cmp qword [rsp + 0x1a0], 0
jne 0x140006afc
mov qword [rsp + 0x310], 0
jmp 0x140006b18
mov qword [rsp + 0x98], 0x8123
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x310], rax
lea rax, [rsp + 0x5b0]
mov qword [rsp + 0x318], rax
lea rax, [rsp + 0xa9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rax, qword [str.tryss]
mov qword [rsp + 0x138], rax
mov eax, 1
imul rax, rax, 7
movsx eax, byte [rsp + rax + 0x138]
test eax, eax
je 0x140006b6d
mov dword [rsp + 0xf0], 1
jmp 0x140006b78
mov dword [rsp + 0xf0], 0
movzx eax, byte [rsp + 0xf0]
test eax, eax
je 0x140006bf2
mov dword [rsp + 0x8c], 0
jmp 0x140006ba1
mov eax, dword [rsp + 0x8c]
inc eax
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 8
jge 0x140006bf2
movsxd rax, dword [rsp + 0x8c]
movsx eax, byte [rsp + rax + 0x138]
mov dword [rsp + 0x17c], eax
mov eax, dword [rsp + 0x8c]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x17c]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x8c]
mov byte [rsp + rcx + 0x138], al
jmp 0x140006b91
lea rax, [rsp + 0x138]
mov rdx, rax
mov rcx, qword [rsp + 0x318]
call fcn.140001270
mov qword [rsp + 0x320], rax
mov edx, 4
mov rcx, qword [rsp + 0x320]
call fcn.1400028d0
mov dword [rsp + 0x180], 0
lea rax, [rsp + 0x6b0]
mov rcx, rax
call fcn.140008500
lea rax, [rsp + 0x6b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x180]
jmp 0x140006e16
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.14000a4ec
cmp qword [rsp + 0x1a8], 0
jne 0x140006ca0
mov qword [rsp + 0x328], 0
jmp 0x140006cbc
mov qword [rsp + 0x98], 0x8123
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x328], rax
lea rax, [rsp + 0x5d0]
mov qword [rsp + 0x330], rax
lea rax, [rsp + 0xaa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0xb0]
lea rcx, [0x14000c9b4]
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 4
movsx eax, byte [rsp + rax + 0xb0]
test eax, eax
je 0x140006d1e
mov dword [rsp + 0xf4], 1
jmp 0x140006d29
mov dword [rsp + 0xf4], 0
movzx eax, byte [rsp + 0xf4]
test eax, eax
je 0x140006da3
mov dword [rsp + 0x90], 0
jmp 0x140006d52
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 5
jge 0x140006da3
movsxd rax, dword [rsp + 0x90]
movsx eax, byte [rsp + rax + 0xb0]
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x90]
cdq
mov ecx, 0x33
idiv ecx
mov eax, edx
add eax, 0x32
mov ecx, dword [rsp + 0x184]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x90]
mov byte [rsp + rcx + 0xb0], al
jmp 0x140006d42
lea rax, [rsp + 0xb0]
mov rdx, rax
mov rcx, qword [rsp + 0x330]
call fcn.140001270
mov qword [rsp + 0x338], rax
mov edx, 2
mov rcx, qword [rsp + 0x338]
call fcn.1400028d0
mov dword [rsp + 0x188], 1
lea rax, [rsp + 0x6b0]
mov rcx, rax
call fcn.140008500
lea rax, [rsp + 0x6b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x768]
call fcn.1400011e0
mov eax, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x738]
xor rcx, rsp
call fcn.14000a490
add rsp, 0x748
pop rdi
pop rsi
ret