Function at 0x14022a010
Capabilities:
Contain obfuscated stackstrings
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14039f0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0xa8], rdx
xor esi, esi
cmp byte [0x140412550], sil
jne 0x14022a08d
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], rsi
mov r8d, 0x52
lea rdx, str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
lea rcx, [rbp + 0xb8]
call fcn.1400404e0
lea rcx, [rbp + 0xb8]
call fcn.1402271b0
mov dword [rbp + 0xb0], 0x64
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], rsi
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14022a0d1
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb8]
call fcn.1400404e0
nop
mov dword [rsp + 0x58], 0x4159420a
mov dword [rsp + 0x5c], 0x575b4355
mov word [rsp + 0x60], 9
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x20], 0x424f430a
mov dword [rsp + 0x24], 0x1000c55
mov dword [rsp + 0x68], 0x5c4b5e0a
mov dword [rsp + 0x6c], 0x5d5d5843
mov dword [rsp + 0x70], 0xb515d
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0x5c4b400a
mov dword [rsp + 0x4c], 0x56555043
mov word [rsp + 0x50], 9
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x28], 0x5a4d5d0a
mov dword [rsp + 0x2c], 0xe405443
mov word [rsp + 0x30], 0x100
mov dword [rsp + 0x38], 0x4a5e5458
mov dword [rsp + 0x3c], 0x545d5d0d
mov word [rsp + 0x40], 0x100
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x78]
call fcn.140222e40
nop
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 0xf
cmova rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc8]
mov rcx, rax
call fcn.140055db0
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 + 0x48]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x58]
call fcn.1402231e0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14022a1fc
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140055db0
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 + 0x38]
call fcn.140223520
nop
lea rdx, [rbx + 0x258]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14022a24e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140055db0
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 + 0x20]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x18]
call fcn.140222d50
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14022a294
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140055db0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], 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, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1402231e0
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14022a2e3
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140055db0
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, 0xf
jbe 0x14022a34d
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a348
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14022a3a4
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a397
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a397
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14022a3ea
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a3dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a3dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14022a439
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a42c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a42c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14022a47f
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14022a4ce
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a4c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a4c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14022a514
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a507
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a507
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14022a564
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14022a5ad
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a5a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a5a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
movdqa xmm0, xmmword [0x14036c6e0]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x98], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x48]
call fcn.1400561d0
mov rbx, rax
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x68]
call fcn.1400561d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14022b7e0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14022a638
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a632
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a632
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x14022a67d
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a677
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x14022a6c2
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022a6bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022a6bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027c920
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14022a6f8
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14022a6f3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14022a729
mov rcx, r8
call fcn.14027c920
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14027c900
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3