Function at 0x1000cb10
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022d29
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x1002d230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2c8], esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 0x2ac], 1
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 2
push eax
call fcn.1000cf50
add esp, 4
test eax, eax
je 0x1000cbd5
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x140]
call fcn.100013d0
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 3
push eax
call fcn.1000ca50
add esp, 4
test eax, eax
je 0x1000cc51
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x2c4]
push 0x10023844
push eax
call fcn.1000c470
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 4
call fcn.10002ed0
cmp dword [ebp - 0x2b0], 0x10
mov byte [ebp - 4], 3
jb 0x1000cc51
push dword [ebp - 0x2c4]
call fcn.1000e386
add esp, 4
push 0x104
lea eax, [ebp - 0x127]
mov byte [ebp - 0x128], 0
push 0
push eax
call fcn.1000f480
add esp, 0xc
mov dword [ebp - 0x144], 0x104
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 3
push 0x10023848
lea ecx, [ebp - 0x140]
call fcn.10006090
cmp byte [ebp - 0x128], 0
jne 0x1000ccab
xor ecx, ecx
jmp 0x1000ccbd
lea ecx, [ebp - 0x128]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000ccb4
sub ecx, edx
push ecx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x140]
call fcn.10006090
lea eax, [ebp - 0x2a8]
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x17], 0
push eax
movq qword [ebp - 0x1f], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.1000bc00
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
push dword [ebp - 0x130]
cmovae eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1000bc40
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
push dword [ebp - 0x130]
cmovae eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1000bc40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.1000bb50
push 0x98
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1000f480
add esp, 0x30
lea ecx, [ebp - 0x20c]
push 1
push 2
call fcn.10003f20
mov byte [ebp - 4], 5
xor edi, edi
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x20c]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x1cc], 0x30
lea eax, [ebp - 0x2bc]
push eax
call fcn.1000daf1
mov edx, eax
lea ecx, [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
push dword [edx + 0xc]
mov eax, dword [eax + 4]
add ecx, eax
push dword [edx + 8]
mov eax, dword [edx]
push ecx
call eax
movzx eax, byte [ebp + edi - 0x20]
lea ecx, [ebp - 0x20c]
add esp, 0x18
push eax
call fcn.1000c560
inc edi
cmp edi, 0x10
jl 0x1000cd82
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x20c]
call fcn.100076b0
mov edi, eax
cmp esi, edi
je 0x1000ce75
cmp dword [esi + 0x14], 0x10
jb 0x1000ce24
push dword [esi]
call fcn.1000e386
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [edi + 0x14], 0x10
jae 0x1000ce4e
mov eax, dword [edi + 0x10]
inc eax
je 0x1000ce58
push eax
push edi
push esi
call fcn.1000dbe0
add esp, 0xc
jmp 0x1000ce58
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp - 0x2b0], 0x10
jb 0x1000ce8c
push dword [ebp - 0x2c4]
call fcn.1000e386
add esp, 4
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 3
call fcn.10004520
lea eax, [ebp - 0x1bc]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.1000da72
add esp, 4
cmp dword [ebp - 0x148], 0x10
jb 0x1000cecb
push dword [ebp - 0x15c]
call fcn.1000e386
add esp, 4
cmp dword [ebp - 0x160], 0x10
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
jb 0x1000cefd
push dword [ebp - 0x174]
call fcn.1000e386
add esp, 4
cmp dword [ebp - 0x12c], 0x10
mov dword [ebp - 0x160], 0xf
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x174], 0
jb 0x1000cf2f
push dword [ebp - 0x140]
call fcn.1000e386
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000dbb7
mov esp, ebp
pop ebp
ret