joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180168610
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x2f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.180009770
nop
lea rcx, [rsp + 0xb0]
call fcn.1801677d0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180016590
nop
lea rcx, [rsp + 0xb0]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x90]
call fcn.1800096f0
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xd0]
lea r8, [0x1801db0b8]
lea rdx, str.ErrMsgTime
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x1801686fc
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x180168732
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x70]
call fcn.1800096f0
movzx eax, byte [rsp + 0x30]
jmp 0x18016878a
mov r8d, 0xa
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.180188cb0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1801385c0
movzx eax, al
test eax, eax
je 0x180168776
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x70]
call fcn.1800096f0
movzx eax, byte [rsp + 0x31]
jmp 0x18016878a
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x70]
call fcn.1800096f0
movzx eax, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x2f0
pop rdi
ret
Function at 0x180169920
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.1801677d0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.180009770
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180016590
nop
lea rcx, [rsp + 0x78]
call fcn.1800096f0
lea rcx, [rsp + 0x38]
call fcn.180011d60
movzx eax, al
test eax, eax
jne 0x1801699b2
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x58]
call fcn.1800096f0
mov eax, dword [rsp + 0x20]
jmp 0x1801699fb
lea rcx, [rsp + 0x38]
call fcn.180009650
mov r9, rax
xor r8d, r8d
lea rdx, str.IsForceOpenEditor
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x58]
call fcn.1800096f0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0xa8
ret

Function at 0x180169a20
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.1801677d0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.180009770
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180016590
nop
lea rcx, [rsp + 0x78]
call fcn.1800096f0
lea rcx, [rsp + 0x38]
call fcn.180011d60
movzx eax, al
test eax, eax
jne 0x180169ab2
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x58]
call fcn.1800096f0
mov eax, dword [rsp + 0x20]
jmp 0x180169afe
lea rcx, [rsp + 0x38]
call fcn.180009650
mov r9, rax
mov r8d, 0xffffffff
lea rdx, str.IsRightNetFramework
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.1800096f0
nop
lea rcx, [rsp + 0x58]
call fcn.1800096f0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0xa8
ret
Function at 0x180169b20
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x310], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0xb8]
call fcn.180009770
nop
lea rcx, [rsp + 0xd8]
call fcn.1801677d0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x98]
call fcn.180016590
nop
lea rcx, [rsp + 0xd8]
call fcn.1800096f0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800096f0
mov rax, qword [rsp + 0x340]
mov byte [rax], 0
lea rcx, [rsp + 0x98]
call fcn.180009650
mov r9, rax
xor r8d, r8d
lea rdx, str.Status
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rcx, qword [rsp + 0x330]
mov dword [rcx], eax
lea rcx, [rsp + 0x98]
call fcn.180009650
mov r9, rax
xor r8d, r8d
lea rdx, str.IsOpenFailed
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x180169c27
mov byte [rsp + 0x30], 1
jmp 0x180169c2c
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x338]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x98]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x100]
lea r8, [0x1801db0b8]
lea rdx, str.LastTime
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x180169ca2
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x180169cd2
mov rax, qword [rsp + 0x340]
mov byte [rax], 1
jmp 0x180169d5f
mov r8d, 0xa
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x100]
call fcn.180188cb0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.18012bb30
mov qword [rsp + 0x68], rax
xor ecx, ecx
call fcn.18016b360
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18012bb30
mov rcx, qword [rsp + 0x68]
mov r8, qword [rcx]
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180130b70
lea rcx, [rsp + 0x70]
call fcn.180130b50
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jl 0x180169d54
cmp qword [rsp + 0x40], 1
jl 0x180169d5f
mov rax, qword [rsp + 0x340]
mov byte [rax], 1
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0x98]
call fcn.1800096f0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x320
pop rdi
ret
Function at 0x18016a910
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
cmp qword [rsp + 0xd0], 0
je 0x18016a967
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
jmp 0x18016a972
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x98], 0
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x18016a9fe
cmp qword [rsp + 0x68], 0x20
jbe 0x18016a9ed
mov dword [rsp + 0x24], 1
jmp 0x18016a9f5
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18016aa26
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x18016aa26
mov edx, 0x2710
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [rsp + 0x20]
add rsp, 0xa0
pop rdi
ret
Function at 0x18017a3e0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x30], 0
mov eax, 0x51
mov word [rsp + 0x80], ax
mov eax, 0x69
mov word [rsp + 0x82], ax
mov eax, 0x6e
mov word [rsp + 0x84], ax
mov eax, 0x67
mov word [rsp + 0x86], ax
mov eax, 0x6e
mov word [rsp + 0x88], ax
mov eax, 0x69
mov word [rsp + 0x8a], ax
mov eax, 0x61
mov word [rsp + 0x8c], ax
mov eax, 0x6f
mov word [rsp + 0x8e], ax
mov eax, 0x20
mov word [rsp + 0x90], ax
mov eax, 0x43
mov word [rsp + 0x92], ax
mov eax, 0x68
mov word [rsp + 0x94], ax
mov eax, 0x72
mov word [rsp + 0x96], ax
mov eax, 0x6f
mov word [rsp + 0x98], ax
mov eax, 0x6d
mov word [rsp + 0x9a], ax
mov eax, 0x65
mov word [rsp + 0x9c], ax
xor eax, eax
mov word [rsp + 0x9e], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.180009770
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180178bd0
nop
lea rcx, [rsp + 0x60]
call fcn.1800096f0
lea rcx, [rsp + 0x40]
call fcn.180009630
movzx eax, al
test eax, eax
je 0x18017a551
lea rdx, [0x1801db0b8]
mov rcx, qword [rsp + 0x2d0]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x2d0]
jmp 0x18017a67c
lea rcx, [rsp + 0x40]
call fcn.180011d60
movzx eax, al
test eax, eax
jne 0x18017a598
lea rdx, [0x1801db0b8]
mov rcx, qword [rsp + 0x2d0]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x2d0]
jmp 0x18017a67c
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xa0]
lea r8, [0x1801db0b8]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xa0]
lea rcx, [0x1801db0b8]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x18017a60e
add rax, 2
test dx, dx
jne 0x18017a5f8
xor eax, eax
jmp 0x18017a613
sbb eax, eax
or eax, 1
test eax, eax
jne 0x18017a64a
lea rdx, [0x1801db0b8]
mov rcx, qword [rsp + 0x2d0]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x2d0]
jmp 0x18017a67c
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2d0]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x2c0
pop rdi
ret
Function at 0x18017ad60
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1801793c0
nop
lea rcx, [rsp + 0x40]
call fcn.180011d60
movzx eax, al
test eax, eax
jne 0x18017adec
lea rdx, [0x1801db0b8]
mov rcx, qword [rsp + 0x290]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x290]
jmp 0x18017ae63
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.180009650
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x1801db0b8]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x290]
call fcn.180009770
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800096f0
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x280
pop rdi
ret
Function at 0x18019b81c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x18019b6bc
call fcn.1801893dc
mov dword [rax], 0x16
call fcn.1801833fc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18019b6a4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18019b6a4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x18019b6ee
lock or dword [rax + 0x14], 0x10
jmp 0x18019b6a4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x18019b70b
mov rcx, qword [rbp + 0x10]
call fcn.1801a6238
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180199334
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.18019b0f4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x18019b762
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18019b6a4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x18019b7ce
mov rcx, qword [rbp + 0x10]
call fcn.180199334
cmp eax, 0xffffffff
je 0x18019b7b5
mov rcx, qword [rbp + 0x10]
call fcn.180199334
cmp eax, 0xfffffffe
je 0x18019b7b5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.180199334
movsxd rdi, eax
lea rsi, [0x18026fc60]
mov rcx, rbx
sar rdi, 6
call fcn.180199334
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x18019b7bc
lea rax, [0x180268410]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18019b7ce
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18019b804
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x18019b800
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x18019b800
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18019b6a7
jmp 0x18019b674
Function at 0x1801a8c10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x450
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0x460]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x1801a8c69
xor al, al
jmp 0x1801a8cbb
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x1801a8c94
cmp qword [rsp + 0x20], 0
je 0x1801a8c90
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x1801a8cbb
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x468]
call fcn.1800096a0
cmp qword [rsp + 0x20], 0
je 0x1801a8cb9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.18017e6e0
add rsp, 0x450
pop rdi
ret
Function at 0x1801a8fb0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.18001ee90
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1801a8ff9
mov rcx, rax
call fcn.18001a8d0
nop
mov ecx, dword [0x1802703e8]
xor esi, esi
test cl, 1
jne 0x1801a902a
or ecx, 1
mov dword [0x1802703e8], ecx
mov qword [0x1802703d8], rsi
mov byte [0x1802703e0], sil
lea rcx, [0x1801c5330]
call fcn.18017ebe4
nop
cmp byte [0x1802703e0], 0
jne 0x1801a91e0
mov byte [0x1802703e0], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call fcn.180180df0
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1801a9096
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1801a9091
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1801a9096
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1801a9096
mov word [rsp + 0x40], si
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a90a0
mov eax, dword [0x1801e1e40]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop dword [rax + rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1801a90c0
movups xmm0, xmmword [str.2345Pic]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1801a90e9
mov word [rsp + 0x40], si
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call fcn.180180df0
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1801a9110
test rax, rax
je 0x1801a91aa
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.1801a9fa0
lea rcx, [rsp + 0x450]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x1801a9146
test rax, rax
je 0x1801a91aa
lea rcx, [rsp + 0x450]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a9161
mov eax, dword [0x1801e1e40]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1801a9180
movups xmm0, xmmword [str.2345Image.hzv]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1801da848]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1801da850]
mov dword [rcx + 0x18], eax
call fcn.180143950
lea rcx, [rsp + 0x450]
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1801a91c0
test rbx, rbx
je 0x1801a91e0
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.180143a40
nop
test rdi, rdi
je 0x1801a91f2
mov rcx, rdi
call fcn.18001a8e0
mov qword [rsp + 0x28], rsi
lea rax, [0x1802703d8]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.18017e6e0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1801a9220
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
cmp qword [0x180268b70], rdi
jne 0x1801a92ab
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x20a
call fcn.180180df0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x30]
mov word [rsp + 0x236], di
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x1801a9290
lea rdx, [rsp + 0x30]
lea rcx, [0x180268b60]
call fcn.1800099c0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18017e6e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1801a9350
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180268080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov eax, dword [0x1802703f8]
test eax, eax
jle 0x1801a939e
inc eax
mov dword [0x1802703f8], eax
mov al, 1
jmp 0x1801a94bd
xor sil, sil
xor ebp, ebp
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x30]
call fcn.18000c9c0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.18000dab0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.18000ca40
test bl, bl
je 0x1801a94a9
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1801a94a9
lea rdx, str.ImpersonateLoggedOnUser
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x28]
call rax
test eax, eax
je 0x1801a94a0
inc dword [0x1802703f8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1801a942c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rsp + 0x28], rbp
mov sil, 1
cmp qword [0x180268b90], 0
jne 0x1801a94a0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x40]
call fcn.180180df0
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov word [rsp + 0x246], bp
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1801a9484
lea rdx, [rsp + 0x40]
lea rcx, [0x180268b80]
call fcn.1800099c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1801a94b9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18017e6e0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret