joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041f3
Capabilities:
Set registry value

Disassembly:
push 0x50
mov eax, 0x436db0
call fcn.00424764
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push 4
call fcn.00406230
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x404223
push eax
call fcn.00415c98
jmp 0x404225
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x451378], eax
push dword [eax]
call fcn.0040adcd
pop ecx
mov dword [ebp - 4], ebx
jmp 0x404247
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, eax
push eax
lea esi, [ebp + 8]
call fcn.0040e38d
push eax
push 1
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAdvanced_System_Repair_Pro
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.NotifUpdate
call fcn.0040e688
mov byte [ebp - 4], 4
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.00402eb4
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.FirstScanDone
call fcn.0040e688
mov byte [ebp - 4], 5
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.00402eb4
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, str.LastDriverFix
call fcn.0040e688
mov byte [ebp - 4], 6
push dword [0x451378]
mov byte [ebp - 4], bl
call fcn.00402eb4
mov byte [ebp - 4], 7
cmp byte [ebp + 0xc], bl
je 0x404370
lea eax, [ebp - 0x5c]
push eax
call fcn.004141f7
mov byte [ebp - 4], 8
push 0x27
lea eax, [ebp - 0x14]
push eax
call fcn.004043a6
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
call fcn.004141f7
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push eax
call fcn.004141f7
mov byte [ebp - 4], 0xb
mov esi, dword [esi]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
je 0x40433d
push eax
push esi
call fcn.00410798
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push eax
call fcn.0041c351
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
call fcn.0041c351
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.0040d08f
mov byte [ebp - 4], 7
lea eax, [ebp - 0x5c]
push eax
call fcn.0041c351
mov dword [ebp - 4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d08f
call fcn.00424809
ret

Function at 0x405140
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44cd60]
jne 0x40514a
repz ret
jmp fcn.00427880
Function at 0x405cdf
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x44cd60]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0x14
mov eax, 0x436813
call fcn.00424731
xor ebx, ebx
push 0x228
lea eax, [ebp + 4]
push ebx
push eax
mov dword [ebp], ebx
call fcn.00422bd0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], ebx
cmp esi, 0xffffffff
je 0x405d99
lea eax, [ebp]
push eax
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x405d95
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0x24]
call fcn.0040e688
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
call fcn.0040bca4
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jl 0x405d80
push str.advancedsystemrepairpro.exe
push eax
call fcn.00423883
pop ecx
pop ecx
cmp eax, ebx
je 0x405d80
sub eax, dword [ebp - 0x10]
sar eax, 1
cmp eax, 0xffffffff
jne 0x405dcd
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0040d08f
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405d45
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x405da8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00405140
add ebp, 0x230
leave
ret
push dword [ebp + 8]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x405e29
push 0x440b84
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x405e12
lea ecx, [ebp - 0x18]
push ecx
push 0x1388
push 1
push ebx
push ebx
push 0x864
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x405e29
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x405e3a
push esi
call edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0040d08f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x405e53
push dword [ebp - 0x14]
call edi
mov al, 1
jmp 0x405daa
Function at 0x406e70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x434e14
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44cd60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
push 0xc
mov dword [esp + 0x18], ebx
call fcn.00406230
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
cmp eax, ebx
je 0x406ecc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x406ece
xor eax, eax
mov byte [esp + 0x30], bl
mov dword [ebp], eax
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x406f74
mov edi, dword [ebp]
cmp esi, dword [edi + 4]
je 0x406f35
mov eax, dword [edi]
push esi
push eax
call fcn.00422fb5
mov ecx, dword [edi + 4]
add esp, 8
mov dword [edi], eax
cmp esi, ecx
jbe 0x406f32
mov edx, esi
sub edx, ecx
push edx
add ecx, eax
push ebx
push ecx
call fcn.00422bd0
add esp, 0xc
mov dword [edi + 4], esi
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], esi
mov eax, dword [eax]
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x406f5b
cmp dword [esp + 0x40], esi
je 0x406f74
mov esi, dword [ebp]
cmp dword [esi + 4], ebx
je 0x406f74
mov eax, dword [esi]
push ebx
push eax
call fcn.00422fb5
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x40a780
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
push edi
test ebx, ebx
jb 0x40a7f6
ja 0x40a799
cmp esi, dword [esp + 0x20]
jae 0x40a7fa
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, ebx
sbb eax, ebp
test eax, eax
ja 0x40a7b5
jb 0x40a7b1
cmp ecx, 0x10000
jae 0x40a7b5
mov edi, ecx
jmp 0x40a7ba
mov edi, 0x10000
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push edi
lea edx, [esi + ecx]
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40a7f6
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x40a7f6
add esi, eax
adc ebp, 0
cmp ebp, ebx
jb 0x40a799
ja 0x40a7f6
cmp esi, dword [esp + 0x20]
jb 0x40a799
cmp esi, dword [esp + 0x20]
jne 0x40a817
cmp ebp, ebx
jne 0x40a817
or esi, ebp
je 0x40a80f
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x40bccd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44cd60]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x436729
call fcn.00424731
xor eax, eax
mov dword [ebp - 4], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x206
push eax
lea eax, [ebp + 2]
xor ecx, ecx
push eax
mov word [ebp], cx
call fcn.00422bd0
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
lea ecx, [ebp]
call fcn.0040e688
lea eax, [ebp - 0x10]
push 0x440b1c
push eax
mov esi, edi
mov dword [ebp - 0x18], ebx
call fcn.004143e4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x214]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov esi, eax
call fcn.0040234c
add esp, 0x10
mov byte [ebp - 4], 3
call fcn.00417a8e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040d08f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0040d08f
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x214]
call fcn.0040d08f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00405140
add ebp, 0x20c
leave
ret

Function at 0x40bdb4
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x435e95
call fcn.0042479a
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
push 0x400
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], eax
call fcn.00419003
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40bdec
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40be04
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041c473
mov byte [ebp - 4], 2
push dword [ebp - 0x38]
mov esi, eax
push edi
call fcn.00411967
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x30]
push eax
call fcn.00404045
mov byte [ebp - 4], 0
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.0041527a
mov eax, edi
call fcn.0042481d
ret

Function at 0x40c138
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebx
xor ebx, ebx
push esi
mov byte [0x451374], 1
push 1
cmp byte [0x451376], bl
je 0x40c155
push ebx
push 0x4405b8
jmp 0x40c15c
push dword [0x4514b0]
push ebx
push dword [0x4513b0]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
cmp byte [0x451376], bl
je 0x40c18a
push 0xbb8
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
ret
Function at 0x40fece
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40ff15
call fcn.00403745
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ff15
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40ff31
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00404eea
mov esi, eax
test edi, edi
je 0x40ff2f
test ebx, ebx
je 0x40ff2f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41040f
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x435147
call fcn.00424731
mov dword [ebp - 4], 1
xor ebx, ebx
xor eax, eax
cmp byte [ebp + 0x14], bl
push ebx
sete al
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov dword [ebp - 0x10], ebx
dec eax
and eax, 0x100
inc eax
inc eax
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x410471
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0040d08f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040d08f
call fcn.00424809
ret

Function at 0x410554
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, 0xf0000000
push ebx
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
push edi
call esi
test eax, eax
je 0x41057c
cmp dword [edi], 0
jne 0x41058e
push ebx
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
push edi
call esi
cmp dword [edi], 0
je 0x4105b2
push dword [ebp + 0xc]
lea esi, [ebp - 8]
push dword [ebp + 8]
call fcn.004047a9
lea eax, [edi + 4]
push eax
push 0
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4105e0
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
xor eax, eax
inc eax
push 0
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
push eax
push 3
push ecx
call esi
push 0
lea eax, [ebp + 8]
push eax
push 4
push dword [edi + 4]
call esi
pop esi
pop ebx
leave
ret 8
Function at 0x410798
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
push 0xf01ff
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
xor edi, edi
mov dword [ebp - 8], esi
cmp esi, edi
jne 0x4107cc
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x410877
push edi
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4107e9
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp + 0xc]
call esi
jmp 0x4107c5
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
call edi
test eax, eax
je 0x4107c5
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call esi
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x41085b
mov eax, dword [ebp - 0x18]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x41082e
mov ecx, 0x2710
cmp eax, ecx
jbe 0x410830
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push dword [ebp - 8]
call edi
test eax, eax
je 0x410861
cmp dword [ebp - 0x1c], ebx
ja 0x410808
call esi
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
ja 0x410861
cmp dword [ebp - 0x2c], 2
je 0x410812
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp + 0xc]
call esi
mov eax, 0x3e8
pop ebx
pop edi
xor edx, edx
pop esi
leave
ret
Function at 0x411759
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push 0x30
mov eax, 0x43511c
call fcn.00424731
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
push esi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x411861
push 0x2c
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x411861
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x41184c
cmp dword [ebp - 0x38], 1
je 0x411861
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4117fd
push dword [ebp - 0x24]
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x41184c
cmp dword [ebp - 0x38], 1
je 0x41184c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x41184c
cmp dword [ebp - 0x38], 3
je 0x4117cf
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x41184c
jmp 0x411846
push 0x3e8
call edi
lea eax, [ebp - 0x10]
push eax
push 0x24
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x41184c
cmp dword [ebp - 0x38], 1
je 0x41184c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
ja 0x41184c
cmp dword [ebp - 0x38], 1
jne 0x411816
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d08f
call fcn.00424809
ret
Function at 0x412d6a
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x4353fb
call fcn.00424731
xor edi, edi
mov dword [ebp - 4], edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.00422bd0
xor eax, eax
push 0x10
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x1c]
push edi
push eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x34], 1
call fcn.00422bd0
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea esi, [ebp + 8]
call fcn.0040e38d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x412dda
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d08f
call fcn.00424809
ret

Function at 0x41344c
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436e78
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x44cd60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [esp + 0x10], esi
cmp dword [ebp + 0xc], esi
je 0x41348b
mov ecx, dword [ebp + 0xc]
jmp 0x4134a0
lea eax, [esp + 0x18]
push eax
call fcn.00408d14
pop ecx
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x14]
push eax
call fcn.0040e688
mov dword [esp + 0x30], 2
test byte [esp + 0x10], bl
je 0x4134c6
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x18]
call fcn.0040d08f
cmp byte [ebp + 8], 0
je 0x413571
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004016aa
pop ecx
pop ecx
test al, al
jne 0x41357c
lea eax, [esp + 0x20]
push eax
mov ecx, 0x440f74
call fcn.0040e688
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.0040234c
mov byte [esp + 0x38], 4
lea ecx, [esp + 0x20]
push str.___minimize
push ecx
mov esi, eax
call fcn.004143e4
add esp, 0x10
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x1c]
call fcn.0040d08f
mov byte [esp + 0x30], 7
lea ecx, [esp + 0x20]
call fcn.0040d08f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push ebx
push 0x440b84
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x18]
call fcn.0040d08f
jmp 0x41359e
push dword [ebp + 0xc]
push esi
call fcn.004016aa
pop ecx
pop ecx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov edi, 0x440b84
push edi
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push esi
push SysReAllocString
call ebx
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040d08f
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4157d1
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x84]
xor edx, edx
div ecx
mov dword [ebp - 8], eax
test edx, edx
je 0x4157f0
inc dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x88]
xor edx, edx
div ecx
push ebx
mov ebx, eax
test edx, edx
je 0x415808
inc ebx
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jle 0x415856
push edi
xor edi, edi
test ebx, ebx
jle 0x41584a
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push eax
imul eax, edi
push ecx
imul ecx, dword [ebp - 4]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
inc edi
cmp edi, ebx
jl 0x415819
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x415813
pop edi
pop ebx
leave
ret 0x18

Function at 0x415c98
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x436c5f
call fcn.00424731
mov edi, dword [ebp + 8]
push edi
call fcn.0041c180
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push eax
call fcn.0040f2d8
pop ecx
mov byte [ebp - 4], 1
call fcn.00417a8e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0040d08f
push dword [edi]
mov byte [ebp - 0xd], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415ce3
mov byte [ebp - 0xd], 1
mov eax, dword [edi]
push ebx
push ebx
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x415d04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], bl
je 0x415d37
push dword [edi]
call fcn.0040adcd
push ebx
call fcn.00422a66
pop ecx
pop ecx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
mov ecx, 0x441c68
call fcn.0040e688
mov byte [ebp - 4], 2
push edi
mov byte [ebp - 4], bl
call fcn.00402eb4
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.00424809
ret 4

Function at 0x415ecb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x44cd60]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x43676a
call fcn.00424731
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x1c], esi
call fcn.00422bd0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
xor eax, eax
cmp byte [ebp + 0x214], bl
push str.InstallDir
setne al
push str.SoftwareAdvancedSystemRepairPro
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0x104
add eax, 0x80000001
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
shr eax, 1
mov word [ebp + eax*2], cx
push esi
lea ecx, [ebp]
call fcn.0040e688
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00405140
add ebp, 0x20c
leave
ret