Function at 0x4093dd
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
mov eax, dword [0x48be0c]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x954], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x950]
push 0xdeb0
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x2c], 0x400
push eax
call fcn.0044e20c
pop ecx
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
pop ecx
push dword [eax]
push dword [ebx + 4]
call esi
lea ecx, [ebp - 4]
call fcn.0040139b
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [0x481530]
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x954]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push str.___HKCU_
lea ecx, [ebp - 0x14]
call fcn.004013c7
push 0x482354
lea ecx, [ebp - 4]
call fcn.004013c7
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x954]
push eax
call fcn.00407ed4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push 0x34
push eax
call fcn.0044e20c
pop ecx
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 8]
push eax
call fcn.004015b5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004015b5
lea ecx, [ebp - 8]
call fcn.0040139b
lea ecx, [ebp - 0xc]
call fcn.0040139b
lea ecx, [ebp - 0x18]
call fcn.0040139b
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
lea ecx, [ebp - 0x14]
call fcn.0040139b
push str.__HKCR_
lea ecx, [ebp - 4]
call fcn.004013c7
lea eax, [ebp - 4]
mov edi, 0xda
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044e20c
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004015b5
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
push str.__HKLM_
lea ecx, [ebp - 4]
call fcn.004013c7
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044e20c
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004015b5
lea ecx, [ebp - 0x10]
call fcn.0040139b
lea ecx, [ebp - 4]
call fcn.0040139b
lea eax, [ebp - 0x1c]
push 0x61a81
push eax
call fcn.0044e20c
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
pop ecx
push 0x138e
push dword [ebx + 4]
call edi
push dword [ebp - 0x1c]
push eax
call esi
push 0x425
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x1309
push eax
mov dword [ebp - 8], eax
call esi
push edi
lea ecx, [ebp - 0x24]
call fcn.004016d3
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], edi
push edi
mov edi, 0x133e
push edi
push dword [ebp - 8]
call esi
push 0
lea ecx, [ebp - 0x28]
call fcn.004016d3
push 1
mov dword [ebp - 0x40], eax
pop eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], eax
push ecx
push eax
push edi
push dword [ebp - 8]
call esi
push 0
lea ecx, [ebp - 0x20]
call fcn.004016d3
push 2
mov dword [ebp - 0x40], eax
pop eax
lea ecx, [ebp - 0x4c]
push ecx
push eax
push edi
mov dword [ebp - 0x38], eax
push dword [ebp - 8]
call esi
push 0
push dword [ebx + 0x24]
push 0x130c
push dword [ebp - 8]
call esi
and dword [ebp - 0x78], 0
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
mov dword [ebp - 0xa4], 0x138d
mov dword [ebp - 0xa0], 0x3ee
mov dword [ebp - 0x9c], 0x3ef
mov dword [ebp - 0x98], 0x3f0
mov dword [ebp - 0x94], 0x3f1
mov dword [ebp - 0x90], 0x3f2
mov dword [ebp - 0x8c], 0x3f3
mov dword [ebp - 0x88], 0x4bb
mov dword [ebp - 0x84], 0x3f5
mov dword [ebp - 0x80], 0x8a1
mov dword [ebp - 0x7c], 0xfbf
rep stosd dword es:[edi], eax
push 0xa
xor edx, edx
pop ecx
lea edi, [ebp - 0x124]
mov dword [ebp - 0x154], 0xdeb2
mov dword [ebp - 0x150], 0xdeb3
mov dword [ebp - 0x14c], 0xdeb4
mov dword [ebp - 0x148], 0xdeb5
mov dword [ebp - 0x144], 0xdeb6
mov dword [ebp - 0x140], 0xdec1
mov dword [ebp - 0x13c], 0xdeac
mov dword [ebp - 0x138], 0xdeab
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], 0xdeb0
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], edx
rep stosd dword es:[edi], eax
mov eax, str.Folder
push 0xb
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe0], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0xd0]
mov dword [ebp - 0xfc], str.Directory
mov dword [ebp - 0xf8], str.CLSID20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [ebp - 0xf4], str.CLSID208D2C60_3AEA_1069_A2D7_08002B30309D
mov dword [ebp - 0xf0], str.CLSID450D8FBA_AD25_11D0_98A8_0800361B1103
mov dword [ebp - 0xec], str.CLSID645FF040_5081_101B_9F08_00AA002F954E
mov dword [ebp - 0xe4], 0x482328
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc], edx
cmp eax, edx
je 0x40987c
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push dword [ebp + eax - 0x154]
lea eax, [ebp - 0x18]
push eax
call fcn.0044e20c
mov eax, dword [eax]
pop ecx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebx + 4]
call edi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x18]
call fcn.0040139b
or dword [ebp - 8], 0xffffffff
cmp dword [ebp - 0xc], 6
jge 0x40981c
mov eax, dword [ebp - 0x14]
push 0
push 1
push ecx
mov ecx, esp
push dword [ebp + eax - 0xfc]
call fcn.004013c7
call fcn.004309dc
add esp, 0xc
cmp dword [ebp - 0xc], 5
mov dword [ebp - 8], eax
jne 0x409818
push 0x4bb
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 8]
push 0xf1
push eax
call esi
push 0x4bb
push dword [ebx + 4]
call edi
xor ecx, ecx
cmp dword [ebp - 8], ecx
sete cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0xc], 6
jne 0x409826
call fcn.00459def
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 7
jne 0x409849
push 1
push 1
push ecx
mov ecx, esp
push dword [ebp - 0xe0]
call fcn.004013c7
call fcn.004309dc
add esp, 0xc
mov dword [ebp - 8], eax
push dword [ebp - 4]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 8]
push 0xf1
push eax
call esi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + eax - 0xa4]
test eax, eax
mov dword [ebp - 4], eax
jne 0x40977c
lea ecx, [ebp - 0x1c]
call fcn.0040139b
lea ecx, [ebp - 0x20]
call fcn.0040139b
lea ecx, [ebp - 0x28]
call fcn.0040139b
lea ecx, [ebp - 0x24]
call fcn.0040139b
lea ecx, [ebp - 0x30]
call fcn.0040139b
pop edi
pop esi
pop ebx
leave
ret