Function at 0x45a158
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x45a160
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45aaa8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0045ae04
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 8]
call fcn.004084a0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0045ae70
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.004084a0
mov dword [ebp - 0x14], 0xff
mov eax, dword [ebp - 0x14]
call fcn.00402a38
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x34]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004084a0
cmp dword [ebp - 0x30], 0
je 0x45a2ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0xc]
call fcn.004049d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004048ec
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00404464
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
call fcn.004049d0
mov esi, eax
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 0x40]
call fcn.0040468c
add esi, eax
dec esi
push esi
mov eax, dword [ebp - 0xc]
call fcn.0040468c
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004048ec
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x45aac0
call fcn.004049d0
push eax
mov eax, dword [ebp - 0x20]
call fcn.0040468c
mov ecx, eax
mov eax, dword [ebp - 0x20]
pop edx
call fcn.004048ec
push dword [ebp - 0x18]
push 0x45aacc
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040474c
push dword [ebp - 0x1c]
push 0x45aae0
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040474c
xor eax, eax
push ebp
push 0x45a400
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040474c
lea eax, [ebp - 0x48]
mov edx, ebx
call fcn.004045c4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004084a0
cmp dword [ebp - 0x44], 0
je 0x45a368
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004046d8
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov dl, 1
call fcn.004534d4
push 0xc8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004046d8
mov eax, dword [ebp - 0x50]
call fcn.00408d00
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004046d8
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov dl, 1
call fcn.004534d4
push 0xc8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.004046d8
mov eax, dword [ebp - 0x58]
call fcn.00408d00
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov dl, 1
call fcn.004534d4
push 0xc8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0x60]
call fcn.00408d00
push dword [ebp - 8]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x64]
call fcn.00408ae8
test al, al
je 0x45a3f6
push dword [ebp - 8]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x68]
call fcn.00408d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a40a
push dword [ebp - 8]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x6c]
call fcn.00408ae8
test al, al
je 0x45a45e
push dword [ebp - 8]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x70]
call fcn.00408d00
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab0c
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x74]
call fcn.00408ae8
test al, al
je 0x45a4b2
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab0c
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x78]
call fcn.00408d00
lea eax, [ebp - 0x7c]
mov ecx, 0x45ab28
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0x7c]
call fcn.00408ae8
test al, al
je 0x45a4e6
lea eax, [ebp - 0x80]
mov ecx, 0x45ab28
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0x80]
call fcn.00408d00
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab48
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x84]
call fcn.00408ae8
test al, al
je 0x45a546
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab48
lea eax, [ebp - 0x88]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x88]
call fcn.00408d00
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x8c]
mov edx, 6
call fcn.0040474c
mov eax, dword [ebp - 0x8c]
call fcn.00408ae8
test al, al
je 0x45a5bc
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x90]
mov edx, 6
call fcn.0040474c
mov eax, dword [ebp - 0x90]
call fcn.00408d00
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab60
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x94]
call fcn.00408ae8
test al, al
je 0x45a61c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab60
lea eax, [ebp - 0x98]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x98]
call fcn.00408d00
push dword [ebp - 8]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0x9c]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xa0]
mov ecx, 0x45ab74
call fcn.004046d8
mov edx, dword [ebp - 0xa0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
lea eax, [ebp - 0xa4]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xa4]
call fcn.00408af8
test al, al
jne 0x45a6d1
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xa8]
call fcn.004533c0
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45aac0
push dword [0x478ad0]
push 0x45aafc
lea eax, [ebp - 0xac]
mov edx, 6
call fcn.0040474c
mov eax, dword [ebp - 0xac]
push eax
push 0
mov ecx, 0x45ab74
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xb0]
call fcn.004046d8
mov edx, dword [ebp - 0xb0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
cmp byte [0x478acc], 0
je 0x45a78f
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab8c
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xb4]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xb8]
mov ecx, 0x45aba4
call fcn.004046d8
mov edx, dword [ebp - 0xb8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab0c
lea eax, [ebp - 0xbc]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xbc]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xc0]
mov ecx, 0x45abb8
call fcn.004046d8
mov edx, dword [ebp - 0xc0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0045b17c
mov eax, dword [ebp - 0x24]
call fcn.00408af8
test al, al
je 0x45a840
lea eax, [ebp - 0xc4]
mov ecx, 0x45ab0c
mov edx, dword [ebp - 0x24]
call fcn.004046d8
mov eax, dword [ebp - 0xc4]
push eax
push 0
mov ecx, 0x45abb8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xc8]
call fcn.004046d8
mov edx, dword [ebp - 0xc8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
lea eax, [ebp - 0xcc]
mov ecx, 0x45ab28
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0xcc]
push eax
push 0
mov ecx, 0x45abb8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xd0]
call fcn.004046d8
mov edx, dword [ebp - 0xd0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
lea eax, [ebp - 0xd4]
mov ecx, 0x45abd8
mov edx, dword [ebp - 0xc]
call fcn.004046d8
mov eax, dword [ebp - 0xd4]
push eax
push 0
mov ecx, 0x45abb8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xd8]
call fcn.004046d8
mov edx, dword [ebp - 0xd8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab48
lea eax, [ebp - 0xdc]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xdc]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xe0]
mov ecx, 0x45abfc
call fcn.004046d8
mov edx, dword [ebp - 0xe0]
mov ecx, 0x45ac1c
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ac2c
lea eax, [ebp - 0xe4]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xe4]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xe8]
mov ecx, 0x45ac48
call fcn.004046d8
mov edx, dword [ebp - 0xe8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ac60
lea eax, [ebp - 0xec]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xec]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xf0]
mov ecx, 0x45ac7c
call fcn.004046d8
mov edx, dword [ebp - 0xf0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ac9c
lea eax, [ebp - 0xf4]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xf4]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0xf8]
mov ecx, 0x45acb8
call fcn.004046d8
mov edx, dword [ebp - 0xf8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push dword [ebp - 0xc]
push 0x45aac0
push dword [0x478ad4]
push 0x45ab60
lea eax, [ebp - 0xfc]
mov edx, 4
call fcn.0040474c
mov eax, dword [ebp - 0xfc]
push eax
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2f8]
lea eax, [ebp - 0x100]
mov ecx, 0x45acd0
call fcn.004046d8
mov edx, dword [ebp - 0x100]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459f4c
push 0
call sub.user32.dll_UpdateWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aaaf
lea eax, [ebp - 0x100]
mov edx, 0x3b
call fcn.004043f0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004043f0
ret