joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422867
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x4833e2
call fcn.00455282
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x49b404
mov ecx, esi
call fcn.00407440
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42295e
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422957
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x422990
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x422a5c
cmp eax, 1
jne 0x422986
mov edi, str.WindowsXP
jmp 0x422a4c
mov edi, str.WindowsServer2003
jmp 0x422a4c
cmp eax, 6
jne 0x422a5c
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x422a39
sub eax, 1
je 0x422a32
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x422a62
cmp edi, 0x1ebb
jne 0x4229ce
mov edi, str.Windows8
jmp 0x422a4c
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x4229c7
cmp edi, 0x1f13
je 0x4229c7
cmp dword [ebp - 0x340], 0xa
jne 0x422a06
cmp dword [ebp - 0x344], 0
jne 0x422a62
push str.Windows10
call fcn.00442c2f
pop ecx
push eax
push str.Windows10
jmp 0x422a29
cmp dword [ebp - 0x340], 6
jne 0x422a62
cmp dword [ebp - 0x344], 3
jne 0x422a62
push str.Windows8.1
call fcn.00442c2f
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00407570
jmp 0x422a62
mov edi, str.Windows7
jmp 0x422a4c
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x422a4c
mov edi, str.WindowsServer2008
push edi
call fcn.00442c2f
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00407570
mov edi, dword [ebp - 0x338]
push 0x49b404
mov ecx, esi
call fcn.00422c18
test eax, eax
jne 0x422ad0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004332a0
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00408770
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x422ab4
mov eax, ebx
jmp 0x422ac1
lea eax, [ebp - 0x218]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00407570
cmp dword [ebp + 0xc], 0
je 0x422afe
cmp word [ebp - 0x320], 0
je 0x422aef
lea eax, [ebp - 0x320]
push eax
call fcn.00442c2f
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.00407fe0
mov eax, esi
call fcn.0045523d
ret
Function at 0x42303d
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00442c2f
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415b9d
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.00442c0d
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x4230b7
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x4230ae
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4230a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4230b5
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x423081
jmp 0x4230b7
xor edi, edi
push esi
call fcn.00415ba6
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4230c7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a31d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.00423552
lea eax, [ebp - 0x20c]
push eax
call fcn.00442c2f
add esp, 0x14
test eax, eax
je 0x42317f
lea eax, [ebp - 0x20c]
push 0x49b3f8
push eax
call fcn.00442b9c
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00442b9c
lea eax, [ebp - 0x20c]
push 0x49b3f8
push eax
call fcn.00442b9c
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423158
lea eax, [ebp - 0x20c]
push eax
call fcn.0042303d
pop ecx
cmp word [ebp - 0x20c], si
je 0x423170
lea eax, [ebp - 0x20c]
push eax
call fcn.00442c2f
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407570
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b8c
mov esp, ebp
pop ebp
ret

Function at 0x423233
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a31d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4a49a8]
test al, al
jne 0x4232cc
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4232c3
lea eax, [ebp - 0x20c]
push eax
call fcn.00442e18
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00435403
pop ecx
pop ecx
test eax, eax
jne 0x4232bb
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00435403
pop ecx
pop ecx
test eax, eax
je 0x4232c3
mov byte [0x4a49a8], bl
jmp 0x4232c9
mov bl, byte [0x4a49a8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415b8c
mov esp, ebp
pop ebp
ret
Function at 0x4232da
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x4834b8
call fcn.00455282
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.004332a0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004332a0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004332a0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004332a0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004332a0
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.004332a0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.00423552
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00442c0d
lea eax, [ebp - 0x218]
push eax
call fcn.00442c2f
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004333fa
add esp, 0x24
test eax, eax
jne 0x4233de
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.004230c7
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00407c40
push esi
push 1
jmp 0x42353f
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00442c0d
lea eax, [ebp - 0x830]
push 0x488360
push eax
call fcn.00442b9c
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.00442c0d
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.00442b9c
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.00442c0d
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.00442b9c
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x42351c
cmp dword [ebp - 0xc5c], 0
je 0x42351c
test ecx, ecx
je 0x42351c
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00408770
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4234ec
lea eax, [ebp - 0x420]
push eax
call fcn.0042303d
pop ecx
cmp word [ebp - 0x420], 0
jne 0x4234fa
xor eax, eax
jmp 0x423507
lea eax, [ebp - 0x420]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00407570
jmp 0x42352b
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.004230c7
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.00407c40
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.004074b0
mov eax, edi
call fcn.0045523d
ret
Function at 0x4241c0
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x4835d9
call fcn.00455282
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
mov edi, dword [ebp + 0xc]
push 0x44
pop ebx
push ebx
push 0
push eax
call fcn.004332a0
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.004332a0
add esp, 0x18
xor edx, edx
xor eax, eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x28], ax
push 7
pop ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x40], ax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test edi, edi
je 0x42429e
cmp word [edi], dx
jne 0x42422f
mov eax, edx
jmp 0x424236
push edi
call fcn.00442c2f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00407570
cmp dword [ebp - 0x30], 0
je 0x42429e
mov edi, 0x485a5c
push edi
call fcn.00442c2f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00407570
xor edi, edi
cmp word [esi], di
jne 0x424267
mov eax, edi
jmp 0x42426e
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407fe0
mov esi, 0x485a60
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407fe0
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408110
jmp 0x4242ba
xor edi, edi
cmp word [esi], di
jne 0x4242a9
mov eax, edi
jmp 0x4242b0
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407570
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x4884b8
call fcn.00429970
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push edi
push edi
push edi
push 1
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4242ff
mov esi, edi
jmp 0x42432a
cmp byte [ebp + 0x10], 0
je 0x424317
cmp dword [ebp + 0x14], 0
cmovg ebx, dword [ebp + 0x14]
push ebx
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4c]
call esi
xor esi, esi
inc esi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.004074b0
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004074b0
mov eax, esi
call fcn.0045523d
ret
Function at 0x42436c
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x483611
call fcn.00455282
mov eax, dword [ebp + 8]
test eax, eax
je 0x424468
push eax
lea ecx, [ebp - 0x40]
call fcn.00407440
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041b86d
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.004332a0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x424459
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42444e
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4243f8
mov eax, ebx
jmp 0x424405
lea eax, [ebp - 0x248]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407570
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041b86d
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408220
test eax, eax
je 0x42446e
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.004074b0
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4243db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004074b0
mov eax, esi
call fcn.0045523d
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004074b0
jmp 0x42445b
Function at 0x426e76
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x483aba
call fcn.0045524e
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.0042f9fa
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0042fa2e
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x426eb6
mov edi, 0xf003f
push edi
push esi
push 0x488e98
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426f16
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x426ef1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x426f16
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0042fa0d
call fcn.00455228
ret 0xc
Function at 0x42739e
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x483b55
call fcn.00455282
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x427495
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x42741a
lea eax, [ebp - 0x218]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407570
and dword [ebp - 4], 0
push 0x49b3f8
call fcn.00442c2f
pop ecx
push eax
push 0x49b3f8
lea ecx, [ebp - 0x230]
call fcn.00407fe0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00427001
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x427486
call fcn.004074b0
mov eax, edi
jmp 0x427547
or dword [ebp - 4], 0xffffffff
call fcn.004074b0
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x427545
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x4274dc
lea eax, [ebp - 0x218]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00407570
mov esi, 0x49b3f8
mov dword [ebp - 4], 1
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00407fe0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00427001
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.004074b0
test esi, esi
je 0x427545
mov eax, esi
jmp 0x427547
xor eax, eax
call fcn.0045523d
ret 4
Function at 0x42754f
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4a31d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x428], eax
xor edi, edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push 9
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov esi, edi
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4275a2
xor eax, eax
jmp 0x4276a1
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, edi
push 0x104
push eax
push edi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42768e
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x427674
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.004332a0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42766c
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00435403
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4275de
push dword [ebp - 0x418]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00415b8c
mov esp, ebp
pop ebp
ret 4
Function at 0x42806c
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4a31d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], eax
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], ebx
push ebx
push eax
mov esi, ebx
mov dword [ebp - 0x41c], ebx
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4281b7
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x428191
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x428183
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.004332a0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42817b
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00435403
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4280ed
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x4282ac
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x488580
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4282ac
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x428290
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x428282
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.004332a0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42827a
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.00435403
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4281ec
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415b8c
mov esp, ebp
pop ebp
ret 4
Function at 0x42849a
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x483cdb
call fcn.00455282
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x428505
lea eax, [ebp - 0x218]
push eax
call fcn.00442c2f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407570
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00442c2f
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00407fe0
xor ebx, ebx
cmp word [esi], bx
jne 0x42853f
mov eax, ebx
jmp 0x428546
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407fe0
mov esi, str..lnk
push esi
call fcn.00442c2f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407fe0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x428654
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.004332a0
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004332a0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00442c0d
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00426d5c
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004332a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00442c2f
pop ecx
test eax, eax
jne 0x428642
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00442c0d
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x428654
xor esi, esi
inc esi
jmp 0x428656
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.004074b0
mov eax, esi
call fcn.0045523d
ret 4