joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d1ec
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
mov dword [ebp - 0x80], 1
call fcn.00475410
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4d288c
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsQAXSecurity.exe
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
mov esi, 0x208
push ebx
mov dword [ebp - 0x7c], esi
call edi
test eax, eax
jne 0x46d284
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push str.QAXSecurity.exe
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d2d5
push esi
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 0x7c], esi
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push str.UninstallString
push 0x4c4890
push ebx
call edi
test eax, eax
jne 0x46d2dc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d2dc
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
add ebp, 0x198
leave
ret

Function at 0x46d2f7
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push edi
xor eax, eax
push 0x206
xor edi, edi
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
mov dword [ebp - 0x7c], 1
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMSPCManager
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x46d383
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46d383
inc edi
mov ecx, dword [ebp + 0x190]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0047548a
add ebp, 0x194
leave
ret
Function at 0x46d39b
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
push ebp
lea ebp, [esp - 0x81c]
sub esp, 0x89c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x818], eax
push ebx
push esi
push edi
xor eax, eax
push eax
push 0x26
lea ecx, [ebp + 0x5ec]
push ecx
push eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x46d548
mov esi, 0x4d3484
lea edi, [ebp + 0x7f4]
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, 0x4d3498
lea edi, [ebp + 0x808]
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 esi
lea eax, [ebp + 0x7f4]
push 0x11
push eax
call fcn.0046c9e9
push esi
lea eax, [ebp + 0x808]
push 0xe
push eax
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x18
lea eax, [ebp + 0x7f4]
push eax
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d43e
and dword [ebp - 0x80], 0
jmp 0x46d45b
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x7f4]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x808]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d471
and dword [ebp - 0x7c], 0
jmp 0x46d48e
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x808]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x80]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x5ec]
push eax
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x4d34a8
lea eax, [ebp + 0x5ec]
push eax
lea eax, [ebp + 0x1dc]
push eax
call edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46d545
test byte [ebp - 0x74], 0x10
je 0x46d526
cmp word [ebp - 0x48], 0x2e
jne 0x46d4f5
cmp word [ebp - 0x46], 0
je 0x46d526
cmp word [ebp - 0x46], 0x2e
jne 0x46d4f5
cmp word [ebp - 0x44], 0
je 0x46d526
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x5ec]
push eax
lea eax, [ebp + 0x3e4]
push eax
call edi
push dword [ebp - 0x7c]
lea eax, [ebp + 0x3e4]
push eax
call esi
lea eax, [ebp + 0x3e4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d537
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46d4d3
jmp 0x46d53e
mov dword [ebp - 0x78], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x78]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x818]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x81c
leave
ret
Function at 0x46d566
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d3498
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0xd3e
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x24]
push 0xe
push eax
movsw word es:[edi], word [esi]
call fcn.0046c9e9
mov esi, 0x4d34ac
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
lea eax, [ebp - 0x14]
push 0xd
push eax
movsb byte es:[edi], byte [esi]
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d5e7
and dword [ebp - 0x254], 0
jmp 0x46d604
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d615
xor ebx, ebx
jmp 0x46d62e
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b457
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46d6a0
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46d699
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d68f
cmp dword [ebp + 8], 0
jne 0x46d67c
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d68f
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46d655
jmp 0x46d699
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.0047548a
leave
ret
Function at 0x46d6df
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d34dc
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x237f
lea eax, [ebp - 0x24]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046c9e9
mov esi, 0x4d34ec
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d775
and dword [ebp - 0x254], 0
jmp 0x46d792
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d7a3
xor ebx, ebx
jmp 0x46d7bc
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b457
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46d82e
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46d827
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d81d
cmp dword [ebp + 8], 0
jne 0x46d80a
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46d81d
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46d7e3
jmp 0x46d827
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.0047548a
leave
ret
Function at 0x46d849
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d3570
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x849
lea eax, [ebp - 0x10]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9e9
mov esi, 0x4d357c
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46d8dd
and dword [ebp - 0x250], 0
jmp 0x46d8fa
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46d90b
xor ebx, ebx
jmp 0x46d924
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b457
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46d996
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46d98f
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46d985
cmp dword [ebp + 8], 0
jne 0x46d972
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46d985
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46d94b
jmp 0x46d98f
mov dword [ebp - 0x254], 1
push edi
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.0047548a
leave
ret
Function at 0x46d9b1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d359c
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]
push 0x237f
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9e9
mov esi, 0x4d35a8
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push 0x1586a
push eax
movsw word es:[edi], word [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x254], 0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24c], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46da4b
and dword [ebp - 0x250], 0
jmp 0x46da68
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x20]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46da79
xor ebx, ebx
jmp 0x46da92
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040b457
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46db04
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46dafd
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebx
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46daf3
cmp dword [ebp + 8], 0
jne 0x46dae0
push dword [ebp - 0x250]
lea eax, [ebp - 0x228]
push eax
call esi
test eax, eax
je 0x46daf3
lea eax, [ebp - 0x24c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46dab9
jmp 0x46dafd
mov dword [ebp - 0x254], 1
push edi
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.0047548a
leave
ret
Function at 0x46db1f
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 [0x4f3bd0]
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.00475410
add esp, 0xc
push 0xb
pop ecx
lea eax, [ebp + 0x90]
push 0x1586a
mov esi, 0x4d35b8
lea edi, [ebp + 0x90]
push eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x104
rep movsd dword es:[edi], dword [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp + 0x90]
push eax
call fcn.0046c9e9
add esp, 0xc
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 0x46dbd9
xor eax, eax
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0xbc]
xor ecx, ebp
call fcn.0047548a
add ebp, 0xc0
leave
ret
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x46dbf2
xor eax, eax
jmp 0x46dc09
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.0040b457
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 0x46dbba
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
jne 0x46dc37
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x46dbbc
inc edi
jmp 0x46dc2c
Function at 0x46dc5c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x4d3644
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, 0x237f
lea eax, [ebp - 0x24]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0046c9e9
mov esi, 0x4d3674
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x14]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046c9e9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
and dword [ebp - 0x258], 0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x250], 0x22c
call edi
mov esi, eax
inc esi
mov ebx, 0x3fffffff
cmp esi, ebx
jle 0x46dcf3
and dword [ebp - 0x254], 0
jmp 0x46dd10
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0040b457
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, eax
inc esi
cmp esi, ebx
jle 0x46dd21
xor ebx, ebx
jmp 0x46dd3a
lea eax, [esi + esi]
call fcn.0047bd20
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0040b457
mov ebx, eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x46ddac
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46dda5
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push dword [ebp - 0x254]
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46dd9b
cmp dword [ebp + 8], 0
jne 0x46dd88
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
test eax, eax
je 0x46dd9b
lea eax, [ebp - 0x250]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46dd61
jmp 0x46dda5
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.0047548a
leave
ret
Function at 0x46ddc7
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 [0x4f3bd0]
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.00475410
push esi
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.00475410
push esi
lea eax, [ebp - 0x327]
push ebx
push eax
mov byte [ebp - 0x328], bl
call fcn.00475410
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 0x46dede
push edi
mov esi, 0x4d34d4
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x4d34dc
lea edi, [ebp - 0x1c]
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, 0x237f
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046c9e9
add esp, 0xc
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046c9e9
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
lea eax, [ebp - 0x120]
push eax
call fcn.0040b3f7
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
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
leave
ret
Function at 0x46df10
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 [0x4f3bd0]
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.00475410
push esi
lea eax, [ebp - 0x153]
push edi
push eax
mov byte [ebp - 0x154], 0
call fcn.00475410
push esi
lea eax, [ebp - 0x257]
push edi
push eax
mov byte [ebp - 0x258], 0
call fcn.00475410
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 0x46e0c0
push ebx
push 7
pop ecx
push 9
mov esi, 0x4d3530
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, 0x4d354c
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x4d3518
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x844
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0046c9e9
add esp, 0xc
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0046c9e9
add esp, 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00476880
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0046c9e9
add esp, 0xc
lea eax, [ebp - 0x35c]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b3f7
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 0x46e056
xor eax, eax
inc eax
jmp 0x46e0bf
push esi
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00475410
push esi
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.00475410
add esp, 0x18
lea eax, [ebp - 0x35c]
push eax
push esi
lea eax, [ebp - 0x154]
push eax
call fcn.0040b3f7
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.0047548a
leave
ret