joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x348], ecx
call fcn.00402270
mov dword [ebp - 0x33c], eax
xor eax, eax
mov word [ebp - 0x328], ax
push 0x206
push 0
lea ecx, [ebp - 0x326]
push ecx
call fcn.00562540
add esp, 0xc
push 0x103
lea edx, [ebp - 0x328]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x4449a0
cmp dword [ebp - 0xc], 0x7a
je 0x4449a0
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UpgradeFunc.exe
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x4449a8
or eax, 0xffffffff
jmp 0x444b0a
lea edx, [ebp - 0x328]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4449c1
or eax, 0xffffffff
jmp 0x444b0a
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.00562540
add esp, 0xc
mov ecx, dword [ebp - 0x348]
cmp dword [ecx + 8], 0
jne 0x444b05
lea edx, [ebp - 0x338]
push edx
call fcn.0046f900
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0xc]
jle 0x444af5
push 0x104
push 0
lea edx, [ebp - 0x120]
push edx
call fcn.00562540
add esp, 0xc
lea eax, [ebp - 0x328]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
jne 0x444a49
mov dword [ebp - 0x34c], 0
jmp 0x444ab3
mov ecx, dword [ebp - 0x32c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x444a71
mov dword [ebp - 0x350], 0
jmp 0x444aa7
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x354], esp
mov edx, dword [ebp - 0x33c]
push edx
mov eax, dword [ebp - 8]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x354]
push edx
call fcn.004022d0
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
push ecx
push str.__s__stop_install_icshg
lea edx, [ebp - 0x120]
push edx
call fcn.0055b801
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x344], esp
lea eax, [ebp - 0x120]
push eax
call fcn.00405ef0
mov dword [ebp - 0x358], eax
call fcn.004168f0
add esp, 0x20
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4449de
mov eax, 1
lea esp, [ebp - 0x358]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret
Function at 0x445250
Capabilities:
Enumerate processes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a70
call fcn.00565240
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1a70], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1810], eax
lea eax, [ebp - 0x1834]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor ecx, ecx
mov word [ebp - 0x1808], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1806]
push edx
call fcn.00562540
add esp, 0xc
push 0x400
lea eax, [ebp - 0x1808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
movzx edx, word [ebp - 0x1834]
cmp edx, 9
je 0x4452de
movzx eax, word [ebp - 0x1834]
cmp eax, 6
jne 0x4452f4
push str.MonitorProcess64.exe__eject_cmd
lea ecx, [ebp - 0x1808]
push ecx
call fcn.00445530
add esp, 8
jmp 0x445308
push str.MonitorProcess.exe__eject_cmd
lea edx, [ebp - 0x1808]
push edx
call fcn.00445530
add esp, 8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x180c], eax
mov dword [ebp - 0x1a68], 0x22c
lea eax, [ebp - 0x1a68]
push eax
mov ecx, dword [ebp - 0x180c]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x1a6c], eax
xor edx, edx
mov word [ebp - 0x1008], dx
push 0xffe
push 0
lea eax, [ebp - 0x1006]
push eax
call fcn.00562540
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1a6c], 0
je 0x445403
lea ecx, [ebp - 0x1a44]
push ecx
push 0x5ea73c
call fcn.0048b890
add esp, 8
test eax, eax
jne 0x4453e5
push 0x800
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.00562540
add esp, 0xc
mov eax, dword [ebp - 0x1a60]
push eax
lea ecx, [ebp - 0x1808]
push ecx
push str.__s__ld
lea edx, [ebp - 0x1008]
push edx
call fcn.00445550
add esp, 0x10
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1a60]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 1
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
call fcn.00415f60
add esp, 0x10
lea ecx, [ebp - 0x1a68]
push ecx
mov edx, dword [ebp - 0x180c]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x1a6c], eax
jmp 0x445360
cmp dword [ebp - 0x180c], 0
je 0x445419
mov eax, dword [ebp - 0x180c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret
Function at 0x445430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x5ea75c
push 0x5ea76c
call fcn.0040c050
add esp, 8
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x445510
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445487
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
push 0x4554a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x5ea6a4
push str.CCmdMonitor::StartCCmdMonitor
call fcn.0040c050
add esp, 8
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x445630
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584f96
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x615000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.00459250
movzx eax, al
test eax, eax
jne 0x44567c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.00446e10
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], 1
mov dword [ebp - 0x10], 0xbb8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x10]
jae 0x4456cd
push 0x12c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x18]
add edx, 0x12c
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x14], 0
jne 0x4456cb
jmp 0x4456cd
jmp 0x44569b
cmp dword [ebp - 0x14], 0
je 0x445700
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push eax
push str._CEthernetMonitor_Wait_trace_thread_fail__ret_d__err_d._n
push 0x5e9768
call fcn.0040c050
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x44571d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x14]
push eax
push str._CEthernetMonitor_Wait_trace_thread_thread_exit_OK..._n
push str.CEthernetMonitor::CEthernetMonitor
call fcn.0040c050
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x4c], 0
je 0x445752
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x4c], 0xffffffff
je 0x445752
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x2c
call fcn.00445610
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.00445610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x445790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.00562540
add esp, 0xc
push 0x5e9820
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.0055b87e
add esp, 0xc
mov edx, dword [ebp - 0x114]
add edx, 0x4c
push edx
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x445825
mov ecx, dword [ebp - 4]
push ecx
push 0x5e9870
push str.CEthernetMonitor::IniEthernetMonitor
call fcn.0040c050
add esp, 0xc
xor eax, eax
jmp 0x445875
mov ecx, dword [ebp - 0x114]
call fcn.00446270
mov edx, dword [ebp - 0x114]
mov dword [edx + 8], 0
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
push 0x4458f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x114]
mov dword [ecx], eax
mov edx, dword [ebp - 0x114]
cmp dword [edx], 0
je 0x445873
mov eax, 1
jmp 0x445875
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret
Function at 0x447890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581076
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x615000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405f30
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405f30
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x4c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00405f30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4494a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58640f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x615000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax], vtable.CEtwProvider.0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xc], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
call fcn.00459780
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x40], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x44
call fcn.0044e930
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0x5c
call fcn.0044e930
mov byte [ebp - 4], 2
push 0
call fcn.0046f900
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x80], 0x384
mov ecx, dword [ebp - 0x1c]
add ecx, 0x84
call fcn.00449650
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
add ecx, 0x138
call fcn.0044eaa0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x150], 0x64
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocString
mov ecx, 0x63b30c
call fcn.00406110
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4495e4
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x18]
push eax
call fcn.00418fe0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x154], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4498b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.004497b0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x44b1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4498e5
xor eax, eax
jmp 0x449936
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 8], 1
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x44dbd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x449927
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 0
xor eax, eax
jmp 0x449936
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x44a080
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x601688
push 1
push 0
push 0x601678
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x44a0de
mov ecx, dword [ebp - 8]
push ecx
push 0x5e8660
call fcn.0055cd1b
add esp, 8
jmp 0x44a174
mov edx, dword [ebp - 0xc]
add edx, 0xc
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x44a121
mov edx, dword [ebp - 8]
push edx
push str.pLocator__ConnectServer_failed_with_0x_x_n
call fcn.0055cd1b
add esp, 8
jmp 0x44a174
push 0
push 0
push 3
push 4
push 0
push 0
push 0xa
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x44a174
mov edx, dword [ebp - 8]
push edx
push str.CoSetProxyBlanket_failed_with_0x_x_n
call fcn.0055cd1b
add esp, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
cmp dword [ebp - 4], 0
je 0x44a188
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x44e1f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x44e259
push 0x59490a
mov ecx, dword [ebp + 8]
call fcn.00405ef0
mov eax, dword [ebp - 0x250]
or eax, 1
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 8]
jmp 0x44e39e
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x248], eax
call fcn.00402270
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x248], 0
je 0x44e372
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x230]
jne 0x44e354
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x214]
mov dword [ebp - 0x23c], edx
cmp dword [ebp - 0x23c], 0
jne 0x44e2c7
mov dword [ebp - 0x258], 0
jmp 0x44e331
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x44e2ef
mov dword [ebp - 0x25c], 0
jmp 0x44e325
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.0056a8e0
mov dword [ebp - 0x260], esp
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.004022d0
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ef0
mov ecx, dword [ebp - 0x250]
or ecx, 1
mov dword [ebp - 0x250], ecx
mov eax, dword [ebp + 8]
jmp 0x44e39e
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x248], eax
jmp 0x44e27d
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x59490b
mov ecx, dword [ebp + 8]
call fcn.00405ef0
mov edx, dword [ebp - 0x250]
or edx, 1
mov dword [ebp - 0x250], edx
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x260]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret 8
Function at 0x4551f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [0x63a874], 0
jne 0x4552a3
push 0x18
call fcn.0054f74a
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x455223
mov ecx, dword [ebp - 0x2c]
call fcn.00455180
mov dword [ebp - 0x30], eax
jmp 0x45522a
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [0x63a874], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x638d5c], eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x400
push 0x638d60
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x638d60
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
movzx eax, word [ebp - 0x24]
cmp eax, 9
je 0x45527d
movzx ecx, word [ebp - 0x24]
cmp ecx, 6
jne 0x455291
push str.MonitorProcess64.exe__inject_cmd
push 0x638d60
call fcn.00445530
add esp, 8
jmp 0x4552a3
push str.MonitorProcess.exe__inject_cmd
push 0x638d60
call fcn.00445530
add esp, 8
mov eax, dword [0x63a874]
mov esp, ebp
pop ebp
ret
Function at 0x455fb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [eax], 1
push 0x1f4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x455ff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Wait_task_generate_thread_fail__err_d__out_n
push 0x5e6ea8
call fcn.0040c050
add esp, 0xc
jmp 0x456010
cmp dword [ebp - 4], 0x102
jne 0x456010
push 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], 0
lea ecx, [ebp - 0xc]
call fcn.0044ef50
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x128
call fcn.00442990
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x45605c
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.00459740
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x128
call fcn.00459300
push eax
lea ecx, [ebp - 0xc]
call fcn.00460350
movzx edx, al
test edx, edx
je 0x45612a
lea ecx, [ebp - 0xc]
call fcn.00441480
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.00441480
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp - 0x10], 0xffffffff
je 0x4560af
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
lea ecx, [ebp - 0xc]
call fcn.00441480
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4560f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xc]
call fcn.00441480
mov eax, dword [eax + 0x20]
push eax
push str.Wait_monitor_thread_fail_handle_08X__err_d__out_n
push 0x5e6f34
call fcn.0040c050
add esp, 0x10
jmp 0x456113
cmp dword [ebp - 4], 0x102
jne 0x456113
push 1
lea ecx, [ebp - 0xc]
call fcn.00441480
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [ebp - 0xc]
call fcn.00441480
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45604e
mov ecx, dword [ebp - 0x2c]
add ecx, 0x128
call fcn.00459500
push str.All_stop_op_done..._n
push str.CFileMon::StopFileMonitor
call fcn.0040c050
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4582a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586273
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x615000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.00458400
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push 0x5e815c
lea ecx, [ebp - 0x30]
call fcn.0040e480
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406110
push eax
call fcn.00457ef0
add esp, 8
mov ecx, dword [ebp + 0xc]
call fcn.00406110
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x458322
mov dword [ebp - 0x14], 0
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00458420
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.00407f00
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0
call fcn.0045e920
add esp, 0x40
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x6c]
call fcn.0045e510
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00459810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00458450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.00458450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004414e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055abea
mov esp, ebp
pop ebp
ret

Function at 0x45ed10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.InformationScan.0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 1
mov edx, dword [ebp - 8]
cmp dword [edx + 8], 0
je 0x45ed6c
push 0xbb8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x45ed5f
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret

Function at 0x45edf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x45ee80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x45ee30
mov eax, 1
jmp 0x45ee32
xor eax, eax
mov esp, ebp
pop ebp
ret