Function at 0x100237e6
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002389f
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1002387a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor ecx, ecx
sub ecx, dword [eax]
jne 0x10023862
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x10023862
and dword [ebp - 0x2c], 0
jmp 0x10023869
mov dword [ebp - 0x2c], 1
push 2
mov ecx, dword [ebp - 0x4c]
call fcn.10002096
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x1002389a
push 0x1353
push 0x1ed9
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x10023a71
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x10023a26
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x7ab8
mov dword [ebp - 0x38], str.hsrdk_conb_wbmqcvp_ebkyxv_mgdw_nmpbxk_wcpo_ngikvgp_gxpjgltp
cmp dword [ebp - 0x28], 0x7d87
jle 0x100239af
and dword [ebp - 0x18], 0
jmp 0x10023911
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x76fa
jge 0x100239a5
and dword [ebp - 0x20], 0
jmp 0x1002392b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x186c
jge 0x100239a0
and dword [ebp - 0x1c], 0
jmp 0x10023941
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1606
jge 0x1002399e
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xa8]
call fcn.10001a31
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.10001ec2
push eax
call fcn.1004b616
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.10001eb8
jmp 0x1002393a
jmp 0x10023924
jmp 0x1002390a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x77f5
jge 0x100239cb
push dword [ebp - 0x38]
call fcn.1004b616
pop ecx
jmp 0x100239e7
or dword [ebp - 4], 0xffffffff
jmp 0x100239f1
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10023a07
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x10023a24
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.10002096
mov dword [eax], 1
jmp 0x100239fc
jmp 0x10023a71
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.10002096
mov esi, dword [eax]
neg esi
push 0
mov ecx, dword [ebp - 0x80]
call fcn.10002096
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.10002096
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret