Function at 0x1800325b0
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 0x180032610
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x58]
call fcn.1800414d0
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, [0x180260c00]
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 0x1800326c8
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rcx, [rbp + 0x30]
call fcn.180040c90
mov ecx, dword [rbp + 0xa8]
xor eax, eax
movdqa xmm1, xmmword [0x180262d30]
xorps xmm0, xmm0
mov rbx, qword [str.CHLENIX]
movzx edi, word [0x18025f5f4]
movzx r14d, byte [0x18025f5f6]
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 0x180032752
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x180032752
cmp r8, qword [rbp + 0xa0]
mov rax, qword [rbp + 0x58]
cmovb r8, qword [rbp + 0xa0]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x180032786
test cl, 4
jne 0x18003277c
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x18003277c
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 0x180032786
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x180032794
lea rcx, [rbp - 0x10]
call fcn.18003fb50
mov ecx, 0x20
mov qword [rbp - 0x30], r15
call fcn.180080c20
movdqa xmm0, xmmword [0x180262d50]
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 [0x18025f610]
mov byte [rcx + 0xf], al
mov byte [rcx + 0x10], r15b
lea rcx, [rbp - 0x38]
call fcn.18003f180
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 0x180032877
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 0x180032896
lea r9, str.__Time:
mov qword [rsp + 0x20], 9
mov edx, 9
lea rcx, [rsp + 0x68]
call fcn.180041340
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.180041d40
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x180032900
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800328fb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800329c8
call fcn.180080c5c
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18003293c
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032937
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800329c8
call fcn.180080c5c
mov rdx, qword [rbp - 0x20]
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r15b
cmp rdx, 0xf
jbe 0x180032985
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032980
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800329c8
call fcn.180080c5c
mov rdx, qword [rbp + 8]
movdqa xmm0, xmmword [0x180262d30]
mov byte [rbp - 0x38], r15b
movdqu xmmword [rbp - 0x28], xmm0
cmp rdx, 0xf
jbe 0x1800329d4
mov rcx, qword [rbp - 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800329cf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800329cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080c5c
mov rcx, qword [0x180293828]
mov rbx, qword [0x180293858]
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 0x180032a61
mov rcx, qword [rbx + 0x68]
mov rdi, rcx
test rcx, rcx
jne 0x180032a5a
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
mov rdi, rcx
mov qword [rbp + 0x308], rcx
call fcn.180051880
lea rdx, [rbp + 0x308]
lea rcx, [rbx + 0x4038]
call fcn.18005a730
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ea0]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x288]
call fcn.18005c560
cmp qword [rbp - 0x60], 0xf
lea rax, [rbp - 0x78]
mov rcx, qword [0x180293858]
xorps xmm10, xmm10
cmova rax, qword [rbp - 0x78]
movss xmm13, dword [rcx + 0x3c00]
test rax, rax
jne 0x180032ac1
xorps xmm12, xmm12
jmp 0x180032b16
movss xmm0, dword [0x180262c48]
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.180061c60
movss xmm0, dword [rbp + 0x308]
addss xmm0, dword [0x18026270c]
movss xmm13, dword [rbp + 0x30c]
cvttss2si eax, xmm0
movd xmm12, eax
cvtdq2ps xmm12, xmm12
call fcn.180051920
mov rax, qword [0x180293858]
lea rcx, str.watermark
movaps xmm0, xmm12
xor edx, edx
addss xmm0, dword [0x180262a84]
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.18004f010
mov rcx, qword [0x180293828]
mov rbx, qword [0x180293858]
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 0x180032be3
mov rcx, qword [rbx + 0x68]
mov rdi, rcx
test rcx, rcx
jne 0x180032bdc
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
mov rdi, rcx
mov qword [rbp + 0x310], rcx
call fcn.180051880
lea rdx, [rbp + 0x310]
lea rcx, [rbx + 0x4038]
call fcn.18005a730
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ea0]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x288]
call fcn.18005c560
mov r8, qword [0x180293858]
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 0x180032c7f
mov byte [rdx + 0xb3], r15b
jmp 0x180032c95
cvttss2si eax, xmm11
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm2, xmm0
movss dword [rdx + 0x28], xmm0
jne 0x180032c9e
ucomiss xmm1, dword [0x180262ac0]
je 0x180032cbc
test dword [rdx + 0xc], 0x100
jne 0x180032cbc
comiss xmm10, dword [r8 + 0x539c]
jb 0x180032cbc
mov eax, dword [r8 + 0x1c]
mov dword [r8 + 0x539c], eax
movaps xmm0, xmmword [0x180262e20]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm14
movaps xmm8, xmm15
addss xmm0, dword [0x180262aa0]
addss xmm8, xmm11
movss dword [rbp + 0x314], xmm0
movss dword [rbp + 0x310], xmm8
call fcn.1800452e0
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.18005ee70
movaps xmm0, xmmword [0x180263010]
lea rcx, [rsp + 0x50]
movaps xmm1, xmmword [0x180262e50]
movaps xmm7, xmm15
mulss xmm11, dword [0x1802625e4]
movaps xmm6, xmm14
addss xmm6, dword [0x180262a98]
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.1800452e0
lea rcx, [rsp + 0x68]
mov edi, eax
call fcn.1800452e0
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.18005f020
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.18005f020
movaps xmm0, xmmword [0x180263010]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movss dword [rbp + 0x310], xmm7
movss dword [rbp + 0x314], xmm6
call fcn.1800452e0
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.18005f020
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.18005f020
movss xmm0, dword [0x1802624e0]
lea rcx, [rsp + 0x68]
movd xmm3, dword [0x1802760a8]
movaps xmm6, xmm14
movd xmm2, dword [0x1802760ac]
movd xmm1, dword [0x1802760b0]
addss xmm6, dword [0x180262a08]
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.1800452e0
lea rcx, [rsp + 0x50]
mov edi, eax
call fcn.1800452e0
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.18005f020
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.18005f020
movaps xmm0, xmmword [0x180262e90]
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.1800452e0
mulss xmm12, dword [0x1802625e4]
mov ecx, eax
mulss xmm13, dword [0x1802625e4]
movss xmm0, dword [0x180262a74]
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 0x180033094
inc rsi
cmp byte [r8 + rsi], r15b
jne 0x180033036
add rsi, r8
cmp r8, rsi
je 0x180033094
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.180061e90
call fcn.1800513f0
mov rdx, qword [rbp - 0x60]
movaps xmm10, xmmword [rsp + 0x380]
cmp rdx, 0xf
jbe 0x1800330dd
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800330d8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003315f
call fcn.180080c5c
mov rax, qword [rbp + 0x30]
movdqa xmm0, xmmword [0x180262d30]
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.18003e9a0
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 0x18003316b
mov rcx, qword [rbp - 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180033166
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180033166
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180080c5c
add rsp, 0x3c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret