Function at 0x1000be40
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10150ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x10209f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [0x1020b820], 0
jne 0x1000beab
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x52
movups xmmword [ecx], xmm0
push str.You_need_to_run_the_KeyAuthApp.init____function_before_any_other_KeyAuth_functions
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10016120
call fcn.1000d190
add esp, 0x18
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x64
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x90], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000bee0
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.10016120
mov byte [ebp - 4], 1
lea eax, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xe0], 0xe28317b
lea ecx, [ebp - 0x188]
mov dword [ebp - 0xdc], 0xa1004
mov word [ebp - 0xd8], 0x58
mov byte [ebp - 0xd6], 1
mov dword [ebp - 0xb0], 0xd3e307b
mov dword [ebp - 0xac], 0x1005f04
mov dword [ebp - 0xf0], 0x133a2d7b
mov dword [ebp - 0xec], 0xa0c0b12
mov dword [ebp - 0xe8], 0x5a020c
mov byte [ebp - 0xe4], 1
mov dword [ebp - 0xd4], 0x133a337b
mov dword [ebp - 0xd0], 0x1040312
mov word [ebp - 0xcc], 0x58
mov byte [ebp - 0xca], 1
mov dword [ebp - 0xbc], 0x153c2e7b
mov dword [ebp - 0xb8], 0x59110712
mov word [ebp - 0xb4], 0x100
mov dword [ebp - 0xc8], 0x52f2729
mov dword [ebp - 0xc4], 0x30c0e5c
mov word [ebp - 0xc0], 0x100
call fcn.1000a910
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0xf
push dword [ebp - 0x80]
cmova ecx, dword [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x170]
call fcn.100088d0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
push dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1d0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x158]
call fcn.10009c50
add esp, 4
lea ecx, [esi + 0x1b4]
mov byte [ebp - 4], 6
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000c0b0
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1b8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1a8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x1b8]
lea ecx, [ebp - 0x140]
call fcn.10008640
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x1000c10e
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x190], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x1a0]
lea ecx, [ebp - 0x128]
call fcn.100088d0
add esp, 4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0xa
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x1000c172
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.10012180
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x1000c1e1
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c1d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0xf
jbe 0x1000c23a
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c230
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x1000c278
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c26e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0xf
jbe 0x1000c2d1
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c2c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x1000c30f
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c305
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0xf
jbe 0x1000c368
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c35e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x1000c3a6
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c39c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x1000c3fb
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c3f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c42b
push ecx
push edx
call fcn.100f340e
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x174]
cmp ecx, 0xf
jbe 0x1000c43b
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c431
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c431
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x178], 0
lea eax, [esi + 0x60]
mov dword [ebp - 0x10c], esp
mov ecx, esp
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
push eax
call fcn.10012540
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xa8]
mov ecx, esp
push eax
call fcn.10012540
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x14
call fcn.1000cbb0
mov ecx, dword [ebp - 0xf4]
add esp, 0x30
cmp ecx, 0xf
jbe 0x1000c4cd
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c4c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c4c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0x94]
cmp ecx, 0xf
jbe 0x1000c503
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c4f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c55c
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x1000c536
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c52c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c55c
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1000c56c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000c562
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000c562
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100f340e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f3936
mov esp, ebp
pop ebp
ret 0x18