Function at 0x1400a2c80
Capabilities:
Create thread
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov rax, qword [0x140128010]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rax, [rsp + 0x2e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x2a8], 0x40
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rsp + 0x2b0]
movzx edx, byte [rsp + 0x60]
mov rcx, rax
call fcn.1400e1b50
nop
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
inc qword [rsp + 0x70]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
cmp byte [rax + rcx], 0
jne 0x1400a2d19
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov r8, qword [rsp + 0xf8]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x2b0]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x268]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x34]
call fcn.1400a3520
mov rcx, rax
call fcn.1400de020
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x1e8]
movzx edx, byte [rsp + 0x61]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x78], 0xffffffffffffffff
inc qword [rsp + 0x78]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
cmp byte [rax + rcx], 0
jne 0x1400a2dd6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1e8]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x118]
call fcn.1400df490
mov qword [rsp + 0x98], rax
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x1c8]
call fcn.1400df350
mov qword [rsp + 0x1b8], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x58], 0
jmp 0x1400a2e91
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x120], rax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x120]
jae 0x1400a2f87
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 0x10
jb 0x1400a2ef1
mov dword [rsp + 0x64], 1
jmp 0x1400a2ef9
mov dword [rsp + 0x64], 0
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x35], al
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x1400a2f2e
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsp + 0x38], al
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x1c8]
call fcn.1400dfc80
jmp 0x1400a2e87
mov rcx, qword [rsp + 0x98]
call fcn.1400dfb60
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.1400e2cc0
mov byte [rsp + 0x40], al
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x1c8]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x1e8]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400a3013
xor eax, eax
cmp eax, 1
je 0x1400a3013
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x2e0]
xor eax, 2
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x2e0], al
jmp 0x1400a2fe6
lea rax, [rsp + 0x41]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x288]
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x41]
call fcn.1400a3620
mov rcx, rax
call fcn.1400ddf90
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x228]
movzx edx, byte [rsp + 0x62]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x80], 0xffffffffffffffff
inc qword [rsp + 0x80]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x80]
cmp byte [rax + rcx], 0
jne 0x1400a3080
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x228]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x168]
call fcn.1400df490
mov qword [rsp + 0xa8], rax
lea rdx, [0x14011f5d1]
lea rcx, [rsp + 0x208]
call fcn.1400df350
mov qword [rsp + 0x1c0], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x5c], 0
jmp 0x1400a3144
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x170], rax
movsxd rax, dword [rsp + 0x5c]
cmp rax, qword [rsp + 0x170]
jae 0x1400a323a
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x18], 0x10
jb 0x1400a31a4
mov dword [rsp + 0x68], 1
jmp 0x1400a31ac
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x1400a31e1
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x180], rax
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x180]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
movsx eax, byte [rax]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsp + 0x48], al
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x208]
call fcn.1400dfc80
jmp 0x1400a313a
mov rcx, qword [rsp + 0xa8]
call fcn.1400dfb60
lea rax, [rsp + 0x208]
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.1400e2cc0
mov byte [rsp + 0x50], al
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x208]
call fcn.1400dfb60
nop
lea rcx, [rsp + 0x228]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400a32c6
xor eax, eax
cmp eax, 1
je 0x1400a32c6
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x2e0]
xor eax, 3
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x2e0], al
jmp 0x1400a3299
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x51]
call fcn.1400a3720
mov rcx, rax
call fcn.1400ddf00
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x248]
movzx edx, byte [rsp + 0x63]
mov rcx, rax
call fcn.1400e1b50
nop
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x1400a3323
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov r8, qword [rsp + 0x1b0]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x248]
call fcn.1400e1e60
nop
lea rax, [rsp + 0x248]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x2b0]
call fcn.1400e2cc0
mov byte [rsp + 0x52], al
lea rcx, [rsp + 0x248]
call fcn.1400dfb60
movzx eax, byte [rsp + 0x52]
test eax, eax
je 0x1400a33eb
xor eax, eax
cmp eax, 1
je 0x1400a33eb
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x2e0]
xor eax, 4
mov ecx, 1
imul rcx, rcx, 0
mov byte [rsp + rcx + 0x2e0], al
jmp 0x1400a33be
mov rcx, qword [rsp + 0x340]
call fcn.1400a3ef0
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rsp + 0x54], 0
jmp 0x1400a341a
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
add eax, 0xb
cmp dword [rsp + 0x54], eax
jge 0x1400a34d9
mov eax, dword [rsp + 0x54]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
test eax, eax
jne 0x1400a34c9
mov dword [rsp + 0xe0], 1
mov rcx, qword [rsp + 0x340]
call fcn.1400a3830
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax]
test eax, eax
jne 0x1400a34af
movzx eax, byte [0x1401ac780]
test eax, eax
jne 0x1400a34af
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140020d90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x340]
mov byte [rax], 1
mov rcx, qword [rsp + 0x340]
call fcn.1400a7120
mov rcx, qword [rsp + 0x340]
call fcn.1400a8a80
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a3410
xor eax, eax
cmp eax, 1
je 0x1400a34f4
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cmp eax, 0x34
jne 0x1400a34ed
jmp 0x1400a34f4
jmp 0x1400a33eb
lea rcx, [rsp + 0x2b0]
call fcn.1400dfb60
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400e6d70
add rsp, 0x330
pop rdi
ret