joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400359d0
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400359d0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x33a0
call fcn.14000105f
sub rsp, rax
mov rdi, rsp
mov ecx, 0xce8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x33b0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x3398], rax
mov dword [rsp + 0x3140], 1
lea r8, [rsp + 0x1084]
mov edx, 0x1040
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x140035a48
xor eax, eax
jmp 0x140035c87
mov eax, dword [rsp + 0x1084]
xor edx, edx
mov ecx, 4
div rcx
mov dword [rsp + 0x1094], eax
mov dword [rsp + 0x1098], 0
jmp 0x140035a7d
mov eax, dword [rsp + 0x1098]
inc eax
mov dword [rsp + 0x1098], eax
mov eax, dword [rsp + 0x1094]
cmp dword [rsp + 0x1098], eax
jae 0x140035c85
mov eax, dword [rsp + 0x1098]
cmp dword [rsp + rax*4 + 0x30], 0
je 0x140035c80
mov eax, dword [rsp + 0x1098]
mov r8d, dword [rsp + rax*4 + 0x30]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x3138], rax
cmp qword [rsp + 0x3138], 0
jne 0x140035ad1
jmp 0x140035a6d
mov dword [rsp + 0x3140], 1
lea r9, [rsp + 0x1084]
mov r8d, 0x2080
lea rdx, [rsp + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140035c72
mov eax, 8
imul rax, rax, 0
mov r9d, 0x104
mov r8, qword [rsp + 0x33d0]
mov rdx, qword [rsp + rax + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32GetModuleBaseNameW
mov rcx, qword [rsp + 0x33d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140035c72
cmp dword [rsp + 0x33c0], 0
je 0x140035b7e
mov rcx, qword [rsp + 0x33b8]
call fcn.140003567
mov rdx, qword [rsp + 0x33d0]
mov rcx, rax
call fcn.140002b99
test eax, eax
jne 0x140035b7e
mov eax, 1
jmp 0x140035c87
cmp dword [rsp + 0x33c8], 0
je 0x140035c72
mov dword [rsp + 0x109c], 0
jmp 0x140035ba9
mov eax, dword [rsp + 0x109c]
inc eax
mov dword [rsp + 0x109c], eax
mov eax, dword [rsp + 0x109c]
mov qword [rsp + 0x3388], rax
mov ecx, dword [rsp + 0x1084]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x3388]
cmp rcx, rax
jae 0x140035c72
mov eax, dword [rsp + 0x109c]
mov r9d, 0x104
lea r8, [rsp + 0x3160]
mov rdx, qword [rsp + rax*8 + 0x10b0]
mov rcx, qword [rsp + 0x3138]
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x140035c6d
mov dx, MsiPreviewBillboardW
lea rcx, [rsp + 0x3160]
call fcn.14000155a
mov qword [rsp + 0x3378], rax
cmp qword [rsp + 0x3378], 0
je 0x140035c6d
mov rax, qword [rsp + 0x3378]
add rax, 2
mov qword [rsp + 0x3390], rax
mov rcx, qword [rsp + 0x33b8]
call fcn.140003567
mov rcx, qword [rsp + 0x3390]
mov rdx, rcx
mov rcx, rax
call fcn.140002b99
test eax, eax
jne 0x140035c6d
mov eax, 1
jmp 0x140035c87
jmp 0x140035b99
mov rcx, qword [rsp + 0x3138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140035a6d
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140148bd0]
call fcn.140005466
mov rax, rdi
mov rcx, qword [rsp + 0x3398]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x33a0
pop rdi
ret
Function at 0x140036990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140036990
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rsp
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
movsxd rax, dword [rsp + 0x88]
lea r8, [0x1401478b8]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140036a10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x88]
lea rdx, str.Unable_to_find_resource_with_id_:__d___Reason_:__d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.140002f45
xor al, al
jmp 0x140036b09
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140036a56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x88]
lea rdx, str.Unable_to_load_resource_with_id_:__d___Reason_:__d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.140002f45
xor al, al
jmp 0x140036b09
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140036aa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, dword [rsp + 0x88]
lea rdx, str.Unable_to_lock_resource_with_id_:__d___Reason_:__d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call fcn.140002f45
xor al, al
jmp 0x140036b09
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
call fcn.140003567
lea r8, [0x14014757c]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140003ea9
cmp qword [rsp + 0x38], 0
je 0x140036afd
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.14000524f
mov rcx, qword [rsp + 0x38]
call fcn.140003819
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140148df0]
call fcn.140005466
mov rax, rdi
add rsp, 0x50
pop rdi
ret
Function at 0x140039d50
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140039d50
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, MsiEnumClientsA
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, MsiGetFeatureCostA
rep stosb byte [rdi], al
mov dword [rsp + 0x64], 0
lea rcx, [0x140148280]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140148218]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140039dbf
lea rcx, [rsp + 0x28]
call qword [rsp + 0x68]
jmp 0x140039dca
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x140039dde
mov dword [rsp + 0x64], 1
jmp 0x140039df0
movzx eax, word [rsp + 0x28]
cmp eax, 6
jne 0x140039df0
mov dword [rsp + 0x64], 1
mov eax, dword [rsp + 0x64]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140149f40]
call fcn.140005466
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x14003a1f0
Capabilities:
Delete registry key

Disassembly:
jmp 0x14003a1f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, MsiEnumClientsA
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x98]
mov r8, qword [rax]
lea rdx, [0x1401482a0]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.14000222a
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003a290
mov rax, qword [rsp + 0x98]
mov r8, qword [rax]
lea rdx, str.Registry_key_deleted_:___s
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400051a0
jmp 0x14003a3da
cmp dword [rsp + 0x30], 5
jne 0x14003a3a8
cmp dword [rsp + 0xa0], 0
jne 0x14003a3a8
mov dword [rsp + 0xa0], 1
mov byte [0x14019402c], 0
mov qword [rsp + 0x38], 0
mov ecx, MsiEnumProductsW
call fcn.140002af9
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14003a30c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov rax, qword [rsp + 0x98]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140002bda
mov qword [rsp + 0x60], rax
jmp 0x14003a315
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14003a364
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.140003e2c
mov qword [rsp + 0x68], rax
jmp 0x14003a36d
mov qword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14003a3a6
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140002dbf
jmp 0x14003a3da
movzx eax, byte [0x140195680]
test eax, eax
jne 0x14003a3da
mov r9d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x98]
mov r8, qword [rax]
lea rdx, str.Registry_key_not_deleted_:__s___Reason_:__d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400028b0
add rsp, 0x70
pop rdi
ret
Function at 0x14003afb0
Capabilities:
Create directory

Disassembly:
jmp 0x14003afb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, MsiDatabaseCommit
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x24], 1
xor edx, edx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14003b030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xb7
je 0x14003b030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
lea rdx, str.Unable_to_create_directory_:__s___Reason_:__d.
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140002f45
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
add rsp, 0x30
pop rdi
ret
Function at 0x14004a3f0
Capabilities:
Create process on windows

Disassembly:
jmp 0x14004a3f0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, MsiDatabaseCommit
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140003819
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + 8]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x30
pop rdi
ret
Function at 0x14004a460
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
jmp 0x14004a460
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8a0
mov rdi, rsp
mov ecx, 0x228
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8b0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x898], rax
mov byte [rsp + 0x20], 1
movzx eax, word [0x1401503f8]
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0x40e
rep stosb byte [rdi], al
movzx eax, word [0x1401503fc]
mov word [rsp + 0x470], ax
lea rax, [rsp + 0x472]
mov rdi, rax
xor eax, eax
mov ecx, 0x40e
rep stosb byte [rdi], al
lea rdx, [rsp + 0x40]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r8d, 0x208
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea r8, str.RaftLogs_
mov edx, 0x208
lea rcx, [rsp + 0x40]
call fcn.14000187a
test eax, eax
je 0x14004a528
mov dword [rsp + 0x890], 1
jmp 0x14004a533
mov dword [rsp + 0x890], 0
mov eax, dword [rsp + 0x890]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14004a54a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004a57d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14004a57d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xb7
je 0x14004a57d
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x884], 0
lea r9, [rsp + 0x470]
xor r8d, r8d
lea rdx, [0x140150418]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov dword [rsp + 0x884], eax
lea rcx, [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004a5ec
lea r8, [0x140150430]
mov edx, 0x208
lea rcx, [rsp + 0x470]
call fcn.14000187a
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14004a5ec
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004a614
xor r8d, r8d
lea rdx, [rsp + 0x470]
mov ecx, 0x1000
call sub.msi.dll_MsiGetComponentPathW
cmp eax, 0x57
jne 0x14004a614
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14004a648
mov rax, qword [rsp + 0x8b0]
mov r8, qword [rax + 0x38]
mov edx, 0x208
lea rcx, [rsp + 0x40]
call fcn.14000187a
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14004a648
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call fcn.140004a7a
inc rax
lea r8, [rsp + 0x40]
mov rdx, rax
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rax + 8]
call fcn.1400031e3
mov rcx, qword [rsp + 0x8b0]
call fcn.1400023bf
movzx eax, byte [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov eax, edi
mov rcx, qword [rsp + 0x898]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x8a0
pop rdi
ret
Function at 0x14004a8b0
Capabilities:
Get session user name

Disassembly:
jmp 0x14004a8b0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, rsp
mov ecx, reloc.msi.dll_MsiDatabaseCommit
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x24], 0x104
mov byte [rsp + 0x34], 0
lea rdx, [rsp + 0x24]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14004a91a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x38]
lea rdx, str.Cannot_fetch_logged_in_user_._Error_number___d
mov rcx, qword [rsp + 0x50]
call fcn.1400028b0
mov byte [rsp + 0x34], 0
jmp 0x14004a91f
mov byte [rsp + 0x34], 1
movzx eax, byte [rsp + 0x34]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401506c0]
call fcn.140005466
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x14004f2d0
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x14004f2d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov rdi, rsp
mov ecx, MsiSourceListClearAllW
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x340]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rcx, qword [rsp + 0x348]
call fcn.140003567
mov r8, rax
lea rdx, str.Checking_if_folder__s_is_empty_or_not.
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax]
call fcn.14000222a
mov byte [rsp + 0x20], 1
mov qword [rsp + 0x298], 0xffffffffffffffff
lea rcx, [rsp + 0x2a8]
call fcn.1400036c5
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x1401543dc]
mov rcx, qword [rsp + 0x348]
call fcn.1400046a6
mov qword [rsp + 0x2d8], rax
mov rcx, qword [rsp + 0x348]
call fcn.140003323
dec rax
cmp qword [rsp + 0x2d8], rax
jne 0x14004f3ae
mov rcx, qword [rsp + 0x348]
call fcn.140003323
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x348]
call fcn.140003468
lea r8, [0x140154e04]
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x2e0]
call fcn.1400024dc
mov qword [rsp + 0x318], rax
mov rcx, qword [rsp + 0x318]
call fcn.140003567
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0x2e0]
call fcn.1400049d0
cmp qword [rsp + 0x298], 0xffffffffffffffff
je 0x14004f471
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x2a8]
call fcn.140003198
lea rdx, [0x14015493c]
lea rcx, [rsp + 0x2a8]
call fcn.140003c88
test eax, eax
je 0x14004f44f
lea rdx, [0x140154e60]
lea rcx, [rsp + 0x2a8]
call fcn.140003c88
test eax, eax
jne 0x14004f453
jmp 0x14004f45a
mov byte [rsp + 0x20], 0
jmp 0x14004f471
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004f40d
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x310], al
lea rcx, [rsp + 0x2a8]
call fcn.1400049d0
nop
mov rcx, qword [rsp + 0x348]
call fcn.1400049d0
movzx eax, byte [rsp + 0x310]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140005466
mov eax, edi
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x330
pop rdi
ret
Function at 0x140054300
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140054300
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, MsiEnumClientsA
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov r8d, MsiGetFeatureCostA
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140003959
lea rcx, [0x140157bb0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14005436d
lea rcx, [rsp + 0x28]
call qword [rsp + 0x68]
jmp 0x140054378
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x28]
test eax, eax
je 0x14005438d
movzx eax, word [rsp + 0x28]
cmp eax, 0xffff
jne 0x140054394
xor eax, eax
jmp 0x140054481
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS_1_5_18Components
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.140004115
test rax, rax
je 0x1400543d3
lea rdx, str.Inside_GetRegistryView__HKLM__Component_regkey___returning_KEY_WOW64_64Key
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.1400051a0
mov eax, 0x100
jmp 0x140054481
lea rdx, str.SOFTWAREAdobe
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.140004115
test rax, rax
jne 0x14005440d
lea rdx, str.SoftwareAdobe
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x20]
call fcn.140004115
test rax, rax
je 0x140054467
cmp qword [rsp + 0x88], 0xffffffff80000002
jne 0x14005443a
lea rdx, str.Inside_GetRegistryView__HKLM__SoftwareAdobe__returning_KEY_WOW64_32KEY__its_a_32_bit_app
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.14000222a
mov eax, 0x200
jmp 0x140054481
cmp qword [rsp + 0x88], 0xffffffff80000001
jne 0x140054467
lea rdx, str.Inside_GetRegistryView__HKCU___returning_KEY_WOW64_32KEY__its_a_32_bit_app
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.14000222a
mov eax, 0x100
jmp 0x140054481
cmp qword [rsp + 0x88], 0xffffffff80000002
jne 0x14005447c
mov eax, 0x200
jmp 0x140054481
mov eax, 0x100
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401591d0]
call fcn.140005466
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x140007c00
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x140098720]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x140007c3d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140007c50
mov al, 1
jmp 0x140007cf7
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140008e50
test al, al
je 0x140007ca1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140007ca1
mov bl, 1
jmp 0x140007ca3
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140007ce1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d14
call fcn.140046df0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140046d90
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14004b0f4
int3

