Function at 0x44283a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x900
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor esi, esi
mov dword [ebp - 0x28], eax
cmp eax, esi
mov dword [ebp - 8], esi
jle 0x442c0a
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push edi
mov eax, dword [0x4af550]
push 0xb
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x100]
mov word [ebp - 0x100], si
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp - 8]
mov dword [ebp - 0x58], 0x2c
mov dword [ebp - 0x54], 0x17
mov dword [ebp - 0x50], esi
push dword [ebp + 8]
mov dword [ebp - 0x30], 0x50
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
lea eax, [ebp - 0x100]
test eax, eax
je 0x4428c8
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x100]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
cmp dword [ebp - 0x44], esi
je 0x4429e2
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x44]
call fcn.0044283a
add esp, 0xc
cmp dword [ebp + 0x10], esi
je 0x4429e2
push 0x4b49ec
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x442914
mov eax, dword [ebp - 0x44]
mov dword [0x4c3214], eax
push 0x4b49e0
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x44292f
mov eax, dword [ebp - 0x44]
mov dword [0x4c3210], eax
push 0x4b49d4
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x44294a
mov eax, dword [ebp - 0x44]
mov dword [0x4c31f8], eax
push 0x4b49c8
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x442965
mov eax, dword [ebp - 0x44]
mov dword [0x4c31fc], eax
push 0x4b49b8
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x44298d
mov eax, dword [ebp - 0x44]
push 0x4b49b4
lea ecx, [ebp - 4]
mov dword [0x4c3200], eax
call fcn.00403adc
push 0x4b49a8
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x4429ad
push str.________
lea ecx, [ebp - 4]
call fcn.00403adc
push 0x4b4990
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x4429e2
mov eax, dword [0x4b312c]
mov dword [ebp - 0x54], 2
add eax, 0xab7c
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
je 0x442bf1
push eax
call fcn.0049c2d8
mov esi, eax
mov eax, dword [0x4af550]
pop ecx
mov dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0xc]
push 0x4b0ab0
push eax
call fcn.00403d66
mov eax, dword [0x4af550]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push esi
push str._05d
push eax
call fcn.00403d66
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0049c975
add esp, 0x14
test eax, eax
je 0x442a4f
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x442b91
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.004606c8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0x20]
call fcn.004038fb
push 0x4b4978
push dword [ebp - 0xc]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x442aa3
push str._t_F9_
lea ecx, [ebp - 0x14]
call fcn.00403927
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
jmp 0x442b8c
push 0x4b4964
push dword [ebp - 0x10]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x442b91
cmp dword [ebp - 0x44], eax
jne 0x442b91
mov eax, dword [0x4c2bfc]
cmp dword [eax - 8], 0
jne 0x442b29
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x900], eax
xor eax, eax
lea edi, [ebp - 0x8fc]
mov dword [ebp - 0x5c], 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x900]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x900]
test eax, eax
je 0x442b17
lea eax, [ebp - 0x900]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x900]
push ecx
push eax
mov ecx, 0x4c2bfc
call fcn.004039ec
push 0x4b0e10
lea ecx, [ebp - 0x1c]
call fcn.00403927
push 0x4b4960
lea ecx, [ebp - 0x18]
call fcn.00403927
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push 0x4c2bfc
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x60]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
mov eax, dword [ebp - 4]
xor esi, esi
cmp dword [eax - 8], esi
jne 0x442bbb
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0x24]
push eax
call fcn.0040a529
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0x24]
call fcn.004038fb
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x54], 0x10
mov dword [ebp - 0x50], esi
call fcn.00403c58
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x58]
push eax
push 1
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
xor esi, esi
lea ecx, [ebp - 4]
call fcn.004038fb
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x28]
jl 0x442865
pop edi
pop ebx
push 1
pop eax
pop esi
leave
ret