Function at 0x140002300
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 [0x141302020]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, 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 + 5]
lea r8d, [r14 + 8]
lea rcx, [rbp + 0x27]
call fcn.1400021f0
lea edx, [r14 + 6]
lea r8d, [r14 + 0xa]
lea rcx, [rbp + 0xf]
call fcn.1400021f0
call fcn.14001308c
mov edi, eax
mov eax, 0x55555556
imul edi
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub edi, ecx
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test edi, edi
jne 0x140002474
mov rdi, 0xffffffffffffffff
lea rdi, [rdi + 1]
cmp byte [rbx + rdi], r14b
jne 0x1400023a3
cmp byte [rdi + rbx - 1], 0x5c
je 0x1400023d3
lea rcx, [rbx - 1]
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400023c0
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400023d7
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 0x1400023f0
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 0x140002410
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002427
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 0x140002440
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], r14b
jne 0x140002453
xor ecx, ecx
nop
movzx eax, byte [rsi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002460
jmp 0x140002816
cmp edi, 1
mov rdi, 0xffffffffffffffff
jne 0x140002594
lea rdi, [rdi + 1]
cmp byte [rbx + rdi], r14b
jne 0x140002484
cmp byte [rdi + rbx - 1], 0x5c
je 0x1400024b3
lea rcx, [rbx - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400024a0
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400024b7
movsd xmm0, qword [0x1400431e8]
movsd qword [rcx], xmm0
movzx eax, byte [0x1400431f0]
mov byte [rcx + 8], al
lea rcx, [rbx - 1]
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400024e0
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400024f7
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 0x140002510
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 0x140002530
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x140002547
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 0x140002560
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], r14b
jne 0x140002573
xor ecx, ecx
nop
movzx eax, byte [rsi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002580
jmp 0x140002816
lea rcx, [rbx + 3]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], r14b
jne 0x1400025a0
xor edx, edx
call fcn.14000f2a0
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], r14b
jne 0x1400025b4
movsd xmm0, qword [0x1400431f8]
movsd qword [rcx], xmm0
mov eax, dword [0x140043200]
mov dword [rcx + 8], eax
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], r14b
inc rdi
cmp byte [rbx + rdi], r14b
jne 0x1400025e2
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.140008fc0
nop
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rcx, qword [rbp - 0x51]
xor edx, edx
call fcn.14001de1c
test eax, eax
je 0x140002728
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.140009bd0
mov r8d, 9
lea rdx, [0x140043208]
lea rcx, [rbp - 0x11]
call fcn.140009120
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.140009120
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1400026bc
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002840
call fcn.14000cf34
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.1400154d0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140002728
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002846
call fcn.14000cf34
lea rcx, [rbx - 1]
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140002730
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140002747
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 0x140002760
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 0x140002780
movzx eax, word [0x1400431e4]
mov word [rcx], ax
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140002797
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 0x1400027b0
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], 0
jne 0x1400027c3
xor ecx, ecx
nop
movzx eax, byte [rsi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400027d0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140002816
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000283a
call fcn.14000cf34
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000cf10
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.1400171b8
nop
call fcn.1400171b8
nop
call fcn.1400171b8
int3