joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aa97
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405874
and dword [ebp - 4], 0
cmp dword [0x418010], 0
mov ebx, eax
jne 0x40ab48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40abf9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x412ab4
push edi
call esi
test eax, eax
je 0x40abf9
push eax
call fcn.00405802
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418010], eax
call esi
push eax
call fcn.00405802
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418014], eax
call esi
push eax
call fcn.00405802
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x418018], eax
call esi
push eax
call fcn.00405802
pop ecx
mov dword [0x418020], eax
test eax, eax
je 0x40ab48
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405802
pop ecx
mov dword [0x41801c], eax
mov eax, dword [0x41801c]
cmp eax, ebx
je 0x40aba0
cmp dword [0x418020], ebx
je 0x40aba0
push eax
call fcn.0040587d
push dword [0x418020]
mov esi, eax
call fcn.0040587d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aba0
test edi, edi
je 0x40aba0
call esi
test eax, eax
je 0x40ab97
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab97
test byte [ebp - 0xc], 1
jne 0x40aba0
or dword [ebp + 0x10], 0x200000
jmp 0x40abd9
mov eax, dword [0x418014]
cmp eax, ebx
je 0x40abd9
push eax
call fcn.0040587d
pop ecx
test eax, eax
je 0x40abd9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40abd9
mov eax, dword [0x418018]
cmp eax, ebx
je 0x40abd9
push eax
call fcn.0040587d
pop ecx
test eax, eax
je 0x40abd9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418010]
call fcn.0040587d
pop ecx
test eax, eax
je 0x40abf9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40abfb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x17474c67
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x79446830
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4112d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0aab
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xd8]
push 0x84
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00472ad0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xd8]
push edi
push 0x4db8b8
push eax
mov dword [ebp - 4], 0
call fcn.00473280
add esp, 0xc
mov dword [ebp - 0x50], 0x40
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
shr eax, 0x14
test eax, eax
jne 0x4113b1
cmp ecx, 0x2200
ja 0x4113b1
test eax, eax
jne 0x4113aa
cmp ecx, 0x1c00
ja 0x4113aa
test eax, eax
jne 0x4113a3
cmp ecx, 0xe00
ja 0x4113a3
test eax, eax
jne 0x41139c
cmp ecx, 0xa00
ja 0x41139c
mov eax, 0x300
jmp 0x4113b6
mov eax, 0x400
jmp 0x4113b6
mov eax, 0x800
jmp 0x4113b6
mov eax, 0xc00
jmp 0x4113b6
mov eax, 0x1000
cmp edi, eax
jne 0x4113d0
mov ecx, str.recommend_postfix
call fcn.0040d1d0
push eax
lea ecx, [ebp - 0xd8]
call fcn.00472d90
mov esi, dword [ebx]
lea ecx, [ebp - 0xd8]
call fcn.00427b10
push eax
mov ecx, ebx
call dword [esi + 0x3c]
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd8]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebx + 0x760]
mov edx, dword [ecx]
push 0
mov eax, dword [eax]
cmp dword [eax + 0x63c], edi
sete al
movzx eax, al
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call fcn.00472b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 8
Function at 0x42d6a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3488
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x501320]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCreate_void__]
push 0x4fc9f4
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopyException_void___void_const___void_const__]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrCopy_void___void_const__]
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl___ExceptionPtrDestroy_void__]
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x433340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c470
add esp, 4
push 0xd
push 0x4decfc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041c0a0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4ded50
push str.overlapX
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x433414
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret

Function at 0x433430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3ceb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0046c470
add esp, 4
push 0xd
push 0x4decfc
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.0041c0a0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x4ded50
push str.overlapY
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov esi, eax
cmp dword [ebp - 0x814], 8
jb 0x433504
push dword [ebp - 0x828]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x45aa30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.004be580
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x300c], 0
lea eax, [ebp - 0x302c]
mov esi, edx
push eax
mov edi, ecx
movdqu xmmword [ebp - 0x302c], xmm0
movdqu xmmword [ebp - 0x301c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3018]
mov dword [edi], eax
mov dword [esi], eax
mov eax, dword [0x5155bc]
test al, 1
jne 0x45aab3
push str.GetLogicalProcessorInformation
or eax, 1
push str.kernel32.dll
mov dword [0x5155bc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x5155c0], esi
jmp 0x45aab9
mov esi, dword [0x5155c0]
test esi, esi
je 0x45ab27
push 0x3000
lea eax, [ebp - 0x3004]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x3008], 0x3000
lea eax, [ebp - 0x3008]
push eax
lea eax, [ebp - 0x3004]
push eax
call esi
test eax, eax
je 0x45ab27
mov eax, 0xaaaaaaab
xor esi, esi
mul dword [ebp - 0x3008]
shr edx, 4
test edx, edx
je 0x45ab27
lea ecx, [ebp - 0x3000]
jmp 0x45ab10
mov eax, dword [ecx]
sub eax, 0
je 0x45ab1a
dec eax
jmp 0x45ab1b
inc esi
add ecx, 0x18
dec edx
jne 0x45ab10
test esi, esi
je 0x45ab27
mov dword [edi], esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bddec
mov esp, ebp
pop ebp
ret

Function at 0x45cdc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c79d6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
call fcn.004258d0
push 0x4dc188
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x515784
call fcn.00425b20
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x45ce91
push dword [ebp - 0x234]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 0x515784
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
Function at 0x460750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c82e8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x46078b
mov eax, dword [esi]
jmp 0x46078d
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x460795
mov ecx, dword [edi]
push eax
push ecx
push str.createProcess_filename____s___param____s_
push 0xaa
push str.common::create
call fcn.00461db0
push edi
mov edx, 0x4db910
lea ecx, [ebp - 0x40]
call fcn.0041cb20
push 0x4db910
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0041cc10
add esp, 0x24
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4607ea
push dword [ebp - 0x40]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
je 0x460837
push esi
mov edx, 0x4eb218
lea ecx, [ebp - 0x58]
call fcn.0041cb20
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00425370
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x460837
push dword [ebp - 0x58]
call edi
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x80], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x84], 1
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4608dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0xbd
push str.common::create
call fcn.00461db0
add esp, 0x10
xor esi, esi
jmp 0x4608e9
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
jb 0x4608f7
push dword [ebp - 0x28]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x46b740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004090e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004090e0
push eax
push str.shellEx_filename____s___param____s___runas___d__show___d__timeout___d
push 0x24
push 0x4d5d7c
call fcn.00461db0
add esp, 0x20
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x440
mov dword [ebp - 0x48], 0
call fcn.0046c920
movzx eax, al
test eax, eax
je 0x46b7ac
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x46b7ac
mov dword [ebp - 0x44], str.runas
jmp 0x46b7b3
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + 8]
call fcn.004090e0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
call fcn.004090e0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x46b7e1
mov dword [ebp - 0x10], 5
jmp 0x46b7e8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x46b825
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d5e80
push 0x35
push 0x4d5ec4
call fcn.00461db0
add esp, 0x10
xor al, al
jmp 0x46b8e3
mov byte [ebp - 1], 1
cmp dword [ebp + 0x18], 0
je 0x46b8d6
mov byte [ebp - 1], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x46b865
cmp dword [ebp - 8], 0x102
je 0x46b8a5
cmp dword [ebp - 8], 0xffffffff
je 0x46b8bb
jmp 0x46b8d6
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xc], 0
jne 0x46b884
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.shellEx_exitcode___d_lastError___d
push 0x47
push 0x4d5f54
call fcn.00461db0
add esp, 0x14
jmp 0x46b8d6
push str.shellEx_timeout___
push 0x4c
push 0x4d5fb4
call fcn.00461db0
add esp, 0xc
jmp 0x46b8d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d5f70
push 0x51
push str.utility::process::shellEx
call fcn.00461db0
add esp, 0x10
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x46ba00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8a38
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004090e0
push eax
mov ecx, dword [ebp + 8]
call fcn.004090e0
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push 0x4d64d4
call fcn.00461db0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x4d6560
lea ecx, [ebp - 0x58]
call fcn.0041cb20
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x4d6564
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0041cc10
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00409a80
mov ecx, dword [ebp + 0xc]
call fcn.00409b40
movzx edx, al
test edx, edx
jne 0x46bae6
mov eax, dword [ebp + 0xc]
push eax
mov edx, 0x4d65b8
lea ecx, [ebp - 0x40]
call fcn.0041cb20
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
call fcn.00425350
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00409a80
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x46bb46
mov dword [ebp - 0x5c], 5
jmp 0x46bb4d
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x98], dx
xor eax, eax
mov word [ebp - 0x96], ax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004090e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46bbe2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4d6568
push 0xff
push str.utility::process::create
call fcn.00461db0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409a80
mov eax, dword [ebp - 0x60]
jmp 0x46bc18
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x46bbfa
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409a80
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret
Function at 0x46bc40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46bc86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.kill32_h_is_null_pid___d_error___d
push 0x10e
push 0x4d6624
call fcn.00461db0
add esp, 0x14
xor al, al
jmp 0x46bcda
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46bcbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push str.kill32_progress_failed_pid___d_lasterror___d
push 0x114
push str.utility::process::kill32
call fcn.00461db0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x46bcd3
mov byte [ebp - 1], 1
jmp 0x46bcd7
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x46bce0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8a78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x501320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.0046be50
mov dword [ebp - 4], 0
push str.tskill.exe
lea ecx, [ebp - 0x28]
call fcn.004099a0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00459430
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0046b8f0
add esp, 0x10
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00409a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00409a80
movzx ecx, byte [ebp - 0x41]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.kill_pid:_d__bSucess:_d
push 0x196
push 0x4d6b4c
call fcn.00461db0
add esp, 0x14
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x46bdee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.tskill.exe_error_lastError___d
push 0x198
push str.utility::process::kill
call fcn.00461db0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46bddf
cmp dword [ebp + 0xc], 0xffffffff
jne 0x46bdd5
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46bddf
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call fcn.0046bc40
add esp, 4
mov byte [ebp - 0x41], al
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0046be20
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bddec
mov esp, ebp
pop ebp
ret