joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4233c7
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.0043e1d0
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.0043e1d0
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 0x423582
push 7
pop ecx
mov esi, 0x478de4
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
mov esi, 0x478e00
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478dcc
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 0x423469
sub eax, edx
mov esi, 0x844
mov ecx, esi
lea edx, [ebp - 0x2c]
call fcn.00422680
lea eax, [ebp - 0x50]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423487
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x50]
call fcn.00422680
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4234a0
sub eax, ecx
push ebx
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.00422680
mov esi, 0x104
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.00421151
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 0x423514
xor eax, eax
inc eax
jmp 0x423581
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.0043e1d0
add esp, 0x18
push SysReAllocString
lea eax, [ebp - 0x35c]
mov ecx, esi
lea edx, [ebp - 0x154]
call fcn.00421151
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.0043b155
leave
ret
Function at 0x423590
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, 0x478e24
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 0x4235b7
sub eax, edx
mov ebx, 0x849
mov ecx, ebx
lea edx, [ebp - 0x10]
call fcn.00422680
mov esi, 0x478e30
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 0x4235e1
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x20]
call fcn.00422680
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 0x423625
and dword [ebp - 0x250], 0
jmp 0x423641
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.004176c1
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x423656
xor edi, edi
jmp 0x42366e
lea eax, [ebx + ebx]
call fcn.0044da50
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004176c1
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4236da
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4236d3
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x4236c9
push edi
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x4236c9
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423695
jmp 0x4236d3
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.0043b155
leave
ret
Function at 0x423717
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.0043e1d0
mov esi, 0x478e40
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, 0x478e50
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 0x42377c
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x20]
call fcn.00422680
lea eax, [ebp - 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42379a
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x10]
call fcn.00422680
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 0x423808
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 0x423808
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423808
xor eax, eax
inc eax
jmp 0x42380a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x423816
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, 0x478e50
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 0x42383f
sub eax, edx
mov ecx, 0x237f
lea edx, [ebp - 0x10]
call fcn.00422680
mov esi, 0x478e5c
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 0x423868
sub eax, ecx
mov ecx, 0x1586a
lea edx, [ebp - 0x20]
call fcn.00422680
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 0x4238af
and dword [ebp - 0x250], 0
jmp 0x4238cb
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.004176c1
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x4238e0
xor edi, edi
jmp 0x4238f8
lea eax, [ebx + ebx]
call fcn.0044da50
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.004176c1
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423964
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42395d
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push edi
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x423953
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x423953
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42391f
jmp 0x42395d
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.0043b155
leave
ret
Function at 0x42397f
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.0043e1d0
add esp, 0xc
push 0xb
pop ecx
mov esi, 0x478e6c
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 0x4239da
sub eax, edx
mov ecx, 0x1586a
lea edx, [ebp + 0x90]
call fcn.00422680
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 0x423a39
xor eax, eax
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.0043b155
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 0x423a52
xor eax, eax
jmp 0x423a68
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x74]
push eax
call fcn.004176c1
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 0x423a1a
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x423a96
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x423a1c
inc edi
jmp 0x423a8b
Function at 0x423ab9
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.0043e1d0
add esp, 0xc
push 8
pop ecx
mov esi, 0x478ea4
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x478ec4
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 0x423b1f
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x38]
call fcn.00422680
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x423b3d
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422680
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 0x423bab
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 0x423bab
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423bab
xor eax, eax
inc eax
jmp 0x423bad
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b155
leave
ret
Function at 0x423bb9
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.0043e1d0
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.0043e1d0
add esp, 0x24
push 5
pop ecx
mov esi, 0x478ee0
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 [0x478f14]
mov esi, 0x478ef8
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, 0x478f08
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x478f18]
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 0x423c54
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.00422680
lea eax, [ebp - 0x28]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423c72
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.00422680
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423c8b
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422680
lea eax, [ebp - 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423ca4
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422680
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 0x423cff
xor eax, eax
jmp 0x423d62
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 0x423cfb
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.0042258f
add esp, 0x14
test eax, eax
jl 0x423cfb
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.0043b155
leave
ret
Function at 0x423d71
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, 0x478ef8
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 0x423d99
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422680
mov esi, 0x478f28
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 0x423dc5
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422680
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 0x423e09
and dword [ebp - 0x254], 0
jmp 0x423e25
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004176c1
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x423e3a
xor edi, edi
jmp 0x423e52
lea eax, [ebx + ebx]
call fcn.0044da50
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004176c1
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x423ebe
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423eb7
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x423ead
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x423ead
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423e79
jmp 0x423eb7
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.0043b155
leave
ret
Function at 0x423ef2
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.0043e1d0
push esi
lea eax, [ebp - 0x143]
push ebx
push eax
mov byte [ebp - 0x144], bl
call fcn.0043e1d0
push esi
lea eax, [ebp - 0x247]
push ebx
push eax
mov byte [ebp - 0x248], bl
call fcn.0043e1d0
add esp, 0x24
push 5
pop ecx
mov esi, 0x478f38
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 [0x478f14]
mov esi, 0x478f50
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, 0x478f08
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [0x478f18]
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 0x423f8d
sub eax, ecx
mov esi, 0x237f
mov ecx, esi
lea edx, [ebp - 0x40]
call fcn.00422680
lea eax, [ebp - 0x28]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423fab
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x28]
call fcn.00422680
lea eax, [ebp - 0x18]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423fc4
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0x18]
call fcn.00422680
lea eax, [ebp - 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423fdd
sub eax, ecx
mov ecx, esi
lea edx, [ebp - 0xc]
call fcn.00422680
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 0x424038
xor eax, eax
jmp 0x42409b
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 0x424034
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.0042258f
add esp, 0x14
test eax, eax
jl 0x424034
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.0043b155
leave
ret
Function at 0x4240aa
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, 0x478f50
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 0x4240d2
sub eax, edx
mov ebx, 0x237f
mov ecx, ebx
lea edx, [ebp - 0x24]
call fcn.00422680
mov esi, 0x478f60
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 0x4240fe
sub eax, esi
mov ecx, ebx
lea edx, [ebp - 0x14]
call fcn.00422680
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 0x424142
and dword [ebp - 0x254], 0
jmp 0x42415e
lea eax, [edi + edi]
call fcn.0044da50
mov esi, esp
push 3
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.004176c1
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call ebx
mov ebx, eax
inc ebx
cmp ebx, 0x3fffffff
jle 0x424173
xor edi, edi
jmp 0x42418b
lea eax, [ebx + ebx]
call fcn.0044da50
mov esi, esp
push 3
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.004176c1
mov edi, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241f7
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4241f0
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x4241e6
push edi
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x4241e6
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4241b2
jmp 0x4241f0
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.0043b155
leave
ret