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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585219
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x784
mov eax, dword [0x639ad4]
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 [0x61d2f0]
mov eax, dword [0x61d2f4]
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 [0x63e518]
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 0x4805c2
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00550d4e
add esp, 4
test eax, eax
jne 0x4805c2
lea edi, [ebp - 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x13d], 0x5c
je 0x4805f9
mov edi, 0x617168
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 0x4805f9
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 0x4805f9
lea ecx, [ebp - 0x13c]
push 0x5c
push ecx
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x4805f9
mov byte [eax], 0
lea edx, [ebp - 0x13c]
push 0x7e
push edx
call fcn.0054e030
add esp, 8
test eax, eax
je 0x480675
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x20]
push eax
call fcn.0056a16e
push ecx
lea edx, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
mov byte [ebp - 4], 2
call fcn.00569e75
lea eax, [ebp - 0x24]
push eax
call fcn.004308d0
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.0056a100
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0056a100
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 0x4806bf
mov edi, 0x617168
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.0054ea7c
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.0054ea2a
lea eax, [ebp - 0x13c]
push eax
call fcn.0054ff01
add esp, 0x18
test eax, eax
je 0x4807c5
call fcn.005508e7
cmp dword [eax], 0xd
je 0x4807c5
call fcn.005508e7
cmp dword [eax], 0x11
je 0x4807c5
mov esi, dword [0x63ef7c]
call fcn.005508e7
mov ecx, dword [eax]
lea edx, [ebp - 0x13c]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00562ecb
add esp, 0x10
lea ecx, [ebp - 0x388]
call fcn.0046f750
mov ecx, dword [ebp - 0x14]
push 1
push ecx
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 3
call fcn.0046f830
mov edx, dword [0x63ef78]
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.0046f820
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
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 0x4807ee
lea eax, [ebp - 0x17c]
push str.default_user
push eax
call fcn.0054ea2a
add esp, 8
lea edi, [ebp - 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48085a
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.0054ea2a
lea eax, [ebp - 0x13c]
push eax
call fcn.0054ff01
add esp, 0x1c
test eax, eax
je 0x48090a
call fcn.005508e7
cmp dword [eax], 0xd
je 0x48090a
call fcn.005508e7
cmp dword [eax], 0x11
je 0x48090a
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.0054ea2a
lea edx, [ebp - 0x13c]
push edx
call fcn.0054ff01
add esp, 0x18
test eax, eax
je 0x48090a
call fcn.005508e7
cmp dword [eax], 0xd
je 0x48090a
call fcn.005508e7
cmp dword [eax], 0x11
je 0x48090a
mov esi, dword [0x63ef7c]
call fcn.005508e7
mov eax, dword [eax]
lea ecx, [ebp - 0x13c]
push eax
push ecx
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.00562ecb
add esp, 0x10
lea ecx, [ebp - 0x388]
call fcn.0046f750
mov eax, dword [ebp - 0x14]
push 1
push eax
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 4
call fcn.0046f830
mov ecx, dword [0x63ef78]
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 0x48079e
push 0
call fcn.0054f551
mov esi, eax
push esi
call fcn.0055051d
add esp, 8
call fcn.0055052a
push eax
lea eax, [ebp - 0x13c]
push esi
push eax
lea ecx, [ebp - 0x280]
push str._s_lda_ld_
push ecx
call fcn.0054ea2a
lea edx, [ebp - 0x280]
push edx
call fcn.0054ff01
add esp, 0x18
test eax, eax
je 0x4809cb
call fcn.005508e7
cmp dword [eax], 0xd
je 0x4809cb
call fcn.005508e7
cmp dword [eax], 0x11
je 0x4809cb
mov esi, dword [0x63ef7c]
call fcn.005508e7
mov eax, dword [eax]
lea ecx, [ebp - 0x280]
push eax
push ecx
lea edx, [ebp - 0x14]
push esi
push edx
call fcn.00562ecb
add esp, 0x10
lea ecx, [ebp - 0x590]
call fcn.0046f750
mov eax, dword [ebp - 0x14]
push 1
push eax
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 5
call fcn.0046f830
mov ecx, dword [0x63ef78]
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 0x48079e
lea eax, [ebp - 0x280]
lea ecx, [ebx + 0x424]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
add esp, 0xc
lea edx, [ebp - 0x280]
push edx
push 0x615e9c
push 0x63e8ac
call fcn.00562ecb
mov eax, dword [0x639ad4]
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.00562ecb
mov eax, dword [ebp - 0x1c]
add esp, 0xc
lea ecx, [ebx + 0x2f8]
push 0
push eax
call fcn.0053f210
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
lea ecx, [ebx + 8]
call fcn.0053f960
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
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