Function at 0x1400c5700
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14019d080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0xa8], rdx
xor esi, esi
cmp byte [0x1401f61d0], sil
jne 0x1400c5778
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
lea r8d, [rsi + 0x52]
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rsp + 0x78]
call fcn.14000c440
lea rcx, [rsp + 0x78]
call fcn.1400c0b10
mov dword [rbp + 0xb0], 0x64
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb8], sil
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x1400c57c4
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb8]
call fcn.14000c440
nop
mov dword [rsp + 0x58], 0xc6d0c983
mov dword [rsp + 0x5c], 0xc8c2d8cc
mov word [rsp + 0x60], 0x90
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x20], 0xc5c6c883
mov dword [rsp + 0x24], 0x10097cc
mov dword [rsp + 0x68], 0xdbc2d583
mov dword [rsp + 0x6c], 0xc2c4c3da
mov dword [rsp + 0x70], 0x92cac4
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xdbc2cb83
mov dword [rsp + 0x4c], 0xc9cccbda
mov word [rsp + 0x50], 0x90
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x28], 0xddc4d683
mov dword [rsp + 0x2c], 0x91d9cfda
mov word [rsp + 0x30], 0x100
mov dword [rsp + 0x38], 0xcdd7dfd1
mov dword [rsp + 0x3c], 0xcbc4c694
mov word [rsp + 0x40], 0x100
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x58]
call fcn.1400b5a10
nop
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0x10
cmovae rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
mov rcx, rax
call fcn.14000c4b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x38]
call fcn.1400b5f60
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400c58ec
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000c4b0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.1400b64b0
nop
lea rdx, [rbx + 0x238]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c593e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000c4b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 8]
call fcn.1400b5810
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400c5987
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000c4b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.1400b5f60
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400c59d8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000c4b0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400c5a42
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5a3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5a3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400c5a92
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5a8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5a8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400c5ad0
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5acb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5acb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1400c5b22
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1400c5b60
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5b5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5b5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400c5baf
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5ba9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5ba9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400c5bed
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5be8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400c5c3c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5c36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400c5c7a
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5c75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5c75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x98], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x48]
call fcn.14000bf70
mov r12, rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea r15, [rbp + 0xd8]
mov rsi, qword [rbp + 0xd8]
mov r13, qword [rbp + 0xf0]
cmp r13, 0x10
cmovae r15, rsi
mov r14, qword [rbp + 0xe8]
cmp r14, 0x10
jae 0x1400c5cef
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1400c5d61
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400c5d3f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c5eb3
mov rcx, rax
call fcn.14011c03c
mov rcx, rax
test rax, rax
je 0x1400c5dac
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400c5d4d
test rcx, rcx
je 0x1400c5d4b
call fcn.14011c03c
jmp 0x1400c5d4d
xor eax, eax
mov qword [rsp + 0x78], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], rbx
mov r8, r12
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1400c9670
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400c5db9
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5db3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5db3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14011c2b8
nop
cmp r13, 0x10
jb 0x1400c5df4
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400c5deb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5deb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14011c2b8
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0x10
jb 0x1400c5e39
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c5e33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c5e33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011c2b8
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400c5e6f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400c5e6a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400c5eac
mov rcx, r8
call fcn.14011c2b8
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14011bd80
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001a90
nop
int3