joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400420e8
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea rcx, str.setupapi.dll
xor ebx, ebx
mov r15, rdx
mov ebp, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
cmp rax, rbx
je 0x1400422c4
lea rdx, str.CM_Get_DevNode_Registry_PropertyA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CM_Locate_DevNodeA
mov rcx, rsi
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CM_Get_Child
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CM_Get_Sibling
mov rcx, rsi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CM_Get_Parent
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
cmp qword [rsp + 0x40], rbx
je 0x1400422bb
cmp rdi, rbx
je 0x1400422bb
cmp r13, rbx
je 0x1400422bb
cmp r12, rbx
je 0x1400422bb
cmp rax, rbx
je 0x1400422bb
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call rdi
cmp eax, ebx
jne 0x1400422bb
mov rdi, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x50]
lea edx, [r8 + 0xa]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x38], 0x200
mov qword [rsp + 0x20], rax
call rdi
cmp eax, ebx
jne 0x14004221e
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.1401593e0
cmp eax, ebx
je 0x140042279
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
xor r8d, r8d
call r13
cmp eax, ebx
je 0x140042261
mov edx, dword [rsp + 0x30]
jmp 0x140042252
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
xor r8d, r8d
call r14
cmp eax, ebx
jne 0x140042272
mov edx, dword [rsp + 0x34]
mov dword [rsp + 0x30], edx
lea rcx, [rsp + 0x34]
xor r8d, r8d
call r12
cmp eax, ebx
jne 0x140042237
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp ebp, ebx
jne 0x1400422bb
jmp 0x1400421df
mov ebp, 1
jmp 0x140042269
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
lea rax, [rsp + 0x38]
lea ebp, [r8 + 1]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x28], ebx
mov edx, ebp
mov dword [rsp + 0x38], 0x200
mov qword [rsp + 0x20], rax
call rdi
cmp eax, ebx
jne 0x1400422bb
lea r8, [rsp + 0x50]
mov edx, 0x100
mov rcx, r15
call fcn.140158644
mov ebx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140156fd0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140044e9c
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x2d0
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
mov edi, r8d
mov r12d, 0x9c
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, r12
mov rbp, r9
xor ebx, ebx
call fcn.140158a90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp eax, ebx
jne 0x140044f15
mov r12d, DllRegisterServer
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, r12
call fcn.140158a90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov r12d, 0x200
lea rcx, [rsp + 0xc0]
mov r8, rbp
mov rdx, r12
call fcn.140044464
mov r11d, dword [rsp + 0x30]
sub r11d, 1
je 0x140044fc6
cmp r11d, 1
jne 0x140044fdb
cmp dword [rsp + 0x24], 4
mov r9, rbp
lea r8, str.Global_s
mov rdx, r12
lea rcx, [rsp + 0xc0]
ja 0x140044fbf
call fcn.140044464
lea r8, [rsp + 0xc0]
xor edx, edx
mov ecx, 0x20000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp rax, rbx
je 0x140044f9f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rsi
call fcn.140041c90
jmp 0x140044fd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140044f8b
lea rcx, [rsp + 0xc0]
mov r8, rbp
mov rdx, r12
call fcn.140044464
jmp 0x140044f8b
call fcn.140044464
jmp 0x140044f8b
lea r8, [rsp + 0xc0]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140156fd0
add rsp, 0x2d0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400457a0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
and qword [rsp + 0x38], 0
mov rbp, rdx
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov rdi, r8
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x140045911
mov rcx, rsi
call fcn.14013f170
mov r8d, esi
xor edx, edx
mov r9, rax
mov rcx, rbp
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoA
mov rcx, rbx
test eax, eax
je 0x14004590c
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
lea rdx, [0x1401cec70]
call sub.VERSION.dll_VerQueryValueA
mov rcx, rbx
test eax, eax
je 0x14004590c
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [0x1401d34f8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400458e9
mov rax, qword [rsp + 0x30]
lea rdx, [0x1401d34d0]
lea rcx, [rsp + 0x50]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
mov esi, 0x100
test eax, eax
je 0x14004589a
mov r8, qword [rsp + 0x28]
lea rcx, [rdi + 0x10]
mov rdx, rsi
call fcn.140044464
mov rax, qword [rsp + 0x30]
lea rdx, [0x1401d34a8]
lea rcx, [rsp + 0x50]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400458e9
mov r8, qword [rsp + 0x28]
lea rcx, [rdi + 0x110]
mov rdx, rsi
call fcn.140044464
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov rcx, rbx
mov dword [rdi + 0xc], eax
call fcn.14013f178
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140156fd0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140046430
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x10]
mov rax, rdx
test r9, r9
je 0x140046450
movsxd r8, r8d
mov edx, 1
mov rcx, rax
call fcn.140157b08
add rsp, 0x28
ret
Function at 0x140056b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 8]
xor ebx, ebx
mov r14, rcx
mov rsi, qword [rax + 0x38]
test rsi, rsi
je 0x140056d36
mov rax, qword [rsi + 0x128]
test rax, rax
je 0x140056d36
cmp qword [rsi + 0x138], rbx
je 0x140056d36
cmp qword [rsi + 0x140], rbx
je 0x140056d36
cmp qword [rsi + 0x110], rbx
je 0x140056d36
lea r9d, [rbx + 2]
lea rcx, [0x140262d88]
xor r8d, r8d
xor edx, edx
call rax
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140056d36
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x38], 0x20
xor r13d, r13d
call qword [rsi + 0x138]
test eax, eax
je 0x140056d29
lea edi, [rbx + 1]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov r8d, edi
mov rcx, rbp
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [rsi + 0x140]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140056d0d
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
lea rdx, str.EDID
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140056d04
mov edx, dword [rsp + 0x30]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x34]
lea rdx, str.EDID
mov rdi, rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0xa0
call fcn.14013f12c
mov rdx, rdi
mov rcx, r14
mov r8, rax
mov rbx, rax
call fcn.140055c2c
mov rcx, qword [r14 + 0x30]
mov rdx, rbx
call fcn.140056040
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, 1
mov ebx, edi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add r13d, edi
lea r8, [rsp + 0x38]
mov rcx, rbp
mov edx, r13d
call qword [rsi + 0x138]
test eax, eax
jne 0x140056c37
mov rcx, rbp
call qword [rsi + pe_nt_image_headers64]
mov eax, ebx
jmp 0x140056d38
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140058a50
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x18], xmm6
mov rsi, rcx
call fcn.14009e8b8
call fcn.140045fd8
mov rdi, qword [rax + 0xe8]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov r11d, dword [rsp + 0x2c]
pxor xmm6, xmm6
cvtsi2ss xmm6, r11
cmp qword [rdi + 0x128], 0
jne 0x140058b32
mov ecx, 0x170
call fcn.14013f12c
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140058acb
xor edx, edx
mov rcx, rax
call fcn.1400719e4
jmp 0x140058acd
xor eax, eax
mov qword [rdi + 0x128], rax
or dword [rax + 0x148], 0x1c0e000
mov rcx, qword [rdi + 0x128]
add rcx, 8
lea r8, str.System_Memory
mov edx, 0x100
call fcn.140044464
mov r11, qword [rdi]
mov rdx, qword [rdi + 0x128]
mov rcx, rdi
call qword [r11 + 0x28]
mov rbx, qword [rdi + 0x128]
call fcn.140045fd8
mov rcx, qword [rax + 0x70]
mov r8d, dword [rcx + 0x10]
mov dword [rbx + 0x14c], r8d
mov rdx, rbx
mov rcx, qword [rax + 0x70]
call fcn.140004a74
mov r8d, 1
movaps xmm1, xmm6
mov rcx, qword [rdi + 0x128]
call fcn.14006f85c
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x140058ba7
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140058b5f
mov rax, qword [rbx + 8]
jmp 0x140058b61
xor eax, eax
test rax, rax
je 0x140058ba7
cmp dword [rax + 0x108], 1
jne 0x140058b82
bt dword [rsi + 0x20], 0x13
jae 0x140058b8c
xor edx, edx
mov rcx, rax
call fcn.14007ea28
jmp 0x140058b8c
xor edx, edx
mov rcx, rax
call fcn.14007ea28
test rbx, rbx
je 0x140058ba0
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140058ba7
mov rax, qword [rbx + 8]
jmp 0x140058ba2
xor eax, eax
test rax, rax
jne 0x140058b66
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret
Function at 0x14006563c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rdx]
mov rbx, rdx
mov rdi, rcx
lea r8, str.PCI_Express
lea rdx, str.Caps_class
mov rcx, rbx
call qword [rax + 0x88]
mov r11, qword [rbx]
mov r9d, dword [rdi + 0xc]
lea r8, [0x1401cba98]
lea rdx, str.Caps_offset
mov rcx, rbx
call qword [r11 + 0x88]
mov esi, 0x100
lea r8, [0x1401cb3a2]
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140158644
movzx r11d, byte [rdi + 0x41]
test r11d, r11d
je 0x14006572d
sub r11d, 1
je 0x140065724
sub r11d, 3
je 0x14006571b
sub r11d, 1
je 0x140065712
sub r11d, 1
je 0x140065709
sub r11d, 1
je 0x140065700
mov rdx, rsi
lea rcx, [rsp + 0x30]
cmp r11d, 2
je 0x1400656f7
lea r8, str.Unknown
jmp 0x14006573c
lea r8, str.Root_Complex_Integrated_Endpoint_Device
jmp 0x14006573c
lea r8, str.PCI_E_to_PCI_PCI_X_bridge
jmp 0x140065734
lea r8, str.Downstream_Port_of_PCI_E_Switch
jmp 0x140065734
lea r8, str.Upstream_Port_of_PCI_E_Switch
jmp 0x140065734
lea r8, str.Root_Port_of_PCI_E_Root_Complex
jmp 0x140065734
lea r8, str.Legacy_PCI_E_Endpoint_Device
jmp 0x140065734
lea r8, str.PCI_E_Endpoint_Device
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.14004453c
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
lea r8, [0x1401cba80]
lea rdx, str.Device_type
mov rcx, rbx
call qword [rax + 0x88]
mov r11, qword [rbx]
mov r9d, dword [rdi + 0x34]
lea r8, [0x1401cb3b4]
lea rdx, str.Port
mov rcx, rbx
call qword [r11 + 0x88]
mov r11, qword [rbx]
movzx r9d, byte [rdi + 0x40]
lea r8, str._d.0
lea rdx, [0x1401d9990]
mov rcx, rbx
call qword [r11 + 0x88]
cmp dword [rdi + 0x20], 0xffffffff
je 0x140065809
cmp dword [rdi + 0x20], 0
mov rax, qword [rbx]
lea rdx, str.Physical_slot
mov rcx, rbx
je 0x1400657fc
mov r9d, dword [rdi + 0x38]
lea r8, [0x1401d97fc]
call qword [rax + 0x88]
cmp dword [rdi + 0x3c], 0
mov r11, qword [rbx]
lea rax, [0x1401cb8bc]
lea r9, [0x1401cb8c0]
lea r8, [0x1401cba80]
lea rdx, str.Presence_detect
mov rcx, rbx
cmovne r9, rax
call qword [r11 + 0x88]
jmp 0x140065809
lea r8, str.Integrated_device
call qword [rax + 0x88]
mov eax, dword [rdi + 0x24]
mov r10, qword [rbx]
mov r9d, dword [rdi + 0x2c]
lea r8, str._dx__max__dx_
lea rdx, str.Link_width
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [r10 + 0x88]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14006f348
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov edi, 0x9c
lea rcx, [rsp + 0x20]
mov r8, rdi
xor edx, edx
call fcn.140158a90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x14006f3be
mov edi, DllRegisterServer
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call fcn.140158a90
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [rsp + 0x24]
mov ebp, 1
cmp eax, 0xa
jb 0x14006f3d1
mov dword [rbx + 0x28], ebp
jmp 0x14006f3e2
cmp eax, 6
jae 0x14006f3e2
cmp eax, 5
jne 0x14006f3e5
cmp dword [rsp + 0x28], 2
jne 0x14006f3e5
mov dword [rbx + 0x24], ebp
call fcn.140045fd8
mov edi, 0x20
mov rcx, rax
mov edx, edi
call fcn.140044e60
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x14006f415
call fcn.140045fd8
mov edx, edi
mov rcx, rax
call fcn.140045bf4
mov qword [rbx + 0x48], rax
mov rcx, rbx
call fcn.14006deb8
mov rcx, rbx
call fcn.14006e92c
mov rcx, rbx
call fcn.14006d95c
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x14006f446
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x14006f4ab
xor esi, esi
test rsi, rsi
jne 0x14006f471
mov eax, ebp
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rdx, rsi
mov rcx, rbx
call fcn.14006d1c4
mov rdx, rsi
mov rcx, rbx
call fcn.14006ca7c
mov rdx, rsi
mov rcx, rbx
call fcn.14006cc64
mov rdx, rsi
mov rcx, rbx
call fcn.14006eed8
test rdi, rdi
je 0x14006f43f
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14006f446
mov rsi, qword [rdi + 8]
jmp 0x14006f441

Function at 0x14007b62c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
cmp qword [rcx + 0x228], 0xffffffffffffffff
mov rdi, rcx
je 0x14007b6af
mov r8d, dword [rcx + 0x23c]
lea rax, [rcx + 0x240]
mov rcx, qword [rcx + 0x228]
lea r9, [r11 + 8]
mov qword [r11 - 0x18], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 0x260]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14007b693
lea rcx, [rdi + 0x228]
call qword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x14007b698
mov ebx, 1
mov rcx, qword [rdi + 0x260]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebx, ebx
jne 0x14007b6af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14007b6c4
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
cmp qword [rcx + 0x230], 0xffffffffffffffff
mov rdi, rcx
je 0x14007b747
mov r8d, dword [rcx + 0x238]
lea rax, [rcx + 0x240]
mov rcx, qword [rcx + 0x230]
lea r9, [r11 + 8]
mov qword [r11 - 0x18], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rdi + 0x260]
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14007b72b
lea rcx, [rdi + 0x230]
call qword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x14007b730
mov ebx, 1
mov rcx, qword [rdi + 0x260]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebx, ebx
jne 0x14007b747
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140089920
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rsi, [rcx + 0x10c]
mov rbx, rcx
lea r8, str.ARM_Processor
mov rcx, rsi
mov edx, 0x80
call fcn.140158644
lea r11, [rsp + 0x38]
mov edi, 0x20019
lea rdx, str.SYSTEMControlSet001ControlSession_ManagerEnvironment
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400899db
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.NUMBER_OF_PROCESSORS
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400899db
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400899db
mov dword [rbx + 0x84], eax
mov dword [rbx + 0x80], eax
mov r9d, dword [rbx + 0x34]
lea r8, str.HARDWAREDESCRIPTIONSystemCentralProcessor_d
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.140044464
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140089b2d
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdi, [rbx + 0x8c]
mov qword [rsp + 0x28], rax
lea rdx, str.VendorIdentifier
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x30], 0x80
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140089a77
lea rdx, str.Qualcomm
mov rcx, rdi
call fcn.140158078
test rax, rax
je 0x140089a77
mov dword [rbx + 0x490], 0x83000000
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, str.ProcessorNameString
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x30], 0x80
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x30]
lea rax, [rbx + 0x18c]
lea rdx, str.Identifier
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x80
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
lea rdx, str.MHz
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140089b22
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x140089b22
mov dword [rbx + 0x4c8], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a8264
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, 0x1090
call fcn.1401b8d00
sub rsp, rax
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rbx, r8
mov rdi, rdx
mov ebp, 0x1030
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8, rbp
call fcn.140158a90
and qword [rsp + 0x38], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x64], 0
mov eax, 2
lea r8, [rsp + 0x50]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov r9d, ebp
mov edx, 0x2d1400
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x50], 0x31
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x68], 0x28
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x6c], 0x1000
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400a8334
lea rdx, [rsp + 0x80]
mov r8d, 0x200
mov rcx, rbx
call fcn.140159620
mov eax, 1
jmp 0x1400a8371
and qword [rsp + 0x38], 0
or dword [rsp + 0x64], 0xffffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x50]
mov r9d, ebp
mov edx, 0x2d1400
mov rcx, rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400a8317
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140143078
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CPropertyPage.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x1401430b7
cmp dword [rcx + 0xa8], 0
jne 0x1401430b7
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14013fe90
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14014301c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140143638
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x140143676
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14014372a
call fcn.140141100
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140143695
mov ecx, 0x80004005
call fcn.140001940
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14015a120
test eax, eax
je 0x1401436fd
cmp eax, 0xc
je 0x1401436f7
cmp eax, 0x16
je 0x1401436f1
cmp eax, 0x22
je 0x1401436f1
cmp eax, 0x50
je 0x1401436fd
call fcn.140140370
int3
call fcn.140140370
int3
call fcn.140140328
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140143728
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret