joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001b63
Capabilities:
Manipulate boot configuration

Disassembly:
jmp 0x18002f620
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x378
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x390]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x18002f67f
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xa68
lea rdx, [0x1801a5900]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002f67f
int3
mov rax, qword [rsp + 0x390]
mov edx, dword [rax + 0x20]
lea rcx, [rsp + 0x108]
call fcn.180046bc0
lea rcx, [rsp + 0x108]
call fcn.180047580
movzx eax, al
test eax, eax
jne 0x18002f6d6
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xa6a
lea rdx, [0x1801a5918]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002f6d6
int3
lea rcx, [rsp + 0x108]
call fcn.1800475e0
mov dword [rsp + 0x100], eax
cmp dword [rsp + 0x100], 0x14
jne 0x18002f74a
mov rax, qword [rsp + 0x390]
cmp dword [rax + 0x18], 2
jne 0x18002f726
mov byte [rsp + 0x360], 1
lea rcx, [rsp + 0x108]
call fcn.1800012bc
movzx eax, byte [rsp + 0x360]
jmp 0x18002f8ef
mov byte [rsp + 0x361], 0
lea rcx, [rsp + 0x108]
call fcn.1800012bc
movzx eax, byte [rsp + 0x361]
jmp 0x18002f8ef
cmp dword [rsp + 0x100], 0x12
jne 0x18002f789
mov rax, qword [rsp + 0x390]
movzx eax, byte [rax + 0x1b1]
test eax, eax
jne 0x18002f789
mov byte [rsp + 0x362], 0
lea rcx, [rsp + 0x108]
call fcn.1800012bc
movzx eax, byte [rsp + 0x362]
jmp 0x18002f8ef
lea rax, [rsp + 0x40]
lea rcx, [0x1801a5930]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x12
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x2e
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
lea rcx, [0x1801a5948]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x12
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x92]
mov rdi, rax
xor eax, eax
mov ecx, 0x2e
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
lea rcx, [0x1801a5960]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xee]
mov rdi, rax
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov dword [rsp + 0x140], 0
jmp 0x18002f830
mov eax, dword [rsp + 0x140]
inc eax
mov dword [rsp + 0x140], eax
cmp dword [rsp + 0x140], 2
jge 0x18002f8d2
xor eax, eax
mov word [rsp + 0x150], ax
lea rax, [rsp + 0x152]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x140]
imul rax, rax, 0x40
lea rax, [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x390]
add rcx, 0xbc
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [0x1801a5990]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.1800d6e60
lea rcx, [rsp + 0x150]
call fcn.180037850
test eax, eax
je 0x18002f8cd
mov byte [rsp + 0x363], 1
lea rcx, [rsp + 0x108]
call fcn.1800012bc
movzx eax, byte [rsp + 0x363]
jmp 0x18002f8ef
jmp 0x18002f820
mov byte [rsp + 0x364], 0
lea rcx, [rsp + 0x108]
call fcn.1800012bc
movzx eax, byte [rsp + 0x364]
mov rcx, qword [rsp + 0x368]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x378
pop rdi
pop rsi
ret
Function at 0x180001c8a
Capabilities:
Shutdown system

Disassembly:
jmp 0x18001c550
sub rsp, 0x28
mov ecx, 0x13
call fcn.180036e90
test eax, eax
jne 0x18001c56e
lea rcx, str.SE_SHUTDOWN_PRIVILEGE_failure__n
call fcn.180038160
xor edx, edx
mov ecx, SafeArrayGetDim
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x28
ret
Function at 0x180001fe1
Capabilities:
Copy file

Disassembly:
jmp 0x1800221c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.180001820
nop
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180001f14
nop
lea r8, [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180001f14
nop
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x180022278
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x180022278
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa0]
jmp 0x1800224cc
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x1800222f9
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov r8d, 1
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1800222f9
xor eax, eax
test eax, eax
jne 0x1800222f9
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5d8
lea rdx, [0x1801a3f28]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800222f9
int3
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x18002237a
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov r8d, 1
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002237a
xor eax, eax
test eax, eax
jne 0x18002237a
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5df
lea rdx, [0x1801a3f40]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002237a
int3
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov dword [rsp + 0x20], 0x80
mov r9d, 3
mov r8d, 0x80000000
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.18003da60
nop
lea rcx, [rsp + 0x98]
call fcn.18003dc30
movzx eax, al
test eax, eax
jne 0x180022431
xor eax, eax
test eax, eax
jne 0x1800223ee
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5e5
lea rdx, [0x1801a3f58]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800223ee
int3
mov byte [rsp + 0xa1], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa1]
jmp 0x1800224cc
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov r8d, 0x210
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x98]
call fcn.18003dc60
movzx eax, al
test eax, eax
je 0x18002247f
mov eax, dword [rsp + 0x90]
cmp rax, 0x210
jne 0x18002247f
mov byte [rsp + 0xc0], 1
jmp 0x180022487
mov byte [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0xa2], al
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa2]
add rsp, 0xd8
ret
Function at 0x18001c510
Capabilities:
Shutdown system

Disassembly:
jmp 0x18001c510
sub rsp, 0x28
mov ecx, 0x13
call fcn.180036e90
test eax, eax
jne 0x18001c52e
lea rcx, [0x1801a3470]
call fcn.180038160
xor edx, edx
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x28
ret

Function at 0x18001c550
Capabilities:
Shutdown system

Disassembly:
jmp 0x18001c550
sub rsp, 0x28
mov ecx, 0x13
call fcn.180036e90
test eax, eax
jne 0x18001c56e
lea rcx, str.SE_SHUTDOWN_PRIVILEGE_failure__n
call fcn.180038160
xor edx, edx
mov ecx, SafeArrayGetDim
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x28
ret

Function at 0x1800206c0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800206c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x18002070e
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x3a1
lea rdx, [0x1801a3ba0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002070e
int3
cmp dword [rsp + 0x50], 0
ja 0x180020740
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x3a2
lea rdx, [0x1801a3bb8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180020740
int3
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add rsp, 0x38
ret

Function at 0x180021150
Capabilities:
Create process on windows

Disassembly:
jmp 0x180021150
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x108], 0xfffffffffffffffe
call sym.dm_d.api_isWinPe
movzx eax, al
test eax, eax
je 0x18002117b
xor al, al
jmp 0x1800212e4
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.180001820
nop
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x1800211c3
mov byte [rsp + 0x100], 0
lea rcx, [rsp + 0x50]
call fcn.18000165e
movzx eax, byte [rsp + 0x100]
jmp 0x1800212e4
mov r8d, SafeArrayCopy
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.1800d63d0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.1800d63d0
mov dword [rsp + 0x90], 0x68
lea rcx, [rsp + 0x50]
call fcn.18000122b
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000200
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x1800212a1
xor eax, eax
test eax, eax
jne 0x180021285
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x4b2
lea rdx, [0x1801a3d40]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180021285
int3
mov byte [rsp + 0x101], 0
lea rcx, [rsp + 0x50]
call fcn.18000165e
movzx eax, byte [rsp + 0x101]
jmp 0x1800212e4
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x102], 1
lea rcx, [rsp + 0x50]
call fcn.18000165e
movzx eax, byte [rsp + 0x102]
add rsp, 0x118
ret
Function at 0x180021340
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x180021340
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x18002138a
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x4c6
lea rdx, [0x1801a3d58]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002138a
int3
mov rcx, qword [rsp + 0x48]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800213c6
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x4c7
lea rdx, [0x1801a3d70]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800213c6
int3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002140d
mov rcx, qword [rsp + 0x48]
call fcn.18003cfa0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002140d
xor al, al
jmp 0x18002140f
mov al, 1
add rsp, 0x38
ret
Function at 0x1800221c0
Capabilities:
Copy file

Disassembly:
jmp 0x1800221c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.180001820
nop
lea r8, [rsp + 0x30]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180001f14
nop
lea r8, [rsp + 0x30]
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180001f14
nop
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x180022278
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x180022278
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa0]
jmp 0x1800224cc
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x1800222f9
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov r8d, 1
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1800222f9
xor eax, eax
test eax, eax
jne 0x1800222f9
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5d8
lea rdx, [0x1801a3f28]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800222f9
int3
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x18002237a
lea rcx, [rsp + 0x50]
call fcn.18000122b
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov r8d, 1
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002237a
xor eax, eax
test eax, eax
jne 0x18002237a
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5df
lea rdx, [0x1801a3f40]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002237a
int3
lea rcx, [rsp + 0x70]
call fcn.18000122b
mov dword [rsp + 0x20], 0x80
mov r9d, 3
mov r8d, 0x80000000
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.18003da60
nop
lea rcx, [rsp + 0x98]
call fcn.18003dc30
movzx eax, al
test eax, eax
jne 0x180022431
xor eax, eax
test eax, eax
jne 0x1800223ee
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5e5
lea rdx, [0x1801a3f58]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800223ee
int3
mov byte [rsp + 0xa1], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa1]
jmp 0x1800224cc
mov dword [rsp + 0x90], 0
lea r9, [rsp + 0x90]
mov r8d, 0x210
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x98]
call fcn.18003dc60
movzx eax, al
test eax, eax
je 0x18002247f
mov eax, dword [rsp + 0x90]
cmp rax, 0x210
jne 0x18002247f
mov byte [rsp + 0xc0], 1
jmp 0x180022487
mov byte [rsp + 0xc0], 0
movzx eax, byte [rsp + 0xc0]
mov byte [rsp + 0xa2], al
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x50]
call fcn.18000165e
nop
lea rcx, [rsp + 0x70]
call fcn.18000165e
nop
lea rcx, [rsp + 0x30]
call fcn.18000165e
movzx eax, byte [rsp + 0xa2]
add rsp, 0xd8
ret
Function at 0x1800224e0
Capabilities:
Copy file

Disassembly:
jmp 0x1800224e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.180001820
nop
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.180001f14
nop
lea r8, [rsp + 0x38]
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.180001f14
nop
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
je 0x180022594
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov rcx, rax
call fcn.18003cfa0
test eax, eax
jne 0x180022594
xor eax, eax
test eax, eax
jne 0x180022594
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5f6
lea rdx, [0x1801a3f70]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180022594
int3
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
je 0x1800225f1
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov rcx, rax
call fcn.18003cfa0
test eax, eax
jne 0x1800225f1
xor eax, eax
test eax, eax
jne 0x1800225f1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5fd
lea rdx, [0x1801a3f88]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800225f1
int3
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov dword [rsp + 0x20], 0x80
mov r9d, 4
mov r8d, 0xc0000000
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.18003da60
nop
lea rcx, [rsp + 0x98]
call fcn.18003dc30
movzx eax, al
test eax, eax
jne 0x1800226a8
xor eax, eax
test eax, eax
jne 0x180022665
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x603
lea rdx, [0x1801a3fa0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180022665
int3
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa0]
jmp 0x1800227cc
mov dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
mov r8d, 0x210
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x98]
call fcn.18003dd10
movzx eax, al
test eax, eax
je 0x1800226e3
mov eax, dword [rsp + 0x30]
cmp rax, 0x210
je 0x180022726
mov byte [rsp + 0xa1], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa1]
jmp 0x1800227cc
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x78]
call fcn.18000122b
xor r8d, r8d
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002278e
xor eax, eax
test eax, eax
jne 0x18002278e
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x60d
lea rdx, [0x1801a3fb8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002278e
int3
mov byte [rsp + 0xa2], 1
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa2]
add rsp, 0xc8
ret
Function at 0x180022d30
Capabilities:
Identify system language via api

Disassembly:
jmp 0x180022d30
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x1801
jg 0x180022e0e
cmp dword [rsp + 0x24], 0x1801
je 0x180022ea8
cmp dword [rsp + 0x24], 0xc09
jg 0x180022dc7
cmp dword [rsp + 0x24], 0xc09
je 0x180022e84
cmp dword [rsp + 0x24], 0x401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x409
je 0x180022e84
cmp dword [rsp + 0x24], 0x801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x814
je 0x180022e9c
cmp dword [rsp + 0x24], 0xc01
je 0x180022ea8
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0xc0a
je 0x180022e90
cmp dword [rsp + 0x24], 0x1001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1009
je 0x180022e84
cmp dword [rsp + 0x24], 0x1401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1409
je 0x180022e84
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0x3001
jg 0x180022e5a
cmp dword [rsp + 0x24], 0x3001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1c01
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2c01
je 0x180022ea8
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0x3401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x3801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x3c01
je 0x180022ea8
cmp dword [rsp + 0x24], 0x4001
je 0x180022ea8
jmp 0x180022eb2
mov eax, 0x809
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x40a
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x414
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x2c01
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x180023000
Capabilities:
Get geographical location

Disassembly:
jmp 0x180023000
mov word [rsp + 8], cx
push rdi
sub rsp, 0x100
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor eax, eax
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0xa8
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x110]
mov r9d, 0x55
lea r8, [rsp + 0x40]
mov edx, 3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800230a2
xor eax, eax
test eax, eax
jne 0x18002308c
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x6be
lea rdx, [0x1801a40b0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002308c
int3
lea r8, [0x1801a40c8]
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1800d9840
movzx eax, word [rsp + 0x110]
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.langId:__d__wszAbbName:__ws
call fcn.180038160
lea rcx, [rsp + 0x40]
call sym.dm_d.api_langOpen
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x100
pop rdi
ret
Function at 0x180023320
Capabilities:
Get common file path
Get startup folder

Disassembly:
jmp 0x180023320
sub rsp, 0x238
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x178], 0
lea rcx, [rsp + 0x178]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [0x1801a6960]
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call qword [rax + MsiEnumProductsW]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x180]
mov r8d, 0xe0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov ecx, SafeArrayCopy
call fcn.1800d66b0
mov qword [rsp + 0x218], rax
cmp qword [rsp + 0x218], 0
je 0x180023425
mov rcx, qword [rsp + 0x218]
call fcn.180001569
mov qword [rsp + 0x220], rax
jmp 0x180023431
mov qword [rsp + 0x220], 0
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x30], rax
xor eax, eax
cmp eax, 1
je 0x180023568
mov rcx, qword [rsp + 0x30]
call fcn.180001f1e
cmp rax, 0x100000
jb 0x180023470
jmp 0x180023568
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x180]
call qword [rax + SafeArrayCopy]
cmp eax, 1
jne 0x18002349f
jmp 0x180023568
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x58]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x188]
call fcn.1800334a0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x60]
mov r8d, 0x8001
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x58]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.1800334a0
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1d0]
call fcn.180001820
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x1f0]
call fcn.180001820
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x30]
call fcn.180001109
lea rcx, [rsp + 0x1d0]
call fcn.18000137f
lea rcx, [rsp + 0x1a8]
call fcn.18000165e
lea rcx, [rsp + 0x188]
call fcn.18000165e
jmp 0x18002344e
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x38]
call qword [rax + MsiEnumProductsW]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x180]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x30]
add rsp, 0x238
ret
Function at 0x1800237c0
Capabilities:
Empty the recycle bin

Disassembly:
jmp 0x1800237c0
sub rsp, 0x38
mov r8d, 7
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
test eax, eax
jne 0x1800237df
mov byte [rsp + 0x20], 1
jmp 0x1800237e4
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret