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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fef49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcfc
mov eax, dword [0x6ca27c]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, 6
mov esi, str.GrabberData
lea edi, [ebp - 0x68]
mov eax, dword [0x6cee7c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x270]
push ecx
push edx
push ebx
push ebx
push str.TempPath
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0x80
mov dword [ebp - 0x50], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x4b398a
lea ecx, [ebp - 0x270]
push ecx
call fcn.005c7baa
add esp, 4
test eax, eax
jne 0x4b398a
lea edx, [ebp - 0x270]
push edx
call fcn.005c4b4a
add esp, 4
cmp word [ebp + eax*2 - 0x272], 0x5c
je 0x4b39c0
lea eax, [ebp - 0x270]
push 0x6a0054
push eax
call fcn.005c4cc0
add esp, 8
jmp 0x4b39c0
lea ecx, [ebp - 0x270]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4b39c0
lea edx, [ebp - 0x270]
push 0x5c
push edx
call fcn.005c4a9a
add esp, 8
cmp eax, ebx
je 0x4b39c0
mov word [eax], bx
lea eax, [ebp - 0x270]
push 0x7e
push eax
call fcn.005c4fbf
add esp, 8
test eax, eax
je 0x4b3a40
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x20], ebx
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
call fcn.00401f60
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4f6]
mov word [ebp - 0x4f8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x4b3a14
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x4f8]
push edx
push eax
call fcn.00447210
add esp, 8
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x270]
push ecx
call fcn.005c4b4a
add esp, 4
cmp word [ebp + eax*2 - 0x272], 0x5c
je 0x4b3a6e
lea edx, [ebp - 0x270]
push 0x6a0054
push edx
call fcn.005c4cc0
add esp, 8
lea eax, [ebp - 0xd08]
lea ecx, [ebp - 0xb08]
push eax
lea edx, [ebp - 0x908]
push ecx
lea eax, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x270]
push eax
push ecx
call fcn.005c5908
add esp, 0x14
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x908]
lea ecx, [ebp - 0x44]
push edx
push eax
push ecx
lea edx, [ebp - 0x270]
push 0x6a89e0
push edx
call fcn.005c5a8c
lea eax, [ebp - 0x270]
push eax
call fcn.005c6bfe
add esp, 0x18
cmp eax, ebx
je 0x4b3b73
call fcn.005c77ef
cmp dword [eax], 0xd
je 0x4b3b73
call fcn.005c77ef
cmp dword [eax], 0x11
je 0x4b3b73
mov esi, dword [0x6cfbac]
call fcn.005c77ef
mov ecx, dword [eax]
lea edx, [ebp - 0x270]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005d9fbb
add esp, 0x10
lea ecx, [ebp - 0x500]
call fcn.0049e3c0
mov ecx, dword [ebp - 0x14]
push 1
push ecx
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 3
call fcn.0049e4e0
mov edx, dword [0x6cfba8]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.0049e4d0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
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 - 0x4c]
lea edx, [ebp - 0x2f0]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4b3b9c
lea eax, [ebp - 0x2f0]
push 0x6a4208
push eax
call fcn.005c5a8c
add esp, 8
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x4b3c09
lea edx, [ebp - 0x2f0]
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x908]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
lea eax, [ebp - 0x270]
push str._s_s_s_s_
push eax
call fcn.005c5a8c
lea ecx, [ebp - 0x270]
push ecx
call fcn.005c6bfe
add esp, 0x1c
test eax, eax
je 0x4b3cb8
call fcn.005c77ef
cmp dword [eax], 0xd
je 0x4b3cb8
call fcn.005c77ef
cmp dword [eax], 0x11
je 0x4b3cb8
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x908]
push edx
lea ecx, [ebp - 0x44]
push eax
push ecx
lea edx, [ebp - 0x270]
push str._s_s_sdefault_user_
push edx
call fcn.005c5a8c
lea eax, [ebp - 0x270]
push eax
call fcn.005c6bfe
add esp, 0x18
cmp eax, ebx
je 0x4b3cb8
call fcn.005c77ef
cmp dword [eax], 0xd
je 0x4b3cb8
call fcn.005c77ef
cmp dword [eax], 0x11
je 0x4b3cb8
mov esi, dword [0x6cfbac]
call fcn.005c77ef
mov ecx, dword [eax]
lea edx, [ebp - 0x270]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005d9fbb
add esp, 0x10
lea ecx, [ebp - 0x500]
call fcn.0049e3c0
mov ecx, dword [ebp - 0x14]
push 1
push ecx
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 4
call fcn.0049e4e0
mov edx, dword [0x6cfba8]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
jmp 0x4b3b4c
push ebx
call fcn.005c63ab
mov esi, eax
push esi
call fcn.005c71fd
add esp, 8
call fcn.005c720a
push eax
lea ecx, [ebp - 0x270]
push esi
push ecx
lea edx, [ebp - 0x708]
push str._s_lda_ld_
push edx
call fcn.005c5a8c
lea eax, [ebp - 0x708]
push eax
call fcn.005c6bfe
add esp, 0x18
cmp eax, ebx
je 0x4b3d77
call fcn.005c77ef
cmp dword [eax], 0xd
je 0x4b3d77
call fcn.005c77ef
cmp dword [eax], 0x11
je 0x4b3d77
mov esi, dword [0x6cfbac]
call fcn.005c77ef
mov ecx, dword [eax]
lea edx, [ebp - 0x708]
push ecx
push edx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.005d9fbb
add esp, 0x10
lea ecx, [ebp - 0x500]
call fcn.0049e3c0
mov ecx, dword [ebp - 0x14]
push 1
push ecx
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 5
call fcn.0049e4e0
mov edx, dword [0x6cfba8]
mov eax, dword [ebp - 0x14]
push 0x50030
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
jmp 0x4b3b4c
mov ecx, dword [ebp - 0x3c]
mov edx, 0x69ffbc
test edx, edx
lea ebx, [ecx + 0x41c]
je 0x4b3f46
lea eax, [ebp - 0x708]
test eax, eax
je 0x4b3e66
lea ecx, [ebp - 0x708]
xor esi, esi
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00401f60
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00401070
push esi
push 0x69ffbc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
call fcn.00402890
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp eax, esi
jne 0x4b3de7
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
push eax
call fcn.005c4b4a
lea esi, [eax + esi + 2]
mov dword [ebp - 0x48], esi
add esi, esi
push esi
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebx], edi
je 0x4b3e4e
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c]
test eax, eax
mov ecx, eax
jne 0x4b3e28
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4b3e32
lea eax, [ebp - 0x1c]
push ecx
mov ecx, dword [ebx]
push eax
mov eax, dword [ebp - 0x48]
push eax
push ecx
call fcn.005c4ada
mov edx, dword [ebx]
push edx
call fcn.005c4b4a
add esp, 0x14
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea eax, [ebp - 0x708]
test eax, eax
je 0x4b3f46
lea ecx, [ebp - 0x708]
xor esi, esi
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00401f60
mov ecx, 0x6cf270
mov byte [ebp - 4], 8
call fcn.00401070
push esi
push 0x69ffbc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
call fcn.00402890
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp eax, esi
jne 0x4b3ec3
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
push eax
call fcn.005c4b4a
lea ebx, [eax + esi + 2]
lea esi, [ebx + ebx]
push esi
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [0x6cf270], edi
je 0x4b3f2e
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b3f04
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401f50
push eax
mov eax, dword [0x6cf270]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [0x6cf270]
push ecx
call fcn.005c4b4a
add esp, 0x14
mov dword [0x6cf278], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x34], ax
mov edx, str._sgrprdb
mov byte [ebp - 4], 0xa
test edx, edx
je 0x4b403a
lea ecx, [ebp - 0x708]
test ecx, ecx
je 0x4b403a
lea edx, [ebp - 0x708]
xor esi, esi
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00401f60
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
call fcn.00401070
push esi
push str._sgrprdb
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x1c], si
call fcn.00402890
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp eax, esi
jne 0x4b3fbe
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
push eax
call fcn.005c4b4a
lea ebx, [eax + esi + 2]
lea esi, [ebx + ebx]
push esi
call fcn.005dd58d
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp - 0x38], edi
je 0x4b401f
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b3ffc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x38]
push ebx
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005c4b4a
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4b4041
lea eax, [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
push 0
push eax
lea ecx, [esi + 0x300]
call fcn.005b4c30
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4b405c
lea eax, [ebp - 0x34]
push 0
push eax
lea ecx, [esi + 8]
call fcn.005b5700
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e118c
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