joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528750
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rsi, [rdx + 3]
test rdx, rdx
mov rbx, rcx
mov rdi, rdx
cmovns rsi, rdx
and rsi, 0xfffffffffffffffc
jle 0x5288b0
test rdx, rdx
jle 0x5288a0
cmp rdx, rsi
mov rax, rsi
cmovle rax, rdx
xor r12d, r12d
xor r13d, r13d
nop dword [rax]
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp r12, rax
jl 0x528798
cmp rsi, r12
jle 0x528805
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r12
call fcn.00506850
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp rsi, r12
jg 0x5287d0
mov rax, rdi
xor ebp, ebp
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x528866
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x528848
mov rdx, r12
mov rcx, r15
call fcn.00506850
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x528830
imul ebp, ebp, 0xcc9e2d51
rol ebp, 0xf
imul ebp, ebp, 0x1b873593
mov edx, r13d
xor edx, edi
xor edx, ebp
mov ebp, edx
shr ebp, 0x10
xor ebp, edx
imul ebp, ebp, 0x85ebca6b
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
xor r13d, r13d
jmp 0x5287c7
xor esi, esi
xor r13d, r13d
jmp 0x528805
push r12
sub rsp, 0x20
xor edx, edx
mov r12, rcx
test rcx, rcx
je 0x5288dc
mov rdx, qword [rcx]
test rdx, rdx
js 0x5288f0
add r12, 0x10
mov rcx, r12
add rsp, 0x20
pop r12
jmp 0x528750
lea r9, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, r9
call fcn.0050ac10
mov rdx, qword [r12]
jmp 0x5288d8
Function at 0x5288c0
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rsi, [rdx + 3]
test rdx, rdx
mov rbx, rcx
mov rdi, rdx
cmovns rsi, rdx
and rsi, 0xfffffffffffffffc
jle 0x5288b0
test rdx, rdx
jle 0x5288a0
cmp rdx, rsi
mov rax, rsi
cmovle rax, rdx
xor r12d, r12d
xor r13d, r13d
nop dword [rax]
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp r12, rax
jl 0x528798
cmp rsi, r12
jle 0x528805
lea rbp, [rdi - 1]
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r12
call fcn.00506850
mov edx, dword [rbx + r12]
add r12, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
imul edx, edx, 0x1b873593
xor edx, r13d
rol edx, 0xd
lea r13d, [rdx + rdx*4 - 0x19ab949c]
cmp rsi, r12
jg 0x5287d0
mov rax, rdi
xor ebp, ebp
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x528866
lea r12, [rdi - 1]
nop word cs:[rax + rax]
sub r14, 1
lea r15, [rsi + r14]
cmp rdi, r15
jg 0x528848
mov rdx, r12
mov rcx, r15
call fcn.00506850
movzx eax, byte [rbx + r15]
shl ebp, 8
or ebp, eax
test r14, r14
jne 0x528830
imul ebp, ebp, 0xcc9e2d51
rol ebp, 0xf
imul ebp, ebp, 0x1b873593
mov edx, r13d
xor edx, edi
xor edx, ebp
mov ebp, edx
shr ebp, 0x10
xor ebp, edx
imul ebp, ebp, 0x85ebca6b
mov eax, ebp
shr eax, 0xd
xor eax, ebp
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r12d, r12d
xor r13d, r13d
jmp 0x5287c7
xor esi, esi
xor r13d, r13d
jmp 0x528805
push r12
sub rsp, 0x20
xor edx, edx
mov r12, rcx
test rcx, rcx
je 0x5288dc
mov rdx, qword [rcx]
test rdx, rdx
js 0x5288f0
add r12, 0x10
mov rcx, r12
add rsp, 0x20
pop r12
jmp 0x528750
lea r9, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, r9
call fcn.0050ac10
mov rdx, qword [r12]
jmp 0x5288d8

Function at 0x528910
Capabilities:
Hash data using murmur3

Disassembly:
jmp 0x528750
mov edx, 0x14
jmp 0x528910

Function at 0x575e70
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rdx
test rdx, rdx
je 0x575ede
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x575ee8
mov rax, 0xffffffffffffffff
xor edx, edx
div r10
not rdx
nop word [rax + rax]
lea rax, [r9 + r8]
xor r9, r8
ror r8, 9
mov r11, r9
xor r8, r9
ror r9, 0x1c
shl r11, 0xe
xor r8, r11
cmp rax, rdx
ja 0x575ea0
movq xmm0, r8
movq xmm1, r9
xor edx, edx
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
lea rcx, [r10 + 1]
div rcx
mov r8, rdx
mov rax, r8
ret
mov rax, r8
mov rdx, r8
add r8, r9
xor rax, r9
ror rdx, 9
mov r10, rax
xor rdx, rax
ror rax, 0x1c
shl r10, 0xe
mov qword [rcx + 8], rax
mov rax, r8
xor rdx, r10
mov qword [rcx], rdx
ret

Function at 0x57a700
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
jmp 0x528750
mov edx, 0x14
jmp 0x528910
Function at 0x589de0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.0058b090
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.0058b090
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x589e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x005e7b34]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x589ff8
mov rax, qword [0x005e7b38]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x589e9c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x589f27
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x589e80
mov rcx, r12
call fcn.0058abb0
mov rbp, rax
test rax, rax
je 0x58a032
mov rax, qword [0x005e7b38]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.0058ace0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x005e7b38]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x58a041
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x589f20
sub eax, 4
and eax, 0xfffffffb
jne 0x589fb0
add dword [0x005e7b34], 1
cmp ebx, 8
jae 0x589f58
test bl, 4
jne 0x58a000
test ebx, ebx
je 0x589f49
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x58a020
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x589f49
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x589f8a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x005e7b38]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x589f20
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00589de0
nop dword [rax]
xor edi, edi
jmp 0x589ea7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x589f49
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x589f49
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00589de0
mov rax, qword [0x005e7b38]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00589de0
nop
nop dword [rax]
Function at 0x58a820
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005e7e20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005e7e00]
test rbx, rbx
je 0x58a874
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x58a86b
test r12, r12
je 0x58a86b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x58a850
lea rcx, [0x005e7e20]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x58abb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x005c7ef0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x58ac29
mov rcx, r10
call fcn.0058aa80
test eax, eax
je 0x58ac29
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x58ac26
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x58ac1d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x58ac29
add r8, 0x28
cmp r8, r9
jne 0x58ac08
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140001004
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14000108c
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor ecx, ecx
mov edx, eax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x57
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x57
jmp 0x140001174
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x1400010ff
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor ecx, ecx
mov edx, eax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x41
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x41
jmp 0x140001174
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140001004
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x20
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor ecx, ecx
mov edx, eax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, 0x44
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x44
xor edx, edx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor ecx, ecx
mov edx, eax
mov r8d, 2
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001004

Function at 0x140001a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac4
xor al, al
add rsp, 0x28
ret
Function at 0x140006500
Capabilities:
Hash data using crc32b

Disassembly:
xor r10d, r10d
lea r11, [0x1402ddc90]
nop word [rax + rax]
mov r8d, r10d
xor r9d, r9d
mov al, 1
test r8b, 1
je 0x140006532
movzx edx, al
mov ecx, 8
sub ecx, edx
mov edx, 1
shl edx, cl
or r9d, edx
shr r8d, 1
inc al
cmp al, 9
jb 0x140006518
shl r9d, 0x18
mov ecx, r9d
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [r9 + r9]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
mov dl, 1
xor ecx, eax
mov r8d, ecx
sar r8d, 0x1f
and r8d, 0x4c11db7
lea eax, [rcx + rcx]
xor r8d, eax
mov dword [r11], r8d
xor r9d, r9d
nop dword [rax]
test r8b, 1
je 0x1400065ea
movzx eax, dl
mov ecx, 0x20
sub ecx, eax
mov eax, 1
shl eax, cl
or r9d, eax
shr r8d, 1
inc dl
cmp dl, 0x21
jb 0x1400065d0
mov dword [r11], r9d
inc r10d
add r11, 4
cmp r10d, 0xff
jbe 0x140006510
ret
Function at 0x1400091b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400091e3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000922a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009225
nop
cmp rbx, rcx
jae 0x14000922a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140009210
cmp rbx, rcx
jb 0x14000922e
xor eax, eax
jmp 0x14000923a
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140009e20
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x458
mov rax, qword [0x1402cb768]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140009980
mov r9d, 0x400
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x40]
mov r8d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.1401e2c78
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401d87c0
add rsp, 0x458
pop rdi
pop rbx
ret
Function at 0x14000b6b0
Capabilities:
Enumerate system firmware tables
Get system firmware table

Disassembly:
push rdi
sub rsp, 0x240
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x250], rbx
mov rax, qword [0x1402cb768]
xor rax, rsp
mov qword [rsp + 0x230], rax
call fcn.1400311c4
mov rcx, rax
test rax, rax
jne 0x14000b6f4
mov ecx, 0x80004005
call fcn.140009c20
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x30]
call fcn.1401de4e0
mov r8d, 0x200
lea rdx, [rsp + 0x30]
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4746434d
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x14000b804
mov r9d, eax
lea r8, [rsp + 0x30]
mov edx, 0x4746434d
mov ecx, 0x41435049
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov rax, qword [rsp + 0x34]
mov edi, eax
sub rdi, 0x2c
shr rdi, 4
mov r8d, eax
lea rdx, str.PciEcamGetEcamBaseAddress:_MCFG_Length___d
lea rcx, [rsp + 0x20]
call fcn.140009a90
mov r9, qword [rsp + 0x20]
mov r8d, 0x16d
lea rdx, str.PciEcamInit_WINAPI
lea rcx, str._r_n_s:_d:__s
call fcn.140009e20
mov r8d, edi
lea rdx, str.PciEcamGetEcamBaseAddress:_CBAS_Number___d
lea rcx, [rsp + 0x20]
call fcn.140009a90
mov rbx, qword [rsp + 0x20]
mov r9, rbx
mov r8d, 0x16f
lea rdx, str.PciEcamInit_WINAPI
lea rcx, str._r_n_s:_d:__s
call fcn.140009e20
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp edi, eax
cmova edi, eax
mov dword [0x1402de094], edi
mov r8d, edi
shl r8, 4
lea rdx, [rsp + 0x5c]
lea rdi, [0x1402de0a0]
mov rcx, rdi
call fcn.1401ddfa0
jmp 0x14000b806
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000b821
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401d87c0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14000be90
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov dl, 1
call fcn.14001b4e0
test eax, eax
jne 0x14000beb0
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140034e9c
call qword [0x1402cc459]
mov rcx, qword [0x1402cc449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x1402816d8]
mov qword [0x1402cc449], 0
mov byte [0x1402cc448], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x1402816e8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.asmfilter64.cat
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.ASMXu424FW.rom
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140280ee8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.devconAMD64.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140281728]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]

Function at 0x14000c3a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialogEx.virtual_720
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140035d47
cmp dword [rcx + 0xe8], 0
jne 0x140035d47
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140037994
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400360fc
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000cc70
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x1a0
mov qword [r11 - 0x128], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1402cb768]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx r14d, dl
xor edx, edx
mov r8d, 0xff
lea rcx, [r11 - 0x118]
call fcn.1401de4e0
lea rcx, [rsp + 0x58]
call fcn.140037c70
nop
call fcn.1400311c4
mov rcx, rax
test rax, rax
jne 0x14000cce4
mov ecx, 0x80004005
call fcn.140009c20
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, str.ASM4242Version.txt
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [rsi + 6]
lea rcx, str.ASM4242Version.txt
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
lea r8d, [rsi + 2]
lea rdx, str.ASM4242Version.txt
lea rcx, [rsp + 0x58]
call fcn.14003852c
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax + 0x58]
xor dil, dil
or rbp, 0xffffffffffffffff
test r14b, r14b
je 0x14000ce5e
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x90]
call fcn.1401de4e0
mov rax, qword [0x1402de1f0]
movzx ecx, byte [rsi + rax + 0x1071]
movzx edx, byte [rsi + rax + 0x1070]
movzx r10d, byte [rsi + rax + 0x106f]
movzx r11d, byte [rsi + rax + 0x106e]
movzx ebx, byte [rsi + rax + 0x106d]
movzx r9d, byte [rsi + rax + 0x106c]
movzx r8d, dil
inc r8d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea rdx, str._02d:_02X_02X_02X__02X_02X__02X_r_n
lea rcx, [rsp + 0x50]
call fcn.140009a90
mov rbx, qword [rsp + 0x50]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
mov r8, rbx
lea rcx, [rsp + 0x90]
call fcn.14000d560
lea rax, [rsp + 0x90]
mov r8, rbp
inc r8
cmp byte [rax + r8], 0
jne 0x14000ce25
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.1400388fc
lea rcx, [rsp + 0x58]
call fcn.140038400
inc dil
add rsi, 0x40e
cmp dil, r14b
jb 0x14000cd80
lea rcx, [rsp + 0x58]
call fcn.14003810c
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14000ce81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.140037da4
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d87c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000d330
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov dl, 1
mov rbx, rcx
call fcn.14001b4e0
test eax, eax
jne 0x14000d355
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140034e9c
call qword [0x1402cc459]
mov rcx, qword [0x1402cc449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x1402816d8]
mov qword [0x1402cc449], 0
mov byte [0x1402cc448], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x1402816e8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.asmfilter64.cat
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.ASMXu424FW.rom
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140280ee8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.devconAMD64.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140281728]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [rbx + 0x170], 0
je case.default.0x14000d3e5
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140036914
jbe case.0x14012e5d1.100
sub bh, byte [rbx - 0x44e20268]
mov ebx, 0xbb1dfd98
mov edi, dword [0x179ef9ed9]
xor ecx, dword [r10 + 0x33]
push rdi
mov bl, 0x52
xchg esp, eax
invalid
loop 0x1404df579
sbb esp, dword [rsi + 0x31b94c34]
pop rsp
imul ebp, dword [rdx + 0x58969796], 0xffffffab
stosd dword [rdi], eax
stosq qword [rdi], rax
push rcx
stosd dword [rdi], eax
jmp 0x1404df523
invalid
Function at 0x140019810
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov r8d, edx
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14001985e
mov dword [rsp + 0x30], eax
lea rdx, str.CsupdDlg::KillProcess
mov dword [rsp + 0x28], eax
lea rcx, str._r_n_s:_d:_KillProcess:_hProcess__NULL___pId:_x___exitCode:_x___dwErrorCode:_d
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, 0x1762
call fcn.140009e20
xor al, al
jmp 0x14001987b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret