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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x72458c]
test al, al
jne 0x4d71e6
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e1330
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 0x4d71dd
lea eax, [ebp - 0x20c]
push eax
call fcn.004f6351
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004e39b6
pop ecx
pop ecx
test eax, eax
jne 0x4d71d5
lea eax, [ebp - 0x20c]
push str.cocuments_and_settingslocalService
push eax
call fcn.004e39b6
pop ecx
pop ecx
test eax, eax
je 0x4d71dd
mov byte [0x72458c], bl
jmp 0x4d71e3
mov bl, byte [0x72458c]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret
Function at 0x4d762f
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5c8cfd
call fcn.00496753
mov ebx, ecx
call fcn.004d633c
lea edi, [ebx + 0x9c]
push eax
mov ecx, edi
call fcn.00446900
mov esi, str.WanNengZip.ini
push esi
call fcn.004e608a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00446ed0
mov esi, 0x5e6ae8
lea eax, [ebp - 0x248]
push esi
push str.Spreader
push str.AppInfo
push eax
mov ecx, ebx
call fcn.004d63d8
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
call fcn.004db63f
cmp dword [ebp - 0x238], 0
pop ecx
jne 0x4d76b4
push esi
call fcn.004e608a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00446930
lea esi, [ebx + 0xb4]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x4d76d0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004469b0
push 0x5e6ae8
mov ecx, esi
call fcn.00453f60
test eax, eax
jne 0x4d774c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e1330
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4d76fd
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, 0x5e6ae8
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4d772e
xor eax, eax
jmp 0x4d773b
lea eax, [ebp - 0x218]
push eax
call fcn.004e608a
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00446930
jmp 0x4d7751
mov edi, 0x5e6ae8
push edi
mov ecx, esi
call fcn.00453f60
test eax, eax
jne 0x4d7814
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e1330
add esp, 0xc
lea eax, [ebx + 0x3c]
lea ecx, [ebp - 0x230]
push eax
call fcn.0044ee80
push str.WanNengZip.ini
mov byte [ebp - 4], 1
call fcn.004e608a
pop ecx
push eax
push str.WanNengZip.ini
lea ecx, [ebp - 0x230]
call fcn.00446ed0
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 0x4d77e5
xor eax, eax
jmp 0x4d77f2
lea eax, [ebp - 0x218]
push eax
call fcn.004e608a
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00446930
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00446840
push edi
mov ecx, esi
call fcn.00453f60
test eax, eax
jne 0x4d7850
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.004d653f
push eax
mov ecx, esi
call fcn.0044ecc0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00446840
push esi
call fcn.004db63f
cmp dword [ebx + 0xc4], 0
pop ecx
jne 0x4d7868
push edi
mov ecx, esi
call fcn.00446900
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00446840
call fcn.004966fd
ret
Function at 0x4d8472
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x61c]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0x620], ebx
call fcn.004e1330
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004e1330
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004e67ab
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004e67ab
lea eax, [ebp - 0x61c]
push eax
call fcn.004f6351
lea eax, [ebp - 0x414]
push eax
call fcn.004f6351
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004e664e
add esp, 0x38
test eax, eax
je 0x4d85b7
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e1330
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x4d8540
push edi
push 0x5e6ef8
push eax
call fcn.0045ffd0
add esp, 0xc
jmp 0x4d8550
push esi
push edi
push str._s.bak_d
push eax
call fcn.0045ffd0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d856e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004f772b
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push dword [ebp - 0x620]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
test eax, eax
lea eax, [ebp - 0x20c]
push 0
push eax
jne 0x4d85b5
call ebx
cmp esi, 0xa
jge 0x4d85b7
inc esi
jmp 0x4d850f
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495c0c
mov esp, ebp
pop ebp
ret

Function at 0x4d85c8
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.004e608a
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.00495ecb
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004e67ab
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x4d8642
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x4d8639
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d862f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4d8640
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x4d860c
jmp 0x4d8642
xor edi, edi
push esi
call fcn.00495c1d
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d8761
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x5c8ea1
call fcn.00496753
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.004e1330
push 0x10
lea eax, [ebp - 0x50]
mov dword [ebp - 0x94], ebx
push 0
push eax
call fcn.004e1330
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 0x4d883f
cmp word [edi], dx
jne 0x4d87d0
mov eax, edx
jmp 0x4d87d7
push edi
call fcn.004e608a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00446930
cmp dword [ebp - 0x30], 0
je 0x4d883f
mov edi, 0x5e6cdc
push edi
call fcn.004e608a
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00446930
xor edi, edi
cmp word [esi], di
jne 0x4d8808
mov eax, edi
jmp 0x4d880f
push esi
call fcn.004e608a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00446ed0
mov esi, 0x5e6ce0
push esi
call fcn.004e608a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00446ed0
push ebx
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447260
jmp 0x4d885b
xor edi, edi
cmp word [esi], di
jne 0x4d884a
mov eax, edi
jmp 0x4d8851
push esi
call fcn.004e608a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00446930
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CreateRunProcess__s_
call fcn.004dfa5f
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 edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4d889f
mov esi, edi
jmp 0x4d88ca
cmp byte [ebp + 0x10], 0
je 0x4d88b7
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.00446840
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00446840
mov eax, esi
call fcn.004966fd
ret
Function at 0x4d890c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
xor edi, edi
push str.EXPLORER.EXE
mov esi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call fcn.004d9849
pop ecx
push eax
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4d8a3f
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4d8a3f
lea eax, [ebp - 4]
inc esi
push eax
push esi
push esi
push edi
push 0xf01ff
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4d8a3d
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4d89c0
push str.WTSGetActiveConsoleSessionId
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4d89b9
call eax
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x4d89b9
xor esi, esi
jmp 0x4d8a3f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.004e1330
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.004e1330
add esp, 0x18
mov dword [ebp - 0x64], edi
xor edi, edi
mov dword [ebp - 0x5c], 0x5e6ed4
mov dword [ebp - 0x38], esi
mov dword [ebp - 8], edi
push 5
pop eax
push edi
push dword [ebp - 4]
mov word [ebp - 0x34], ax
lea eax, [ebp - 8]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4d8a3d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edi
push dword [ebp - 8]
push 0x430
push edi
push edi
push edi
push dword [ebp + 8]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x4d8a3d
cmp dword [ebp - 8], edi
je 0x4d8a3f
push dword [ebp - 8]
call sub.USERENV.dll_DestroyEnvironmentBlock
jmp 0x4d8a3f
mov esi, edi
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d8a54
cmp eax, 0xffffffff
je 0x4d8a54
push eax
call edi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d8a63
cmp eax, 0xffffffff
je 0x4d8a63
push eax
call edi
test ebx, ebx
jne 0x4d8a6a
push ebx
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9849
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x5c928a
call fcn.00496753
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d9945
push eax
lea ecx, [ebp - 0x40]
call fcn.00446660
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004db4ab
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.004e1330
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4d9936
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4d992b
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4d98d5
mov eax, ebx
jmp 0x4d98e2
lea eax, [ebp - 0x248]
push eax
call fcn.004e608a
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446930
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004db4ab
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00450800
test eax, eax
je 0x4d994b
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00446840
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4d98b8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00446840
mov eax, esi
call fcn.004966fd
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.00446840
jmp 0x4d9938
Function at 0x4d9d7a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x5c915d
call fcn.00496753
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.00446660
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push SysReAllocStringLen
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 0x4d9e0b
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0044edb0
push 0
jmp 0x4d9f48
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x4d9e38
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d9df6
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x4d9e6b
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4d9df6
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 0x4d9ebd
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.0044edb0
jmp 0x4d9f47
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004e1330
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.004e608a
pop ecx
mov ecx, edi
test eax, eax
je 0x4d9eac
lea eax, [ebp - 0x810]
push eax
call fcn.00446660
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00446840
mov eax, edi
call fcn.004966fd
ret
Function at 0x4d9f5d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x5c9190
call fcn.00496753
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.00446660
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.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x4d9fe8
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0044edb0
push 0
jmp 0x4da0d7
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4da011
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4d9fd3
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 0x4da058
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.0044edb0
jmp 0x4da0d6
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004e1330
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.004e608a
pop ecx
mov ecx, edi
test eax, eax
je 0x4da04a
lea eax, [ebp - 0x810]
push eax
call fcn.00446660
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00446840
mov eax, edi
call fcn.004966fd
ret
Function at 0x4da0ec
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x5c91c3
call fcn.00496753
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.00446660
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push SysReAllocStringLen
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 0x4da170
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0044edb0
push 0
jmp 0x4da26e
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 0x4da1a4
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4da15b
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 0x4da1df
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4da15b
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004e1330
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.004e608a
pop ecx
mov ecx, edi
test eax, eax
jne 0x4da261
lea eax, [ebp - 0x828]
push eax
call fcn.0044edb0
jmp 0x4da26d
lea eax, [ebp - 0x810]
push eax
call fcn.00446660
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00446840
mov eax, edi
call fcn.004966fd
ret

Function at 0x4da37c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push 0x208
push 0
push eax
call fcn.004e1330
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00446660
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00495c0c
mov esp, ebp
pop ebp
ret
Function at 0x4da4e4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0xc24], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
mov dword [ebp - 0xc28], ebx
mov dword [ebp - 0xc18], ebx
call fcn.004e1330
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
jmp 0x4da5de
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4da5d0
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xc1c], 0x104
push eax
call fcn.004e1330
add esp, 0xc
mov dword [ebp - 0xc20], 1
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc20]
push eax
push 0
push str.DisplayName
push dword [ebp - 0xc18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4da5c4
push dword [ebp - 0xc24]
lea eax, [ebp - 0x414]
push eax
call fcn.004e39b6
pop ecx
pop ecx
test eax, eax
jne 0x4da60c
push dword [ebp - 0xc18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4da53e
push 0x6e478c
mov ecx, esi
call fcn.00446660
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495c0c
mov esp, ebp
pop ebp
ret
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.004e1330
add esp, 0xc
mov dword [ebp - 0xc1c], 0x400
lea eax, [ebp - 0xc1c]
push eax
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
push 0
push str.UninstallString
push dword [ebp - 0xc18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc14]
push eax
jmp 0x4da5f2

Function at 0x4da7d3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4da7ed
test al, 0x10
je 0x4da7ed
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret