Function at 0x41ba10
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 0x45643c
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 0x41bd79
cmp dword [edi + 0x5670], ebx
je 0x41bd79
cmp dword [edi + 0x565c], ebx
je 0x41bd59
push esi
mov dword [esp + 0x18], ebx
mov esi, 0xea
jmp 0x41bab3
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 0x4564b4
mov al, byte [ebx]
test al, al
jne 0x41bad5
cmp ebx, 0x4569c8
jne 0x41bc00
test al, al
je 0x41bb37
lea edx, [esp + 0x334]
push 0x44f2dc
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.0041bda0
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 0x41bb78
cmp esi, 0x51f
je 0x41bb78
cmp esi, 0x52e
je 0x41bb78
cmp esi, 0x569
jne 0x41bbc0
test ebp, ebp
je 0x41bb94
push ebp
push edi
call fcn.00428470
add esp, 8
test eax, eax
je 0x41bb94
mov dword [esp + 0x18], 1
jmp 0x41bb9c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41bbc0
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 0x41bbcc
cmp esi, 0xea
jne 0x41bc00
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x41bbf9
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 0x41bc13
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x41bbd6
mov edi, dword [esp + 0xa54]
add ebx, 0x104
cmp ebx, 0x456acc
jge 0x41bc22
jmp 0x41babf
mov edi, dword [esp + 0xa54]
mov dword [esp + 0x1c], 1
test esi, esi
je 0x41bc99
cmp esi, 0xea
je 0x41bc99
test ebp, ebp
je 0x41bc58
lea ecx, [esp + 0x438]
push ebp
lea edx, [esp + 0x130]
push ecx
push edx
lea eax, [esp + 0x34]
push 0x44f250
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x41bc7b
lea ecx, [esp + 0x438]
lea edx, [esp + 0x12c]
push ecx
push edx
lea eax, [esp + 0x30]
push 0x44f1c0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x28]
push 0x44f17c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x28]
push esi
push edx
call fcn.004243e0
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41bca8
push eax
call dword [edi + 0x565c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, eax
jne 0x41bd34
cmp esi, 0xea
je 0x41bab1
test esi, esi
je 0x41bcd0
cmp esi, 0x8ad
jne 0x41bd34
test ebp, ebp
je 0x41bcfa
lea eax, [esp + 0x438]
push ebp
lea ecx, [esp + 0x130]
push eax
push ecx
lea edx, [esp + 0x34]
push 0x44f130
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x41bd1d
lea eax, [esp + 0x438]
lea ecx, [esp + 0x12c]
push eax
push ecx
lea edx, [esp + 0x30]
push 0x44f0f4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test esi, esi
jne 0x41bd26
mov esi, 0x529
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004243e0
add esp, 8
mov eax, dword [esp + 0x18]
pop esi
test eax, eax
je 0x41bd4b
test ebp, ebp
je 0x41bd4b
push ebp
push edi
call fcn.00428580
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 0x44f090
call fcn.004243e0
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 0x44f02c
call fcn.004243e0
add esp, 8
xor eax, eax
pop edi
pop ebp
pop ebx
add esp, 0xa40
ret