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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
push esi
push edi
call fcn.00404100
mov ebx, dword [ebp + 8]
mov edx, eax
xor eax, eax
test ebx, ebx
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x228]
rep stosd dword es:[edi], eax
jne 0x41169d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 6
je 0x4116d5
cmp edx, 0xa
je 0x4116d5
mov ecx, 0xc
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionICMmntr
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionICMprtr
lea edi, [esp + 0x228]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4116ff
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionICMmntr
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xd
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionICMprtr
lea edi, [esp + 0x228]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp edx, 3
je 0x411737
cmp edx, 6
je 0x411737
cmp edx, 0xa
je 0x411737
push ebx
lea eax, [esp + 0x124]
call fcn.00410190
push ebx
lea eax, [esp + 0x230]
call fcn.00410190
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0x18]
push 0x5c
push ecx
call fcn.0042f860
add esp, 8
test eax, eax
je 0x411761
inc eax
push eax
lea edx, [esp + 0x1c]
push edx
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x12c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x4117b6
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
push eax
call edi
test eax, eax
jne 0x4117b6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x234]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4117f5
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push eax
call edi
test eax, eax
jne 0x4117f5
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411820
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x220]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x224]
push eax
call esi
lea edi, [esp + 0x220]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411860
mov ecx, dword [str.SpoolDriversCOLOR]
mov edx, dword [0x44c83c]
mov eax, dword [0x44c840]
mov dword [edi], ecx
mov ecx, dword [0x44c844]
mov dword [edi + 4], edx
mov edx, dword [0x44c848]
mov dword [edi + 8], eax
mov al, byte [0x44c84c]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov byte [edi + 0x14], al
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x14]
push ecx
call esi
lea edi, [esp + 0x10]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4118c0
mov edx, dword [str.SpoolDriversW32X86]
mov eax, dword [0x44c824]
mov ecx, dword [0x44c828]
mov dword [edi], edx
mov edx, dword [0x44c82c]
mov dword [edi + 4], eax
mov eax, dword [0x44c830]
mov dword [edi + 8], ecx
mov cx, word [0x44c834]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
push str.MSCMS.DLL
mov word [edi + 0x14], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x4119e5
push str.UninstallColorProfileA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4119de
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4119de
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x120]
push 0x44bbe8
push eax
call edi
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x340]
push 0x44bbe8
push edx
call edi
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.0040ac60
add esp, 0x28
test eax, eax
je 0x4119c0
lea ecx, [esp + 0x118]
push ecx
call fcn.00411650
add esp, 4
push 1
lea edx, [esp + 0x11c]
push edx
push 0
call ebx
test eax, eax
jne 0x4119c0
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x411944
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4175a0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x448af7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push esi
push edi
mov edi, ecx
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x124], 0
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 0x104
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x12c], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc]
call fcn.00402470
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [esp + 0x124], 2
jge 0x41762e
or eax, 0xffffffff
jmp 0x417649
push 0x44b63c
push ecx
call fcn.0042f637
add esp, 8
test eax, eax
jne 0x417645
or eax, 0xffffffff
jmp 0x417649
sub eax, dword [esp + 8]
inc eax
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
call fcn.00403670
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 3
call fcn.00401e30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.CNTemp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00401d70
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x128], 4
call fcn.00401e30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x124], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4176e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0x14]
lea ecx, [edi + 0x140]
push eax
call fcn.00401e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x124], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x124], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41774f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x124], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x417776
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x114]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x41ad40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
xor esi, esi
push esi
push ecx
push edx
mov ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ae36
jmp 0x41ad80
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
push eax
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc esi
test eax, eax
je 0x41adc6
cmp eax, 0x103
je 0x41ae1b
xor ebx, ebx
jmp 0x41ae11
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0041a160
test eax, eax
jne 0x41ad80
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0040a010
add esp, 8
cmp eax, 1
jne 0x41ae20
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x41ae0f
cmp eax, 2
je 0x41ae0f
xor ebx, ebx
mov eax, 0x103
xor esi, esi
test eax, eax
je 0x41ad80
jmp 0x41ae20
mov ebx, 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
je 0x41ae2b
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4247b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x449a51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x44d114
lea ebp, [esi + 4]
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x1c], 0
lea ebx, [esi + 8]
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x1c], 1
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x1c], 2
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call fcn.0043be4f
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 4
call fcn.0043be4f
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 5
call fcn.0043be4f
lea ecx, [esi + 0x50]
mov byte [esp + 0x1c], 6
call fcn.0043be4f
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 7
call fcn.0043be4f
xor eax, eax
lea edi, [esi + 0x78]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [esp + 0x1c], 8
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
call fcn.0043cb83
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [esi + 0x1a0]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x20], 9
call fcn.00401e30
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00401e30
mov edx, dword [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00401e30
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esi + 0xc]
call fcn.00401e30
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esi + 0x10]
call fcn.00401e30
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx]
mov ebp, dword [eax - 4]
mov ecx, dword [eax - 0xc]
mov eax, dword [eax - 8]
mov edx, 1
sub edx, ebp
sub eax, ecx
or edx, eax
jge 0x42490d
push ecx
mov ecx, ebx
call fcn.00401490
mov ecx, dword [ebx]
push edi
push ecx
call fcn.004422e6
mov edi, dword [ebx]
test edi, edi
jne 0x424920
xor eax, eax
jmp 0x424930
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424925
sub eax, edx
js 0x424955
cmp eax, dword [edi - 8]
jg 0x424955
mov ecx, dword [esp + 0x14]
mov dword [edi - 0xc], eax
mov edx, dword [ebx]
pop edi
mov byte [eax + edx], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
push 0x80070057
call fcn.004010c0
int3
Function at 0x427650
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
push 0x104
lea eax, [esp + 8]
push eax
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4276cc
lea ecx, [esp + 4]
push 0x5c
push ecx
call fcn.0042f860
add esp, 8
push 0x44bfb0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.DebugMessage_Uninst.ini
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0x218]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x218]
push 0x104
lea ecx, [esp + 0x110]
push ecx
push 0x44b62a
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov esi, dword [esp + 0x214]
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.00402470
mov eax, esi
pop esi
add esp, 0x20c
ret 0xc

Function at 0x427fb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
mov edx, dword [esi + 0x70]
test edx, edx
jl 0x428013
push edi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x90]
lea eax, [esp + 8]
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x28]
push edx
mov ecx, 0x466dcc
call fcn.00426ed0
mov eax, dword [esp + 0x28]
push eax
push esi
push 0x466dcc
call fcn.00427ac0
add esp, 0xc
pop edi
pop esi
add esp, 0x34
ret

Function at 0x428060
Capabilities:
Delete registry key

Disassembly:
push str.SOFTWARECANON_
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040a110
add esp, 8
cmp eax, 1
jne 0x428091
push str.SOFTWARECANON_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x428091
mov eax, 1
ret
xor eax, eax
ret
Function at 0x4280a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x38]
push ebx
push ebp
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [esp + 0x3c]
push eax
push 0x20019
push 0
push ebx
push ebp
mov dword [esp + 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x428121
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x42812b
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0xc]
test eax, eax
push esi
push edi
jne 0x428157
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0x40]
inc eax
push eax
call fcn.0042d9e3
add esp, 4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x40]
lea edx, [eax + ecx + 2]
push edx
call fcn.0042d9e3
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x4281f0
lea ecx, [ecx]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
inc eax
push esi
dec edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4281e3
push esi
push ebx
push 0x44bbe8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push edi
push ebp
call fcn.004280a0
test eax, eax
jne 0x4281ea
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x428226
cmp eax, 0x103
jne 0x428221
dec dword [esp + 0x10]
jne 0x428190
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.0042d9f5
push edi
call fcn.0042d9f5
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0042d9f5
push edi
call fcn.0042d9f5
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 8
Function at 0x428250
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
push 0x104
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
test esi, esi
jne 0x428278
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
pop ecx
ret 4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 4]
push esi
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x4282a1
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
pop esi
pop ecx
ret 4

Function at 0x4284b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [ecx]
cmp eax, 2
push esi
push edi
je 0x42857a
cmp eax, 3
je 0x42857a
mov eax, dword [ecx + 0x16c]
test eax, eax
jne 0x42857a
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
xor eax, eax
mov word [esp + 0x110], 0
mov ecx, 0x40
lea edi, [esp + 0x112]
rep stosd dword es:[edi], eax
push str.CNAP1NSK.DLL
lea edx, [esp + 0xc]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x118]
push 0x44bbd0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42857a
push str.PMUninstall
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x428573
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x428580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x105
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push ecx
lea esi, [ebx + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [ebx]
lea eax, [ebx - 2]
cmp eax, 8
ja case.0x4285d8.7
movzx edx, byte [eax + 0x42866c]
jmp dword [edx*4 + 0x42865c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44b63c
push esi
call edi
mov eax, dword [0x466e04]
push eax
push esi
call edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.SpoolDriversw32x862
push esi
call edi
push 0x44b63c
push esi
call edi
mov ecx, dword [0x466e08]
push ecx
push esi
call edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.SpoolDriversw32x863
push esi
call edi
push 0x44b63c
push esi
call edi
mov edx, dword [0x466e0c]
push edx
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428d00
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x108
push esi
push 0x44bfb0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0xc]
push ecx
call esi
push 0x44b63c
lea edx, [esp + 0xc]
push edx
call esi
call fcn.0044608e
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd0]
push eax
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 4]
push edx
push 0x2001f
push 0
lea eax, [esp + 0x14]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
jne 0x428d9a
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 4]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
add esp, 0x108
ret
xor eax, eax
add esp, 0x108
ret
Function at 0x4291e0
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
sub esp, 0x208
call fcn.00404100
cmp eax, 2
je 0x4291f9
cmp eax, 3
jne 0x42929f
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0xc]
mov cl, byte [eax + edx - 1]
dec edx
cmp cl, 0x5c
je 0x429241
lea edi, [esp + 0xc]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x429230
mov ax, word [0x44b63c]
mov word [edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, 0x44d498
mov ecx, dword [esi]
mov edx, dword [0x466dec]
push 0x44d61c
push ecx
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x120]
push str._s_s_s._s
push ecx
call fcn.0042f6e9
add esp, 0x18
push 0x20
lea edx, [esp + 0x114]
push edx
call edi
lea eax, [esp + 0x110]
push eax
call ebx
add esi, 4
cmp esi, 0x44d4b4
jl 0x429252
pop edi
pop esi
pop ebx
add esp, 0x208
ret