joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4329e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x432a0c
xor eax, eax
jmp 0x432ae2
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004931a0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x432a51
xor eax, eax
jmp 0x432ae2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x432a9a
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp eax, dword [edx]
jbe 0x432a9a
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x230]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp eax, dword [edx]
ja 0x432a9a
jmp 0x432aae
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x432a51
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x432ad2
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
jbe 0x432ad2
mov dword [ebp - 0x23c], 1
jmp 0x432adc
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret

Function at 0x432b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
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
je 0x432b97
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x432c70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c961b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
push str._BOOL_CUpdatePatchApp::StopCDGRegedit__
call fcn.0042fb40
add esp, 4
push str._aRbc_u7b
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432ce1
push 0x4da2a0
call fcn.0042fb40
add esp, 4
push 0
push 0
push 0x16
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x4da284
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432d14
push 0x4da220
call fcn.0042fb40
add esp, 4
push 0
push 0
push 0x16
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push str.Document_security_management_system_registry
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432d47
push str._Document_security_management_system_registry_CUpdatePatchApp::StopCDGRegedit__
call fcn.0042fb40
add esp, 4
push 0
push 0
push 0x16
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push str.config.ini
mov eax, dword [ebp - 0x12c]
add eax, 0xc4
push eax
lea ecx, [ebp - 0x120]
push ecx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x120]
push edx
push 0x80
lea eax, [ebp - 0x11c]
push eax
push str.esafenet_cdgregedit_2008_10_16_by_ludf
push str.client
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432df0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_PulseEvent]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432e07
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp edx, 0x1e
jb 0x432db4
cmp dword [ebp - 0x14], 0
je 0x432e17
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x11c]
push edx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432e4b
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, dword [ebp - 0x12c]
call fcn.00441dd0
mov dword [ebp - 0x124], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.004129d0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c96b8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x10]
call fcn.00412230
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x60]
add eax, 0xf0
push eax
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov ecx, str._TAUpdatePatch__
test ecx, ecx
jne 0x43305a
mov dword [ebp - 0x38], 0
jmp 0x43306a
push str._TAUpdatePatch__
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push str._TAUpdatePatch__
lea ecx, [ebp - 0x10]
call fcn.00411880
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4330d3
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
add edx, 0x10
mov eax, dword [ebp - 0x58]
mov dword [eax], edx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x60]
call fcn.0043c810
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x433540
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9758
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x13c], 0
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x10]
call fcn.00412940
mov dword [ebp - 4], 0
call fcn.004333c0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x80000000
jae 0x4336f2
push str.WINNT3
lea ecx, [ebp - 0x10]
call fcn.00412540
mov dword [ebp - 0x134], 0x114
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x130], 4
jne 0x4335f3
push str.WINNT4
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 5
jne 0x433617
cmp dword [ebp - 0x12c], 0
jne 0x433617
push str.WIN2000
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 5
jne 0x43363b
cmp dword [ebp - 0x12c], 1
jne 0x43363b
push str.WINXP
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 5
jne 0x43365f
cmp dword [ebp - 0x12c], 2
jne 0x43365f
push str.WINSVR2003
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 6
jne 0x433680
cmp dword [ebp - 0x12c], 0
jne 0x433680
push str.WINVISTA
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 6
jne 0x4336a1
cmp dword [ebp - 0x12c], 1
jne 0x4336a1
push str.WINDOWS7
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x14], 0
je 0x4336b6
push str.WINDOWS10
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
cmp dword [ebp - 0x130], 6
jne 0x4336e0
cmp dword [ebp - 0x12c], 2
je 0x4336d1
cmp dword [ebp - 0x12c], 3
jne 0x4336e0
push str.WINDOWS8
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x4336ed
push str.WINDOWS10
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x433782
mov ecx, dword [ebp - 0x138]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
cmp eax, 4
jge 0x43371e
push str.WIN32S
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x433782
push str.WIN95
lea ecx, [ebp - 0x10]
call fcn.00412540
mov dword [ebp - 0x134], 0x114
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x130], 4
jne 0x433763
cmp dword [ebp - 0x12c], 0xa
jne 0x433763
push str.WIN98
lea ecx, [ebp - 0x10]
call fcn.00412540
jmp 0x433782
cmp dword [ebp - 0x130], 4
jne 0x433782
cmp dword [ebp - 0x12c], 0x5a
jne 0x433782
push str.WINME
lea ecx, [ebp - 0x10]
call fcn.00412540
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00412990
mov eax, dword [ebp - 0x13c]
or eax, 1
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebp - 0x180]
call fcn.004029d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret 4
Function at 0x433870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c97bb
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004931a0
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00412230
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28c]
call fcn.0043cbb0
test eax, eax
je 0x433935
push str.Wow64EnableWow64FsRedirection
push 0x4da574
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x433933
push 0
call dword [ebp - 0x224]
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
call dword [ebp - 0x224]
jmp 0x433947
push 0x208
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
test ecx, ecx
jne 0x43395d
mov dword [ebp - 0x238], 0
jmp 0x433972
lea edx, [ebp - 0x21c]
push edx
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00412d00
push 0x4da570
lea ecx, [ebp - 0x220]
call fcn.0040e8a0
mov edx, dword [ebp - 0x220]
sub edx, 0x10
mov dword [ebp - 0x270], edx
mov eax, dword [ebp - 0x270]
push eax
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x228]
or eax, 1
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004129d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret 4
Function at 0x433a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c97fb
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004931a0
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.00412230
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x290]
call fcn.0043cbb0
test eax, eax
je 0x433ae1
push str.Wow64EnableWow64FsRedirection
push 0x4da574
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x433ad5
push 0
call dword [ebp - 0x224]
push 0x208
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 1
call dword [ebp - 0x224]
jmp 0x433adf
push 0x6c
call fcn.0042f4a0
add esp, 4
jmp 0x433af3
push 0x208
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x21c]
test ecx, ecx
jne 0x433b09
mov dword [ebp - 0x238], 0
jmp 0x433b1e
lea edx, [ebp - 0x21c]
push edx
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00412d00
mov edx, 0x4d1934
test edx, edx
jne 0x433b4c
mov dword [ebp - 0x254], 0
jmp 0x433b5f
push 0x4d1934
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x254]
push eax
push 0x4d1934
lea ecx, [ebp - 0x220]
call fcn.00411880
mov ecx, dword [ebp - 0x220]
sub ecx, 0x10
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
push edx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
add eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x228]
or edx, 1
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004129d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret 4
Function at 0x433bf0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x433cc8
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x124]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x433c56
jmp 0x433cdb
lea edx, [ebp - 0x140]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x433c70
jmp 0x433cdb
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], 2
push 0
push 0
push 0
lea edx, [ebp - 0x134]
push edx
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x433cc6
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x433cdb
cmp dword [ebp - 0x110], 1
jne 0x433cdb
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret
Function at 0x434450
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9998
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc0]
sub ecx, 0x10
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00425810
mov byte [ebp - 4], 1
push 0x4da67c
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xd]
call fcn.00425830
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004129d0
cmp dword [ebp - 0x1c], 0
je 0x434527
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00425820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov eax, dword [ebp - 0x24]
jmp 0x4345c0
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0xbc], 3
jne 0x43453c
mov dword [ebp - 0x68], 0x4da65c
jmp 0x434543
mov dword [ebp - 0x68], 0x4da67c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x48], eax
push 0xa
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004450e0
push eax
push 0
mov edx, dword [ebp - 0x68]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jg 0x43459b
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00425820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov eax, dword [ebp - 0x28]
jmp 0x4345c0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd]
call fcn.00425820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43ca50
Capabilities:
Create process on windows
Delete file
Get comspec environment variable
Move file
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x50545c]
xor eax, ebp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x86c], ecx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x864], ecx
push 0x104
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x43cb97
push 0x104
lea ecx, [ebp - 0x860]
push ecx
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x43cb97
push str._c_del__F__A:R__A:S__A:H__A:A__A:
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.0049515a
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
lea ecx, [ebp - 0x248]
push ecx
call fcn.004950dd
add esp, 0xc
push str.___nul
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004950dd
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.Open
lea eax, [ebp - 0x860]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x40
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43cb97
push 0x40
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
lea ecx, [ebp - 0x658]
push ecx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp + 8]
call fcn.004129d0
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0049318c
mov esp, ebp
pop ebp
ret 4
Function at 0x43cc00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov ecx, 0x506c08
call fcn.0043cbb0
test eax, eax
je 0x43cc7c
push str.2012_01_05_add_by_wangzhen
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43cc58
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
push str.2012_02_22_add_by_fengjz
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43cc7a
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x10], edx
jmp 0x43cca7
push str.2012_02_22_add_by_fengjz
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43cca7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 1
jle 0x43cce6
push str.Two_hook_processes_are_running
call fcn.00442d80
add esp, 4
push 0x1388
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43cd10
push str.One_hook_process_is_running
call fcn.00442d80
add esp, 4
push 0x1388
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
je 0x43cd75
mov ecx, dword [ebp - 0x20]
call fcn.00432c70
cmp dword [ebp - 8], 1
jle 0x43cd4b
push str.Two_hook_processes_are_running
call fcn.00442d80
add esp, 4
push 0x1388
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 4], eax
jmp 0x43cd6a
push str.One_hook_process_is_running
call fcn.00442d80
add esp, 4
push 0x1388
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret

Function at 0x43cfd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x43cec0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0xe4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0xe4], 0
jne 0x43d00b
xor eax, eax
jmp 0x43d010
mov eax, 1
mov esp, ebp
pop ebp
ret