Function at 0x418cd0
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ab56
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
mov esi, dword [ebp + 0xc]
push 0x104
push 0
push eax
mov dword [ebp - 0x348], edi
call fcn.0044a330
add esp, 0xc
mov dword [ebp - 0x320], 0x104
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0xf
mov byte [ebp - 0x340], 0
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x418d69
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 1
push 0x4aae74
call fcn.004036a0
add esp, 8
test al, al
jne 0x418e5e
push 0x4aae78
mov edx, esi
lea ecx, [ebp - 0x378]
call fcn.00418fd0
add esp, 4
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00403020
lea ecx, [ebp - 0x340]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x360], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x360]
push eax
movq qword [ebp - 0x350], xmm0
call fcn.004030c0
mov edx, dword [ebp - 0x34c]
cmp edx, 0x10
jb 0x418e1e
mov ecx, dword [ebp - 0x360]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418e14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f97
push edx
push ecx
call fcn.004449d2
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x364]
cmp edx, 0x10
jb 0x418e83
mov ecx, dword [ebp - 0x378]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418f9c
push edx
push ecx
call fcn.004449d2
add esp, 8
jmp 0x418e83
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418e67
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x340]
call fcn.00403320
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044a330
push 0x104
lea eax, [ebp - 0x31c]
push 0
push eax
call fcn.0044a330
add esp, 0x18
mov dword [ebp - 0x328], 0x104
cmp dword [ebp - 0x32c], 0x10
lea ecx, [ebp - 0x344]
lea eax, [ebp - 0x340]
mov dword [ebp - 0x324], 0x104
cmovae eax, dword [ebp - 0x340]
push ecx
lea ecx, [ebp - 0x324]
push ecx
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [ebp - 0x328]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
mov edx, dword [ebp - 0x348]
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418f30
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.00403320
mov edx, dword [ebp - 0x32c]
cmp edx, 0x10
jb 0x418f78
mov ecx, dword [ebp - 0x340]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418f6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418fa1
push edx
push ecx
call fcn.004449d2
add esp, 8
mov eax, edi
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.00444991
mov esp, ebp
pop ebp
ret 8
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
int3