Function at 0x1402b4000
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x190], 0xfffffffffffffffe
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1402b4036
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsi, [rbp - 0x58]
mov rcx, rsi
call fcn.1402ab260
mov rcx, rsi
call fcn.140351cc0
mov ebx, eax
lea rcx, [rbp - 0x58]
call fcn.1402abd20
test bl, bl
je 0x1402b4119
lea rsi, [rbp + 0xb0]
mov rcx, rsi
call fcn.1402ac0e0
mov eax, 0x3d2dc876
mov r14d, 0x40ca9a9e
mov ebx, 0xa22adf28
nop dword [rax]
cmp eax, 0x3d2dc875
jle 0x1402b40c0
cmp eax, 0x5e25c7d1
je 0x1402b40d0
cmp eax, 0x40ca9a9e
je 0x1402b40df
cmp eax, 0x3d2dc876
jne 0x1402b4080
mov eax, dword [0x140ae0a40]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5e25c7d1
cmove eax, ebx
cmp dword [0x140ae0a44], 0xa
cmovl eax, ebx
jmp 0x1402b4080
cmp eax, 0xa22adf28
je 0x1402b40e6
cmp eax, 0x301b0bec
jne 0x1402b4080
jmp 0x1402b4120
mov rcx, rsi
call fcn.1402a67c0
mov eax, 0xa22adf28
jmp 0x1402b4080
mov eax, 0x301b0bec
jmp 0x1402b4080
mov rcx, rsi
call fcn.1402a67c0
mov rdi, rax
mov eax, dword [0x140ae0a40]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5e25c7d1
cmove eax, r14d
cmp dword [0x140ae0a44], 0xa
cmovl eax, r14d
jmp 0x1402b4080
xor esi, esi
jmp 0x1402b4bc8
mov qword [rbp + 0xd0], rdi
mov rdx, qword [rbp + 0xd0]
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x58]
mov r8d, Ordinal_35
mov r9d, 0x40
call fcn.1402cdfd0
mov r14, qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call r14
movsxd rdi, eax
call r14
movsxd rcx, eax
imul rcx, rdi
movabs rdx, 0x431bde82d7b634db
mov rax, rcx
imul rdx
mov rax, rdx
shr rax, 0x3f
sar rdx, 0x13
add rdx, rax
imul rax, rdx, 0x1e8480
neg rax
lea rdi, [rcx + rax]
add rdi, 0x8af0
mov rcx, rdi
call fcn.14061605c
mov rsi, rax
test rdi, rdi
je 0x1402b41da
xor ebx, ebx
nop word [rax + rax]
call r14
cdqe
imul rcx, rax, 0xffffffff80808081
shr rcx, 0x20
add ecx, eax
mov edx, ecx
shr edx, 0x1f
shr ecx, 7
add ecx, edx
add ecx, eax
mov byte [rsi + rbx], cl
add rbx, 1
cmp rdi, rbx
jne 0x1402b41b0
lea rcx, [rbp - 0x58]
mov rdx, rsi
mov r8, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
je 0x1402b4ace
mov eax, dword [0x140ae0b48]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x140ae0b4c], 0xa
setl cl
or cl, al
mov eax, 0x28b220d8
mov edx, 0xb21d54e2
cmove eax, edx
mov ecx, 0x800a6df0
cmove ecx, edx
mov edx, 0x77f1c929
nop word [rax + rax]
cmp edx, 0xcc399959
jle 0x1402b4270
cmp edx, 0xcc39995a
je 0x1402b4327
cmp edx, 0x28b220d8
je 0x1402b42d0
cmp edx, 0x77f1c929
jne 0x1402b4240
mov edx, ecx
jmp 0x1402b4240
cmp edx, 0x800a6df0
je 0x1402b42da
cmp edx, 0xb21d54e2
jne 0x1402b4240
movups xmm0, xmmword [0x14067fca4]
movups xmmword [rbp + 0x10e], xmm0
movups xmm0, xmmword [0x14067fc96]
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [0x14067fc86]
movaps xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [0x14067fc76]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [0x14067fc66]
movaps xmmword [rbp + 0xd0], xmm0
mov edx, 0x800a6df0
jmp 0x1402b4240
mov edx, 0xcc39995a
jmp 0x1402b4240
movups xmm0, xmmword [0x14067fca4]
movups xmmword [rbp + 0x10e], xmm0
movups xmm0, xmmword [0x14067fc96]
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [0x14067fc86]
movaps xmmword [rbp + 0xf0], xmm0
movups xmm0, xmmword [0x14067fc76]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [0x14067fc66]
movaps xmmword [rbp + 0xd0], xmm0
mov edx, eax
jmp 0x1402b4240
mov qword [rbp + 0x138], rsi
mov eax, dword [0x140ae1380]
mov ecx, dword [0x140ae1384]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
sete byte [rbp + 0x18b]
cmp ecx, 0xa
setl byte [rbp + 0x18a]
setl cl
or cl, al
mov eax, dword [0x140ae2ce0]
mov edx, dword [0x140ae2ce4]
lea ebx, [rax - 1]
imul ebx, eax
mov dword [rbp + 0x160], ebx
test bl, 1
sete al
mov dword [rbp + 0x15c], edx
cmp edx, 0xa
setl dl
or dl, al
mov edx, 0x4f76e63
mov eax, 0x62b0429
cmove edx, eax
mov dword [rbp + 0x150], edx
mov r11d, 0x765316de
cmove r11d, eax
mov r9d, 0x67a5208
mov edx, 0xeca35405
cmove r9d, edx
mov r10d, 0x36e02957
cmove r10d, edx
mov esi, 0xc5e9721d
mov edx, 0x6ab6b96e
cmove esi, edx
mov r13d, 0xe1952b3d
cmove r13d, edx
mov edx, 0x4dcfe9bf
mov edi, 0x2651a9c0
cmove edx, edi
test cl, cl
mov eax, 0xfb4c8da8
mov ecx, 0xc7a0766c
cmove eax, ecx
mov dword [rbp + 0x164], eax
mov r14d, 0x9e7e35b6
cmove r14d, ecx
mov eax, 0x301e2eb
mov ecx, 0x40058728
cmove eax, ecx
mov dword [rbp + 0x16c], eax
mov ebx, 0x382d806a
cmove ebx, ecx
mov r15d, 0xd0539489
mov ecx, 0x49c217ec
cmove r15d, ecx
mov eax, 0x8227d3d4
cmove eax, ecx
mov dword [rbp + 0x154], eax
mov eax, 0xb3e36fe0
mov ecx, 0x9be83b67
cmove eax, ecx
mov dword [rbp + 0x158], eax
mov ecx, 0x46375211
mov r12d, 0xaaa57eef
mov dword [rbp + 0x168], r14d
mov dword [rbp + 0x170], ebx
mov dword [rbp + 0x174], r15d
jmp 0x1402b4480
mov rax, qword [rbp + 0x140]
mov ecx, 0x9e7e35b6
nop dword [rax]
mov edi, ecx
cmp ecx, 0x2ac8e21d
jg 0x1402b44e0
cmp edi, 0xc7a0766b
jle 0x1402b45b0
cmp edi, 0xe4a4c211
jg 0x1402b45f2
cmp edi, 0xc7a0766c
je 0x1402b446d
cmp edi, 0xd0539489
je 0x1402b49e3
mov ecx, edi
cmp edi, 0xd7bb6ca1
jne 0x1402b4480
cmp byte [rbp + 0x189], 0
mov ecx, 0x371ff660
mov eax, 0x4d363302
cmovne ecx, eax
jmp 0x1402b4480
cmp edi, 0x46375210
jg 0x1402b4530
cmp edi, 0x371ff65f
jle 0x1402b4614
mov ecx, ebx
cmp edi, 0x371ff660
je 0x1402b4480
cmp edi, 0x382d806a
je 0x1402b49ed
mov ecx, edi
cmp edi, 0x40058728
jne 0x1402b4480
mov ecx, 0x382d806a
jmp 0x1402b4480
cmp edi, 0x4d363301
jle 0x1402b4998
cmp edi, 0x4d363302
je 0x1402b4a06
mov ecx, dword [rbp + 0x154]
cmp edi, 0x5b8f80db
je 0x1402b4480
mov ecx, edi
cmp edi, 0x6e928e34
jne 0x1402b4480
lea rax, [rbp + 0x11c]
mov qword [rbp + 0x178], rax
mov ecx, 0x6022590
nop dword [rax + rax]
cmp ecx, 0x318e8372
je 0x1402b4a1e
cmp ecx, 0x6022590
jne 0x1402b4580
mov rcx, qword [rbp + 0x178]
movzx ecx, word [rcx]
mov word [rbp + 0x18c], cx
mov ecx, 0x318e8372
jmp 0x1402b4580
cmp edi, 0x9e7e35b5
jle 0x1402b49bc
cmp edi, 0x9e7e35b6
je 0x1402b4a37
mov ecx, dword [rbp + 0x158]
cmp edi, 0xa18379f1
je 0x1402b4480
mov ecx, edi
cmp edi, 0xb3e36fe0
jne 0x1402b4480
mov ecx, 0x6e928e34
jmp 0x1402b4480
cmp edi, 0xfb4c8da8
je 0x1402b4a50
cmp edi, 0x301e2eb
jne 0x1402b4a9e
mov ecx, 0x2ac8e21e
jmp 0x1402b4480
mov ecx, r14d
cmp edi, 0x2ac8e21e
je 0x1402b4480
mov ecx, edi
cmp edi, 0x33b0ba5e
jne 0x1402b4480
test byte [rbp + 0x160], 1
mov r15, qword [rbp + 0x130]
sete byte [rbp + 0x188]
cmp dword [rbp + 0x15c], 0xa
setl byte [rbp + 0x187]
mov edi, 0xdf191cf5
jmp 0x1402b4660
mov edi, 0xe1952b3d
mov r14d, edi
cmp edi, 0x4f76e62
jle 0x1402b46c0
cmp r14d, 0x36e02956
jg 0x1402b4750
cmp r14d, 0x67a5207
jle 0x1402b4817
cmp r14d, 0x67a5208
je 0x1402b48cb
cmp r14d, 0x2651a9c0
je 0x1402b48d5
mov edi, r14d
cmp r14d, 0x3573a83f
jne 0x1402b4660
mov edi, 0x997a7d4a
jmp 0x1402b4660
cmp r14d, 0xce814c2a
jle 0x1402b47b0
cmp r14d, 0xe1952b3c
jle 0x1402b4889
mov edi, esi
cmp r14d, 0xe1952b3d
je 0x1402b4660
mov edi, r10d
cmp r14d, 0xe9c9ddfe
je 0x1402b4660
mov edi, r14d
cmp r14d, 0xeca35405
jne 0x1402b4660
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov edi, 0x36e02957
jmp 0x1402b4660
cmp r14d, 0x6ab6b96d
jle 0x1402b4862
cmp r14d, 0x6ab6b96e
je 0x1402b465b
cmp r14d, 0x73124d69
je 0x1402b48df
mov edi, r14d
cmp r14d, 0x765316de
jne 0x1402b4660
mov eax, dword [rbp + 0x18c]
add eax, 1
mov dword [rbp + 0x14c], eax
mov edi, dword [rbp + 0x150]
jmp 0x1402b4660
cmp r14d, 0xaaa57eee
jle 0x1402b47ed
mov edi, edx
cmp r14d, 0xaaa57eef
je 0x1402b4660
mov edi, r13d
cmp r14d, 0xb1c9abc3
je 0x1402b4660
mov edi, r14d
cmp r14d, 0xc5e9721d
jne 0x1402b4660
jmp 0x1402b4a5a
cmp r14d, 0x89decaa6
je 0x1402b48ff
mov edi, r14d
cmp r14d, 0x997a7d4a
jne 0x1402b4660
mov edi, 0x89decaa6
xor r8d, r8d
jmp 0x1402b4660
cmp r14d, 0x4f76e63
je 0x1402b4921
mov edi, r14d
cmp r14d, 0x62b0429
jne 0x1402b4660
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov eax, dword [rbp + 0x18c]
mov edi, 0x765316de
jmp 0x1402b4660
cmp r14d, 0x36e02957
je 0x1402b4932
mov edi, r14d
cmp r14d, 0x4dcfe9bf
jne 0x1402b4660
mov edi, 0x3573a83f
jmp 0x1402b4660
mov edi, r11d
cmp r14d, 0xce814c2b
je 0x1402b4660
mov edi, r14d
cmp r14d, 0xdf191cf5
jne 0x1402b4660
movzx ecx, byte [rbp + 0x188]
cmp byte [rbp + 0x187], 0
mov edi, 0x2651a9c0
cmovne edi, r12d
test cl, cl
cmovne edi, r12d
jmp 0x1402b4660
mov edi, 0x73124d69
jmp 0x1402b4660
mov edi, 0xaaa57eef
jmp 0x1402b4660
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x184]
mov word [rbp + rax*2 + 0xd0], cx
mov edi, 0xce814c2b
jmp 0x1402b4660
mov dword [rbp + 0x18c], r8d
mov ecx, dword [rbp + 0x18c]
cmp ecx, 0x27
mov edi, 0xb1c9abc3
mov eax, 0xe9c9ddfe
cmovl edi, eax
jmp 0x1402b4660
mov edi, 0x89decaa6
mov r8d, dword [rbp + 0x14c]
jmp 0x1402b4660
movsxd rcx, dword [rbp + 0x18c]
mov qword [rbp + 0x178], rcx
mov rcx, qword [rbp + 0x178]
movsxd rdi, dword [rbp + 0x18c]
imul rbx, rdi, 0x51eb851f
mov rax, rbx
shr rax, 0x3f
sar rbx, 0x24
add ebx, eax
imul eax, ebx, 0x32
sub edi, eax
mov eax, 0x1fcb
sub eax, edi
add edi, 0x34
and eax, 0x16eb
and edi, 0xe914
or edi, eax
xor di, word [r15 + rcx*2]
xor edi, 0x16eb
mov word [rbp + 0x184], di
mov edi, r9d
jmp 0x1402b4660
cmp edi, 0x46375211
je 0x1402b4a78
mov ecx, edi
cmp edi, 0x49c217ec
jne 0x1402b4480
mov ecx, 0x8227d3d4
jmp 0x1402b4480
mov ecx, r15d
cmp edi, 0x8227d3d4
je 0x1402b4480
mov ecx, edi
cmp edi, 0x9be83b67
jne 0x1402b4480
mov ecx, 0xa18379f1
jmp 0x1402b4480
mov ecx, 0x371ff660
jmp 0x1402b4480
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x140], rax
mov ecx, dword [rbp + 0x16c]
jmp 0x1402b4480
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x130], rax
mov ecx, 0x33b0ba5e
jmp 0x1402b4480
cmp word [rbp + 0x18c], 0
setne byte [rbp + 0x189]
mov ecx, 0xd7bb6ca1
jmp 0x1402b4480
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x128], rax
mov ecx, dword [rbp + 0x164]
jmp 0x1402b4480
mov ecx, 0xe4a4c212
jmp 0x1402b4480
mov ecx, 0x5b8f80db
mov r14d, dword [rbp + 0x168]
mov ebx, dword [rbp + 0x170]
mov r15d, dword [rbp + 0x174]
jmp 0x1402b4480
mov r8b, byte [rbp + 0x18b]
cmp byte [rbp + 0x18a], 0
mov ecx, 0x9be83b67
mov eax, 0xa18379f1
cmovne ecx, eax
test r8b, r8b
cmovne ecx, eax
jmp 0x1402b4480
mov ecx, edi
cmp edi, 0xe4a4c212
jne 0x1402b4480
mov rdx, qword [rbp + 0x128]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1402b3a10
mov rsi, qword [rbp + 0x138]
mov rcx, rax
call fcn.1402b3ed0
lea rcx, [rbp - 0x58]
call fcn.1402ce1f0
mov rcx, rsi
call fcn.140616028
mov eax, 0x3d2dc876
lea rsi, [rbp + 0xb0]
mov r14d, 0x40ca9a9e
mov ebx, 0xa22adf28
nop word cs:[rax + rax]
cmp eax, 0x3d2dc875
jle 0x1402b4b40
cmp eax, 0x5e25c7d1
je 0x1402b4b50
cmp eax, 0x40ca9a9e
je 0x1402b4b5f
cmp eax, 0x3d2dc876
jne 0x1402b4b00
mov eax, dword [0x140ae0a40]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5e25c7d1
cmove eax, ebx
cmp dword [0x140ae0a44], 0xa
cmovl eax, ebx
jmp 0x1402b4b00
cmp eax, 0xa22adf28
je 0x1402b4b66
cmp eax, 0x301b0bec
jne 0x1402b4b00
jmp 0x1402b4b99
mov rcx, rsi
call fcn.1402a67c0
mov eax, 0xa22adf28
jmp 0x1402b4b00
mov eax, 0x301b0bec
jmp 0x1402b4b00
mov rcx, rsi
call fcn.1402a67c0
mov rdi, rax
mov eax, dword [0x140ae0a40]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x5e25c7d1
cmove eax, r14d
cmp dword [0x140ae0a44], 0xa
cmovl eax, r14d
jmp 0x1402b4b00
mov qword [rbp + 0xd0], rdi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
sete sil
lea rcx, [rbp - 0x58]
call fcn.1402ce2d0
lea rcx, [rbp + 0xb0]
call fcn.1402abd20
mov eax, esi
add rsp, 0x218
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret