Function at 0x140154460
Capabilities:
Get common file path
Get session user name

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x218
mov dword [rsp + 0x34], 0x51431c28
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140155520
movabs rax, 0x601fbe41f6415d2e
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
movabs rax, 0x2396b8f90a4007f7
cmp qword [rsp + 0x88], rax
je 0x1401548c1
movabs rax, 0x601fbe41f6415d2e
cmp qword [rsp + 0x88], rax
je 0x1401544e3
jmp 0x1401549ab
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa0], rax
movabs rax, 0x565417b09859bb2a
cmp qword [rsp + 0xa0], rax
je 0x140154506
jmp 0x140154564
mov edx, 0xfe
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_DecryptFileA]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x228]
mov r8d, dword [rsp + 0x240]
mov edx, dword [rsp + 0x228]
mov ecx, dword [rsp + 0x228]
call fcn.140154460
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x6c], eax
jmp 0x140154596
mov eax, dword [rsp + 0x228]
mov ecx, dword [rsp + 0x238]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
movabs rax, 0xaf497fc4125e001e
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov eax, 0xa6d
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
movabs rax, 0x601fbe41f6415d2e
cmp qword [rsp + 0xa8], rax
je 0x1401545cd
jmp 0x140154644
mov eax, 0x7ef0
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
movabs rax, 0x2e9ebc12227e4db3
cmp qword [rsp + 0xb8], rax
je 0x1401545fd
jmp 0x14015463a
mov eax, dword [rsp + 0x240]
movzx ecx, al
mov eax, dword [rsp + 0x230]
shl eax, cl
mov dword [rsp + 0x34], eax
mov ecx, 0x20
call fcn.140154a20
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
mov dword [rsp + 0x98], eax
jmp 0x14015463f
mov byte [rsp + 0x30], 0x21
jmp 0x140154798
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x220]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x34]
call fcn.140154460
movabs rax, 0x45b7c3caa2614ead
mov rcx, qword [rsp + 0x50]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
shr rax, 0x17
cmp rax, qword [rsp + 0x50]
ja 0x140154786
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x20], ax
mov r9, qword [rsp + 0x40]
movzx r8d, word [rsp + 0x38]
mov edx, dword [rsp + 0x228]
movzx ecx, word [rsp + 0x38]
call fcn.140154e90
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x238]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x220]
mov ecx, dword [rsp + 0x34]
call fcn.140154460
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x238], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x228]
mov r8d, dword [rsp + 0x34]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x240]
call fcn.140154460
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x38]
call sub.gdiplus.dll_GdiplusStartup
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x240], eax
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x20], ax
mov r9, qword [rsp + 0x40]
movzx r8d, word [rsp + 0x38]
mov edx, dword [rsp + 0x238]
movzx ecx, word [rsp + 0x38]
call fcn.140154e90
movsx eax, byte [rsp + 0x30]
or eax, 0x5a
mov byte [rsp + 0x30], al
jmp 0x140154798
lea rcx, [rsp + 0x190]
call qword [sym.imp.COMDLG32.dll_PrintDlgA]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x38]
cmp eax, 0x330
jl 0x14015488c
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1401547db
cmp dword [rsp + 0x58], 0x86a7094a
je 0x14015484d
jmp 0x14015488a
lea rax, [rsp + 0x34]
mov qword [rsp + 0x90], rax
movsx eax, word [rsp + 0x48]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x64f9
je 0x1401547fd
jmp 0x14015484b
movsx eax, byte [rsp + 0x30]
and eax, 0x3a
mov byte [rsp + 0x30], al
mov ecx, dword [rsp + 0x4c]
call fcn.140154a20
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
lea rcx, [rsp + 0x120]
call qword [sym.imp.COMDLG32.dll_ChooseFontA]
mov dword [rsp + 0x74], eax
movsx eax, word [rsp + 0x48]
add eax, 0xeff
mov word [rsp + 0x48], ax
jmp 0x14015488a
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
add eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
mov dl, 0x7e
mov rcx, qword [rsp + 0x40]
call fcn.140154fb0
nop
jmp 0x1401548bc
mov eax, dword [rsp + 0x228]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x240]
mov edx, dword [rsp + 0x238]
add edx, ecx
mov ecx, edx
cmp eax, ecx
je 0x1401548bc
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x240], eax
jmp 0x1401549ab
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
movabs rax, 0x637997ed5ef363c6
cmp qword [rsp + 0x80], rax
je 0x1401548ff
movabs rax, 0x6395f42ded603617
cmp qword [rsp + 0x80], rax
je 0x14015499d
jmp 0x1401549ab
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x238]
mov r8d, dword [rsp + 0x238]
mov edx, dword [rsp + 0x220]
mov ecx, dword [rsp + 0x238]
call fcn.140154460
mov r9d, 0x85
mov r8d, 0x90
mov edx, 0x78
mov rcx, qword [rsp + 0xe0]
call sub.COMCTL32.dll_DefSubclassProc
mov qword [rsp + 0xe8], rax
movabs rax, 0x149d9736ffce67b7
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov word [rsp + 0x20], 0x24
mov r9, qword [rsp + 0x40]
mov r8w, 0xa8
mov edx, dword [rsp + 0x240]
mov cx, 0x9b
call fcn.140154e90
mov dl, 0x36
mov rcx, qword [rsp + 0x40]
call fcn.140154fb0
nop
jmp 0x1401549ab
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0x230], eax
mov r9d, 0x6c
mov r8d, 0x91
mov edx, 0x7a
mov rcx, qword [rsp + 0xf0]
call sub.COMCTL32.dll_DefSubclassProc
mov qword [rsp + 0xc8], rax
mov word [rsp + 0x20], 0x9b
mov r9, qword [rsp + 0x40]
mov r8w, 0x2a
mov edx, dword [rsp + 0x240]
mov cx, 0x84
call fcn.140154e90
movabs rax, 0x79c5f7d4c9d71810
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0x12
add rsp, 0x218
ret