joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44905f
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2b4
mov eax, 0x4ae4e4
call fcn.0047d2fc
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov edi, dword [ebp + 0xc]
push eax
call fcn.004078d0
lea eax, [ebp - 0x70]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043fe46
pop ecx
test eax, eax
jne 0x4490a6
mov esi, 0x4c94c4
push esi
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.00409fa0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00409cd0
mov esi, 0x4b0f68
mov byte [ebp - 4], 1
push esi
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00409fa0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4491de
test byte [ebp - 0x2c0], 0x10
je 0x4491c1
cmp word [ebp - 0x294], 0x2e
je 0x4491c1
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
jne 0x449128
mov eax, ebx
jmp 0x449135
lea eax, [ebp - 0x294]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407a30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00418c40
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407970
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409cd0
cmp word [ebp - 0x294], 0
mov byte [ebp - 4], 3
jne 0x449181
mov eax, ebx
jmp 0x44918e
lea eax, [ebp - 0x294]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00409fa0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0044905f
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00407970
lea eax, [ebp - 0x2c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4490f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00407970
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.00407970
call fcn.0047d2b7
ret
Function at 0x449539
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x4ae59a
call fcn.0047d2fc
lea eax, [ebp + 8]
xor edi, edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
call fcn.00409cd0
xor ebx, ebx
mov esi, 0x4b0f68
inc ebx
push esi
mov byte [ebp - 4], bl
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00409fa0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4496b6
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4496b6
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x449599
cmp word [ebp - 0x27a], 0
je 0x449599
cmp word [ebp - 0x27a], ax
jne 0x4495d8
cmp word [ebp - 0x278], 0
je 0x449599
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
cmp word [ebp - 0x27c], ax
jne 0x4495f5
mov eax, edi
jmp 0x449602
lea eax, [ebp - 0x27c]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00407a30
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x44966c
call fcn.00409cd0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a0d0
push 0x4c94c4
call fcn.0046a4eb
pop ecx
push eax
push 0x4c94c4
lea ecx, [ebp - 0x28]
call fcn.00409fa0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00409cd0
call fcn.00449539
jmp 0x449697
call fcn.00409cd0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a0d0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00409cd0
call fcn.00449702
add esp, 0x18
lea ecx, [ebp - 0x28]
push edi
push ebx
call fcn.00407970
push edi
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00407970
jmp 0x449599
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4496e8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00407970
push edi
push ebx
lea ecx, [ebp + 8]
call fcn.00407970
call fcn.0047d2b7
ret
Function at 0x4498f3
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x449973
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b6adc
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x449972
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret

Function at 0x449a8b
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0x114
mov eax, 0x4ae5fb
call fcn.0047d2fc
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov ebx, dword [ebp + 8]
xor edi, edi
push esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x120], edi
call fcn.004078d0
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], ax
push 0xc8
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00459150
add esp, 0xc
cmp dword [ebp - 0xf8], edi
je 0x449c14
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x449c14
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], edi
push eax
push esi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x118], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x449b58
lea eax, [ebp - 0xf0]
mov ecx, ebx
push eax
call fcn.00409c50
xor edi, edi
jmp 0x449c22
lea eax, [edi + 1]
push eax
call fcn.00434aea
mov esi, eax
mov dword [ebp - 0x11c], esi
pop ecx
test esi, esi
je 0x449b43
push esi
push edi
xor edi, edi
push edi
push dword [ebp - 0x114]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x449b8e
push esi
call fcn.00434af3
pop ecx
jmp 0x449c14
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x4c94c4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449b82
mov eax, dword [ebp - 0x10c]
push dword [ebp - 0x11c]
mov edi, dword [eax + 8]
movzx esi, word [eax + 0xe]
call fcn.00434af3
push esi
push 1
movzx eax, di
push eax
shr edi, 0x10
lea eax, [ebp - 0xd8]
push edi
push 0x4b6b5c
push eax
call fcn.0040a880
add esp, 0x1c
cmp word [ebp - 0xd8], 0
jne 0x449bf2
xor edi, edi
mov eax, edi
jmp 0x449c01
lea eax, [ebp - 0xd8]
push eax
call fcn.0046a4eb
pop ecx
xor edi, edi
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00407a30
lea eax, [ebp - 0xf0]
mov ecx, ebx
push eax
call fcn.00409c50
push edi
push 1
lea ecx, [ebp - 0xf0]
call fcn.00407970
push edi
push 1
lea ecx, [ebp - 0x108]
call fcn.00407970
mov eax, ebx
call fcn.0047d2b7
ret
Function at 0x449c46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x449c64
xor al, al
jmp 0x449cb8
push ebx
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp + 0x18]
push eax
mov dword [ebx], eax
call fcn.00434aea
mov edi, eax
pop ecx
test edi, edi
jne 0x449c93
xor al, al
jmp 0x449cb6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebx]
push eax
push edi
call fcn.00458bd0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov al, 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b1b8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00459150
push 0x4b04e0
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.0040a880
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00434840
mov esp, ebp
pop ebp
ret
Function at 0x44b218
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00434b00
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.00459150
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0046b422
push 0x800
lea eax, [ebp - 0x1028]
push edi
push eax
call fcn.00459150
push 0x4b04e0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0044b17c
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.00459150
add esp, 0x40
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
call fcn.00459150
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0045a056
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x44b45a
lea eax, [ebp - 0x20c]
push eax
call fcn.0046a4eb
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0046b422
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0044b17c
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.0040ab60
push edi
call fcn.00461632
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.0046ae3e
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0044b19a
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x4b6bac
push eax
cmovne edi, ebx
call fcn.004647c4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44b45a
test edi, edi
jne 0x44b400
push esi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.0046ab5c
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.0046a4eb
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.0046ab5c
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.0046ab5c
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.0046ab5c
push esi
call fcn.004645c2
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434840
mov esp, ebp
pop ebp
ret
Function at 0x44dff3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x4aeb1a
call fcn.0047d2c8
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00449873
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.004498a7
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x44e033
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e093
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 0x44e06e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44e093
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.00449886
call fcn.0047d2a2
ret 0xc
Function at 0x44e51b
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x4aebb5
call fcn.0047d2fc
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.00459150
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 0x44e612
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x44e597
lea eax, [ebp - 0x218]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00407a30
and dword [ebp - 4], 0
push 0x4c94c4
call fcn.0046a4eb
pop ecx
push eax
push 0x4c94c4
lea ecx, [ebp - 0x230]
call fcn.00409fa0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0044e17e
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x44e603
call fcn.00407970
mov eax, edi
jmp 0x44e6c4
or dword [ebp - 4], 0xffffffff
call fcn.00407970
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x44e6c2
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x44e659
lea eax, [ebp - 0x218]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00407a30
mov esi, 0x4c94c4
mov dword [ebp - 4], 1
push esi
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00409fa0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0044e17e
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00407970
test esi, esi
je 0x44e6c2
mov eax, esi
jmp 0x44e6c4
xor eax, eax
call fcn.0047d2b7
ret 4
Function at 0x44e6cc
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 [0x4d5210]
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 0x44e71f
xor eax, eax
jmp 0x44e81e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00459150
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 0x44e80b
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 0x44e7f1
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00459150
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 0x44e7e9
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0045a2a6
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 0x44e75b
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.00434840
mov esp, ebp
pop ebp
ret 4
Function at 0x44f162
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 [0x4d5210]
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.00459150
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 0x44f2ad
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x44f287
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 0x44f279
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.00459150
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 0x44f271
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0045a2a6
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 0x44f1e3
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x44f3a2
xor ebx, ebx
lea eax, [ebp - 0x418]
push eax
push 9
push ebx
push 0x4b1b58
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f3a2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
jmp 0x44f386
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 0x44f378
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00459150
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 0x44f370
push dword [ebp - 0x428]
lea eax, [ebp - 0x414]
push eax
call fcn.0045a2a6
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 0x44f2e2
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.00434840
mov esp, ebp
pop ebp
ret 4
Function at 0x44f522
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x4aed02
call fcn.0047d2fc
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00459150
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 0x44f58d
lea eax, [ebp - 0x218]
push eax
call fcn.0046a4eb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00407a30
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.0046a4eb
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.00409fa0
xor ebx, ebx
cmp word [esi], bx
jne 0x44f5c7
mov eax, ebx
jmp 0x44f5ce
push esi
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00409fa0
mov esi, 0x4b15c8
push esi
call fcn.0046a4eb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00409fa0
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 0x44f6dc
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00459150
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00459150
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0046a4c9
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0044ded9
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00459150
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.0046a4eb
pop ecx
test eax, eax
jne 0x44f6ca
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046a4c9
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x44f6dc
xor esi, esi
inc esi
jmp 0x44f6de
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00407970
mov eax, esi
call fcn.0047d2b7
ret 4
Function at 0x44f6f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d5210]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4d7418]
test al, al
jne 0x44f78f
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00459150
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 0x44f786
lea eax, [ebp - 0x20c]
push eax
call fcn.00461ed9
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0045a2a6
pop ecx
pop ecx
test eax, eax
jne 0x44f77e
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0045a2a6
pop ecx
pop ecx
test eax, eax
je 0x44f786
mov byte [0x4d7418], bl
jmp 0x44f78c
mov bl, byte [0x4d7418]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434840
mov esp, ebp
pop ebp
ret