joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20008e74
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.200074a0
mov eax, dword [0x2000e594]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.2000418f
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x20008fa9
push 2
push esi
push dword [ebp + 8]
call fcn.2000418f
add esp, 0xc
cmp eax, ebx
je 0x20008fa9
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x20008f49
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.20003420
push 0x8000
push dword [ebp + 8]
call fcn.200099b6
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x20008eff
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.20003a58
add esp, 0xc
cmp eax, 0xffffffff
je 0x20008f1f
sub edi, eax
test edi, edi
jg 0x20008ef7
jmp 0x20008f37
call fcn.20003754
cmp dword [eax], 5
jne 0x20008f34
call fcn.2000374b
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.200099b6
pop ecx
pop ecx
jmp 0x20008f91
jge 0x20008f91
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.2000418f
push dword [ebp + 8]
call fcn.20005b78
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x20008f91
call fcn.2000374b
mov dword [eax], 0xd
call fcn.20003754
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.2000418f
add esp, 0xc
mov eax, esi
pop edi
jmp 0x20008fab
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.20005a6f
leave
ret
Function at 0x20009a7e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.200074a0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x20009b19
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x2000eba8]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x20009b19
cmp eax, 1
je 0x20009b3a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x20009b19
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x20009ae6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x20009b15
xor eax, eax
inc eax
jmp 0x20009b59
cmp edi, eax
jae 0x20009b1d
xor eax, eax
jmp 0x20009b59
cmp eax, esi
jae 0x20009b24
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x2000eba8]
jmp 0x20009b3d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40181c
Capabilities:
Hash data using murmur3

Disassembly:
ror ecx, 0x10
mov dword [ebp - 0x74], ecx
pop ebx
pop esi
pop edi
ret
push edi
push esi
push ebx
mov ebx, dword [ebp - 0x60]
test ebx, ebx
rol ebx, 0xf
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x20]
test ebx, eax
ror eax, 0x11
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x200000
rol ecx, 0xd
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x24]
test edi, eax
rol eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x800000
ror ecx, 0x15
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x2c]
test edi, eax
rol eax, 0x12
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x8000000
ror ecx, 0x19
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x38]
test esi, eax
ror eax, 0xc
cmp ecx, eax
jne 0x4018d4
mov ecx, 0x1000
ror ecx, 0xa
add ebx, ecx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
test esi, eax
rol eax, 0xf
cmp ecx, eax
jne 0x4018d4
jmp 0x401990
xor ecx, eax
xor esi, esi
mov edx, 0xff
ror edx, 8
jmp 0x401a00
cmp ecx, esi
je 0x401990
mov ecx, esi
jmp 0x401808
inc ecx
jmp 0x401808
mov edi, eax
and edi, edx
cmp edi, edx
jne 0x40197c
shl ecx, 8
shl eax, 8
jmp 0x401a00
Function at 0x6a1710
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.006e5330
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp + 0xc]
mov edx, 0x1000
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x100c]
push 0xffd
call fcn.006a16d0
add esp, 0x10
lea esi, [ebp - 0x100c]
test eax, eax
mov ecx, 0xffd
cmovs eax, ecx
add esi, eax
lea eax, [ebp - 0x100c]
cmp esi, eax
jbe 0x6a1784
movsx eax, byte [esi - 1]
push eax
call fcn.0070278b
add esp, 4
test eax, eax
je 0x6a1784
dec esi
lea eax, [ebp - 0x100c]
mov byte [esi], 0
cmp esi, eax
ja 0x6a1765
lea eax, [ebp - 0x100c]
mov word [esi], 0xa0d
push eax
mov byte [esi + 2], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.006e402d
mov esp, ebp
pop ebp
ret

Function at 0x6a1cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov ebx, edx
lea eax, [ebp - 0xc]
mov edi, ecx
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6a1d81
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x6a1d17
cmp eax, 2
je 0x6a1d17
cmp eax, 7
jne 0x6a1d81
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.006e45af
mov esi, eax
add esp, 4
test esi, esi
je 0x6a1d81
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push ebx
push edi
mov byte [ecx + esi], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test eax, eax
jne 0x6a1d65
mov edx, esi
lea edi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x6a1d52
mov ecx, dword [ebp - 0x10]
sub edx, edi
push edx
push esi
call fcn.006974f0
push esi
call fcn.006e403e
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e402d
mov esp, ebp
pop ebp
ret

Function at 0x6a1da0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, ecx
push 0
push 0
push 0
lea esi, [edi + 8]
mov dword [edi + 4], 0
push esi
lea ecx, [ebp - 8]
mov dword [esi], 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, eax
mov eax, dword [esi]
inc eax
mov dword [esi], eax
test ecx, ecx
je 0x6a1e0a
push dword [edi + 4]
mov dword [edi + 8], 0
call fcn.006e403e
mov dword [edi + 4], 0
jmp 0x6a1e13
push eax
call fcn.006e45af
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.006e402d
mov esp, ebp
pop ebp
ret 4
Function at 0x6a45b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71de93
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x74a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x75dc6c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], 0x7350cc
mov dword [ecx], 0x75dc6c
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x7348dc
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.006a3700
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6a4da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71dfb9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x74a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x20], 0x75dc6c
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 5
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x2c]
mov dword [ebx], 0x735304
mov dword [ecx], 0x75dc6c
mov dword [ebx + 0x30], 0x75dc6c
mov dword [ebx + 0x34], 0x75dc6c
push 3
push 0x735024
mov byte [ebp - 4], 3
call fcn.006a3700
push 5
push str.UTF_8
lea ecx, [ebx + 0x30]
call fcn.006a3700
push 2
push 0x735018
lea ecx, [ebx + 0x34]
call fcn.006a3700
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6acc60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x41
mov dword [ebp - 0x94], eax
mov edi, ecx
lea eax, [ebp - 0x48]
xor bh, bh
push 0
push eax
call fcn.006fbfe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, byte [ebp - 0x47]
mov dword [ebp - 0x4c], eax
cmp bl, 2
jne 0x6accb2
test bh, bh
jne 0x6acd57
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x41
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.006fbfe0
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x90]
add esp, 0xc
mov word [ebp - 0x90], 0x82ec
mov eax, dword [ecx]
push 0x41
push edx
call dword [eax + 4]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x90]
mov byte [ebp - 0x8f], 2
push 0x41
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movups xmm0, xmmword [ebp - 0x90]
mov bh, al
push dword [edi + 8]
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ebp - 0x38], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x4c]
cmp eax, 0x7d0
ja 0x6acd53
mov bl, byte [ebp - 0x47]
cmp bl, 2
je 0x6acd53
push 0x1e
call esi
jmp 0x6acca5
test bh, bh
je 0x6acd71
mov ecx, dword [ebp - 0x3b]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], ecx
call fcn.007043d1
mov ecx, dword [ebp - 0x94]
add esp, 4
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov al, bh
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e402d
mov esp, ebp
pop ebp
ret 4
Function at 0x6acd90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x41
mov dword [ebp - 0x50], eax
mov edi, ecx
lea eax, [ebp - 0x94]
xor bl, bl
push 0
push eax
call fcn.006fbfe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov bh, byte [ebp - 0x93]
mov dword [ebp - 0x4c], eax
cmp bh, 3
jne 0x6acde5
test bl, bl
jne 0x6ace81
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x41
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.006fbfe0
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x48]
add esp, 0xc
mov word [ebp - 0x48], 0x83ec
mov eax, dword [ecx]
push 0x41
push edx
call dword [eax + 4]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x48]
mov byte [ebp - 0x47], 3
push 0x41
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movups xmm0, xmmword [ebp - 0x48]
mov bl, al
push dword [edi + 8]
movups xmmword [ebp - 0x94], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x4c]
cmp eax, 0x7d0
ja 0x6ace7d
mov bh, byte [ebp - 0x93]
cmp bh, 3
je 0x6ace7d
push 0x1e
call esi
jmp 0x6acdd8
test bl, bl
je 0x6ace8d
mov eax, dword [ebp - 0x50]
movzx ecx, byte [ebp - 0x8f]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006e402d
mov esp, ebp
pop ebp
ret 4
Function at 0x6b3080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71ed20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x74a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x737044
call fcn.006e42f4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.006e2653
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6b6c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71f0c7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x74a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x75dca4]
test eax, eax
jne 0x6b6ceb
push 0x75dcac
mov dword [ebp - 0x10], 0x75dcac
call fcn.006e31e0
add esp, 4
test eax, eax
je 0x6b6c64
push eax
call fcn.006e2c20
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [0x75dca4]
test esi, esi
jne 0x6b6cc8
push 4
call fcn.006e42f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.006b6d00
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [0x75dc7c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x75dc78
push 0
push esi
push 0x6b6850
push 0
push 0
call fcn.0070541b
add esp, 0x18
mov dword [0x75dca4], esi
push 0x75dcac
mov dword [ebp - 4], 2
call fcn.006e3205
add esp, 4
test eax, eax
je 0x6b6ce9
push eax
call fcn.006e2c20
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6b72c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x5c
mov eax, dword [0x74a06c]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push 9
push str.EnableLog
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
call fcn.006974f0
mov esi, dword [0x74aaac]
lea eax, [esp + 0xc]
push eax
push 0x20119
push 0
push str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0x80000002
movaps xmmword [esp + 0x44], xmm0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6b7366
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 0
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
cmove esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x735004
call fcn.006a1f80
mov edx, dword [esp + 0x2c]
cmp edx, 0x10
jb 0x6b73a9
mov ecx, dword [esp + 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6b739f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6b73bb
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.006e402d
mov esp, ebp
pop ebp
ret
call fcn.00702432
int3
Function at 0x6b7630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71f203
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x15c
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x164], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], 0
push 7
push str.LogPath
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
call fcn.006974f0
push 0x74aafc
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 1
call fcn.00697160
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x148], 0x735004
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov byte [ebp - 4], 3
mov ecx, esi
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x7348dc
mov byte [esi], 0
call fcn.006974f0
lea eax, [ebp - 0x164]
mov dword [ebp - 0x168], 1
push eax
push 0x20119
push 0
push str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
push 0x80000002
mov dword [ebp - 0x134], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6b77b7
cmp dword [ebp - 0x14c], 0x10
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push 0
lea eax, [ebp - 0x160]
cmovae eax, dword [ebp - 0x160]
push 0
push eax
push dword [ebp - 0x164]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6b77b7
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6b77a5
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
jmp 0x6b77d5
lea eax, [ebp - 0x130]
cmp esi, eax
je 0x6b77dd
cmp dword [ebp - 0x11c], 0x10
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
mov ecx, esi
call fcn.006974f0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 0x735004
call fcn.006a1f80
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x6b7828
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6b781e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6b787d
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov edx, dword [ebp - 0x14c]
cmp edx, 0x10
jb 0x6b785e
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6b7854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6b7882
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00702432
call fcn.00702432
int3
Function at 0x6b7de0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x74a06c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [0x74aaac]
mov edx, dword [ebp + 8]
push esi
test eax, eax
jle 0x6b7e97
cmp eax, dword [ebp + 0xc]
jl 0x6b7e97
mov ecx, edx
mov dword [esp + 0x14], 0
xor eax, eax
mov dword [esp + 0x18], 7
mov word [esp + 4], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6b7e30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.006973a0
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [esp + 0x18]
cmp edx, 8
jb 0x6b7e97
mov ecx, dword [esp + 4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6b7e8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6b7ea9
push edx
push ecx
call fcn.006e45a1
add esp, 8
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.006e402d
mov esp, ebp
pop ebp
ret 8
call fcn.00702432
int3

Function at 0x6b97e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x74a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x6b9881
cmp byte [esi + 0x3d], 0
je 0x6b9881
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x6b9837
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x6b9849
sub eax, 1
je 0x6b984d
sub eax, 2
je 0x6b9881
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x6b986a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00705c8e
add esp, 0x10
cmp edi, eax
jne 0x6b9837
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006e402d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.006e402d
mov esp, ebp
pop ebp
ret