Function at 0x4124d0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x4981ec]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x454f9c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x20019
push eax
push 0x4902b0
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041b730
cmp eax, ebx
je 0x412570
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x4902d0
push esi
lea ecx, [ebp - 0x30]
call fcn.0041b9b0
lea edx, [ebp - 0x10]
lea eax, [esi + 4]
push edx
push 0x4902d8
push eax
lea ecx, [ebp - 0x30]
call fcn.0041b9b0
lea ecx, [ebp - 0x10]
add esi, 8
push ecx
push 0x4902e0
push esi
lea ecx, [ebp - 0x30]
call fcn.0041b9b0
jmp 0x41260e
mov edx, dword [0x4981ec]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x10]
push 0x20019
push eax
push 0x4902e8
push SysReAllocStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0041b730
cmp eax, ebx
je 0x412652
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x490310
push esi
lea ecx, [ebp - 0x24]
call fcn.0041b9b0
lea edx, [ebp - 0x10]
lea eax, [esi + 4]
push edx
push 0x490318
push eax
lea ecx, [ebp - 0x24]
call fcn.0041b9b0
lea ecx, [ebp - 0x10]
lea edx, [esi + 8]
push ecx
push 0x490320
push edx
lea ecx, [ebp - 0x24]
call fcn.0041b9b0
push esi
call fcn.00412820
mov eax, dword [ebp - 0x20]
add esp, 4
cmp eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], edi
je 0x412606
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x1c]
call fcn.00444260
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00444260
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [ebp - 0x30], edi
je 0x412634
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x28]
call fcn.00444260
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4981ec]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], edi
lea ecx, [ebp - 0x10]
push 0x20019
push ecx
push 0x490328
push SysReAllocStringLen
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0041b730
cmp eax, ebx
je 0x412759
mov edx, dword [0x4981ec]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
push 0x490354
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0041b9b0
mov edx, dword [0x4981ec]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push 0x49036c
push ecx
mov byte [ebp - 4], 5
call fcn.00444650
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push 0x20019
push edx
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.0041b610
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00444260
cmp esi, ebx
je 0x412728
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x490378
push esi
lea ecx, [ebp - 0x3c]
call fcn.0041b9b0
lea edx, [ebp - 0x10]
lea eax, [esi + 4]
push edx
push 0x49038c
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041b9b0
jmp 0x41272b
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 4
cmp eax, ebx
mov dword [ebp - 0x3c], edi
je 0x412743
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x34]
call fcn.00444260
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00444260
jmp 0x41275c
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
cmp dword [ecx - 8], ebx
jne 0x41278e
lea edx, [ebp + 8]
mov ecx, esi
push edx
push 0x100
mov dword [ebp + 8], 0x100
call fcn.004447e0
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x41278e
push 0xffffffffffffffff
mov ecx, esi
call fcn.00444860
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp eax, ebx
mov dword [ebp - 0x48], edi
je 0x4127aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov dword [ebp - 0x44], ebx
jmp 0x4127b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x40]
call fcn.00444260
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
mov dword [ebp - 0x24], edi
je 0x4127cc
push eax
call esi
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x1c]
call fcn.00444260
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00444260
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [ebp - 0x30], edi
je 0x4127f6
push eax
call esi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x28]
call fcn.00444260
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret