Function at 0x436f61
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c8
push ebx
push esi
push edi
mov dword [ebp - 0x8bc], 0
lea eax, [ebp - 0x684]
push eax
call fcn.00452990
add esp, 4
lea edi, [ebp - 0x44c]
xor eax, eax
mov ecx, 0xe1
rep stosd dword es:[edi], eax
mov byte [ebp - 0x44c], 0xd3
mov byte [ebp - 0x44b], 1
mov byte [ebp - 0x8b4], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x688], eax
cmp dword [ebp - 0x688], 0
je 0x4370d3
lea eax, [ebp - 0x8bc]
push eax
push 0xf00ff
mov eax, dword [ebp - 0x688]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x8bc]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x450], 0x22b
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x8b4]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x8c0], eax
xor eax, eax
mov al, byte [0xb4bb40]
test eax, eax
je 0x4370b3
mov edi, 0xb4bb40
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
lea edi, [ebp - 0x680]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x8b4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, edi
mov ebx, ecx
lea edi, [ebp - 0x680]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, edx
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x680]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
lea edi, [ebp - 0x8b4]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x8bc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x688]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call fcn.00453060
add esp, 4
add eax, eax
mov dword [ebp - 0x8c0], eax
mov dword [ebp - 0x454], 0
mov eax, dword [ebp - 0x454]
cmp dword [ebp - 0x8c0], eax
jle 0x437144
cmp dword [0x4622c8], 0
je 0x437115
jmp 0x4372ce
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp + 8]
movsx eax, byte [eax + ecx]
cmp eax, 0x22
jne 0x437138
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp + 8]
mov byte [eax + ecx], 0x27
add dword [ebp - 0x454], 2
jmp 0x4370f1
lea eax, [ebp - 0x684]
push eax
call fcn.00453370
add esp, 4
push eax
push 0x47a9e0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
mov al, byte [ebp - 0xc5]
cmp eax, 0x20
jne 0x4371a5
lea edi, [ebp - 0xc4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
lea edi, [ebp - 0xc8]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xc8]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [ecx - 1]
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp - 0x8c4]
mov byte [ebp + eax - 0xc9], 0
mov edi, 0x9854e0
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov edx, edi
lea edi, [ebp - 0x442]
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x46224c], 0
je 0x43722f
cmp dword [0x4622b0], 0
je 0x43722f
movsx eax, byte [0x99e5a0]
test eax, eax
je 0x43722f
mov dword [ebp - 0x8c8], 0x99e5a0
jmp 0x43723b
lea eax, [ebp - 0x8b4]
mov dword [ebp - 0x8c8], eax
push 0x47a9e4
mov eax, dword [ebp + 8]
push eax
push 0x5acc00
mov eax, dword [ebp - 0x8c8]
push eax
push str.LAUNCH__no_metering_
push 0x9854e0
lea eax, [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x684]
push eax
push str.__08X____s____s____s____s____s____S_s___r_n
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
cmp dword [0x46224c], 0
je 0x4372a0
lea eax, [ebp - 0x44c]
push eax
push 1
call fcn.00436304
add esp, 8
jmp 0x4372ce
push 1
lea eax, [ebp - 0x8b8]
push eax
push 0x384
lea eax, [ebp - 0x44c]
push eax
push 0x384
lea eax, [ebp - 0x44c]
push eax
push 0x5ad500
call fcn.00437f8d
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret