joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4216ce
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2c9c]
mov eax, 0x2d1c
call fcn.0045fd70
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x2c98], eax
mov eax, dword [ebp + 0x2ca4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x4217e7
push esi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
push edi
push dword [ebp - 0x70]
mov eax, 0x200
push 0x478654
lea edi, [ebp + 0x2a98]
call fcn.00418b65
pop ecx
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x4217d3
xor eax, eax
lea edi, [ebp - 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x2710
push esi
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call fcn.0043e180
add esp, 0xc
push ebx
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
push 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x2d1400
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4217c5
push 0x3e8
lea eax, [ebp + 0x26b0]
push ebx
push eax
call fcn.0043e180
mov eax, dword [ebp - 0x48]
add esp, 0xc
lea esi, [ebp + 0x26b0]
lea ecx, [ebp - 0x60]
call fcn.00427fe8
mov edx, dword [ebp - 0x7c]
mov eax, esi
push eax
push 0x64
pop ecx
call fcn.00420fc8
test eax, eax
jne 0x4217c5
mov dword [ebp - 0x74], 1
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x74], ebx
jne 0x4217e0
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x10
jl 0x421709
mov eax, dword [ebp - 0x74]
pop edi
pop esi
jmp 0x4217e9
xor eax, eax
mov ecx, dword [ebp + 0x2c98]
xor ecx, ebp
pop ebx
call fcn.0043b103
add ebp, 0x2c9c
leave
ret
Function at 0x421ea9
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x4fc
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
xor ebx, ebx
mov dword [ebp - 0x488], eax
cmp eax, ebx
je 0x42204b
push 0x64
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.0043e180
add esp, 0xc
lea eax, [ebp - 0x470]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422029
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x474], ebx
push ebx
jmp 0x422002
lea eax, [ebp - 0x47c]
push eax
push 1
push ebx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x421fe4
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x480]
push eax
push ebx
push 0x4787e4
push dword [ebp - 0x47c]
mov dword [ebp - 0x480], 1
mov dword [ebp - 0x484], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x421fd8
push 0x64
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0043e180
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00421dac
add esp, 0x10
test eax, eax
je 0x421fd8
cmp byte [ebp + 0xc], bl
je 0x421fc5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x421fd8
push SysReAllocString
push 0x64
lea eax, [ebp - 0x58]
pop ecx
lea edx, [ebp + 0xc]
call fcn.00421116
push dword [ebp - 0x47c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x474]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x474]
push dword [ebp - 0x470]
mov dword [ebp - 0x478], 0x104
call esi
test eax, eax
je 0x421f28
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
cmp byte [ebp + 0xc], bl
je 0x42204b
mov edx, dword [ebp - 0x488]
lea eax, [ebp + 0xc]
push eax
push 0x64
pop ecx
call fcn.00420fc8
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x42204d
xor eax, eax
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop ebx
call fcn.0043b103
add ebp, 0x74
leave
ret
Function at 0x4221f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
test ebx, ebx
je 0x422315
mov esi, 0x400
push esi
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], esi
call fcn.0043e180
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x478818
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x422315
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422277
sub eax, edx
cmp eax, 0x40
jne 0x422315
push 0x20
lea eax, [ebp - 0x508]
mov ecx, 0x80
lea edx, [ebp - 0x88]
call fcn.00421116
push SysReAllocString
lea eax, [ebp - 0x4e8]
mov ecx, 0x80
lea edx, [ebp - 0x108]
call fcn.00421116
push esi
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.0043e180
add esp, 0xc
lea eax, [ebp - 0x508]
push esi
push eax
lea ecx, [ebp - 0x88]
call fcn.00421216
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x422315
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x103
mov edx, ebx
call fcn.00420fc8
neg eax
sbb eax, eax
inc eax
jmp 0x422317
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043b103
leave
ret
Function at 0x42267b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a8
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x478850
lea edi, [ebp + 0x58]
rep movsd dword es:[edi], dword [esi]
push 0x1a
mov ebx, 0x104
mov ecx, 0xd3a
pop eax
lea edx, [ebp + 0x58]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsw word es:[edi], word [esi]
call fcn.00422645
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ExeString
lea eax, [ebp + 0x58]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42270d
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42270d
xor eax, eax
inc eax
jmp 0x42281e
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0043e180
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x478878
lea edi, [ebp + 0x1c]
lea eax, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422742
sub eax, esi
mov ecx, 0xd3c
lea edx, [ebp + 0x1c]
call fcn.00422645
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x478070
lea eax, [ebp + 0x1c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42279a
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x422705
push ebx
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0043e180
add esp, 0xc
push 0xf
pop ecx
mov esi, 0x4788b4
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 0x3d
mov ecx, 0xd3c
pop eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x130], ebx
movsb byte es:[edi], byte [esi]
call fcn.00422645
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0x478070
lea eax, [ebp - 0x24]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42281c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x422705
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b103
add ebp, 0x78
leave
ret
Function at 0x422830
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push eax
push 0x26
lea ecx, [ebp - 0x230]
push ecx
push eax
mov dword [ebp - 0x894], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4229f4
mov esi, 0x4788f4
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x478908
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0xd3e
push 0x11
mov ecx, esi
pop eax
lea edx, [ebp - 0x28]
call fcn.00422645
push 0xe
mov ecx, esi
pop eax
lea edx, [ebp - 0x14]
call fcn.00422645
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x28]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4228c0
and dword [ebp - 0x89c], 0
jmp 0x4228dc
lea eax, [edi + edi]
call fcn.0044da00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00417681
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4228f6
and dword [ebp - 0x898], 0
jmp 0x422912
lea eax, [edi + edi]
call fcn.0044da00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00417681
mov dword [ebp - 0x898], eax
push dword [ebp - 0x89c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x478918
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x640]
push eax
call edi
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4229ee
test byte [ebp - 0x890], 0x10
je 0x4229c9
cmp word [ebp - 0x864], 0x2e
jne 0x422992
cmp word [ebp - 0x862], 0
je 0x4229c9
cmp word [ebp - 0x862], 0x2e
jne 0x422992
cmp word [ebp - 0x860], 0
je 0x4229c9
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x438]
push eax
call edi
push dword [ebp - 0x898]
lea eax, [ebp - 0x438]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4229dd
lea eax, [ebp - 0x890]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x422961
jmp 0x4229e7
mov dword [ebp - 0x894], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x894]
lea esp, [ebp - 0x8a8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b103
leave
ret
Function at 0x422a09
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478908
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0xd3e
push 0xe
mov ecx, ebx
pop eax
lea edx, [ebp - 0x24]
movsw word es:[edi], word [esi]
call fcn.00422645
mov esi, 0x47891c
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xd
mov ecx, ebx
pop eax
lea edx, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
call fcn.00422645
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x422a88
and dword [ebp - 0x254], 0
jmp 0x422aa4
lea eax, [edi + edi]
call fcn.0044da00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.00417681
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x422ab9
xor ebx, ebx
jmp 0x422ad1
lea eax, [edi + edi]
call fcn.0044da00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00417681
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x422b3d
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x422b36
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x422b2c
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x422b2c
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x422af8
jmp 0x422b36
mov dword [ebp - 0x258], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b103
leave
ret
Function at 0x422b7d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x46b1ae
call fcn.004436f7
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.0043e180
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Uninstallstring
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDriverGenius
mov esi, 0x208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
call edi
cmp word [ebp], bx
je 0x422c34
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402ad3
mov dword [ebp - 4], ebx
lea ebx, [ebp - 0x1c]
call fcn.00424a03
call fcn.00424a4e
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422c23
mov dword [ebp - 0x14], 1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004031f6
xor ebx, ebx
push esi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x18], esi
call fcn.0043e180
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push str.Uninstallstring
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDriverGenius2010
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp word [ebp], bx
je 0x422ca8
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402ad3
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00424a03
call fcn.00424a4e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422c9d
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043b103
add ebp, 0x20c
leave
ret
Function at 0x422fda
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x223]
push ebx
push eax
mov byte [ebp - 0x224], bl
call fcn.0043e180
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.0043e180
push esi
lea eax, [ebp - 0x327]
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.0043e180
add esp, 0x24
push ebx
push 0x26
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4230f6
push edi
mov esi, 0x478d80
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x478d88
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42306e
sub eax, edx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422645
lea eax, [ebp - 0x1c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x42308c
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x1c]
call fcn.00422645
push SysReAllocString
lea eax, [ebp - 0x224]
mov ecx, 0x104
lea edx, [ebp - 0x120]
call fcn.00421116
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b103
leave
ret
Function at 0x423104
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478d88
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42312d
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422645
mov esi, 0x478d98
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423157
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422645
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x42319b
and dword [ebp - 0x254], 0
jmp 0x4231b7
lea eax, [edi + edi]
call fcn.0044da00
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.00417681
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x4231cc
xor edi, edi
jmp 0x4231e4
lea eax, [ebx + ebx]
call fcn.0044da00
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00417681
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423250
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423249
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x42323f
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x42323f
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42320b
jmp 0x423249
mov dword [ebp - 0x258], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b103
leave
ret
Function at 0x42328d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov byte [ebp - 0x130], 0
call fcn.0043e180
add esp, 0xc
push 7
pop ecx
mov esi, 0x478da8
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478dc4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
pop edi
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x104
lea ecx, [eax + 1]
pop esi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4232f3
sub eax, ecx
mov ecx, 0x837
lea edx, [ebp - 0x2c]
call fcn.00422645
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42330f
sub eax, ecx
mov ecx, 0x844
lea edx, [ebp - 0x10]
call fcn.00422645
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
push str.ProgramPath
lea eax, [ebp - 0x2c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42337e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x130]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x42337e
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42337e
xor eax, eax
inc eax
jmp 0x423380
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b103
leave
ret
Function at 0x42338c
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x103
push esi
xor edi, edi
lea eax, [ebp - 0x35b]
push edi
push eax
mov byte [ebp - 0x35c], 0
call fcn.0043e180
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.0043e180
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.0043e180
add esp, 0x24
push edi
push 0x26
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x423547
push 7
pop ecx
mov esi, 0x478ddc
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
mov esi, 0x478df8
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478dc4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42342e
sub eax, edx
mov esi, 0x844
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.00422645
lea eax, [ebp - 0x50]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42344c
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.00422645
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423465
sub eax, ecx
push ebx
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.00422645
mov esi, 0x104
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.00421116
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4234d9
xor eax, eax
inc eax
jmp 0x423546
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0043e180
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.0043e180
add esp, 0x18
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.00421116
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x154]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
call ebx
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043b103
leave
ret