Function at 0x140004940
Capabilities:
Create directory
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14006b040]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ecx, ecx
call fcn.140038370
xorps xmm1, xmm1
movss xmm0, dword [0x1401646b0]
ucomiss xmm0, xmm1
jp 0x140005061
jne 0x140005061
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm2, dword [rsp + 0x7c]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x78]
cvtdq2ps xmm1, xmm1
movss dword [0x1401646a8], xmm1
movss dword [0x1401646ac], xmm2
subss xmm2, dword [0x1401646bc]
mulss xmm2, dword [0x140060ba8]
subss xmm1, dword [0x1401646b8]
mulss xmm1, dword [0x140060ba8]
movss dword [0x1401646b0], xmm1
movss dword [0x1401646b4], xmm2
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.cheat_inited
lea rcx, [rsp + 0x30]
call fcn.140006a90
nop
mov rdx, qword [0x140165340]
mov r15d, 0xf
cmp rdx, qword [0x140165348]
je 0x140004a70
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov edx, r15d
mov byte [rsp + 0x30], 0
add qword [0x140165340], 0x20
jmp 0x140004a7f
lea r8, [rsp + 0x30]
call fcn.140007130
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004ab7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ab2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005055
call fcn.1400514a8
mov dword [rbp - 0x80], pe_nt_image_headers64
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140004af0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140006a90
nop
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
mov r14d, 0xe
cmp rax, r14
jb 0x140004bab
lea rax, [r8 + 0xe]
mov qword [rsp + 0x60], rax
lea rdi, [rsp + 0x50]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x50]
lea rax, [0x140053a5e]
lea r12, str.Welcome_back_
cmp rax, rdi
jbe 0x140004b6d
lea rax, [rdi + r8]
cmp r12, rax
ja 0x140004b6d
cmp rdi, r12
ja 0x140004b65
xor esi, esi
jmp 0x140004b70
mov rsi, rdi
sub rsi, r12
jmp 0x140004b70
mov rsi, r14
inc r8
lea rcx, [rdi + 0xe]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rsi
lea rdx, [r12 + 0xe]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x140004bbd
mov qword [rsp + 0x28], r14
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.140007640
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], r15
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004c1b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514a8
movdqa xmm0, xmmword [0x140060d20]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rax, qword [0x140165340]
cmp rax, qword [0x140165348]
je 0x140004c54
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.1400060a0
add qword [0x140165340], 0x20
jmp 0x140004c60
lea r8, [rbp - 0x78]
mov rdx, rax
call fcn.140007390
mov esi, 4
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [rsi + rdi]
cmp dword [0x140165428], eax
jle 0x140004ccd
lea rcx, [0x140165428]
call fcn.1400511ac
cmp dword [0x140165428], 0xffffffff
jne 0x140004ccd
mov word [0x1401655e1], 0x121
mov dword [0x1401655d8], 0xddfd1b1e
mov dword [0x1401655dc], 0xfcee6c39
mov byte [0x1401655e0], 1
lea rcx, [0x140052f40]
call fcn.140051488
lea rcx, [0x140165428]
call fcn.140051140
cmp byte [0x1401655e2], 0
je 0x140004d23
xor byte [0x1401655d8], 0x5d
xor byte [0x1401655d9], 0x21
xor byte [0x1401655da], 0xa1
xor byte [0x1401655db], 0x9b
xor byte [0x1401655dc], 0x55
xor byte [0x1401655dd], 3
xor byte [0x1401655de], 0x99
xor byte [0x1401655df], 0x85
xor byte [0x1401655e0], 0x5d
xor byte [0x1401655e1], 0x21
mov byte [0x1401655e2], 0
xor edx, edx
lea rcx, [0x1401655d8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movdqa xmm6, xmmword [0x140060da0]
mov eax, dword [rsi + rdi]
cmp dword [0x14016549c], eax
jle 0x140004d82
lea rcx, [0x14016549c]
call fcn.1400511ac
cmp dword [0x14016549c], 0xffffffff
jne 0x140004d82
mov word [0x1401655c8], 0x1c7
movups xmmword [0x1401655b8], xmm6
lea rcx, [0x140052f20]
call fcn.140051488
lea rcx, [0x14016549c]
call fcn.140051140
cmp byte [0x1401655c9], 0
je 0x140004e09
xor byte [0x1401655b8], 0xc7
xor byte [0x1401655b9], 0x73
xor byte [0x1401655ba], 0xdb
xor byte [0x1401655bb], 0x47
xor byte [0x1401655bc], 0xdf
xor byte [0x1401655bd], 0x3d
xor byte [0x1401655be], 0x57
xor byte [0x1401655bf], 0x43
xor byte [0x1401655c0], 0xc7
xor byte [0x1401655c1], 0x73
xor byte [0x1401655c2], 0xdb
xor byte [0x1401655c3], 0x47
xor byte [0x1401655c4], 0xdf
xor byte [0x1401655c5], 0x3d
xor byte [0x1401655c6], 0x57
xor byte [0x1401655c7], 0x43
xor byte [0x1401655c8], 0xc7
mov byte [0x1401655c9], 0
xor edx, edx
lea rcx, [0x1401655b8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movdqa xmm6, xmmword [0x140060e20]
movdqa xmm7, xmmword [0x140060d80]
mov eax, dword [rsi + rdi]
cmp dword [0x140165404], eax
jle 0x140004e77
lea rcx, [0x140165404]
call fcn.1400511ac
cmp dword [0x140165404], 0xffffffff
jne 0x140004e77
mov word [0x140165610], 0x113
movups xmmword [0x1401655f0], xmm6
movups xmmword [0x140165600], xmm7
lea rcx, [0x140052f00]
call fcn.140051488
lea rcx, [0x140165404]
call fcn.140051140
cmp byte [0x140165611], 0
je 0x140004f72
xor byte [0x1401655f0], 0x13
xor byte [0x1401655f1], 0xa9
xor byte [0x1401655f2], 0xdb
xor byte [0x1401655f3], 3
xor byte [0x1401655f4], 0x69
xor byte [0x1401655f5], 1
xor byte [0x1401655f6], 0x2f
xor byte [0x1401655f7], 0x75
xor byte [0x1401655f8], 0x13
xor byte [0x1401655f9], 0xa9
xor byte [0x1401655fa], 0xdb
xor byte [0x1401655fb], 3
xor byte [0x1401655fc], 0x69
xor byte [0x1401655fd], 1
xor byte [0x1401655fe], 0x2f
xor byte [0x1401655ff], 0x75
xor byte [0x140165600], 0x13
xor byte [0x140165601], 0xa9
xor byte [0x140165602], 0xdb
xor byte [0x140165603], 3
xor byte [0x140165604], 0x69
xor byte [0x140165605], 1
xor byte [0x140165606], 0x2f
xor byte [0x140165607], 0x75
xor byte [0x140165608], 0x13
xor byte [0x140165609], 0xa9
xor byte [0x14016560a], 0xdb
xor byte [0x14016560b], 3
xor byte [0x14016560c], 0x69
xor byte [0x14016560d], 1
xor byte [0x14016560e], 0x2f
xor byte [0x14016560f], 0x75
xor byte [0x140165610], 0x13
mov byte [0x140165611], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rdx, [0x1401655f0]
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140004f90
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140006a90
nop
mov rdx, qword [0x140165340]
cmp rdx, qword [0x140165348]
je 0x140004fd7
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov byte [rsp + 0x30], 0
add qword [0x140165340], 0x20
jmp 0x140004fe6
lea r8, [rsp + 0x30]
call fcn.140007130
mov r15, qword [rsp + 0x48]
cmp r15, 0xf
jbe 0x140005023
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000501d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000501d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514a8
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140005061
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000505c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000505c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400514a8
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140051120
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret