Function at 0x406942
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call fcn.0049c760
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov esi, ecx
push 0x3fa
push dword [esi + 4]
call ebx
push eax
call fcn.004091fe
mov edx, dword [0x4bd5dc]
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80c]
mov dword [ebp - 0x810], edx
mov dword [ebp - 0x1810], edx
rep stosd dword es:[edi], eax
mov ecx, 0x3ff
lea edi, [ebp - 0x180c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push 0x34
push eax
mov dword [ebp - 0x10], 0x400
call fcn.00461770
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x406a22
push str.___s_
lea eax, [ebp - 8]
push 0x34
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a915
lea ecx, [ebp - 8]
call fcn.004038fb
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1810]
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1810]
push eax
push 0x4b2
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.004038fb
jmp 0x406a3e
push 0
lea ecx, [ebp - 0xc]
call fcn.00403c58
push eax
push 0x4b2
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ecx
mov eax, esp
push 0xda
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x4b1
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x72
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x138d
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x73
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3ee
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x74
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3ef
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x75
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f2
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x76
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f6
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x77
push eax
call fcn.00461770
pop ecx
pop ecx
push 2
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x78
push eax
call fcn.00461770
pop ecx
pop ecx
push 1
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x79
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x406
mov ecx, esi
call fcn.004064f3
push ecx
lea eax, [ebp - 8]
mov edi, esp
push 0x4b0e10
push 0x7a
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
push edi
call fcn.0040a915
push 0x40d
mov ecx, esi
call fcn.004064f3
lea ecx, [ebp - 8]
call fcn.004038fb
push ecx
mov eax, esp
push 0x7b
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x40e
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x7c
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x40f
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0x7e
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f3
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0xd6
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f7
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0xd7
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f5
mov ecx, esi
call fcn.004064f3
push ecx
mov eax, esp
push 0xd8
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x3f0
mov ecx, esi
call fcn.004064f3
push 0x4b0e0c
lea ecx, [ebp - 4]
call fcn.00403927
push ecx
lea eax, [ebp - 4]
mov edi, esp
push eax
lea eax, [ebp - 8]
push 0x2a94
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
push edi
call fcn.00403b20
push 0x410
mov ecx, esi
call fcn.004064f3
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave