joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5693
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x56b0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push esi
push edi
push 0x208
xor edi, edi
mov esi, ecx
push edi
push eax
mov dword [ebp - 0xc3c], esi
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0xa2c]
push edi
push eax
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004c42d0
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, esi
push edi
push 0x1a
push eax
push edi
call fcn.004b6cfb
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004d5713
lea eax, [ebp - 0x20c]
push eax
call fcn.004d5735
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c6092
add esp, 0x14
test eax, eax
jne 0x4b5772
mov ecx, esi
jmp 0x4b58b4
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004d5713
lea eax, [ebp - 0x824]
push str.Local
push eax
call fcn.004d56a2
add esp, 0x10
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov esi, edi
inc ecx
test eax, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
cmovne esi, ecx
push eax
call fcn.004d5713
lea eax, [ebp - 0x61c]
push str.LocalLow
push eax
call fcn.004d56a2
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa2c]
mov dword [ebp - 0xc38], ecx
push eax
call fcn.004d5713
lea eax, [ebp - 0xa2c]
push str.Roaming
push eax
call fcn.004d56a2
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, edi
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x4b58ae
cmp dword [ebp - 0xc38], edi
je 0x4b58ae
test ecx, ecx
je 0x4b58ae
push str.PuddingDesktop.users
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x51adec
push eax
call fcn.00499d90
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b5885
lea eax, [ebp - 0x414]
push eax
call fcn.004b720c
pop ecx
cmp word [ebp - 0x414], di
je 0x4b589d
lea eax, [ebp - 0x414]
push eax
call fcn.004d5735
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00498dc0
jmp 0x4b58ba
mov ecx, dword [ebp - 0xc3c]
push ebx
call fcn.004b4f4f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004add49
mov esp, ebp
pop ebp
ret 4
Function at 0x4b58cd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56b0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x4b58ee
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push str._s_s_
push eax
call fcn.00499d90
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b5926
lea eax, [ebp - 0x20c]
push eax
call fcn.004b720c
pop ecx
lea eax, [ebp - 0x20c]
push str.Config.ini
push eax
call fcn.004d56a2
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x4b5947
xor eax, eax
jmp 0x4b5954
lea eax, [ebp - 0x20c]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x3c]
call fcn.00498dc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004add49
mov esp, ebp
pop ebp
ret

Function at 0x4b5a04
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56b0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call fcn.004c42d0
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], di
je 0x4b5a5b
lea eax, [ebp - 0x20c]
push eax
call fcn.004d5735
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x20c]
add esi, 0x114
push eax
mov ecx, esi
call fcn.00498dc0
mov edi, 0x561ba4
push edi
call fcn.004d5735
pop ecx
push eax
push edi
mov ecx, esi
call fcn.0049db90
cmp dword [esi + 0x14], 8
jb 0x4b5a8f
mov eax, dword [esi]
jmp 0x4b5a91
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b5ab1
mov edi, str.C:Program_Files_
push edi
call fcn.004d5735
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00498dc0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004add49
mov esp, ebp
pop ebp
ret
Function at 0x4b660b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56b0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x575020]
test al, al
jne 0x4b66a4
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c42d0
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 0x4b669b
lea eax, [ebp - 0x20c]
push eax
call fcn.004d5989
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004c354d
pop ecx
pop ecx
test eax, eax
jne 0x4b6693
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.004c354d
pop ecx
pop ecx
test eax, eax
je 0x4b669b
mov byte [0x575020], bl
jmp 0x4b66a1
mov bl, byte [0x575020]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004add49
mov esp, ebp
pop ebp
ret
Function at 0x4b6af0
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5168d4
call fcn.004ae708
mov ebx, ecx
call fcn.004b5022
lea edi, [ebx + 0xcc]
push eax
mov ecx, edi
call fcn.00498d70
mov esi, str.PuddingDesktop.ini
push esi
call fcn.004d5735
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0049db90
push 0x51b10c
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004b50e2
and dword [ebp - 4], 0
lea esi, [ebx + 0xe4]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x4b6b66
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00498ec0
push 0x51b10c
mov ecx, esi
call fcn.0049e700
test eax, eax
jne 0x4b6be2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c42d0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4b6b93
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, 0x51b10c
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4b6bc4
xor eax, eax
jmp 0x4b6bd1
lea eax, [ebp - 0x218]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00498dc0
jmp 0x4b6be7
mov edi, 0x51b10c
push edi
mov ecx, esi
call fcn.0049e700
test eax, eax
jne 0x4b6caa
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004c42d0
add esp, 0xc
lea eax, [ebx + 0x6c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00498a20
push str.PuddingDesktop.ini
mov byte [ebp - 4], 1
call fcn.004d5735
pop ecx
push eax
push str.PuddingDesktop.ini
lea ecx, [ebp - 0x230]
call fcn.0049db90
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4b6c7b
xor eax, eax
jmp 0x4b6c88
lea eax, [ebp - 0x218]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00498dc0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00498c10
push edi
mov ecx, esi
call fcn.0049e700
test eax, eax
jne 0x4b6ce6
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004b5145
push eax
mov ecx, esi
call fcn.00498940
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00498c10
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00498c10
call fcn.004ae6c3
ret
Function at 0x4b720c
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.004d5735
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.004adda0
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004d5713
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x4b7286
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x4b727d
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b7273
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4b7284
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x4b7250
jmp 0x4b7286
xor edi, edi
push esi
call fcn.004add5a
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7296
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x56b0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x828]
push 0x44
xor ebx, ebx
push ebx
push eax
call fcn.004c42d0
push 0x10
lea eax, [ebp - 0x7e4]
mov dword [ebp - 0x828], 0x44
push ebx
push eax
call fcn.004c42d0
push esi
lea eax, [ebp - 0x7d4]
push 0x51b130
push eax
call fcn.004b8e60
add esp, 0x24
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x828]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x7d4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4b732d
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004add49
mov esp, ebp
pop ebp
ret

Function at 0x4b733d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004d5735
pop ecx
test eax, eax
je 0x4b739b
push ebx
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.004c42d0
add esp, 0xc
mov dword [ebp - 0x38], 0x200
xor ebx, ebx
mov dword [ebp - 0x28], esi
inc ebx
mov eax, 0x51b140
mov dword [ebp - 0x30], eax
push ebx
push edi
push edi
push esi
push eax
push edi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4b7397
push esi
call fcn.004b7296
pop ecx
jmp 0x4b7399
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b7add
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x516a81
call fcn.004ae708
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b7bd9
push eax
lea ecx, [ebp - 0x40]
call fcn.004989c0
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004b8927
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.004c42d0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4b7bca
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4b7bbf
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4b7b69
mov eax, ebx
jmp 0x4b7b76
lea eax, [ebp - 0x248]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00498dc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004b8927
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00499bc0
test eax, eax
je 0x4b7bdf
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00498c10
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b7b4c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00498c10
mov eax, esi
call fcn.004ae6c3
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.00498c10
jmp 0x4b7bcc
Function at 0x4b7cb5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x516ab4
call fcn.004ae708
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x848], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.004989c0
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x4b7d46
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00499bf0
push 0
jmp 0x4b7e83
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x4b7d73
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b7d31
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x4b7da6
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4b7d31
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4b7df8
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.00499bf0
jmp 0x4b7e82
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004c42d0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004d5735
pop ecx
mov ecx, edi
test eax, eax
je 0x4b7de7
lea eax, [ebp - 0x810]
push eax
call fcn.004989c0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00498c10
mov eax, edi
call fcn.004ae6c3
ret
Function at 0x4b7e98
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x516ae7
call fcn.004ae708
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.004989c0
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x4b7f23
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00499bf0
push 0
jmp 0x4b8012
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4b7f4c
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b7f0e
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x4b7f93
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.00499bf0
jmp 0x4b8011
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004c42d0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004d5735
pop ecx
mov ecx, edi
test eax, eax
je 0x4b7f85
lea eax, [ebp - 0x810]
push eax
call fcn.004989c0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00498c10
mov eax, edi
call fcn.004ae6c3
ret
Function at 0x4b8027
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x516b1a
call fcn.004ae708
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.004989c0
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b80ab
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00499bf0
push 0
jmp 0x4b81a9
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x4b80df
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b8096
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x4b811a
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4b8096
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004c42d0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004d5735
pop ecx
mov ecx, edi
test eax, eax
jne 0x4b819c
lea eax, [ebp - 0x828]
push eax
call fcn.00499bf0
jmp 0x4b81a8
lea eax, [ebp - 0x810]
push eax
call fcn.004989c0
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00498c10
mov eax, edi
call fcn.004ae6c3
ret
Function at 0x4b8431
Capabilities:
Enumerate processes

Disassembly:
push 0x28c
mov eax, 0x516b9a
call fcn.004ae708
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov esi, eax
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
push 0x22c
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x284]
push eax
call fcn.004c42d0
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
call fcn.004989c0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004989c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.004b8927
lea eax, [ebp - 0x40]
push eax
call fcn.004b8927
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4b85ee
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4b858b
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x27c], esi
je 0x4b8570
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
jne 0x4b8508
mov eax, ebx
jmp 0x4b8515
lea eax, [ebp - 0x260]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00498dc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004b8927
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00499bc0
test eax, eax
jne 0x4b8561
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x298]
push eax
call fcn.004b8d24
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00498c10
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4b84df
mov esi, dword [ebp - 0x294]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x290]
jmp 0x4b85e4
push dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.004b791f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.004b8927
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push ebx
push eax
call fcn.00498c80
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
jg 0x4b8619
push ebx
push 1
mov byte [ebp - 4], 2
call fcn.00498c10
add esi, 4
cmp esi, edi
jne 0x4b859a
mov ebx, dword [ebp - 0x288]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00498c10
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00498c10
lea ecx, [ebp - 0x294]
call fcn.004b8c6b
mov eax, ebx
call fcn.004ae6c3
ret
xor ebx, ebx
inc ebx
push 0
push ebx
call fcn.00498c10
jmp 0x4b85ee