joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4276c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareCanonDPSendInfoAgree
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427721
lea eax, [ebp + 8]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 0
push 0
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebp - 8]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x427730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareCanonDPSendInfoAgree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427793
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push 0
push 0
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebp - 8]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4277a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0xf003f
push esi
push str.SoftwareCanonDPSendInfoAgree
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427810
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
mov eax, dword [ebp + 8]
push esi
push esi
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 0xf003f
xor esi, esi
push esi
push str.SoftwareCanonDPSendInfoAgree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42788c
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
mov eax, dword [ebp + 8]
push esi
push esi
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
mov ecx, 1
cmove esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42cc30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45575e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor al, al
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa0], edi
test edi, edi
je 0x42ce31
mov dword [ebp - 0xac], 0
push 0x80
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0043a360
mov edx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0xa0]
push ecx
mov ecx, dword [esi]
call fcn.0040b140
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
xor ebx, ebx
lea eax, [ebp - 0x90]
push 0x40
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42ce2f
mov byte [ebp - 0x91], 1
push 0x18
call fcn.004359c7
mov edi, eax
add esp, 4
mov dword [ebp - 0xa4], edi
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x42cd12
mov eax, dword [edi]
jmp 0x42cd14
mov eax, edi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x90], cx
jne 0x42cd26
xor eax, eax
jmp 0x42cd3f
lea eax, [ebp - 0x90]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cd30
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.0040cd60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
push edi
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.0040b080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
mov eax, dword [esi + 4]
cmp ecx, eax
jae 0x42cdb1
mov ecx, dword [esi]
lea edx, [ebp - 0x9c]
cmp ecx, edx
ja 0x42cdb1
mov edi, edx
sub edi, ecx
sar edi, 3
cmp eax, dword [esi + 8]
jne 0x42cda3
push ecx
mov ecx, esi
call fcn.004057f0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea eax, [eax + edi*8]
test ecx, ecx
je 0x42cdd1
jmp 0x42cdcb
cmp eax, dword [esi + 8]
jne 0x42cdbe
push ecx
mov ecx, esi
call fcn.004057f0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42cdd1
lea eax, [ebp - 0x9c]
push eax
call fcn.0040b2c0
add dword [esi + 4], 8
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x98]
test edi, edi
je 0x42ce04
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x42ce04
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x42ce04
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x40
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
push ecx
inc ebx
push ebx
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x42ccd6
mov al, byte [ebp - 0x91]
jmp 0x42ce31
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret 8
Function at 0x42d140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455800
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
cmp edi, eax
je 0x42d2bd
mov ebx, dword [edi]
mov esi, dword [ebx + 0x68]
mov ebx, dword [ebx + 0x6c]
cmp esi, ebx
je 0x42d2b2
mov ecx, dword [esi]
cmp byte [ecx], 1
jne 0x42d2a4
lea eax, [ebp - 0x28]
push eax
call fcn.00427470
push eax
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
push dword [edi]
push dword [ebp - 0x64]
call fcn.0042be10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42d1d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040d960
mov ecx, dword [esi]
xor eax, eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.004274b0
mov dword [ebp - 0x5c], eax
cmp dword [eax + 0x14], 8
jb 0x42d203
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x60]
push ecx
push 0x20006
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], 0
cmovae eax, dword [ebp - 0x58]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d25f
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x5c]
push 1
push 0
push str.DATE
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42d274
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040d960
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42d2a4
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040d960
add esi, 8
cmp esi, ebx
jne 0x42d194
mov eax, dword [ebp - 0x68]
add edi, 8
cmp edi, eax
jne 0x42d184
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret 8
Function at 0x42e2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455938
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x46d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x20019
push 0
push edx
push 0x80000002
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42e3a0
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42e397
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42e397
push eax
lea ecx, [ebp - 0x20]
call fcn.00425880
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
jne 0x42e362
push str.invalid_vector_T__subscript
call fcn.00433cd3
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42e38f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, 0xfffffffe
add eax, edi
push eax
push edi
call fcn.004258d0
lea ecx, [ebp - 0x20]
call fcn.0040fb20
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x430aa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46fb10]
cmp eax, dword [ecx + 4]
jle 0x430b2f
push 0x46fb10
call fcn.00435b3c
add esp, 4
cmp dword [0x46fb10], 0xffffffff
jne 0x430b2f
xor eax, eax
mov dword [0x46fb28], 7
push 0x456bb0
mov dword [0x46fb24], 0
mov word [0x46fb14], ax
call fcn.00435eb0
push 0x46fb10
call fcn.00435afd
add esp, 8
mov dword [ebp - 4], 0
cmp dword [0x46fb24], 0
jne 0x430ba4
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0043a360
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x430ba4
cmp word [ebp - 0x21c], 0
jne 0x430b7a
xor ecx, ecx
jmp 0x430b92
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430b83
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, 0x46fb14
push eax
call fcn.0040cd60
push 0xffffffffffffffff
push 0
push 0x46fb14
mov ecx, 0x46faf8
call fcn.0040cc40
cmp dword [0x46fb08], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret
Function at 0x430e60
Capabilities:
Modify service

Disassembly:
push esi
push 0x29
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x430ec7
push esi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
test eax, eax
je 0x430ec0
push edi
push 0x40000000
push str.IJPLMSVC
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x430eb8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
pop edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
ret

Function at 0x431070
Capabilities:
Create service
Modify service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0043a360
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareCanonIJPLM
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4310fa
push 8
lea eax, [ebp - 0x414]
push eax
push 0xb
push 0
push str.InstallDate
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
mov ebx, str.Canon_Inkjet_Printer_Scanner_Fax_Extended_Survey_Program
and ax, cx
mov ecx, str.Canon___
cmp ax, 0x11
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4311dd
push edi
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4311dc
push esi
mov esi, 2
call fcn.00433220
test eax, eax
mov ecx, 3
lea eax, [ebp - 0x404]
push eax
cmovne esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0
push 0
push 0x46383c
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 1
push esi
push 0x10
push 0xf01ff
push ebx
push str.IJPLMSVC
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4311d8
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], str.Collects_log_data_from_the_IJ_printer_and_manages_data_transmission.
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4311d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
push edi
call ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043598e
mov esp, ebp
pop ebp
ret
Function at 0x4311f0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push edi
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x431287
push esi
push 0x10024
push str.IJPLMSVC
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x43127f
push 0x46f4c4
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x431271
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
push 0x46f4c4
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x431270
nop
cmp dword [0x46f4c8], 3
jne 0x431270
push 0x3e8
call ebx
push 0x46f4c4
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x431250
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop edi
ret

Function at 0x431290
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push edi
push 0x53c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4313e9
push 0x53c
push 0
push esi
call fcn.0043a360
add esp, 0xc
mov dword [esi + 0x41c], 0x11c
lea ecx, [esi + 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4313e9
call fcn.00433490
mov word [esi + 0x538], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push esi
push 0x430f50
push str.IJPLMSVC
mov word [esi + 0x53a], ax
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerExW]
mov dword [esi + 0x414], eax
test eax, eax
je 0x4313e9
mov eax, dword [0x46d8d8]
mov dword [0x46f4d8], eax
inc eax
push 0x46f4c4
mov dword [0x46f4c4], 0x10
mov dword [0x46f4d4], 0
mov dword [0x46f4cc], 0
mov dword [0x46f4c8], 2
mov dword [0x46f4d0], 0
mov dword [0x46f4dc], 0xbb8
push dword [esi + 0x414]
mov dword [0x46d8d8], eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
je 0x4313e9
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push 0
push 0
push 0x23
push 0
call edi
test eax, eax
js 0x4313e9
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.CanonIJPLM
push esi
call ebx
test eax, eax
je 0x4313e9
mov ecx, esi
call fcn.00433410
test eax, eax
je 0x4313e9
lea eax, [esi + 0x20a]
push eax
push 0
push 0
push 0x26
push 0
call edi
test eax, eax
js 0x4313e9
push str.CanonIJPLMIJPLMUI.EXE
lea eax, [esi + 0x20a]
push eax
call ebx
test eax, eax
je 0x4313e9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x418], eax
test eax, eax
je 0x4313e9
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov ecx, esi
call fcn.00431400
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x431480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [0x464cdc]
push esi
push edi
movups xmmword [ebp - 0x28], xmm0
push 0x44
movups xmm0, xmmword [0x464cec]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x2c], 0xffffffff
push 0
push eax
mov edi, edx
mov esi, ecx
movups xmmword [ebp - 0x18], xmm0
call fcn.0043a360
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], 0x44
add esp, 0xc
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x58], 0x80
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x52], ax
mov dword [ebp - 0x50], eax
call fcn.004316e0
test eax, eax
je 0x431585
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test edi, edi
jne 0x431538
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x431554
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43155e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43155e
push eax
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x431568
push eax
call esi
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x431573
push eax
call esi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043598e
mov esp, ebp
pop ebp
ret
Function at 0x4315a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x46d070]
xor eax, ebp
mov dword [ebp - 8], eax
movups xmm0, xmmword [0x464cdc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84]
movups xmmword [ebp - 0x28], xmm0
push 0x44
movups xmm0, xmmword [0x464cec]
push 0
push eax
mov ebx, edx
mov dword [ebp - 0x2c], 0xffffffff
mov esi, ecx
movups xmmword [ebp - 0x18], xmm0
call fcn.0043a360
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], 0x44
add esp, 0xc
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x80], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x58], 0x80
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x52], ax
mov dword [ebp - 0x50], eax
call fcn.004316e0
test eax, eax
je 0x4316ba
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
test esi, esi
je 0x43167c
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp esi, 0xffffffff
je 0x43167c
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
test esi, esi
jne 0x431682
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x431692
push eax
call edi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43169c
push eax
call edi
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x4316a7
push eax
call edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043598e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043598e
mov esp, ebp
pop ebp
ret
Function at 0x4317b0
Capabilities:
Check mutex on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x46d070]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ecx
push 0
push 0x1f0001
mov esi, 1
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
test edi, edi
je 0x4317fe
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4318ab
mov eax, dword [0x464d94]
mov dword [esp + 0x18], eax
mov eax, dword [0x464d98]
push 0x200
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0043a360
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x431841
push 0x464d9c
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00441ab2
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push 0
push eax
call fcn.0043a360
add esp, 0xc
lea eax, [esp + 0x220]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x431885
push str.CanonIJPLMIJPLMAGR.EXE
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x224]
call fcn.004315a0
mov esi, eax
add esp, 4
test esi, esi
je 0x431928
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004278a0
cmp dword [esp + 0xc], 0
mov dword [esp + 0x10], str.ANALYSIS
je 0x4318ff
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x18]
call fcn.004276c0
push dword [esp + 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43190b
lea eax, [esp + 0x10]
push eax
call fcn.00427730
mov edi, eax
test ebx, ebx
je 0x431911
mov dword [ebx], edi
cmp dword [esp + 0xc], 0
je 0x431928
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x42c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043598e
mov esp, ebp
pop ebp
ret 0xc