Function at 0x43ee50
Capabilities:
Get session user name

Disassembly:
sub esp, 0x938
mov dx, word [0x48193c]
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32e]
mov word [esp + 0x32c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x536]
mov word [esp + 0x534], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov al, byte [0x481910]
mov ecx, 0x40
mov byte [esp + 0x20], al
xor eax, eax
lea edi, [esp + 0x21]
mov word [esp + 0x124], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x126]
lea edx, [esp + 0x32c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
xor ebp, ebp
push ecx
push edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
stosw word es:[edi], ax
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x534]
push 0x104
push eax
push 0xffffffffffffffff
push 0x481bf0
push ebp
push ebp
call esi
lea ecx, [esp + 0x32c]
push 0x47b0a0
push ecx
call fcn.0045298e
add esp, 8
test eax, eax
jne 0x43efda
mov edi, dword [esp + 0x94c]
cmp edi, ebp
je 0x43efb1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43efb1
cmp byte [edi], 0x2e
je 0x43efb1
lea edx, [esp + 0x73c]
push 0x104
push edx
push 0xffffffffffffffff
push edi
push ebp
push ebp
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x73c]
lea ecx, [esp + 0x124]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x124]
push 0x47b0a0
push edx
call edi
lea eax, [esp + 0x32c]
lea ecx, [esp + 0x124]
push eax
push ecx
call edi
lea edx, [esp + 0x124]
lea eax, [esp + 0x32c]
push edx
push eax
call esi
jmp 0x43efda
lea ecx, [esp + 0x124]
push 0x47b098
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x32c]
lea eax, [esp + 0x124]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [esp + 0x948]
mov eax, dword [edi + 0x577c]
cmp eax, ebp
je 0x43f1b2
cmp dword [edi + 0x578c], ebp
je 0x43f1b2
cmp dword [edi + 0x5778], ebp
je 0x43f192
lea ecx, [esp + 0x18]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push 1
lea edx, [esp + 0x344]
push ebp
push edx
push ebp
call eax
mov ebx, eax
cmp ebx, ebp
je 0x43f035
cmp ebx, 0xea
jne 0x43f070
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, ebp
jbe 0x43f070
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4]
cmp eax, ebp
je 0x43f05d
lea ecx, [esp + 0x538]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43f068
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x43f03f
jmp 0x43f070
mov dword [esp + 0x18], 1
cmp ebx, ebp
je 0x43f12e
cmp ebx, 0xea
je 0x43f0f4
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
push ebp
lea edx, [esp + 0x344]
push ebp
push edx
push ebp
call dword [edi + 0x577c]
mov edi, eax
cmp edi, ebp
je 0x43f0b0
cmp edi, 0xea
jne 0x43f0ed
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, ebp
jbe 0x43f0ed
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4]
cmp eax, ebp
je 0x43f0d8
lea ecx, [esp + 0x538]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x43f0e3
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x43f0ba
jmp 0x43f0ed
mov ebx, edi
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x94c]
cmp ebx, ebp
je 0x43f12e
cmp ebx, 0xea
je 0x43f12e
lea edx, [esp + 0x538]
lea eax, [esp + 0x128]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x47b008
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.00446e00
add esp, 0x18
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je 0x43f147
mov eax, dword [edi + 0x5778]
cmp eax, ebp
je 0x43f147
push ecx
call eax
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x18]
cmp esi, ebp
jne 0x43f185
cmp ebx, ebp
jne 0x43f185
lea eax, [esp + 0x538]
lea ecx, [esp + 0x128]
push eax
push ecx
lea edx, [esp + 0x2c]
push 0x47afd0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x34]
push 0x529
push eax
call fcn.00446e00
add esp, 0x18
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x938
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47af70
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x938
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47af08
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x938
ret