Function at 0x419cae
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41a023
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x419efc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x419ecc
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x419e3f
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
push dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x78]
call fcn.00428bfa
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x419eca
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
push 0x7555
push 0x4330
push 1
push 0x5c2a
push dword [ebp - 0x24]
push 1
push 0
push 0x48f5
push dword [ebp - 0x2c]
push 0x3039
push 1
push 0
call fcn.0041f0e3
add esp, 0x30
jmp 0x419ec0
or dword [ebp - 4], 0xffffffff
jmp 0x419eca
jmp 0x419ef7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
push 0x5356
push 1
push dword [ebp - 0x3c]
push 1
push 0
push 0x5f4
push 0x66e3
push 0x5831
call fcn.0040a546
add esp, 0x20
jmp 0x41a021
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x419f6b
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
push dword [ebp - 0x8c]
push 0
push dword [ebp - 0x94]
push 0x60ad
call fcn.004226e9
add esp, 0x10
jmp 0x41a021
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x41a017
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xdc]
cmp dword [eax], 0x73e9
jge 0x419fef
mov eax, dword [ebp - 0xe4]
push dword [eax]
call fcn.00492968
pop ecx
jmp 0x41a00b
or dword [ebp - 4], 0xffffffff
jmp 0x41a015
jmp 0x41a021
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x41a054
lea eax, [ebp + 0x48]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
push 0
push dword [ebp - 0xec]
push 0x6d03
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
push eax
call fcn.0041626e
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret