joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4235a0
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.0043e330
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.0043e330
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.0043e330
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 0x42375b
push 7
pop ecx
mov esi, 0x478e6c
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
mov esi, 0x478e88
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478e54
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 0x423642
sub eax, edx
mov esi, 0x844
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.00422859
lea eax, [ebp - 0x50]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423660
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.00422859
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423679
sub eax, ecx
push ebx
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.00422859
mov esi, 0x104
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.0042132a
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 0x4236ed
xor eax, eax
inc eax
jmp 0x42375a
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0043e330
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.0043e330
add esp, 0x18
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.0042132a
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.0043b2b9
leave
ret
Function at 0x423769
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478eac
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423790
sub eax, edx
mov ebx, 0x849
mov ecx, ebx
lea edx, [ebp - 0x10]
call fcn.00422859
mov esi, 0x478eb8
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4237ba
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x20]
call fcn.00422859
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x4237fe
and dword [ebp - 0x250], 0
jmp 0x42381a
lea eax, [edi + edi]
call fcn.0044dbb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.004178a6
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x42382f
xor edi, edi
jmp 0x423847
lea eax, [ebx + ebx]
call fcn.0044dbb0
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004178a6
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4238b3
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4238ac
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x4238a2
push edi
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x4238a2
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42386e
jmp 0x4238ac
mov dword [ebp - 0x254], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b2b9
leave
ret
Function at 0x4238f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x123]
push 0
push eax
mov byte [ebp - 0x124], 0
call fcn.0043e330
mov esi, 0x478ec8
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x478ed8
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x128], 0x104
movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423955
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x20]
call fcn.00422859
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423973
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.00422859
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x12c]
push eax
push str.ProgramPath
lea eax, [ebp - 0x20]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x4239e1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x124]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x4239e1
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4239e1
xor eax, eax
inc eax
jmp 0x4239e3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b2b9
leave
ret
Function at 0x4239ef
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x478ed8
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x10]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423a18
sub eax, edx
mov ecx, 0x237f
lea edx, [ebp - 0x10]
call fcn.00422859
mov esi, 0x478ee4
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
movsw word es:[edi], word [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423a41
sub eax, ecx
mov ecx, 0x1586a
lea edx, [ebp - 0x20]
call fcn.00422859
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call ebx
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x423a88
and dword [ebp - 0x250], 0
jmp 0x423aa4
lea eax, [edi + edi]
call fcn.0044dbb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.004178a6
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x423ab9
xor edi, edi
jmp 0x423ad1
lea eax, [ebx + ebx]
call fcn.0044dbb0
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004178a6
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423b3d
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423b36
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x423b2c
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x423b2c
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423af8
jmp 0x423b36
mov dword [ebp - 0x254], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
lea esp, [ebp - 0x260]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b2b9
leave
ret
Function at 0x423b58
Capabilities:
Accept command line arguments
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xc0]
sub esp, 0x140
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp + 0xbc], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.0043e330
add esp, 0xc
push 0xb
pop ecx
mov esi, 0x478ef4
lea edi, [ebp + 0x90]
lea eax, [ebp + 0x90]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423bb3
sub eax, edx
mov ecx, 0x1586a
lea edx, [ebp + 0x90]
call fcn.00422859
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ImagePath
lea eax, [ebp + 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x423c12
xor eax, eax
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.0043b2b9
add ebp, 0xc0
leave
ret
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x423c2b
xor eax, eax
jmp 0x423c41
lea eax, [edi + edi]
call fcn.0044dbb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.004178a6
and dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x423bf3
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x423c6f
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x423bf5
inc edi
jmp 0x423c64
Function at 0x423c92
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x13b]
push 0
push eax
mov byte [ebp - 0x13c], 0
call fcn.0043e330
add esp, 0xc
push 8
pop ecx
mov esi, 0x478f2c
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478f4c
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], 0x104
movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423cf8
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x38]
call fcn.00422859
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423d16
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422859
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push str.AppPath
lea eax, [ebp - 0x38]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
pop edi
pop esi
test eax, eax
jne 0x423d84
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x13c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x423d84
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423d84
xor eax, eax
inc eax
jmp 0x423d86
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b2b9
leave
ret
Function at 0x423d92
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.0043e330
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043e330
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.0043e330
add esp, 0x24
push 5
pop ecx
mov esi, 0x478f68
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x478f9c]
mov esi, 0x478f80
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]
mov esi, 0x478f90
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x478fa0]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423e2d
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.00422859
lea eax, [ebp - 0x28]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423e4b
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.00422859
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423e64
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422859
lea eax, [ebp - 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423e7d
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422859
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x423ed8
xor eax, eax
jmp 0x423f3b
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x423ed4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
push ebx
lea edi, [ebp - 0x248]
call fcn.00422768
add esp, 0x14
test eax, eax
jl 0x423ed4
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b2b9
leave
ret
Function at 0x423f4a
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, 0x478f80
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]
movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423f72
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422859
mov esi, 0x478fb0
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]
lea eax, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423f9e
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422859
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 0x423fe2
and dword [ebp - 0x254], 0
jmp 0x423ffe
lea eax, [edi + edi]
call fcn.0044dbb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004178a6
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x424013
xor edi, edi
jmp 0x42402b
lea eax, [ebx + ebx]
call fcn.0044dbb0
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004178a6
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424097
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x424090
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x424086
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x424086
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x424052
jmp 0x424090
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.0043b2b9
leave
ret
Function at 0x4240cb
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x483260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x34b]
push ebx
push eax
mov byte [ebp - 0x34c], bl
call fcn.0043e330
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043e330
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.0043e330
add esp, 0x24
push 5
pop ecx
mov esi, 0x478fc0
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [0x478f9c]
mov esi, 0x478fd8
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]
mov esi, 0x478f90
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x478fa0]
movsw word es:[edi], word [esi]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x40]
movsb byte es:[edi], byte [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424166
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.00422859
lea eax, [ebp - 0x28]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x424184
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.00422859
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x42419d
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422859
lea eax, [ebp - 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4241b6
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422859
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov ebx, 0x104
push edi
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
je 0x424211
xor eax, eax
jmp 0x424274
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
mov dword [ebp - 0x350], ebx
call esi
test eax, eax
jne 0x42420d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
push str._s_s_s
push ebx
lea edi, [ebp - 0x248]
call fcn.00422768
add esp, 0x14
test eax, eax
jl 0x42420d
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b2b9
leave
ret
Function at 0x424283
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, 0x478fd8
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]
movsd dword es:[edi], dword [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4242ab
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422859
mov esi, 0x478fe8
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]
lea eax, [ebp - 0x14]
movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4242d7
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422859
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 0x42431b
and dword [ebp - 0x254], 0
jmp 0x424337
lea eax, [edi + edi]
call fcn.0044dbb0
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004178a6
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x42434c
xor edi, edi
jmp 0x424364
lea eax, [ebx + ebx]
call fcn.0044dbb0
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004178a6
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4243d0
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4243c9
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x4243bf
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x4243bf
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42438b
jmp 0x4243c9
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.0043b2b9
leave
ret