Function at 0x48a240
Capabilities:
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3df9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x784
mov eax, dword [0x65ec1c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [str.GrabberData]
mov edx, dword [0x640a1c]
mov eax, dword [0x640a20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x13c]
push ecx
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [0x663680]
push 0
push 0
push str.TempPath
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48a322
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0056f30e
add esp, 4
test eax, eax
jne 0x48a322
lea edi, [ebp - 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x13d], 0x5c
je 0x48a359
mov edi, 0x63a4cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x13c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x48a359
lea eax, [ebp - 0x13c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x48a359
lea ecx, [ebp - 0x13c]
push 0x5c
push ecx
call fcn.0056c5b0
add esp, 8
test eax, eax
je 0x48a359
mov byte [eax], 0
lea edx, [ebp - 0x13c]
push 0x7e
push edx
call fcn.0056c5f0
add esp, 8
test eax, eax
je 0x48a3d5
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x20]
push eax
call fcn.0058872e
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 2
call fcn.00588435
lea eax, [ebp - 0x24]
push eax
call fcn.004350d0
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x13c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x24]
call fcn.005886c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005886c0
lea edi, [ebp - 0x13c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x13d], 0x5c
je 0x48a41f
mov edi, 0x63a4cc
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x13c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x690]
lea ecx, [ebp - 0x790]
push eax
lea edx, [ebp - 0x488]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x13c]
push eax
push ecx
call fcn.0056d0ac
add esp, 0x14
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x488]
lea ecx, [ebp - 0x18]
push edx
push eax
push ecx
lea edx, [ebp - 0x13c]
push str._s_s_s_
push edx
call fcn.0056d05a
lea eax, [ebp - 0x13c]
push eax
call fcn.0056e502
add esp, 0x18
test eax, eax
je 0x48a525
call fcn.0056eea7
cmp dword [eax], 0xd
je 0x48a525
call fcn.0056eea7
cmp dword [eax], 0x11
je 0x48a525
mov esi, dword [0x6641ec]
call fcn.0056eea7
mov ecx, dword [eax]
lea edx, [ebp - 0x13c]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0058148b
add esp, 0x10
lea ecx, [ebp - 0x388]
call fcn.00478b50
mov ecx, dword [ebp - 0x14]
push 1
push ecx
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 3
call fcn.00478c60
mov edx, dword [0x6641e8]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
call fcn.00478c50
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, 0x7546
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x17c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x48a54e
lea eax, [ebp - 0x17c]
push str.default_user
push eax
call fcn.0056d05a
add esp, 8
lea edi, [ebp - 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48a5ba
lea ecx, [ebp - 0x17c]
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x488]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
lea edx, [ebp - 0x13c]
push str._s_s_s_s_
push edx
call fcn.0056d05a
lea eax, [ebp - 0x13c]
push eax
call fcn.0056e502
add esp, 0x1c
test eax, eax
je 0x48a66a
call fcn.0056eea7
cmp dword [eax], 0xd
je 0x48a66a
call fcn.0056eea7
cmp dword [eax], 0x11
je 0x48a66a
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x488]
push ecx
lea eax, [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x13c]
push str._s_s_sdefault_user_
push ecx
call fcn.0056d05a
lea edx, [ebp - 0x13c]
push edx
call fcn.0056e502
add esp, 0x18
test eax, eax
je 0x48a66a
call fcn.0056eea7
cmp dword [eax], 0xd
je 0x48a66a
call fcn.0056eea7
cmp dword [eax], 0x11
je 0x48a66a
mov esi, dword [0x6641ec]
call fcn.0056eea7
mov eax, dword [eax]
lea ecx, [ebp - 0x13c]
push eax
push ecx
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.0058148b
add esp, 0x10
lea ecx, [ebp - 0x388]
call fcn.00478b50
mov eax, dword [ebp - 0x14]
push 1
push eax
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 4
call fcn.00478c60
mov ecx, dword [0x6641e8]
mov edx, dword [ebp - 0x14]
push 0x50030
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x388]
jmp 0x48a4fe
push 0
call fcn.0056db81
mov esi, eax
push esi
call fcn.0056eb1d
add esp, 8
call fcn.0056eb2a
push eax
lea eax, [ebp - 0x13c]
push esi
push eax
lea ecx, [ebp - 0x280]
push str._s_lda_ld_
push ecx
call fcn.0056d05a
lea edx, [ebp - 0x280]
push edx
call fcn.0056e502
add esp, 0x18
test eax, eax
je 0x48a72b
call fcn.0056eea7
cmp dword [eax], 0xd
je 0x48a72b
call fcn.0056eea7
cmp dword [eax], 0x11
je 0x48a72b
mov esi, dword [0x6641ec]
call fcn.0056eea7
mov eax, dword [eax]
lea ecx, [ebp - 0x280]
push eax
push ecx
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.0058148b
add esp, 0x10
lea ecx, [ebp - 0x590]
call fcn.00478b50
mov eax, dword [ebp - 0x14]
push 1
push eax
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 5
call fcn.00478c60
mov ecx, dword [0x6641e8]
mov edx, dword [ebp - 0x14]
push 0x50030
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x590]
jmp 0x48a4fe
lea eax, [ebp - 0x280]
lea ecx, [ebx + 0x424]
push eax
push 0x638fa8
push ecx
call fcn.0058148b
add esp, 0xc
lea edx, [ebp - 0x280]
push edx
push 0x638fa8
push 0x663a2c
call fcn.0058148b
mov eax, dword [0x65ec1c]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x280]
lea edx, [ebp - 0x1c]
push ecx
push str._sgrprdb
push edx
mov byte [ebp - 4], 6
call fcn.0058148b
mov eax, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ebx + 0x2f8]
push 0
push eax
call fcn.0055d7b0
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
lea ecx, [ebx + 8]
call fcn.0055df00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret