Function at 0x140001620
Capabilities:
Acquire debug privileges
Check if file exists
Delete file
Encode data using xor
Enumerate processes
Execute command
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov r13, rcx
xor edi, edi
mov dword [rbp + 0x3b8], edi
mov r14d, edi
mov dword [rbp + 0x3c0], edi
mov dword [rbp + 0x3b8], edi
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rsp + 0x50], 0xee1eee54
mov dword [rsp + 0x54], 0xee15ee15
mov dword [rsp + 0x58], 0xee43ee0d
mov dword [rsp + 0x5c], 0xee0bee2d
mov dword [rsp + 0x60], 0xee02ee0c
mov dword [rsp + 0x64], 0xee1dee0b
mov dword [rsp + 0x68], 0xee30ee03
mov dword [rsp + 0x6c], 0xee4eee38
mov dword [rsp + 0x70], 0xee4cee4f
mov dword [rsp + 0x74], 0xee6eee43
mov eax, 0xee6f
mov word [rsp + 0x78], ax
lea rcx, [rbp - 0x80]
call fcn.140006b20
mov dword [rbp + 0x3b8], 2
lea edx, [rdi + 0x15]
lea rcx, [rbp - 0x80]
call fcn.140006970
mov ebx, edi
lea rcx, [rsp + 0x50]
call fcn.140006100
movabs r15, 0x4ec4ec4ec4ec4ec5
test rax, rax
je 0x14000174d
mov r12d, 0x11a2
nop word [rax + rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
sub ax, r12w
xor ax, word [rsp + rbx*2 + 0x50]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rbp - 0x80]
call fcn.140006a60
inc rbx
lea rcx, [rsp + 0x50]
call fcn.140006100
cmp rbx, rax
jb 0x140001700
lea rcx, [rbp - 0x80]
call fcn.140005d60
mov rdx, rax
mov rcx, rsi
call fcn.1400078f0
nop
lea rcx, [rbp - 0x80]
call fcn.140005de0
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rsp + 0x50], 0x74c974f7
mov dword [rsp + 0x54], 0x74d574df
mov dword [rsp + 0x58], 0x74d374d5
mov dword [rsp + 0x5c], 0x749f74d9
mov dword [rsp + 0x60], 0x74a97490
mov dword [rsp + 0x64], 0x74b074a3
mov dword [rsp + 0x68], 0x74d774a9
mov dword [rsp + 0x6c], 0x74d274c9
mov dword [rsp + 0x70], 0x74de74d4
mov dword [rsp + 0x74], 0x74df74d4
mov dword [rsp + 0x78], 0x74ee7491
mov eax, 0x74cb
mov word [rsp + 0x7c], ax
lea rcx, [rbp - 0x80]
call fcn.140006b20
mov dword [rbp + 0x3b8], 9
mov edx, 0x17
lea rcx, [rbp - 0x80]
call fcn.140006970
mov rbx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400067e0
test rax, rax
je 0x14000185d
mov r12d, 0x74b8
nop dword [rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
add ax, r12w
xor ax, word [rsp + rbx*2 + 0x50]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rbp - 0x80]
call fcn.140006a60
inc rbx
lea rcx, [rsp + 0x50]
call fcn.1400067e0
cmp rbx, rax
jb 0x140001810
lea rcx, [rbp - 0x80]
call fcn.140005d60
mov rdx, rax
mov rcx, rsi
call fcn.1400078f0
nop
lea rcx, [rbp - 0x80]
call fcn.140005de0
movdqa xmm0, xmmword [0x14000fa10]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0x6031c5c
mov dword [rbp - 0x6c], 0x90b010f
lea rcx, [rsp + 0x50]
call fcn.140005f70
mov dword [rbp + 0x3b8], 0x25
mov edx, 0x18
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400067d0
test rax, rax
je 0x140001920
nop word [rax + rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x2f
movsx eax, byte [rbp + rbx - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp - 0x80]
call fcn.1400067d0
cmp rbx, rax
jb 0x1400018d0
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rbp - 0x80], 0x8c7a8c4d
mov dword [rbp - 0x7c], 0x8c698c75
mov dword [rbp - 0x78], 0x8c718c77
mov dword [rbp - 0x74], 0x8c018c47
mov dword [rbp - 0x70], 0x8c4c8c44
mov dword [rbp - 0x6c], 0x8c058c56
mov dword [rbp - 0x68], 0x8c728c76
mov dword [rbp - 0x64], 0x8c6f8c7a
mov dword [rbp - 0x60], 0x8c718c70
mov dword [rbp - 0x5c], 0x8c488c6f
mov dword [rbp - 0x58], 0x8c408c4e
mov dword [rbp - 0x54], 0x8c458c4a
mov dword [rbp - 0x50], 0x8c528c05
mov dword [rbp - 0x4c], 0x8c3b8c75
mov dword [rbp - 0x48], 0x8c698c6f
mov dword [rbp - 0x44], 0x8c6d8c7f
mov dword [rbp - 0x40], 0x8c0f8c54
mov dword [rbp - 0x3c], 0x8c0d8c0c
mov eax, 0x8c2e
mov word [rbp - 0x38], ax
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov dword [rbp + 0x3b8], 0x95
mov edx, 0x25
lea rcx, [rsp + 0x50]
call fcn.140006970
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400067c0
test rax, rax
je 0x140001a5d
mov r12d, 0x73e6
nop word [rax + rax]
mov rax, r15
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
sub ax, r12w
xor ax, word [rbp + rbx*2 - 0x80]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006a60
inc rbx
lea rcx, [rbp - 0x80]
call fcn.1400067c0
cmp rbx, rax
jb 0x140001a10
lea rcx, [rsp + 0x50]
call fcn.140005d60
mov rdx, rax
mov rcx, rsi
call fcn.1400078f0
nop
lea rcx, [rsp + 0x50]
call fcn.140005de0
nop dword [rax]
mov dword [rbp + 0x130], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0x130]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001adc
nop dword [rax]
lea rdx, str.Phasmophobia.exe
lea rcx, [rbp + 0x15c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001af2
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001ab0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a80
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov dword [rbp - 0x80], 0x46d046e7
mov dword [rbp - 0x7c], 0x46c946d8
mov dword [rbp - 0x78], 0x46d346d6
mov dword [rbp - 0x74], 0x46d646cd
mov dword [rbp - 0x70], 0x46a246d0
mov dword [rbp - 0x6c], 0x46a346a8
mov dword [rbp - 0x68], 0x46de46e3
mov dword [rbp - 0x64], 0x469946cb
mov dword [rbp - 0x60], 0x46ce46c8
mov dword [rbp - 0x5c], 0x46d346d2
mov dword [rbp - 0x58], 0x46d146d7
mov dword [rbp - 0x54], 0x46e046a7
mov dword [rbp - 0x50], 0x468046e2
mov dword [rbp - 0x4c], 0x46d646d8
mov dword [rbp - 0x48], 0x46d346cd
mov dword [rbp - 0x44], 0x46c946d5
mov dword [rbp - 0x40], 0x46d046d4
mov dword [rbp - 0x3c], 0x46e046d8
mov dword [rbp - 0x38], 0x46ab46b6
mov dword [rbp - 0x34], 0x46df46b7
mov dword [rbp - 0x30], 0x46d04698
mov dword [rbp - 0x2c], 0x46d146d4
mov dword [rbp - 0x28], 0x46de46d9
mov dword [rbp - 0x24], 0x46d646ca
mov dword [rbp - 0x20], 0x46af46af
mov dword [rbp - 0x1c], 0x46ed46ec
mov dword [rbp - 0x18], 0x46b24699
lea rcx, [rsp + 0x50]
call fcn.140006b20
mov dword [rbp + 0x3b8], 0x255
mov edx, 0x36
lea rcx, [rsp + 0x50]
call fcn.140006970
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400067b0
movabs r12, 0x4ec4ec4ec4ec4ec5
test rax, rax
je 0x140001c4d
mov r15d, 0x46b7
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx eax, bx
sub ax, cx
add ax, r15w
xor ax, word [rbp + rbx*2 - 0x80]
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006a60
inc rbx
lea rcx, [rbp - 0x80]
call fcn.1400067b0
cmp rbx, rax
jb 0x140001c00
mov ebx, 0x155
lea rcx, [rsp + 0x50]
call fcn.140005d60
mov rdx, rax
mov rcx, rsi
call fcn.1400078f0
nop
lea rcx, [rsp + 0x50]
call fcn.140005de0
call fcn.140001580
mov esi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp - 0x10], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x10]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001cec
mov dword [rbp - 8], 1
mov dword [rbp + 4], 2
lea r8, [rbp - 4]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140001ce2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp - 8]
xor edx, edx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
jne 0x140001ea8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movdqa xmm0, xmmword [0x14000fa80]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0x786f6a67
mov dword [rbp - 0x6c], 0x3f2e377f
mov dword [rbp - 0x68], 0xc5d3468
lea rcx, [rsp + 0x50]
call fcn.140005f70
mov dword [rbp + 0x3b8], 0x955
lea edx, [r15 + 0x1c]
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400067a0
test rax, rax
je 0x140001dc0
nop word [rax + rax]
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 5
movsx eax, byte [rbp + rbx - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp - 0x80]
call fcn.1400067a0
cmp rbx, rax
jb 0x140001d70
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
mov edx, esi
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov dword [rbp + 0x3c8], 0x7d786d7b
mov byte [rbp + 0x3cc], 0x6a
lea rcx, [rsp + 0x50]
call fcn.140005f70
mov dword [rbp + 0x3b8], 0x2555
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
test rax, rax
je 0x140001e86
nop word [rax + rax]
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x2b
movsx eax, byte [rbp + rbx + 0x3c8]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp + 0x3c8]
call fcn.140006790
cmp rbx, rax
jb 0x140001e30
mov ebx, 0x1555
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, r15
call fcn.140001430
test al, al
jne 0x14000206b
movdqa xmm0, xmmword [0x14000fba0]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0x8f8597a5
mov dword [rbp - 0x6c], 0x888f9d81
mov dword [rbp - 0x68], 0x87939898
mov word [rbp - 0x64], 0xeecd
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0xf
mov dword [rbp + 0x3b8], ebx
mov edx, 0x1e
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp - 0x80]
call fcn.140006780
test rax, rax
je 0x140001f70
nop dword [rax]
nop dword [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x1f
movsx eax, byte [rbp + rsi - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp - 0x80]
call fcn.140006780
cmp rsi, rax
jb 0x140001f20
btr ebx, 0xf
bts ebx, 0xe
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x3c8], 0x25203523
mov byte [rbp + 0x3cc], 0x32
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x11
mov dword [rbp + 0x3b8], ebx
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
test rax, rax
je 0x140002046
nop word [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
add dx, 0x73
movsx eax, byte [rbp + rsi + 0x3c8]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
cmp rsi, rax
jb 0x140001ff0
btr ebx, 0x11
bts ebx, 0x10
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000221b
movdqa xmm0, xmmword [0x14000fac0]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14000fab0]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x60], 0xec
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x13
mov dword [rbp + 0x3b8], ebx
mov edx, 0x21
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp - 0x80]
call fcn.140006770
test rax, rax
je 0x140002120
nop
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x20
movsx eax, byte [rbp + rsi - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp - 0x80]
call fcn.140006770
cmp rsi, rax
jb 0x1400020d0
btr ebx, 0x13
bts ebx, 0x12
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x3c8], 0x4d485d4b
mov byte [rbp + 0x3cc], 0x5a
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x15
mov dword [rbp + 0x3b8], ebx
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
test rax, rax
je 0x1400021f6
nop word [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
add dx, 0x1b
movsx eax, byte [rbp + rsi + 0x3c8]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
cmp rsi, rax
jb 0x1400021a0
btr ebx, 0x15
bts ebx, 0x14
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x1c]
mov rdx, r13
lea rcx, [rbp + 0x20]
call fcn.140005bd0
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov r12d, dword [rbp + rcx + 0x30]
test r12b, 6
je 0x140002412
movdqa xmm0, xmmword [0x14000fbc0]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14000fb50]
movdqu xmmword [rsp + 0x60], xmm1
lea rcx, [rbp - 0x80]
call fcn.140005f70
bts ebx, 0x17
mov dword [rbp + 0x3b8], ebx
mov edx, 0x20
lea rcx, [rbp - 0x80]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rsp + 0x50]
call fcn.140006120
test rax, rax
je 0x140002307
movabs r14, 0x4ec4ec4ec4ec4ec5
nop word [rax + rax]
mov rax, r14
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x60
movsx eax, byte [rsp + rsi + 0x50]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rbp - 0x80]
call fcn.140006f20
inc rsi
lea rcx, [rsp + 0x50]
call fcn.140006120
cmp rsi, rax
jb 0x1400022b0
mov r14d, dword [rbp + 0x3c0]
btr ebx, 0x17
bts ebx, 0x16
lea rcx, [rbp - 0x80]
call fcn.140005e00
mov edx, r12d
mov rcx, rax
call fcn.140001030
lea rcx, [rbp - 0x80]
call fcn.140005e80
lea rcx, [rbp + 0x20]
call fcn.140005ae0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x3c8], 0xb0b7a0b0
mov byte [rbp + 0x3cc], 0xa1
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x19
mov dword [rbp + 0x3b8], ebx
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
test rax, rax
je 0x1400023ed
movabs r14, 0x4ec4ec4ec4ec4ec5
mov rax, r14
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x20
movsx eax, byte [rbp + rsi + 0x3c8]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp + 0x3c8]
call fcn.140006790
cmp rsi, rax
jb 0x140002390
mov r14d, dword [rbp + 0x3c0]
btr ebx, 0x19
bts ebx, 0x18
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x20]
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]
lea rcx, [rbp + 8]
call fcn.140005d40
cmp rax, 0x1000
jge 0x1400025e3
movdqa xmm0, xmmword [0x14000fb10]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0xebb9a0e8
mov dword [rbp - 0x6c], 0xaeb8a3a5
mov dword [rbp - 0x68], 0xe8a1b8bc
mov byte [rbp - 0x64], 0xcd
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x1b
mov dword [rbp + 0x3b8], ebx
mov edx, 0x1d
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rsi, rdi
lea rcx, [rbp - 0x80]
call fcn.140006110
movabs r12, 0x4ec4ec4ec4ec4ec5
test rax, rax
je 0x1400024f0
nop dword [rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x3b
movsx eax, byte [rbp + rsi - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rsi
lea rcx, [rbp - 0x80]
call fcn.140006110
cmp rsi, rax
jb 0x1400024a0
btr ebx, 0x1b
bts ebx, 0x1a
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
lea rcx, [rbp + 0x20]
call fcn.140005ae0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x3c0], 0x26213222
mov byte [rbp + 0x3c4], 0x33
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts ebx, 0x1d
mov dword [rbp + 0x3b8], ebx
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp + 0x3c0]
call fcn.140006790
test rax, rax
je 0x1400025c6
nop
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x72
movsx eax, byte [rbp + rbx + 0x3c0]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp + 0x3c0]
call fcn.140006790
cmp rbx, rax
jb 0x140002570
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
lea rcx, [rbp + 8]
call fcn.140005d40
mov rcx, rax
call fcn.140001240
mov rsi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x20]
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]
lea rcx, [rbp + 8]
call fcn.140005d40
mov r8, rax
mov rdx, rsi
lea rcx, [rbp + 0x20]
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, [rbp + 0x20]
call fcn.140005ae0
lea rcx, [rbp + 8]
call fcn.140005d40
mov rdx, rsi
mov rcx, r15
call fcn.1400038d0
test al, al
jne 0x1400027e9
mov rcx, rsi
call fcn.14000ce7c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [0x14000faf0]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0xde888084
mov byte [rbp - 0x6c], 0xfb
lea rcx, [rsp + 0x50]
call fcn.140005f70
mov dword [rbp + 0x3b8], 8
mov edx, 0x15
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.140006100
movabs r14, 0x4ec4ec4ec4ec4ec5
test rax, rax
je 0x140002700
nop dword [rax + rax]
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
sub dx, 0x16
movsx eax, byte [rbp + rbx - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp - 0x80]
call fcn.140006100
cmp rbx, rax
jb 0x1400026b0
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov dword [rbp + 0x3c0], 0xf1f4e1cf
mov byte [rbp + 0x3c4], 0xe6
lea rcx, [rsp + 0x50]
call fcn.140005f70
mov dword [rbp + 0x3b8], 0x24
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp + 0x3c0]
call fcn.140006790
test rax, rax
je 0x1400027c6
nop dword [rax]
nop dword [rax + rax]
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
sub dx, 0x61
movsx eax, byte [rbp + rbx + 0x3c0]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp + 0x3c0]
call fcn.140006790
cmp rbx, rax
jb 0x140002770
mov r14d, 0x14
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, rsi
call fcn.14000ce7c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm0, xmmword [str.IHI_IE_J]
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0x4b594f4e
mov dword [rbp - 0x6c], 0x7c74104b
mov dword [rbp - 0x68], 0x23097b69
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts r14d, 7
mov dword [rbp + 0x3b8], r14d
mov edx, 0x1c
lea rcx, [rsp + 0x50]
call fcn.140006d90
mov rbx, rdi
lea rcx, [rbp - 0x80]
call fcn.1400067a0
movabs rsi, 0x4ec4ec4ec4ec4ec5
test rax, rax
je 0x1400028b0
nop dword [rax]
mov rax, rsi
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x28
movsx eax, byte [rbp + rbx - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rbx
lea rcx, [rbp - 0x80]
call fcn.1400067a0
cmp rbx, rax
jb 0x140002860
btr r14d, 7
or r14d, 0x40
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400029bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
movdqa xmm0, xmmword [0x14000fb20]
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14000fb80]
movdqu xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0xd9878d89
mov dword [rbp - 0x5c], 0xd0bec0c4
lea rcx, [rsp + 0x50]
call fcn.140005f70
bts r14d, 9
mov dword [rbp + 0x3b8], r14d
mov edx, 0x28
lea rcx, [rsp + 0x50]
call fcn.140006d90
lea rcx, [rbp - 0x80]
call fcn.1400060f0
test rax, rax
je 0x1400029a0
nop dword [rax]
mov rax, rsi
mul rdi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, di
sub dx, cx
sub dx, 0x26
movsx eax, byte [rbp + rdi - 0x80]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw edx, xmm0, 0
lea rcx, [rsp + 0x50]
call fcn.140006f20
inc rdi
lea rcx, [rbp - 0x80]
call fcn.1400060f0
cmp rdi, rax
jb 0x140002950
lea rcx, [rsp + 0x50]
call fcn.140005e00
mov edx, ebx
mov rcx, rax
call fcn.140001030
lea rcx, [rsp + 0x50]
call fcn.140005e80
nop
lea rcx, [rbp + 0xd0]
call fcn.140005b40
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret