joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417760
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
sub esp, 0x128
lea ebp, [esp - 4]
mov eax, dword [0x597790]
xor eax, ebp
mov dword [ebp + 0x128], eax
push 0x18
mov eax, 0x527bc5
call fcn.004fa507
mov esi, ecx
mov edi, dword [ebp + 0x134]
push edi
push 0x417925
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x4177aa
cmp dword [ebp + 0x138], eax
jne 0x4177aa
inc eax
jmp 0x41786a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, 0xffffffff
jne 0x417811
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.CCoreProcess::RecurseBringTreeToFront
call fcn.00401769
and dword [ebp - 4], 0
push 0x15d
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CreateToolHelp32Snapshot_failed_
call fcn.00401769
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
or dword [ebp - 4], ebx
call fcn.00411585
xor eax, eax
jmp 0x41786a
and dword [ebp - 0x18], 0
mov dword [ebp - 4], 3
mov dword [ebp], 0x128
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41785a
cmp dword [ebp + 0x18], edi
jne 0x41788f
push dword [ebp + 0x138]
push dword [ebp + 8]
mov ecx, esi
call fcn.00417760
test eax, eax
je 0x41788f
cmp dword [ebp + 0x138], 0
jne 0x41788f
mov dword [ebp - 0x18], 1
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.004f4e9c
add ebp, 0x12c
leave
ret 8
lea eax, [ebp]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
jmp 0x41782d
Function at 0x417a67
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527b77
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.004fc430
push ebx
push esi
push edi
mov eax, dword [0x597790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp - 0x1028]
push eax
mov dword [ebp - 0x18], esi
call sub.PSAPI.DLL_EnumProcesses
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
test eax, eax
jne 0x417b26
push str.CCoreProcess::IsProcessExistByName
call fcn.00401769
mov byte [ebp - 4], 1
push 0x1d3
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.EnumProcesses_failed_
call fcn.00401769
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 0
call fcn.00411585
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x24], esi
call fcn.0040184e
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
lea edi, [ebp - 0x14]
call fcn.004142f9
pop ecx
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp + 8]
call fcn.004044ef
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.00401898
shr dword [ebp - 0x18], 2
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jge 0x417c64
lea ebx, [ebp + esi*4 - 0x1028]
push dword [ebx]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x417c4d
lea ecx, [ebp - 0x10]
call fcn.00404433
mov byte [ebp - 4], 6
mov esi, 0x104
push esi
lea ecx, [ebp - 0x10]
call fcn.00401673
push esi
push eax
push 0
push dword [ebp - 0x1c]
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jbe 0x417c3e
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004043a7
push 0x543fa4
xor ecx, ecx
lea esi, [ebp - 0x10]
call fcn.00414d7b
test eax, eax
jge 0x417c3e
push str.SystemRoot
xor ecx, ecx
call fcn.00414d7b
test eax, eax
jge 0x417c3e
push ecx
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea edi, [ebp - 0x20]
call fcn.004142f9
pop ecx
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.004044ef
mov byte [ebp - 4], 6
mov ecx, edi
call fcn.00401898
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.0040412c
test eax, eax
jne 0x417c3e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], 1
test eax, eax
je 0x417c3e
mov ecx, dword [ebx]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401898
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], esi
je 0x417b62
mov esi, dword [ebp - 0x24]
jmp 0x417b08
Function at 0x417c6c
Capabilities:
Enumerate process modules

Disassembly:
push 0x24c
mov eax, 0x527b07
call fcn.004fa573
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x254], ebx
cmp ebx, 0xffffffff
jne 0x417cab
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, esi
call fcn.004fa5cf
ret
mov dword [ebp - 0x24c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], 0x224
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.KERNEL32.dll_Module32First
mov esi, eax
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
lea eax, [ebp + 0xc]
push eax
call fcn.0040184e
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
lea edi, [ebp - 0x244]
call fcn.004142f9
pop ecx
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
call fcn.004044ef
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00401898
lea edi, [ebp + 0xc]
call fcn.0040414e
push eax
mov ecx, edi
call fcn.004044ef
test esi, esi
je 0x417dd0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x244]
call fcn.00401769
mov byte [ebp - 4], 4
push 0x543fa4
xor ecx, ecx
lea esi, [ebp - 0x244]
call fcn.00414d7b
test eax, eax
jge 0x417deb
push str.SystemRoot
xor ecx, ecx
call fcn.00414d7b
test eax, eax
jge 0x417deb
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
mov eax, esi
push eax
call fcn.0040184e
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
lea edi, [ebp - 0x248]
call fcn.004142f9
pop ecx
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.004044ef
mov byte [ebp - 4], 4
mov ecx, edi
call fcn.00401898
lea eax, [ebp + 0xc]
push eax
mov edi, esi
call fcn.0040414e
push eax
call fcn.0040429a
pop ecx
pop ecx
test al, al
je 0x417deb
mov dword [ebp - 0x24c], 1
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00401898
and dword [ebp - 4], 0
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
jmp 0x417c97
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.KERNEL32.dll_Module32Next
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.00401898
jmp 0x417d1c
Function at 0x417e72
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x527a8c
call fcn.004fa4d4
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.ShellExecuteCommand:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 1
push 4
mov byte [ebp - 4], bl
call fcn.0041485d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], 0x53e9ff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x417f53
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.CCoreProcess::ShellExecuteCommand
call fcn.00401769
mov byte [ebp - 4], 2
push 0x268
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 3
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.Failed_to_execute_command:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, ebx
call fcn.004fa5ac
ret
xor ebx, ebx
inc ebx
jmp 0x417f3f
Function at 0x417f58
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x527a49
call fcn.004fa4d4
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.ShellExecuteCommand:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, 0x543784
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004041d2
mov byte [ebp - 4], 3
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0040417b
add esp, 0xc
mov byte [ebp - 4], 4
push 4
mov byte [ebp - 4], 3
call fcn.0041485d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
xor edi, edi
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4180cf
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CCoreProcess::ShellExecuteCommand
call fcn.00401769
mov byte [ebp - 4], 5
push 0x283
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x14]
push str.Failed_to_execute_command:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 7
push esi
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.004041d2
mov byte [ebp - 4], 8
add esp, 8
mov ecx, esp
mov dword [ebp - 0x10], esp
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0040417b
add esp, 0xc
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411585
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x10]
call fcn.00401898
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, edi
call fcn.004fa5ac
ret
xor edi, edi
inc edi
jmp 0x4180af
Function at 0x4180d4
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x5279de
call fcn.004fa4d4
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.ShellExecuteCommand:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 2
push 4
mov byte [ebp - 4], bl
call fcn.0041485d
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x34], 0
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x30], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4181c9
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str.CCoreProcess::ShellExecuteCommandAndWait
call fcn.00401769
mov byte [ebp - 4], 3
push 0x29d
push ecx
mov ecx, esp
mov dword [ebp + 0x18], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
push ecx
push str.Failed_to_execute_command:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
xor ebx, ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, ebx
call fcn.004fa5ac
ret
cmp dword [ebp - 0x14], 0
je 0x4181a9
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4181a9
Function at 0x4181e6
Capabilities:
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x527993
call fcn.004fa4d4
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push str.ShellExecuteCommand:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 2
push 0x543784
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004041d2
mov byte [ebp - 4], 3
add esp, 8
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
call fcn.0040417b
add esp, 0xc
mov byte [ebp - 4], 4
push 4
mov byte [ebp - 4], 3
call fcn.0041485d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401898
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00401898
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x38], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x41831d
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.CCoreProcess::ShellExecuteCommand
call fcn.00401769
mov byte [ebp - 4], 5
push 0x2bd
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp + 8]
push ecx
push str.Failed_to_execute_command:
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
xor ebx, ebx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401898
mov eax, ebx
call fcn.004fa5ac
ret
test esi, esi
je 0x4182fd
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
jmp 0x4182fd
Function at 0x418328
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push 0x148
mov eax, 0x52bfc4
call fcn.004fa573
mov esi, ecx
push 2
pop ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x2c]
lea eax, [ebp + 0xc]
push eax
call fcn.004044ef
lea ecx, [esi + 0x30]
lea eax, [ebp + 0x10]
push eax
call fcn.004044ef
push 0
push ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x14c], edi
cmp edi, 0xffffffff
jne 0x4183c7
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.CCoreProcess::CloseProcessWindowsByModuleName
call fcn.00401769
mov byte [ebp - 4], 3
push 0x2d6
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push str.CreateToolHelp32Snapshot_failed_
call fcn.00401769
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
jmp 0x418444
mov byte [ebp - 4], 6
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x418435
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea eax, [ebp + 8]
push eax
call fcn.0040184e
mov byte [ebp - 4], 7
push dword [ebp - 0x13c]
mov byte [ebp - 4], 6
call fcn.00417c6c
pop ecx
pop ecx
test eax, eax
je 0x418426
mov eax, dword [ebp - 0x13c]
mov dword [esi + 0x34], eax
push esi
push 0x4184d7
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x4183e2
mov dword [ebp - 4], ebx
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00401898
call fcn.004fa5cf
ret 0xc
Function at 0x418725
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x148
mov eax, 0x52bf37
call fcn.004fa573
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x14c], edi
cmp edi, 0xffffffff
jne 0x4187ac
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
push str.CCoreProcess::TerminateProcessByModuleName
call fcn.00401769
mov byte [ebp - 4], 1
push 0x332
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push str..CoreProcess.cpp
call fcn.00401769
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
push str.CreateToolHelp32Snapshot_failed_
call fcn.00401769
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov byte [ebp - 4], bl
call fcn.00411585
jmp 0x418838
mov byte [ebp - 4], 4
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x418829
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea eax, [ebp + 8]
push eax
call fcn.0040184e
mov byte [ebp - 4], 5
push dword [ebp - 0x13c]
mov byte [ebp - 4], 4
call fcn.00417c6c
pop ecx
pop ecx
cmp eax, ebx
je 0x41881a
push dword [ebp - 0x13c]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x41881a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x4187c7
mov dword [ebp - 4], ebx
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
call fcn.004fa5cf
ret

Function at 0x41c93e
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x5213cc
call fcn.004fa4d4
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
and dword [ebp - 0x14], 0
test eax, eax
jne 0x41c97c
lea esi, [ebp - 0x10]
call fcn.00413a61
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 8]
call fcn.004044ef
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00401898
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x41c9fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x41c9fc
push ebx
push edi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41c9f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x543820
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41c9f0
push 0x34
pop eax
cmp dword [ebp - 0x10], eax
jb 0x41c9d8
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.004f6750
add esp, 0xc
mov dword [ebp - 0x14], 1
push ebx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401898
mov eax, dword [ebp - 0x14]
call fcn.004fa5ac
ret
Function at 0x41ca11
Capabilities:
Get file version info

Disassembly:
push 0x14
mov eax, 0x5213a1
call fcn.004fa4d4
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 8]
push 0x53e9ff
call fcn.00401769
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
cmp dword [eax - 0xc], edi
jne 0x41ca68
lea esi, [ebp - 0x14]
call fcn.00413a61
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
call fcn.004044ef
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00401898
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, edi
jbe 0x41cb1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x41cb1d
push edi
push ebx
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41cb11
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push str.StringFileInfo040904E4_
push eax
call fcn.00404236
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 0x10]
call fcn.004044ef
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401898
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41cb11
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.00401769
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
push eax
call fcn.004044ef
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00401898
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00401898
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00401898
mov eax, dword [ebp + 8]
call fcn.004fa5ac
ret

Function at 0x41d068
Capabilities:
Read file on windows

Disassembly:
push 0
mov eax, 0x51c18b
call fcn.004fa4d4
mov esi, ecx
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x41d0bb
push 1
push 0x29
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.CCoreStreamFile::Read
call fcn.00401769
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.Stream_is_not_open_
call fcn.00401769
mov byte [ebp - 4], 1
mov eax, dword [esi]
push 1
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
jmp 0x41d115
mov edi, dword [ebp + 0x10]
push 0
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41d10e
push 1
push 0x2e
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.CCoreStreamFile::Read
call fcn.00401769
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.ReadFile_failed_
call fcn.00401769
mov byte [ebp - 4], 3
mov eax, dword [esi]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [eax + 0x18]
jmp 0x41d0b7
xor eax, eax
cmp dword [edi], eax
setne al
call fcn.004fa5ac
ret 0xc