Function at 0x416350
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xc], cl
mov eax, 0x9cd
mov word [ebp - 8], ax
mov dword [ebp - 4], 0x811c9ad5
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x8bcd458e
je 0x416380
jmp 0x4163d1
cmp dword [ebp - 4], 0x85f33f5
ja 0x4163a9
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x30], eax
push 0xb5
call fcn.00416160
add esp, 4
jmp 0x4163c4
mov byte [ebp - 0x10], 0xf
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ole32.dll_CoUnmarshalHresult]
mov dword [ebp - 0x44], eax
call fcn.004157f0
nop
mov eax, dword [ebp - 4]
sub eax, 0x1846b14c
mov dword [ebp - 4], eax
jmp 0x41643e
mov ecx, dword [ebp - 4]
and ecx, 0x2b383ff3
cmp ecx, 0x1071a466
jb 0x416424
mov edx, dword [ebp - 4]
or edx, 0x65e6497
cmp edx, 0x5fd19263
jb 0x41640a
push 0x81
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp - 4]
mov ecx, 0xa1
call fcn.00415de0
nop
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call sub.ole32.dll_CoGetInterceptor
mov dword [ebp - 0x48], eax
jmp 0x41643e
mov edx, dword [ebp - 4]
xor edx, 0xea24354a
cmp edx, 0xa9dcb034
jbe 0x41643e
mov eax, dword [ebp - 4]
shl eax, 0xd
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x416478
cmp dword [ebp - 0x20], 0x67bb0096
je 0x416458
jmp 0x4164e9
mov edx, dword [ebp - 4]
shr edx, 0x16
mov dword [ebp - 4], edx
lea eax, [ebp - 0x8c]
push eax
push str.anthologise_lacing_executioners_mini
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [ebp - 0x4c], eax
jmp 0x4164e9
movzx ecx, word [ebp - 8]
add ecx, 0x714
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x10e1
je 0x416498
jmp 0x4164cf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4164a6
jmp 0x4164c0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x28], ecx
jmp 0x4164cd
push 0xb6
call fcn.00416160
add esp, 4
jmp 0x4164e9
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
push 0x20
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
mov dword [ebp - 0x54], eax
movsx edx, byte [ebp + 0x10]
and edx, 0x70
movsx eax, byte [ebp - 0xc]
cmp edx, eax
jge 0x416504
mov ecx, dword [ebp - 4]
add ecx, 0x2d120918
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x58], edx
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x24], al
cmp byte [ebp - 0x24], 0x45
je 0x416556
cmp byte [ebp - 0x24], 0x53
je 0x41651e
jmp 0x416565
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
push 0xcd
lea ecx, [ebp - 0x40]
push ecx
push fcn.00416350
mov edx, dword [ebp - 0x5c]
push edx
call sub.COMCTL32.dll_SetWindowSubclass
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 8]
add eax, 0x8dd
mov ecx, dword [ebp - 0x28]
mov word [ecx], ax
jmp 0x416565
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
sub eax, 0xd72
mov word [ebp - 8], ax
mov eax, 0xfc
mov esp, ebp
pop ebp
ret 0xc