Function at 0x140007d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x140098720]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140007d55
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140007dff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14007e010]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140008e50
test al, al
je 0x140007dae
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140007dec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007de7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e1e
call fcn.140046df0
movdqa xmm0, xmmword [0x14007e010]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140046d90
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.14004b0f4
int3
Function at 0x140007e30
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140098720]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x140007e6c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140007e76
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140007e87
mov al, 1
jmp 0x140008058
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x14007e010]
movdqu xmmword [rbp - 0x18], xmm1
xor r14d, r14d
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140008e50
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x14007e010]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140008e50
test al, al
jne 0x140007ef3
test bl, bl
je 0x140007fb6
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140007fb6
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140007f5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007f58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000807f
call fcn.140046df0
movdqa xmm0, xmmword [0x14007e010]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140007faf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007faa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008085
call fcn.140046df0
mov al, 1
jmp 0x140008046
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140007ff6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ff1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000808b
call fcn.140046df0
movdqa xmm0, xmmword [0x14007e010]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140008044
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000803f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008079
call fcn.140046df0
xor al, al
movdqa xmm0, xmmword [0x14007e010]
mov word [rbp - 0x28], r14w
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140046d90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14004b0f4
nop
call fcn.14004b0f4
nop
call fcn.14004b0f4
nop
call fcn.14004b0f4
int3