joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x408dbb
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x408eb3
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x43b550]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x408dd6
test edi, edi
je 0x408ed2
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x43b550]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x408eb7
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret

Function at 0x408ee0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx]
xor eax, eax
mov al, byte [esp + 8]
push esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x43b550]
shr ecx, 8
xor eax, ecx
mov ecx, dword [edx + 4]
mov dword [edx], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
mov esi, dword [eax*4 + 0x43b550]
shr ecx, 8
xor ecx, esi
mov dword [edx + 8], ecx
pop esi
ret

Function at 0x408f40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
mov edx, dword [esi + 8]
mov eax, edx
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov al, byte [esp + 0xc]
shr ecx, 8
xor al, cl
xor ecx, ecx
push edi
mov edi, dword [esi]
mov cl, al
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43b550]
shr edi, 8
xor ecx, edi
mov edi, dword [esi + 4]
mov dword [esi], ecx
and ecx, 0xff
add ecx, edi
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
mov edi, dword [ecx*4 + 0x43b550]
shr edx, 8
xor edx, edi
pop edi
mov dword [esi + 8], edx
pop esi
ret
Function at 0x4093d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
mov cl, byte [ebx]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x409411
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409406
mov byte [ebx + 8], 1
mov eax, dword [esp + 0x10]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
lea esi, [edx + eax]
cmp esi, ecx
push edi
jbe 0x409424
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
add esi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
xor edx, edx
div ebp
pop ebp
mov dword [ebx + 0x1c], ecx
pop ebx
ret

Function at 0x40a5a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x449320]
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov dword [esp + 0x220], eax
push edi
je 0x40a5d7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a5d7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp + 0xc]
mov cl, byte [ebx]
test cl, cl
je 0x40a6a5
mov eax, ebx
mov edx, ebx
cmp cl, 0x2f
je 0x40a5f2
cmp cl, 0x5c
jne 0x40a5f4
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x40a5e8
cmp eax, ebx
je 0x40a63a
sub eax, ebx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, ebx
lea edi, [esp + 0x118]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov byte [esp + eax + 0x118], 0
lea eax, [esp + 0x118]
push eax
push ecx
call fcn.0040a5a0
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
mov byte [esp + 0x10], 0
je 0x40a65a
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x40a650
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40a650
mov eax, ebx
mov edx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a660
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a670
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x10]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a6a5
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x224]
call fcn.0041c22b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
je 0x40c0a4
cmp dword [edi + 0x18], ebx
jne 0x40c0af
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x40c0bd
push edi
call fcn.00409e40
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00409c40
add esp, 0x10
test eax, eax
je 0x40c0e4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.0041cef4
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40c125
push 0x4000
call fcn.0041cef4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x40c131
push esi
call fcn.0041c8c9
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x40c17f
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.004091c0
add esp, 4
test eax, eax
jne 0x40c17f
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x40c1a9
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x40c1b2
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x40c1f6
nop
xor eax, eax
mov al, byte [ebp]
test al, al
je 0x40c1f6
push eax
push ebx
call fcn.00408ee0
add esp, 8
inc ebp
jne 0x40c1e0
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x40c4e0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x40c5af
cmp dword [ebx + 4], 0xffffffff
jne 0x40c5af
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c510
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x40c541
cmp al, 0x2f
je 0x40c541
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40c530
mov ax, word [0x439e2c]
mov word [edi], ax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x40c56c
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40c56c
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.00409280
add esp, 0x10
test eax, eax
jne 0x40c58e
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.0040be90
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
pop esi
mov dword [ebx], eax
pop edi
pop ebx
dec ecx
and ecx, 0x200
mov eax, ecx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc

Function at 0x40cca0
Capabilities:
Terminate process

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x40d130
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x449320]
push ebx
mov ebx, dword [esp + 0x134]
push ebp
mov dword [esp + 0x130], eax
push esi
mov eax, ebx
push edi
mov dword [esp + 0x10], 0x128
xor ebp, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d160
push 0
sub eax, edx
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x40d18e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d1c8
push edi
lea ecx, [esp + 0x38]
push ecx
jmp 0x40d1ab
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40d1bd
push edi
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.0041ddfa
add esp, 0xc
test eax, eax
jne 0x40d196
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x40d1d5
mov ecx, dword [0x44a2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebp
pop ebx
jg 0x40d1f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x128]
call fcn.0041c22b
add esp, 0x12c
ret 4
Function at 0x40d2f0
Capabilities:
Access peb ldr_data
Create process on windows
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x437ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
lea ecx, [esp + 0xc]
push 0x439c84
push ecx
call fcn.004047f0
push 0x439c84
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], 0
call fcn.00401c00
add esp, 0x18
mov eax, dword [esp + 8]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x18], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d35e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push str.regsvr32_u___s
push ecx
call fcn.004047f0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
call fcn.00401b90
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x18], 2
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d3a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x20]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
lea eax, [esi - 0x10]
mov dword [esp + 0x18], edi
lea ecx, [eax + 0xc]
jbe 0x40d3eb
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40d3d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40d3fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x40d420
Capabilities:
Access peb ldr_data
Create process on windows
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x437ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
lea ecx, [esp + 0xc]
push 0x439c84
push ecx
call fcn.004047f0
push 0x439c84
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], 0
call fcn.00401c00
add esp, 0x18
mov eax, dword [esp + 8]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x18], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d48e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push str.regsvr32__s
push ecx
call fcn.004047f0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 3
call fcn.00401b90
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x18], 2
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d4d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x20]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
lea eax, [esi - 0x10]
mov dword [esp + 0x18], edi
lea ecx, [eax + 0xc]
jbe 0x40d51b
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40d503
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40d52c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x40df10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x438018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
lea eax, [esp + 8]
push eax
mov esi, ecx
call fcn.0040d8b0
push str.ECP.exe
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], 0
call fcn.00401c00
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40df77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x40df7e
mov esi, dword [esi + 0x1c]
mov edi, dword [esp + 0xc]
push 1
push 0
push 0
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x40dfb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40dfc0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x449320]
push esi
push edi
push 0
push 0xf
mov dword [esp + 0x13c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40e056
mov edi, dword [esp + 0x13c]
lea ecx, [ecx]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call fcn.004057f0
mov eax, dword [edi]
mov edx, dword [esp + 8]
push eax
push edx
call fcn.0041dc44
add esp, 8
test eax, eax
je 0x40e070
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e040
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40e000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x12c]
call fcn.0041c22b
add esp, 0x130
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e099
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x134]
pop edi
mov eax, esi
pop esi
call fcn.0041c22b
add esp, 0x130
ret 4
Function at 0x40e0c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43805c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov eax, dword [0x449320]
push esi
push edi
xor esi, esi
push 0x439c83
lea ecx, [esp + 0xc]
mov dword [esp + 0x128], eax
mov dword [esp + 0x14], esi
call fcn.004057f0
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x138], esi
call fcn.00407200
push str.Version.ini
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x144], 1
call fcn.00401c00
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e16a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x439c83
lea ecx, [esp + 0x10]
call fcn.004057f0
push 0x11
push str.http:__ecp.189.cn
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.00401a40
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
push 0x104
lea eax, [esp + 0x20]
push eax
push ecx
push str.UpdateURL
push 0x43c1b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push 0x439e50
push eax
call fcn.004047d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.004018a0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x134], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov byte [esp + 0x134], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e251
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, edi
call fcn.0041c22b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40f860
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x437f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push str.ECP.exe
lea ecx, [esp + 8]
call fcn.004057f0
lea eax, [esp + 4]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0040dfc0
mov esi, eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f8c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0xffffffff
je 0x40f8e3
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40f8e3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40f900
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x437f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push str.vconf.exe
lea ecx, [esp + 8]
call fcn.004057f0
lea eax, [esp + 4]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.0040dfc0
mov esi, eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0xffffffff
je 0x40f983
push esi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x40f983
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret