joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400164c0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140016508
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400febc0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x1400164ee

Function at 0x140018d20
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x140018d4c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400199c0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400b91c0], 0
jne 0x140019ac6
mov byte [0x1400b91c0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x140019a9c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x140019a8d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400d31c1]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140019a88
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x140019a57
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x140019b5b
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140019ac1
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140019ac1
Function at 0x140079b40
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140079b88
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140079b5a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008d560
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008d588
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008d5d0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008d5a0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008d5dc
call rbp
cmp dword [rax], 4
je 0x14008d5a0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b45c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b91e0]
jmp sym.__emutls_get_address

Function at 0x1400b45d0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b91e0]
jmp sym.__emutls_get_address
Function at 0x140005cc0
Capabilities:
Hash data using crc32b

Disassembly:
xor r10d, r10d
lea r11, [0x1402dabc0]
nop word [rax + rax]
mov r8d, r10d
xor r9d, r9d
mov al, 1
test r8b, 1
je 0x140005cf2
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 0x140005cd8
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 0x140005daa
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 0x140005d90
mov dword [r11], r9d
inc r10d
add r11, 4
cmp r10d, 0xff
jbe 0x140005cd0
ret
Function at 0x140008970
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 0x1400089a3
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 0x1400089ea
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400089e5
nop
cmp rbx, rcx
jae 0x1400089ea
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400089d0
cmp rbx, rcx
jb 0x1400089ee
xor eax, eax
jmp 0x1400089fa
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 0x1400095e0
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 [0x1402c8768]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rdi, [r11 + 0x10]
call fcn.140009140
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.1401e0ba8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401d66f0
add rsp, 0x458
pop rdi
pop rbx
ret
Function at 0x14000ae70
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 [0x1402c8768]
xor rax, rsp
mov qword [rsp + 0x230], rax
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000aeb4
mov ecx, 0x80004005
call fcn.1400093e0
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.1401dc410
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 0x14000afc4
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.140009250
mov r9, qword [rsp + 0x20]
mov r8d, 0x16d
lea rdx, str.PciEcamInit_WINAPI
lea rcx, str._r_n_s:_d:__s
call fcn.1400095e0
mov r8d, edi
lea rdx, str.PciEcamGetEcamBaseAddress:_CBAS_Number___d
lea rcx, [rsp + 0x20]
call fcn.140009250
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.1400095e0
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp edi, eax
cmova edi, eax
mov dword [0x1402dafc4], edi
mov r8d, edi
shl r8, 4
lea rdx, [rsp + 0x5c]
lea rdi, [0x1402dafd0]
mov rcx, rdi
call fcn.1401dbed0
jmp 0x14000afc6
xor edi, edi
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000afe1
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.1401d66f0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14000b7e0
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 [0x1402c8768]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx r14d, dl
xor edx, edx
mov r8d, 0xff
lea rcx, [r11 - 0x118]
call fcn.1401dc410
lea rcx, [rsp + 0x58]
call fcn.140035a44
nop
call fcn.14002ef9c
mov rcx, rax
test rax, rax
jne 0x14000b854
mov ecx, 0x80004005
call fcn.1400093e0
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.14003635c
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 0x14000b9ce
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x90]
call fcn.1401dc410
mov rax, qword [0x1402db120]
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.140009250
mov rbx, qword [rsp + 0x50]
mov eax, dword [rbx - 0x10]
inc eax
movsxd rdx, eax
mov r8, rbx
lea rcx, [rsp + 0x90]
call fcn.14000bf60
lea rax, [rsp + 0x90]
mov r8, rbp
inc r8
cmp byte [rax + r8], 0
jne 0x14000b995
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.14003672c
lea rcx, [rsp + 0x58]
call fcn.1400361d4
inc dil
add rsi, 0x40e
cmp dil, r14b
jb 0x14000b8f0
lea rcx, [rsp + 0x58]
call fcn.140035ee0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14000b9f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call fcn.140035b78
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401d66f0
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 0x14000ba30
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov dl, 1
mov rbx, rcx
call fcn.140019c20
test eax, eax
jne 0x14000ba55
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140032c64
call qword [0x1402c9459]
mov rcx, qword [0x1402c9449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x14027f748]
mov qword [0x1402c9449], 0
mov byte [0x1402c9448], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x14027f758]
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, [0x14027eed8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.devconAMD64.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x14027f798]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [rbx + 0x170], 0
je case.default.0x14000bae5
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.140034d8c
xor al, 0x48
sbb ah, byte [rbx]
xchg ebx, eax
leave
fisub dword [rbx + rbp*2 - 0x4e]
invalid

Function at 0x14000bb00
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov dl, 1
call fcn.140019c20
test eax, eax
jne 0x14000bb20
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140032c64
call qword [0x1402c9459]
mov rcx, qword [0x1402c9449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [0x14027f748]
mov qword [0x1402c9449], 0
mov byte [0x1402c9448], 0
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x14027f758]
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, [0x14027eed8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, str.devconAMD64.exe
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x14027f798]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_DeleteFileA]

Function at 0x14000bf50
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 0x1400341b7
cmp dword [rcx + 0xe8], 0
jne 0x1400341b7
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.140033c28
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.14003456c
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 0x140016460
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov dl, 1
mov rsi, rcx
call fcn.140019c20
test eax, eax
jne 0x140016487
xor r8d, r8d
lea rcx, str.ENABLE_PowerSaving_fail.
xor edx, edx
call fcn.140032c64
call qword [0x1402c9459]
mov rcx, qword [0x1402c9449]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rdi, [rsi + 0x26f0]
mov qword [0x1402c9449], 0
mov rdx, rdi
mov byte [0x1402c9448], 0
lea r8, [0x14027f748]
lea rcx, [rsp + 0x60]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400164f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027f758]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x68]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001652c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.asmfilter64.cat
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x70]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016567
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.ASMXu424FW.rom
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x78]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400165a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027eed8]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x20]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400165dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.devconAMD64.exe
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x28]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140016618
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14027f798]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140009e30
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140016651
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
jmp fcn.140034d8c
Function at 0x140017f50
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 0x140017f9e
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, 0x16f2
call fcn.1400095e0
xor al, al
jmp 0x140017fbb
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
Function at 0x140021240
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400207e6
xor eax, eax
add rsp, 0x28
ret
call fcn.1400207f8
mov rcx, rax
add rsp, 0x28
jmp 0x140021240
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402cf4d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402cf4c8]
test eax, eax
je 0x14002128b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402cf4c8]
test eax, eax
jne 0x140021294
call fcn.14002154c
test eax, eax
je 0x1400212b0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402c7008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400212b8
xor eax, eax
jmp 0x14002131d
test rbx, rbx
jne 0x1400212d8
lea rcx, str.ImageList_Destroy
call fcn.140021084
mov rbx, rax
test rax, rax
je 0x1400212eb
mov qword [0x1402cf4d8], rax
mov rcx, rbx
call fcn.1401d7360
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140021300
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140021302
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002131b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140021334
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402cf4e0]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x1402cf4c8]
test eax, eax
je 0x140021391
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402cf4c8]
test eax, eax
jne 0x14002139a
call fcn.14002154c
test eax, eax
je 0x1400213b6
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402c7008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400213c1
xor eax, eax
jmp 0x140021454
test rbx, rbx
jne 0x1400213e1
lea rcx, str.ImageList_LoadImageA
call fcn.140021084
mov rbx, rax
test rax, rax
je 0x140021420
mov qword [0x1402cf4e0], rax
mov rcx, rbx
call fcn.1401d7360
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x140021436
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140021438
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140021451
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x140024338
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x1400243a0
call fcn.140033c28
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x1400243a0
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400243c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14004d7c8
mov esi, eax
test rdi, rdi
je 0x1400243c0
test rbx, rbx
je 0x1400243c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret