Function at 0x180033ca0
Capabilities:
Get session user name

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
xor r15d, r15d
mov dword [rbp + 0x300], 0x101
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov qword [rbp - 0x48], r15
mov rsi, 0xffffffffffffffff
mov qword [rbp - 0x40], r15
movups xmmword [rbp - 0x58], xmm0
lea rax, [rbp + 0x120]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x180033d00
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x58]
call fcn.180042bc0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp - 0x18], rax
lea rcx, [rbp + 0xb8]
lea rax, [0x180262bc0]
mov qword [rbp + 0x30], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r9d, r9d
lea rdx, [rbp + 0x38]
xor r8d, r8d
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
mov rax, qword [rbp + 0x30]
lea r12, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xa0], r15
lea rcx, [rbp - 0x18]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0xa8], 4
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov qword [rsp + 0x50], rax
lea rax, str._H:_M:_S
mov qword [rsp + 0x58], rax
inc rax
cmp byte [rax], r15b
jne 0x180033db8
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x30]
call fcn.180042380
mov ecx, dword [rbp + 0xa8]
xor eax, eax
movdqa xmm1, xmmword [0x180264d10]
xorps xmm0, xmm0
mov rbx, qword [str.CHLENIX]
movzx edi, word [0x1802615ec]
movzx r14d, byte [0x1802615ee]
mov qword [rsp + 0x60], rax
mov eax, ecx
and al, 0x22
movups xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x10], r15b
movdqu xmmword [rbp], xmm1
movups xmmword [rsp + 0x50], xmm0
cmp al, 2
je 0x180033e42
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x180033e42
cmp r8, qword [rbp + 0xa0]
mov rax, qword [rbp + 0x58]
cmovb r8, qword [rbp + 0xa0]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x180033e76
test cl, 4
jne 0x180033e6c
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x180033e6c
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x88]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x180033e76
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x180033e84
lea rcx, [rbp - 0x10]
call fcn.180041240
mov ecx, 0x20
mov qword [rbp - 0x30], r15
call fcn.180082310
movdqa xmm0, xmmword [0x180264d30]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
mov rcx, rax
mov r8, qword [rbp - 0x48]
cmova rdx, qword [rbp - 0x58]
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x38], rax
mov dword [rax], ebx
mov word [rax + 4], di
mov byte [rax + 6], r14b
movsd xmm0, qword [str.__User:]
movsd qword [rax + 7], xmm0
movzx eax, byte [0x180261608]
mov byte [rcx + 0xf], al
mov byte [rcx + 0x10], r15b
lea rcx, [rbp - 0x38]
call fcn.180040870
mov qword [rsp + 0x78], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x180033f67
cmp rdx, 0xf
lea rax, [rcx + 9]
lea rbx, [rsp + 0x68]
mov qword [rsp + 0x78], rax
cmova rbx, qword [rsp + 0x68]
lea rdx, str.__Time:
add rbx, rcx
mov r8d, 9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsp + 0x68]
mov byte [rbx + 9], r15b
jmp 0x180033f86
lea r9, str.__Time:
mov qword [rsp + 0x20], 9
mov edx, 9
lea rcx, [rsp + 0x68]
call fcn.180042a30
movups xmm0, xmmword [rax]
lea r9, [rbp - 0x10]
movups xmm1, xmmword [rax + 0x10]
lea r8, [rbp + 0x10]
mov qword [rax + 0x10], r15
lea rcx, [rbp - 0x78]
mov qword [rax + 0x18], 0xf
movups xmmword [rbp + 0x10], xmm0
mov byte [rax], r15b
movups xmmword [rbp + 0x20], xmm1
call fcn.180043430
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x180033ff0
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033feb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800340b8
call fcn.18008234c
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18003402c
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034027
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800340b8
call fcn.18008234c
mov rdx, qword [rbp - 0x20]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r15b
cmp rdx, 0xf
jbe 0x180034075
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034070
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800340b8
call fcn.18008234c
mov rdx, qword [rbp + 8]
movdqa xmm0, xmmword [0x180264d10]
mov byte [rbp - 0x38], r15b
movdqu xmmword [rbp - 0x28], xmm0
cmp rdx, 0xf
jbe 0x1800340c4
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800340bf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800340bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008234c
mov rcx, qword [0x180295838]
mov rbx, qword [0x180295860]
mov rdi, rcx
movaps xmmword [rsp + 0x3b0], xmm6
movaps xmmword [rsp + 0x3a0], xmm7
movaps xmmword [rsp + 0x390], xmm8
movaps xmmword [rsp + 0x380], xmm10
movaps xmmword [rsp + 0x370], xmm11
movaps xmmword [rsp + 0x360], xmm12
movaps xmmword [rsp + 0x350], xmm13
movaps xmmword [rsp + 0x340], xmm14
movaps xmmword [rsp + 0x330], xmm15
mov qword [rbp + 0x308], rcx
test rcx, rcx
jne 0x180034151
mov rcx, qword [rbx + 0x68]
mov rdi, rcx
test rcx, rcx
jne 0x18003414a
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
mov rdi, rcx
mov qword [rbp + 0x308], rcx
call fcn.180052f70
lea rdx, [rbp + 0x308]
lea rcx, [rbx + 0x4038]
call fcn.18005be20
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ea0]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x288]
call fcn.18005dc50
cmp qword [rbp - 0x60], 0xf
lea rax, [rbp - 0x78]
mov rcx, qword [0x180295860]
xorps xmm10, xmm10
cmova rax, qword [rbp - 0x78]
movss xmm13, dword [rcx + 0x3c00]
test rax, rax
jne 0x1800341b1
xorps xmm12, xmm12
jmp 0x180034206
movss xmm0, dword [0x180264c20]
lea rdx, [rbp + 0x308]
mov rcx, qword [rcx + 0x3bf8]
movaps xmm2, xmm13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
call fcn.180063350
movss xmm0, dword [rbp + 0x308]
addss xmm0, dword [0x1802646dc]
movss xmm13, dword [rbp + 0x30c]
cvttss2si eax, xmm0
movd xmm12, eax
cvtdq2ps xmm12, xmm12
call fcn.180053010
mov rax, qword [0x180295860]
lea rcx, str.watermark
movaps xmm0, xmm12
xor edx, edx
addss xmm0, dword [0x180264a54]
mov r8d, 0xc20ab
or dword [rax + 0x3fa8], 2
mov dword [rax + 0x3fcc], 0x41a00000
mov dword [rax + 0x3fb0], 1
movss dword [rax + 0x3fc8], xmm0
call fcn.180050700
mov rcx, qword [0x180295838]
mov rbx, qword [0x180295860]
mov rdi, rcx
mov qword [rbp + 0x310], rcx
mov rax, qword [rbx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rbx + 0x3ea0]
movss xmm15, dword [rax + 0x18]
movss xmm14, dword [rax + 0x1c]
mov r14, qword [rax + 0x288]
movss xmm11, dword [rax + 0x20]
movss dword [rbp + 0x308], xmm15
movss dword [rbp + 0x30c], xmm14
test rcx, rcx
jne 0x1800342d3
mov rcx, qword [rbx + 0x68]
mov rdi, rcx
test rcx, rcx
jne 0x1800342cc
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
mov rdi, rcx
mov qword [rbp + 0x310], rcx
call fcn.180052f70
lea rdx, [rbp + 0x310]
lea rcx, [rbx + 0x4038]
call fcn.18005be20
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ea0]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x288]
call fcn.18005dc50
mov r8, qword [0x180295860]
mov rdx, qword [r8 + 0x3ea0]
movzx ecx, byte [rdx + 0xbd]
mov eax, dword [rdx + 0xbc]
and ecx, 0xf1
movss xmm1, dword [rdx + 0x2c]
and eax, 0xffff00ff
movss xmm2, dword [rdx + 0x28]
shl ecx, 8
or ecx, eax
mov byte [rdx + 0xb1], r15b
comiss xmm11, xmm10
mov dword [rdx + 0xbc], ecx
mov eax, r15d
mov ecx, 2
mov dword [rdx + 0x2c], 0x421c0000
cmovbe eax, ecx
mov byte [rdx + 0xb0], al
ja 0x18003436f
mov byte [rdx + 0xb3], r15b
jmp 0x180034385
cvttss2si eax, xmm11
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm2, xmm0
movss dword [rdx + 0x28], xmm0
jne 0x18003438e
ucomiss xmm1, dword [0x180264a90]
je 0x1800343ac
test dword [rdx + 0xc], 0x100
jne 0x1800343ac
comiss xmm10, dword [r8 + 0x539c]
jb 0x1800343ac
mov eax, dword [r8 + 0x1c]
mov dword [r8 + 0x539c], eax
movaps xmm0, xmmword [0x180264e00]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm14
movaps xmm8, xmm15
addss xmm0, dword [0x180264a70]
addss xmm8, xmm11
movss dword [rbp + 0x314], xmm0
movss dword [rbp + 0x310], xmm8
call fcn.1800469d0
mov r9d, eax
mov dword [rsp + 0x28], r15d
lea rdx, [rbp + 0x308]
movss dword [rsp + 0x20], xmm10
lea r8, [rbp + 0x310]
mov rcx, r14
call fcn.180060560
movaps xmm0, xmmword [0x180264ff0]
lea rcx, [rsp + 0x50]
movaps xmm1, xmmword [0x180264e30]
movaps xmm7, xmm15
mulss xmm11, dword [0x1802645a4]
movaps xmm6, xmm14
addss xmm6, dword [0x180264a68]
movups xmmword [rsp + 0x68], xmm0
addss xmm7, xmm11
movups xmmword [rsp + 0x50], xmm1
movss dword [rbp + 0x314], xmm6
movss dword [rbp + 0x310], xmm7
call fcn.1800469d0
lea rcx, [rsp + 0x68]
mov edi, eax
call fcn.1800469d0
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x308]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x310]
mov r9d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
mov ebx, eax
call fcn.180060710
mov dword [rsp + 0x30], ebx
lea r8, [rbp + 0x310]
mov dword [rsp + 0x28], edi
lea rdx, [rbp + 0x318]
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov rcx, r14
movss dword [rbp + 0x310], xmm8
movss dword [rbp + 0x314], xmm6
movss dword [rbp + 0x318], xmm7
movss dword [rbp + 0x31c], xmm14
call fcn.180060710
movaps xmm0, xmmword [0x180264ff0]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movss dword [rbp + 0x310], xmm7
movss dword [rbp + 0x314], xmm6
call fcn.1800469d0
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x308]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x310]
mov r9d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
mov ebx, eax
call fcn.180060710
mov dword [rsp + 0x30], ebx
lea r8, [rbp + 0x310]
mov dword [rsp + 0x28], edi
lea rdx, [rbp + 0x318]
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov rcx, r14
movss dword [rbp + 0x310], xmm8
movss dword [rbp + 0x314], xmm6
movss dword [rbp + 0x318], xmm7
movss dword [rbp + 0x31c], xmm14
call fcn.180060710
movss xmm0, dword [0x1802644a0]
lea rcx, [rsp + 0x68]
movd xmm3, dword [0x1802780a8]
movaps xmm6, xmm14
movd xmm2, dword [0x1802780ac]
movd xmm1, dword [0x1802780b0]
addss xmm6, dword [0x1802649d8]
cvtdq2ps xmm3, xmm3
mov dword [rsp + 0x5c], 0x3f48c8ca
mov dword [rsp + 0x74], 0x3f800000
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm0
mulss xmm2, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x50], xmm3
mulss xmm1, xmm0
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x68], xmm3
movss dword [rsp + 0x58], xmm1
movss dword [rsp + 0x6c], xmm2
movss dword [rsp + 0x70], xmm1
movss dword [rbp + 0x310], xmm7
movss dword [rbp + 0x314], xmm6
call fcn.1800469d0
lea rcx, [rsp + 0x50]
mov edi, eax
call fcn.1800469d0
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x308]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x310]
mov r9d, edi
mov dword [rsp + 0x20], eax
mov rcx, r14
mov ebx, eax
call fcn.180060710
mov dword [rsp + 0x30], ebx
lea r8, [rbp + 0x308]
mov dword [rsp + 0x28], edi
lea rdx, [rbp + 0x310]
mov r9d, ebx
mov dword [rsp + 0x20], edi
mov rcx, r14
movss dword [rbp + 0x308], xmm8
movss dword [rbp + 0x30c], xmm6
movss dword [rbp + 0x310], xmm7
movss dword [rbp + 0x314], xmm14
call fcn.180060710
movaps xmm0, xmmword [0x180264e70]
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
cmova r8, qword [rbp - 0x78]
call fcn.1800469d0
mulss xmm12, dword [0x1802645a4]
mov ecx, eax
mulss xmm13, dword [0x1802645a4]
movss xmm0, dword [0x180264a44]
subss xmm11, xmm12
movaps xmm12, xmmword [rsp + 0x360]
movaps xmm8, xmmword [rsp + 0x390]
subss xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x350]
movaps xmm7, xmmword [rsp + 0x3a0]
movaps xmm6, xmmword [rsp + 0x3b0]
addss xmm11, xmm15
movaps xmm15, xmmword [rsp + 0x330]
addss xmm0, xmm14
movaps xmm14, xmmword [rsp + 0x340]
movss dword [rbp + 0x308], xmm11
movaps xmm11, xmmword [rsp + 0x370]
movss dword [rbp + 0x30c], xmm0
test eax, 0xff000000
je 0x180034784
inc rsi
cmp byte [r8 + rsi], r15b
jne 0x180034726
add rsi, r8
cmp r8, rsi
je 0x180034784
mov rax, qword [r14 + 0x38]
lea rdx, [rsp + 0x50]
movups xmm0, xmmword [r14 + 0x88]
mov byte [rsp + 0x48], r15b
lea r9, [rbp + 0x308]
movss dword [rsp + 0x40], xmm10
movss xmm2, dword [rax + 0x10]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov dword [rsp + 0x20], ecx
mov rcx, qword [rax + 8]
movups xmmword [rsp + 0x50], xmm0
call fcn.180063580
call fcn.180052ae0
mov rdx, qword [rbp - 0x60]
movaps xmm10, xmmword [rsp + 0x380]
cmp rdx, 0xf
jbe 0x1800347cd
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800347c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003484f
call fcn.18008234c
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [0x180264d10]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], r15b
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], r12
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.180040090
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x18003485b
mov rcx, qword [rbp - 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034856
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034856
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18008234c
add rsp, 0x3c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret