joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46aca0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x30], r14
mov rax, qword [r14 + 0x30]
inc dword [rax + 0xd8]
mov byte [r14 + 0xbf], 1
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rax, qword [r14 + 0x30]
mov rcx, qword [rax + 0xa0]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 0x2b4], ecx
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
inc dword [rax + 0x14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x18], rax
call fcn.00449ae0
mov qword [rsp + 0x20], rax
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441d20
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
mov qword [rax + 0x70], rcx
mov rdx, qword [rax + 0x40]
mov qword [rax + 0x78], rdx
mov rdx, qword [rax + 0x68]
mov qword [rax + 0x80], rdx
cmp qword [rax], rcx
ja 0x46ad46
nop word [rax + rax]
cmp qword [rax + 8], rcx
jae 0x46ad94
mov rdx, qword [rax + 0x38]
lea rbx, [0x004426a0]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x18]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x50]
mov qword [rsp], rcx
call fcn.00470880
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x30]
mov ebx, 2
mov ecx, 3
nop
call fcn.0043b820
mov rdx, qword [rsp + 0x30]
mov rsi, qword [rdx + 0x70]
cmp qword [rdx], rsi
ja 0x46adb9
cmp qword [rdx + 8], rsi
jae 0x46adfc
lea rax, [0x004425a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
nop dword [rax]
call fcn.00470880
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rdx + 0x80]
test rax, rax
je 0x46ae0d
cmp qword [rdx], rax
ja 0x46ae13
cmp qword [rdx + 8], rax
jae 0x46ae4e
lea rax, [0x004424a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x38]
mov qword [rsp], rax
call fcn.00470880
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00709b20]
mov qword [rsp], rax
call fcn.00470880
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
nop dword [rax]
call fcn.00449ae0
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rax, qword [rsp + 0x80]
call fcn.00441d20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x78
pop rbp
ret
Function at 0x46db20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x46dc97
movzx edx, byte [rax]
test edx, edx
jne 0x46db54
nop dword [rax]
test r8b, r8b
jne 0x46db54
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x46db67
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x46dc57
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x46dc45
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x46dc37
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x46dbbd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x46dc00
mov eax, 1
cmp rax, rbx
ja 0x46dbeb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00472d40
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x46dc2f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x46dbf3
mov rcx, r11
mov eax, r12d
jmp 0x46dbc2
mov rcx, rbx
call fcn.00472c80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00472c80
mov eax, r8d
mov rcx, rbx
call fcn.00472d40
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x46dc8d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x46dc50
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x46db6d
mov eax, edx
mov rcx, rbx
call fcn.00472c80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00472c80
nop
int3

Function at 0x46f280
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46f32f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045a240]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00470880
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004709a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0046f280
Function at 0x513340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x513486
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x513476
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.0051e600
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x51345b
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x513471
cmp rsi, rcx
ja 0x513469
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x513461
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.0051e740
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.00472d40
mov rax, rsi
call fcn.00472d40
call fcn.00472d00
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.00472d00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.004709a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.00513340
Function at 0x5134e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x513626
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdi
nop dword [rax]
cmp rcx, r9
jb 0x513616
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rax
mov qword [rsp], rax
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r8
call fcn.0051e6a0
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x5135fb
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
sar rbx, 1
lea rcx, [rsi + rbx]
mov rdx, qword [rsp + 0x70]
cmp rdx, rcx
jb 0x513611
cmp rsi, rcx
ja 0x513609
sub rdx, rsi
mov rdi, rdx
neg rdx
mov r8, rsi
shl rsi, 3
sar rdx, 0x3f
and rsi, rdx
mov rdx, qword [rsp + 0x60]
add rdx, rsi
mov rcx, qword [rsp + 0x68]
cmp rcx, r8
jb 0x513601
mov qword [rsp], rdx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], rdx
sub rcx, r8
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
call fcn.0051e7e0
xorps xmm15, xmm15
mov r14, qword [0x03afad10]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x50
pop rbp
ret
mov rax, r8
call fcn.00472d40
mov rax, rsi
call fcn.00472d40
call fcn.00472d00
mov rdx, rcx
mov rcx, r9
nop dword [rax]
call fcn.00472d00
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.004709a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.005134e0
Function at 0x14012efe0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14012efed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14012effd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14012efe5
lea eax, [rcx + 1]
jmp 0x14012f00b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14012f01e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14012f004
sub eax, 3
jb 0x14012f03e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14012f08d
sar eax, 1
movsxd rbp, eax
jb 0x14012f074
jmp 0x14012f04c
add ebx, ebx
jne 0x14012f04a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14012f074
inc ecx
add ebx, ebx
jne 0x14012f05a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14012f074
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14012f06d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14012f05c
add ecx, 2
jmp 0x14012f079
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14012efa2
jmp 0x14012efed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb2c00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14012f0dd
cmp rsi, rcx
jae 0x14012f0e5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14012f0c4
cmp al, 0x8f
ja 0x14012f0c4
cmp byte [rsi - 2], 0xf
je 0x14012f0ca
sub al, 0xe8
cmp al, 1
ja 0x14012f0ae
cmp rsi, rcx
jae 0x14012f0e5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14012f0b4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14012f0e5
lodsb al, byte [rsi]
jmp 0x14012f0c4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x12b000]
mov eax, dword [rdi]
or eax, eax
je 0x14012f142
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x12f4ec]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14012f0f2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14012f13c
mov qword [rbx], rax
add rbx, 8
jmp 0x14012f112
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14012f17c
cmp al, 0xef
ja 0x14012f16e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14012f14e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14012f15d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14012f1fb], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14012f1fb
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14012f1eb
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140eea40c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140eea416
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140eea43f
pop rbp
sub rbp, 0x33
sub rbp, 0xeea40c
sub rsp, 0x20
jmp 0x140eea45e
mov rax, 0xeea40c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff847c16e6
xor byte [rax], dl
inc rax
dec rcx
jne 0x140eea47d
jmp 0x140eea494
scasb al, byte [rdi]
outsd dx, dword [rsi]
invalid
Function at 0x140332690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140527598]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.140369f44
mov rbx, rax
test rax, rax
je 0x140332794
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x358], 1
call fcn.140378c94
mov edi, eax
test eax, eax
js 0x140332784
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14036ece0
test eax, eax
jne 0x14033277b
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140332750
inc eax
movsxd rcx, eax
call fcn.140369f54
mov rbx, rax
test rax, rax
je 0x14033273f
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
call fcn.140375d80
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x14033273f
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1403327b0
mov rcx, rbx
call fcn.140369ab4
mov ecx, edi
call fcn.1403763b0
jmp 0x14033278f
call fcn.140321e80
cmp eax, 2
jge 0x14033277b
mov ecx, 2
call fcn.140365b14
mov r9d, dword [rsp + 0x34]
lea rdx, str.hwloc_pci:_Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140004300
mov ecx, edi
call fcn.1403763b0
jmp 0x14033278f
mov rdx, rbx
mov rcx, rsi
call fcn.1403327b0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140343400
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x14036f884
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14036f6b0
Function at 0x140006320
Capabilities:
Hash data using crc32b

Disassembly:
xor r10d, r10d
lea r11, [0x1402bbf20]
nop word [rax + rax]
mov r8d, r10d
xor r9d, r9d
mov al, 1
test r8b, 1
je 0x140006352
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 0x140006338
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 0x14000640a
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 0x1400063f0
mov dword [r11], r9d
inc r10d
add r11, 4
cmp r10d, 0xff
jbe 0x140006330
ret
Function at 0x140008fa0
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 0x140008fd3
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 0x14000901a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140009015
nop
cmp rbx, rcx
jae 0x14000901a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140009000
cmp rbx, rcx
jb 0x14000901e
xor eax, eax
jmp 0x14000902a
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 0x140009c10
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 [0x1402aa768]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140009770
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.1401d733c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401d0680
add rsp, 0x458
pop rdi
pop rbx
ret
Function at 0x14000b4a0
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 [0x1402aa768]
xor rax, rsp
mov qword [rsp + 0x230], rax
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000b4e4
mov ecx, 0x80004005
call fcn.140009a10
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.1401d35d0
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 0x14000b5f4
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.140009880
mov r9, qword [rsp + 0x20]
mov r8d, 0x16d
lea rdx, str.PciEcamInit_WINAPI
lea rcx, str._r_n_s:_d:__s
call fcn.140009c10
mov r8d, edi
lea rdx, str.PciEcamGetEcamBaseAddress:_CBAS_Number___d
lea rcx, [rsp + 0x20]
call fcn.140009880
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.140009c10
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp edi, eax
cmova edi, eax
mov dword [0x1402bc324], edi
mov r8d, edi
shl r8, 4
lea rdx, [rsp + 0x5c]
lea rdi, [0x1402bc330]
mov rcx, rdi
call fcn.1401d3180
jmp 0x14000b5f6
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000b611
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.1401d0680
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14000bc30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [0x1402ab3b9]
mov rcx, qword [0x1402ab3a9]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x140264ec8]
mov qword [0x1402ab3a9], 0
mov byte [0x1402ab3a8], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140264ed8]
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, [0x140264718]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.devconAMD64.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140264f18]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]

Function at 0x14000c100
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 0x14002d9c3
cmp dword [rcx + 0xe8], 0
jne 0x14002d9c3
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14002f52c
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.14002dd78
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 0x14000c980
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 [0x1402aa768]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx r14d, dl
xor edx, edx
mov r8d, 0xff
lea rcx, [r11 - 0x118]
call fcn.1401d35d0
lea rcx, [rsp + 0x58]
call fcn.14002f808
nop
call fcn.140028df4
mov rcx, rax
test rax, rax
jne 0x14000c9f4
mov ecx, 0x80004005
call fcn.140009a10
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.1400300c4
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 0x14000cb6e
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x90]
call fcn.1401d35d0
mov rax, qword [0x1402bc480]
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.140009880
mov rbx, qword [rsp + 0x50]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
mov r8, rbx
lea rcx, [rsp + 0x90]
call fcn.14000d250
lea rax, [rsp + 0x90]
mov r8, rbp
inc r8
cmp byte [rax + r8], 0
jne 0x14000cb35
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140030494
lea rcx, [rsp + 0x58]
call fcn.14002ff98
inc dil
add rsi, 0x40e
cmp dil, r14b
jb 0x14000ca90
lea rcx, [rsp + 0x58]
call fcn.14002fca4
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14000cb91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.14002f93c
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d0680
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