Function at 0x140001e50
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x141390020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x59], r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], eax
xorps xmm1, xmm1
movups xmmword [rbp + 0xf], xmm1
mov dword [rbp + 0x1f], eax
lea edx, [rax + 4]
lea r8d, [r14 + 8]
lea rcx, [rbp + 0x27]
call fcn.140001d60
lea edx, [r14 + 4]
lea r8d, [r14 + 8]
lea rcx, [rbp + 0xf]
call fcn.140001d60
call fcn.14000c34c
mov esi, eax
mov eax, 0x55555556
imul esi
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub esi, ecx
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea r8, [r14 - 1]
test esi, esi
jne 0x140001fb4
lea r8, [r8 + 1]
cmp byte [rbx + r8], r14b
jne 0x140001ef0
cmp byte [r8 + rbx - 1], 0x5c
je 0x140001f19
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001f06
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001f20
lea r8, [rbp + 0xf]
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001f30
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbx - 1]
nop
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001f50
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001f67
lea r8, [rbp + 0x27]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001f80
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], r14b
jne 0x140001f93
xor ecx, ecx
nop
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001fa0
jmp 0x140002336
cmp esi, 1
jne 0x1400020c4
nop dword [rax]
lea r8, [r8 + 1]
cmp byte [rbx + r8], r14b
jne 0x140001fc0
cmp byte [r8 + rbx - 1], 0x5c
je 0x140001fe9
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001fd6
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140001ff0
movsd xmm0, qword [0x140039e58]
movsd qword [rcx], xmm0
movzx eax, byte [0x140039e60]
mov byte [rcx + 8], al
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002013
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002030
lea r8, [rbp + 0xf]
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140002040
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbx - 1]
nop
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002060
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002077
lea r8, [rbp + 0x27]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140002090
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], r14b
jne 0x1400020a3
xor ecx, ecx
nop
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400020b0
jmp 0x140002336
lea rcx, [rbx + 3]
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], r14b
jne 0x1400020d0
xor edx, edx
call fcn.140008560
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400020e4
movsd xmm0, qword [0x140039e68]
movsd qword [rcx], xmm0
mov eax, dword [0x140039e70]
mov dword [rcx + 8], eax
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], r14b
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.140004110
nop
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rcx, qword [rbp - 0x51]
xor edx, edx
call fcn.140015e0c
test eax, eax
je 0x14000224c
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov qword [rbp - 1], r14
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov dword [rbp - 0x59], 1
mov rdx, qword [rbp - 0x41]
add rdx, 9
lea rcx, [rbp - 0x11]
call fcn.140004b70
mov r8d, 9
lea rdx, [0x140039e78]
lea rcx, [rbp - 0x11]
call fcn.140004280
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
lea rcx, [rbp - 0x11]
call fcn.140004280
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400021e0
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002360
call fcn.1400062e4
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x31], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbp - 0x21], xmm1
lea rcx, [rbp - 0x31]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rcx, rdx
call fcn.14000de50
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14000224c
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002366
call fcn.1400062e4
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140002250
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140002267
lea r8, [rbp + 0xf]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140002280
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbx - 1]
nop
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400022a0
movzx eax, word [0x140039e54]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1400022b7
lea r8, [rbp + 0x27]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400022d0
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], 0
jne 0x1400022e3
xor ecx, ecx
nop
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400022f0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140002336
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000235a
call fcn.1400062e4
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400062c0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14000f0b8
nop
call fcn.14000f0b8
nop
call fcn.14000f0b8
int3