Function at 0x41a8aa
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x41aaea
lea eax, [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x41a963
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x41a93d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x41a93b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x41a95e
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x41a95e
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x41aae8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x41a9d2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x41a9b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jge 0x41a9cd
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.0043454e
mov dword [eax], 1
jmp 0x41a9a5
jmp 0x41aae8
mov dword [ebp - 4], 0x9d29be1d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf08664a1
mov dword [ebp - 0x64], 0x493e623b
mov dword [ebp - 0x14], 0
jmp 0x41a9fe
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x41aa11
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10], 1
jmp 0x41a9f7
mov dword [ebp - 4], 0
jmp 0x41aa21
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x41aadb
mov dword [ebp - 0x20], 0xa07e4fc2
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10]
cmp dword [ebp - 4], eax
jne 0x41aa47
mov dword [ebp - 0x54], 1
jmp 0x41aa4b
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
imul eax, dword [ebp + ecx*4 - 0x10]
dec eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ebp + ecx*4 - 0x10]
je 0x41aa73
mov dword [ebp - 0x5c], 1
jmp 0x41aa77
and dword [ebp - 0x5c], 0
or eax, 0xffffffff
cmp eax, 0xccd2
jb 0x41aa8a
mov dword [ebp - 0x24], 1
jmp 0x41aa8e
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x41aad6
push 0
push 0xeb2
push 1
push 1
push 0x11ce
push 0x1ec5
push 0x63df
call fcn.00431419
add esp, 0x1c
jmp 0x41aa1a
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.004274ba
pop ecx
pop ecx
jmp 0x41ab4b
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x6c], eax
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
call fcn.004294ee
add esp, 0x20
mov esp, ebp
pop ebp
ret