Function at 0x10012aaf
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b35e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push esi
push edi
and dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0x91a049fe
mov dword [ebp - 0x30], 0xfffffff2
jmp 0x10012aea
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffed
jl 0x10012b22
mov dword [ebp - 0xb0], 8
mov dword [ebp - 0xa0], 1
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.100129ed
add esp, 0x10
jmp 0x10012ae3
mov eax, dword [0x11aa6654]
and eax, 1
jne 0x10012b56
mov eax, dword [0x11aa6654]
or eax, 1
mov dword [0x11aa6654], eax
and dword [ebp - 4], 0
mov ecx, 0x11aa6610
call fcn.10017367
push 0x1008cb20
call fcn.10072136
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x720e83c7
mov dword [ebp - 0x44], 0
jmp 0x10012b6d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10012b83
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x118], 0x31e42a43
jmp 0x10012b66
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 1
jmp 0x10012b99
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10012bb2
mov byte [ebp - 0x21], 0
push 0
lea eax, [ebp - 0x21]
push eax
call fcn.10013153
pop ecx
pop ecx
jmp 0x10012b92
mov ecx, dword [ebp + 0xc]
call fcn.1001200f
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jae 0x10012d99
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 0x11aa6610
call fcn.1001741e
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 0x11aa6610
call fcn.1001742c
mov ecx, eax
call fcn.10017441
movzx eax, al
test eax, eax
je 0x10012d99
mov dword [ebp - 0x1c], 0xffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xb8], 0x12535b5b
cmp dword [ebp - 0x1c], 0
je 0x10012cea
mov dword [ebp - 0x38], 0
jmp 0x10012c3e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10012c54
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xe0], 0
jmp 0x10012c37
mov dword [ebp - 0x1c], 0xfffffffa
jmp 0x10012c64
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x38
jg 0x10012ce8
mov dword [ebp - 0x3c], 0x50e6da50
mov dword [ebp - 0x3c], 1
jmp 0x10012c81
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10012ce3
mov dword [ebp - 0x34], 0xfffffff6
mov dword [ebp - 0x34], 1
jmp 0x10012c9e
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10012ce1
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0xe0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0
jmp 0x10012cc1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xf
jl 0x10012cdf
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10012cdd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10012cba
jmp 0x10012c97
jmp 0x10012c7a
jmp 0x10012c5d
jmp 0x10012d4c
mov dword [ebp - 0x98], 0xfffffff9
mov dword [ebp - 0xa8], 0x5879a273
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x6687
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x6572
push 0x4030
push 0x79c0
call fcn.100152a2
add esp, 0x24
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10012d4c
push 0
push 0x5dfd
call fcn.10015477
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x10]
imul eax, eax, 0xd70f
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x11aa6610
call fcn.100173bb
push eax
mov ecx, dword [ebp + 8]
call fcn.10017239
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
jmp 0x10013143
lea eax, [ebp - 0x124]
push eax
call fcn.10009fe9
pop ecx
mov esi, eax
lea edi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xec]
lea edi, [ebp - 0xf8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.10012043
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0x48]
lea eax, [ebp - 0x110]
push eax
call fcn.10012212
add esp, 0x10
mov dword [ebp - 4], 1
cmp dword [ebp - 0x48], 3
jae 0x10012e87
mov dword [ebp - 0xc8], 0x8261f9c2
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10012e46
push 0x2177
push 0x26f0
push 0x14a8
push 0x70a
push 0x1a18
push 0x1a13
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RoundRect]
push 0x414d
push 0x66ff
push 1
push 0x331c
call fcn.100129ed
add esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x11aa6610
call fcn.100173bb
mov ecx, eax
call fcn.100172d3
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10012e9e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10012eb4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc4], 0xec2e0cf5
jmp 0x10012e97
mov dword [ebp - 0x18], 0
jmp 0x10012ec4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10012eda
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xd0], 0xb07fb07d
jmp 0x10012ebd
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10012eee
push 0
call fcn.10013c72
pop ecx
mov dword [ebp - 0x28], 2
jmp 0x10012efe
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10013119
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x78], 0xe8cc1958
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0xc4], 0
je 0x10013100
mov dword [ebp - 0x60], 0xcb4c23af
mov dword [ebp - 0x5c], 0xcb4c23af
mov dword [ebp - 0x58], 0xcb4c23af
mov dword [ebp - 0x54], 0xcb4c23af
mov dword [ebp - 0x14], 0xf5af8b51
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ebp + ecx*4 - 0xc4]
cmp dword [ebp + eax - 0x60], ecx
je 0x10012f68
mov dword [ebp - 0x50], 1
jmp 0x10012f6c
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0xc4], ecx
mov dword [ebp - 0x14], 2
jmp 0x10012f8c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x100130fe
mov dword [ebp - 0x80], 0xac7eb236
or eax, 0xffffffff
je 0x10012fba
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x60], 0
je 0x10012fba
mov dword [ebp - 0x94], 1
jmp 0x10012fc1
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 4
jle 0x10012fd6
mov dword [ebp - 0x88], 1
jmp 0x10012fdd
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x88]
neg eax
mov dword [ebp - 0x68], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0xd0], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x3a79cc09
jge 0x1001301a
mov dword [ebp - 0x70], 1
jmp 0x1001301e
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0xc4], ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x78]
cmp eax, 0x5ca2
jne 0x1001305a
mov dword [ebp - 0x64], 1
jmp 0x1001305e
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x64], eax
jne 0x1001306f
mov dword [ebp - 0x6c], 1
jmp 0x10013073
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp dword [ebp - 0x6c], eax
jg 0x10013088
mov dword [ebp - 0x74], 1
jmp 0x1001308c
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x74], eax
jge 0x100130a4
mov dword [ebp - 0x7c], 1
jmp 0x100130a8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jg 0x100130bc
mov dword [ebp - 0x84], 1
jmp 0x100130c3
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
sub eax, 0x39dff2bc
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + ecx*4 - 0x5c]
jne 0x100130e3
mov dword [ebp - 0x8c], 1
jmp 0x100130ea
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x60], ecx
jmp 0x10012f85
jmp 0x10013114
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10013114
push 0
call fcn.10014dca
pop ecx
jmp 0x10012ef7
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.10017270
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.100172c9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret