joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
call fcn.004c9210
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x409e18
push esi
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x409df0
mov ecx, 0x15
lea eax, [ebp - 0x20c]
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.00409e30
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004974f6
mov esp, ebp
pop ebp
ret

Function at 0x409e30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518688
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x409e7c
xor ecx, ecx
jmp 0x409e90
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409e81
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407fd0
push 1
push 0x520de8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a6a0
push 4
push 0x520ce0
lea ecx, [ebp - 0x28]
call fcn.0040a6a0
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.0040a6a0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x409ef6
xor ecx, ecx
jmp 0x409f0f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409f00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407fd0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x409f42
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, edi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0040a140
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409f57
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0047f630
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409f6c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
Function at 0x409f90
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.004c9210
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c9210
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push 0
push 2
push eax
push 0
call edi
test eax, eax
je 0x40a02b
push 0x520ce0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x520dec
push eax
call fcn.00409c80
sub esp, 8
lea eax, [ebp - 0x414]
mov ecx, esp
push eax
call fcn.00409cb0
mov ecx, esi
call fcn.0040a260
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c9210
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c9210
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call edi
test eax, eax
je 0x40a0a9
push 0x520ce0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x520dec
push eax
call fcn.00409c80
sub esp, 8
lea eax, [ebp - 0x414]
mov ecx, esp
push eax
call fcn.00409cb0
mov ecx, esi
call fcn.0040a260
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, esi
call fcn.00409d10
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c9210
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0xb
push eax
push 0
call edi
test eax, eax
je 0x40a0e7
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00409e30
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c9210
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call edi
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00409e30
mov ecx, esi
call fcn.00409da0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004974f6
mov esp, ebp
pop ebp
ret
Function at 0x40a140
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004c9210
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push edi
call ebx
test eax, eax
jne 0x40a243
push edi
lea eax, [ebp - 0x20c]
push 0x520e68
push eax
call fcn.00409c80
lea eax, [ebp - 0x20c]
push str..del
push eax
call fcn.004c936a
add esp, 0x14
test eax, eax
je 0x40a1c6
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
push esi
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x40a1eb
push edi
push str._s.del
push eax
call fcn.00409c80
add esp, 0xc
jmp 0x40a1fb
push esi
push edi
push str._s.del_d
push eax
call fcn.00409c80
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a221
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x40a221
cmp esi, 0xa
jg 0x40a242
inc esi
jmp 0x40a1d0
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004cf4ed
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
Function at 0x40be20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x210], ebx
call fcn.004c9210
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x20c], 0
jne 0x40be74
xor ecx, ecx
jmp 0x40be8f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40be80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x24]
call fcn.00407fd0
mov ecx, ebx
mov dword [ebx + 0x10], 0
call fcn.0040b3c0
test eax, eax
je 0x40bf19
mov ecx, ebx
call fcn.0040b550
test eax, eax
je 0x40bf19
mov dword [ebx + 0x10], 1
xor ecx, ecx
mov esi, dword [ebx + 4]
xor edi, edi
mov eax, dword [ebx + 8]
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x40befb
mov ecx, dword [esi]
test ecx, ecx
je 0x40bef3
mov eax, dword [ecx]
push 0
push 0
push 0x467
call dword [eax]
inc edi
add esi, 4
cmp edi, ebx
jne 0x40bee0
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 4]
xor ecx, ecx
mov eax, dword [ebx + 8]
xor edi, edi
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x40bf51
mov ecx, dword [esi]
test ecx, ecx
je 0x40bf49
mov eax, dword [ecx]
push 0
push 0
push 0x466
call dword [eax]
inc edi
add esi, 4
cmp edi, ebx
jne 0x40bf36
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004974f6
mov esp, ebp
pop ebp
ret

Function at 0x40c090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51888f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55d3e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
call fcn.004974ac
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40c0e9
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040c330
mov dword [esi], eax
jmp 0x40c0eb
xor esi, esi
mov dword [edi + 0x54], esi
test esi, esi
jne 0x40c105
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x20]
push eax
push 0
push edi
push 0x40bf70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x40d4d7
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.Janesmft
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40d4d7
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x40d4cd
push eax
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x40d4d7
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x40e130
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e1d4
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x5207b0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40e194
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.MainSetting
push dword [ebp - 4]
call esi
push str.PreImgSetting
push dword [ebp - 4]
call esi
push str.FileMD5
push dword [ebp - 4]
call esi
push str.DownLoadFile
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e520
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e597
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push 0x5207b0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e58e
push str.MainAppInfo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x40e5a0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40e660
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push 0x52136c
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40e65b
push 0x5207b0
lea ecx, [ebp - 0x28]
call fcn.00409cb0
push 3
push 0x521378
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a6a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40e65b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
push dword [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret
Function at 0x40e680
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x5207b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407fd0
push 6
push str.RunOne
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a6a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call esi
test eax, eax
jne 0x40e774
lea eax, [ebp - 0x30]
push eax
push 0xf003f
push 0
push 0x52136c
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x40e74f
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x521374
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40e774
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40e789
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret

Function at 0x40eb30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518c38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x40eb79
xor ecx, ecx
jmp 0x40eb8f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eb80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00407fd0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x40ebcb
push esi
call fcn.004235a6
add esp, 4
test eax, eax
jle 0x40ebcb
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40ebcb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40ebe0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
Function at 0x40ef10
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push 4
xor eax, eax
mov dword [ebp - 8], 7
push 0x520ce0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00407fd0
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ef80
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], 0
cmp eax, 8
jb 0x40ef9c
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.0047f630
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret

Function at 0x40f8f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518c38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 0x43
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00407fd0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f982
push str.AE5136D2_DD63_4371_A05F_D3FCFD3B5E3C
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f997
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret
Function at 0x40f9b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push 0x26
xor eax, eax
mov dword [ebp - 0x20], 0
push str.AE5136D2_DD63_4371_A05F_D3FCFD3B5E3C
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00407fd0
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40fa3b
push str.InprocServer32
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 8]
pop edi
cmp eax, 8
jb 0x40fa51
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.0047f630
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
Function at 0x40ffd0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518b58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5217a8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407fd0
push 0x24
push str.7706CA56_2864_4C7D_B932_952B56C3B39F
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a6a0
push 1
push 0x5217fc
lea ecx, [ebp - 0x28]
call fcn.0040a6a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4100cc
push 0x5207d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.AppID
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.InprocServer32
push dword [ebp - 0x2c]
call edi
push 0x521800
push dword [ebp - 0x2c]
call edi
push str.Programmable
push dword [ebp - 0x2c]
call edi
push str.TypeLib
push dword [ebp - 0x2c]
call edi
push str.VersionIndependentProgID
push dword [ebp - 0x2c]
call edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4100f0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004974f6
mov esp, ebp
pop ebp
ret 4
Function at 0x410110
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x518ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x55d3e4]
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 ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x38], ebx
push 0x5217a8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407fd0
push 0x24
push str.8CEEDA58_D85D_40F8_9D1A_C1069C1EDAA9
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a6a0
push 1
push 0x5217fc
lea ecx, [ebp - 0x28]
call fcn.0040a6a0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
push ecx
push 0xf013f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x410260
lea eax, [ebp - 0x2c]
push eax
push 0xf013f
push 0
push 0x5218ac
push dword [ebp - 0x34]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x410240
lea eax, [ebp - 0x30]
push eax
push 0xf013f
push 0
push 0x5218b4
push dword [ebp - 0x2c]
call ebx
test eax, eax
jne 0x41021d
push 0x5218b8
push dword [ebp - 0x30]
call esi
push str.win64
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x30]
call edi
push 0x5218b4
push dword [ebp - 0x2c]
call esi
push str.FLAGS
push dword [ebp - 0x2c]
call esi
push str.HELPDIR
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x2c]
call edi
push 0x5218ac
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x34]
call edi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x410275
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047f630
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.004974f6
mov esp, ebp
pop ebp
ret 4