joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ea3c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542a18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
sete al
test al, al
jne 0x4ea4cb
cmp dword [esi + 0x14], 8
jb 0x4ea404
mov eax, dword [esi]
jmp 0x4ea406
mov eax, esi
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
test eax, eax
je 0x4ea4cb
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00412e90
push ecx
push 0x575c80
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004c4030
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4ea45a
push 0x575c80
jmp 0x4ea467
mov eax, dword [ebp - 0x18]
dec eax
cmp ecx, eax
je 0x4ea46f
push 0x575c8c
lea ecx, [ebp - 0x28]
call fcn.00412840
push str.mvproductmv2accc
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00413420
add esp, 4
lea ecx, [ebp - 0x28]
push eax
call fcn.004128d0
lea ecx, [ebp - 0x40]
call fcn.00412890
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4ea4c7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004132e0
mov al, 1
jmp 0x4ea4cd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret

Function at 0x4eab60
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [esi + 0x14], 8
jb 0x4eab70
mov eax, dword [esi]
jmp 0x4eab72
mov eax, esi
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x4eabb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4eab99
mov byte [esi + 0x1c], 1
mov bl, 1
jmp 0x4eabb6
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
test bl, bl
sete bl
test bl, bl
jne 0x4eabe6
cmp byte [esi + 0x1c], bl
je 0x4eabe6
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4eabdb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
pop esi
mov al, bl
pop ebx
ret
Function at 0x4ed720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov edx, ecx
mov dword [esp + 0x14], 7
xor eax, eax
mov dword [esp + 0x10], 0
push ebx
push esi
mov word [esp + 8], ax
cmp word [edx], ax
je 0x4ed75f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ed750
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00412ae0
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
cmp eax, 8
jb 0x4ed79c
inc eax
lea ecx, [esp + 8]
push eax
push dword [esp + 0xc]
call fcn.004132e0
test bl, bl
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ed7b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f150
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x59b0a4]
cmp eax, dword [ecx + 4]
jle 0x4ed836
push 0x59b0a4
call fcn.0050cff4
add esp, 4
cmp dword [0x59b0a4], 0xffffffff
jne 0x4ed836
xor eax, eax
mov dword [0x59b0d8], 7
push 0x548340
mov dword [0x59b0d4], 0
mov word [0x59b0c4], ax
call fcn.0050d580
push 0x59b0a4
call fcn.0050cfb5
add esp, 8
cmp dword [0x59b0d8], 8
mov eax, 0x59b0c4
mov dword [0x59b0d4], 0
cmovae eax, dword [0x59b0c4]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x59b0d4], ecx
sete al
test al, al
je 0x4ed93f
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.004e0600
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ed8a6
push ecx
lea ecx, [ebp - 0x28]
call fcn.004e0c30
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004e0600
test al, al
je 0x4ed8bf
push str.OOBE
lea ecx, [ebp - 0x28]
call fcn.00412840
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ed8e1
push ecx
lea ecx, [ebp - 0x28]
call fcn.004e0c30
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x59b0c4
push eax
call fcn.00412e90
push str.temp_lbs_wid
lea ecx, [ebp - 0x40]
call fcn.00412950
push ecx
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov ecx, 0x59b0c4
call fcn.004e0b60
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x4ed92a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004132e0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4ed93f
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004132e0
mov eax, 0x59b0c4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
ret
Function at 0x4f05c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4f05cb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004f05e0
Function at 0x4f0870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5468db
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call fcn.004f0c10
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi], 4
call fcn.004f2370
mov dword [esi + 0x54], eax
lea eax, [esi + 0x50]
push eax
push 0
push esi
push 0x4f0a60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4c], eax
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 0x5061f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547649
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
cmp dword [0x599510], 0
jne 0x50623d
call fcn.004ff660
mov dword [0x599510], 0x4f4db0
mov esi, dword [ebp + 8]
mov ecx, 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.004d38d0
mov ecx, 8
call fcn.004c2f90
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edi]
push esi
mov dword [ebp - 0x10], 1
call dword [edx + 0x30]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x50a190
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547bd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x50a1ca
mov byte [esi + 0xc], 1
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ebx, [esi + 8]
push ebx
push 0x5497ec
push 1
push 0
push 0x5498bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x50a275
cmp dword [ebx], 0
je 0x50a24f
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.004c9410
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x50a223
mov edi, dword [eax]
jmp 0x50a225
xor edi, edi
mov ecx, dword [ebx]
lea eax, [esi + 4]
push eax
push 0
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push edi
push ecx
call dword [edx + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
call fcn.004c94b0
test edi, edi
js 0x50a275
mov eax, dword [esi + 4]
test eax, eax
je 0x50a271
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x50a2ab
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x50a282
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx]
test ecx, ecx
je 0x50a28e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [esi + 0xc], 0
je 0x50a29a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esi + 4], 0
mov dword [ebx], 0
mov byte [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50a8f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
pop ebp
ret
Function at 0x53010b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052fdce

Function at 0x530116
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052ff4f

Function at 0x534865
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00534525
Function at 0x11000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push str.driver_enter__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0x11060
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x111a0
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0x111a0
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 0x111f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.000110d0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x110d0
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push str.DeviceMyDevice
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x22
lea ecx, [ebp - 0x24]
push ecx
push 0x14
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x11119
mov eax, dword [ebp - 0x18]
jmp 0x1118e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
or ecx, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 8], eax
push str.__MyDevice
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x1118c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x18]
jmp 0x1118e
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x11290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.DriverIPSec
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x13004
push 0
push 0
mov ecx, dword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov edx, dword [ecx]
push edx
push 0
push 0
push 0x40
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x112e2
push str.failed_
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x1131f
mov ecx, dword [0x13004]
push ecx
push str.0x_X
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov edx, dword [0x13004]
mov eax, dword [edx + 0x70]
mov dword [section..data], eax
mov ecx, dword [0x13004]
mov dword [ecx + 0x70], 0x11330
mov ecx, dword [0x13004]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4275b0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x4275d8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4275e7
mov eax, 1
ret 4

Function at 0x428240
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x434158]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x428850
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x428893
cmp eax, 0x40
je 0x428885
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x4288d8
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x40a03c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push 0x90
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00405370
add esp, 0xc
mov dword [ebp - 0x98], 0x94
call fcn.004010a0
test eax, eax
jne 0x40108c
push esi
call fcn.004011e0
add esp, 4
test eax, eax
je 0x40108c
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40108c
cmp dword [ebp - 0x94], 6
jb 0x40108c
cmp dword [ebp - 0x90], 1
jae 0x401079
call fcn.00401340
test eax, eax
je 0x40108c
call fcn.00401400
push 0
call fcn.00401670
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00401a80
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4011e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
xor ebx, ebx
mov edi, 1
push edi
push ebx
push str.SOFTWAREATIACESETTINGSCLI
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x401259
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 0x10]
push edx
push ebx
push str.DELAY
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ade
mov ecx, dword [ebp - 8]
add esp, 4
lea edx, [ebp - 4]
push edx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.DELAY
push ecx
call esi
mov esi, eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x401317
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401b74
add esp, 4
cmp eax, 0xffffffff
jge 0x40128c
neg eax
cmp eax, 0x12c
jle 0x4012c4
mov eax, 0x12c
jmp 0x4012c8
jne 0x40127e
mov eax, dword [ebp + 8]
mov ecx, str.MSRun
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4012b6
test dl, dl
je 0x4012b2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4012b6
add eax, 2
add ecx, 2
test dl, dl
jne 0x401296
xor eax, eax
jmp 0x4012bb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401317
mov dword [ebp - 0x14], edi
jmp 0x401317
cmp eax, ebx
jle 0x401317
imul eax, eax, 0x3e8
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov edi, eax
call esi
test eax, eax
je 0x401317
mov ebx, 0x113
cmp dword [ebp - 0x2c], ebx
jne 0x4012fc
cmp edi, dword [ebp - 0x28]
je 0x40130e
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
call esi
test eax, eax
jne 0x4012f2
jmp 0x401317
push edi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x40132a
push eax
call fcn.00401b7f
add esp, 4
xor eax, eax
cmp dword [ebp - 0x14], eax
sete al
mov esp, ebp
pop ebp
ret
Function at 0x401670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SOFTWAREATIACEPACKAGESCORE_STATIC
push 0x80000002
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4016e3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
push ecx
push eax
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 8]
push str.LOCATION
push eax
call esi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ade
mov ecx, dword [ebp - 8]
add esp, 4
lea edx, [ebp - 4]
push edx
mov edi, eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push str.LOCATION
push ecx
call esi
jmp 0x4016e6
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x40171d
push 6
mov dword [ebp - 4], 6
call fcn.00401ade
mov esi, eax
mov eax, dword [ebp - 4]
push 0x4092c4
push eax
push esi
call fcn.00401c58
add esp, 0x10
jmp 0x4017b3
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401722
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
mov eax, edi
lea edx, [eax + 1]
jne 0x401770
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401737
sub eax, edx
add eax, 6
push eax
mov dword [ebp - 4], eax
call fcn.00401ade
mov ecx, dword [ebp - 4]
push 0x4092c4
mov esi, eax
push ecx
push esi
call fcn.00401c58
mov edx, dword [ebp - 4]
push edi
push edx
push esi
call fcn.00401cb7
add esp, 0x1c
jmp 0x4017b3
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401770
sub eax, edx
add eax, 7
push eax
mov dword [ebp - 4], eax
call fcn.00401ade
mov esi, eax
mov eax, dword [ebp - 4]
push 0x4092c4
push eax
push esi
call fcn.00401c58
mov ecx, dword [ebp - 4]
push edi
push ecx
push esi
call fcn.00401cb7
mov edx, dword [ebp - 4]
push 0x4092c8
push edx
push esi
call fcn.00401cb7
add esp, 0x28
mov eax, dword [ebp - 4]
push 0x40928c
push eax
push esi
call fcn.00401cb7
mov ecx, dword [ebp - 4]
push 0x4092c4
push ecx
push esi
call fcn.00401cb7
add esp, 0x18
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4017e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x40b850]
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWAREATIACESETTINGSCLI
push ecx
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40185a
mov edx, dword [ebp - 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
lea ecx, [ebp - 4]
call fcn.00401870
test eax, eax
jne 0x401852
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea esi, [eax + 1]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push ecx
push 0x40b84c
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40184c
xor esi, esi
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret