Function at 0x1003ab78
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069813
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003ae07
lea eax, [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x1003acca
mov dword [ebp - 0x30], 0x3093
mov dword [ebp - 0x70], 0x1000afc0
cmp dword [ebp - 0x30], 0x3158
jle 0x1003ac7f
and dword [ebp - 0x2c], 0
jmp 0x1003abf1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7410
jge 0x1003ac72
and dword [ebp - 0x28], 0
jmp 0x1003ac07
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x153e
jge 0x1003ac6d
and dword [ebp - 0x20], 0
jmp 0x1003ac1d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5f2e
jge 0x1003ac6b
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x20]
xor edx, dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x8c]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.1001cab0
jmp 0x1003ac16
jmp 0x1003ac00
jmp 0x1003abea
push 0
push 0xb7e
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x2ff7
jge 0x1003ac9f
push dword [ebp - 0x70]
call fcn.10053526
pop ecx
jmp 0x1003acbb
or dword [ebp - 4], 0xffffffff
jmp 0x1003acc5
jmp 0x1003ae05
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0x1421
mov dword [ebp - 0x58], 0x1000b014
cmp dword [ebp - 0x34], 0x17cc
jle 0x1003ad87
push 0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and dword [ebp - 0x18], 0
jmp 0x1003ad06
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2e67
jge 0x1003ad87
and dword [ebp - 0x1c], 0
jmp 0x1003ad1c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3ef6
jge 0x1003ad82
and dword [ebp - 0x24], 0
jmp 0x1003ad32
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x54d5
jge 0x1003ad80
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa4]
call fcn.1000d99a
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1001caba
push eax
call fcn.10053526
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.1001cab0
jmp 0x1003ad2b
jmp 0x1003ad15
jmp 0x1003acff
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x103f
jge 0x1003ada6
push dword [ebp - 0x58]
call fcn.10053526
pop ecx
jmp 0x1003adc2
or dword [ebp - 4], 0xffffffff
jmp 0x1003adcc
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003ade8
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], 3
jge 0x1003ae05
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.1001cda9
mov dword [eax], 0xb9b55bb2
jmp 0x1003addd
jmp 0x1003ae23
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push 1
push dword [ebp - 0x54]
call fcn.1003331d
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret