Function at 0x41bb50
Capabilities:
Get session user name

Disassembly:
sub esp, 0xa40
push ebx
push ebp
lea eax, [esp + 0x1c]
push edi
lea ecx, [esp + 0x128]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x28], 0x208
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [esp + 0x740]
push 0x4574cc
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x434]
push 0x104
push eax
lea ecx, [esp + 0x748]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [esp + 0xa50]
cmp dword [edi + 0x5664], ebx
je 0x41beb9
cmp dword [edi + 0x5670], ebx
je 0x41beb9
cmp dword [edi + 0x565c], ebx
je 0x41be99
push esi
mov dword [esp + 0x18], ebx
mov esi, 0xea
jmp 0x41bbf3
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 0x457544
mov al, byte [ebx]
test al, al
jne 0x41bc15
cmp ebx, 0x457a58
jne 0x41bd40
test al, al
je 0x41bc77
lea edx, [esp + 0x334]
push 0x4502e8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x334]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x334]
lea edx, [esp + 0x640]
push ecx
push edx
call fcn.0041bee0
add esp, 8
lea eax, [esp + 0x848]
lea ecx, [esp + 0x640]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebp, [esp + 0x848]
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x13c]
push 0
push edx
push ebp
call dword [edi + 0x5664]
mov esi, eax
cmp esi, 5
je 0x41bcb8
cmp esi, 0x51f
je 0x41bcb8
cmp esi, 0x52e
je 0x41bcb8
cmp esi, 0x569
jne 0x41bd00
test ebp, ebp
je 0x41bcd4
push ebp
push edi
call fcn.00428670
add esp, 8
test eax, eax
je 0x41bcd4
mov dword [esp + 0x18], 1
jmp 0x41bcdc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41bd00
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x13c]
push 0
push eax
push ebp
call dword [edi + 0x5664]
mov esi, eax
test esi, esi
je 0x41bd0c
cmp esi, 0xea
jne 0x41bd40
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x41bd39
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x438]
push ecx
mov eax, dword [edx + edi*4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41bd53
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x41bd16
mov edi, dword [esp + 0xa54]
add ebx, 0x104
cmp ebx, 0x457b5c
jge 0x41bd62
jmp 0x41bbff
mov edi, dword [esp + 0xa54]
mov dword [esp + 0x1c], 1
test esi, esi
je 0x41bdd9
cmp esi, 0xea
je 0x41bdd9
test ebp, ebp
je 0x41bd98
lea ecx, [esp + 0x438]
push ebp
lea edx, [esp + 0x130]
push ecx
push edx
lea eax, [esp + 0x34]
push 0x45025c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x41bdbb
lea ecx, [esp + 0x438]
lea edx, [esp + 0x12c]
push ecx
push edx
lea eax, [esp + 0x30]
push 0x4501cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x28]
push 0x450188
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00424580
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41bde8
push eax
call dword [edi + 0x565c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x41be74
cmp esi, 0xea
je 0x41bbf1
test esi, esi
je 0x41be10
cmp esi, 0x8ad
jne 0x41be74
test ebp, ebp
je 0x41be3a
lea eax, [esp + 0x438]
push ebp
lea ecx, [esp + 0x130]
push eax
push ecx
lea edx, [esp + 0x34]
push 0x45013c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x41be5d
lea eax, [esp + 0x438]
lea ecx, [esp + 0x12c]
push eax
push ecx
lea edx, [esp + 0x30]
push 0x450100
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test esi, esi
jne 0x41be66
mov esi, 0x529
lea eax, [esp + 0x28]
push esi
push eax
call fcn.00424580
add esp, 8
mov eax, dword [esp + 0x18]
pop esi
test eax, eax
je 0x41be8b
test ebp, ebp
je 0x41be8b
push ebp
push edi
call fcn.00428780
add esp, 8
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0xa40
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x45009c
call fcn.00424580
add esp, 8
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0xa40
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x450038
call fcn.00424580
add esp, 8
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0xa40
ret