Function at 0x5450a8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x5450b1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5455df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00544f3c
lea eax, [ebp - 8]
call fcn.00544fa0
mov dword [ebp - 0x3c], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.00404a40
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x140]
call fcn.004098f4
push dword [ebp - 0x140]
push 0x5455f8
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x144]
call fcn.004098f4
push dword [ebp - 0x144]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b50
push pe_nt_image_headers32
lea eax, [ebp - 0x13c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.00404a40
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x14]
call fcn.0040a024
lea eax, [ebp - 0x20]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
lea eax, [ebp - 0x24]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
lea eax, [ebp - 0x28]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
lea eax, [ebp - 0x30]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
test bl, bl
je 0x5451d9
lea eax, [ebp - 0x38]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
jmp 0x545329
mov eax, dword [esi + 0x1c]
call fcn.00405bec
cmp eax, 0x10
jle 0x5451f0
mov eax, 0x6a
call fcn.005425b4
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.0040925c
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
call fcn.0040925c
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0053a4b0
lea ecx, [ebp - 0x24]
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.0053a548
mov eax, dword [0x4f7280]
call fcn.004f7680
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call dword [eax]
mov eax, dword [ebp - 0x28]
call fcn.00405bec
and eax, 0x80000007
jns 0x54524e
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jle 0x54526f
mov eax, dword [ebp - 0x28]
call fcn.00405bec
and eax, 0x80000007
jns 0x545266
dec eax
or eax, 0xfffffff8
inc eax
mov dl, 8
sub dl, al
mov byte [ebp - 0x31], dl
jmp 0x545273
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x28]
call fcn.00405bec
xor edx, edx
mov dl, byte [ebp - 0x31]
add eax, edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x4f71a8]
call fcn.00405da8
add esp, 4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00405bec
push eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.00539658
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.0053a5d4
mov eax, dword [ebp - 0x2c]
call fcn.00405bec
add eax, eax
inc eax
push eax
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4f71a8]
call fcn.00405da8
add esp, 4
mov eax, dword [ebp - 0x38]
call fcn.00405bec
push eax
mov eax, dword [ebp - 0x30]
call fcn.00405bec
add eax, eax
pop edx
cmp edx, eax
jge 0x545303
mov eax, 0x6a
call fcn.005425b4
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.0053a2f4
mov eax, dword [ebp - 0x38]
call fcn.00405bec
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax - 1]
push eax
mov al, byte [ebp - 0x31]
call fcn.0053a2bc
pop edx
mov byte [edx], al
mov dl, 3
mov eax, dword [esi + 0x14]
call fcn.005439ac
test bl, bl
je 0x545343
mov dl, 0x52
mov eax, dword [esi + 0x14]
call fcn.005439ac
jmp 0x54534d
mov dl, 0x51
mov eax, dword [esi + 0x14]
call fcn.005439ac
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439ac
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.00404a90
test eax, eax
jne 0x545370
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x545378
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov eax, dword [ebp - 0x38]
call fcn.00405bec
test eax, eax
jne 0x5453a3
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x5453ab
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 0x38]
call fcn.00405bec
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439fc
xor eax, eax
cmp edi, 2
jne 0x5453d5
mov eax, 8
jmp 0x5453df
cmp edi, 4
jne 0x5453df
mov eax, 0x10
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.00543a48
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439fc
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.00543a54
mov eax, dword [ebp - 4]
call fcn.00404a90
test eax, eax
jne 0x545413
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x54541b
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 4]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov eax, dword [ebp - 8]
call fcn.00404a90
test eax, eax
jne 0x545443
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x54544b
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 8]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov eax, dword [ebp - 0xc]
call fcn.00404a90
test eax, eax
jne 0x545473
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x54547b
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 0xc]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov edx, 0x1000
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov eax, dword [ebp - 0x10]
call fcn.00404a90
test eax, eax
jne 0x5454b0
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x5454b8
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 0x10]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov eax, dword [ebp - 0x14]
call fcn.00404a90
test eax, eax
jne 0x5454e0
mov eax, dword [esi + 0x14]
call fcn.00543c54
jmp 0x5454e8
mov eax, dword [esi + 0x14]
call fcn.00543c48
mov eax, dword [ebp - 0x14]
call fcn.00404a90
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.005439fc
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439b8
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439fc
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.00543a54
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.00543a54
mov edx, 0x10
mov eax, dword [esi + 0x14]
call fcn.005439fc
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.00543a54
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x14]
call fcn.00543a94
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x14]
call fcn.00543a68
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x14]
call fcn.00543a94
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x14]
call fcn.00543a94
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x14]
call fcn.00543a94
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x14]
call fcn.00543a94
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x14]
call fcn.00543a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5455e6
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.004047f4
lea eax, [ebp - 0x38]
mov edx, dword [0x4f71a8]
call fcn.00405ec8
lea eax, [ebp - 0x30]
mov edx, dword [0x4f71a8]
mov ecx, 5
call fcn.004053d4
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004047f4
ret