joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5046a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jle 0x504791
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 8]
mov ebx, ecx
add ebx, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, edx
mov edi, dword [eax + 4]
adc edi, edx
mov eax, dword [ebp + 8]
shld edx, ecx, 0xd
shr esi, 0x13
shl ecx, 0xd
mov dword [ebp - 4], esi
xor esi, esi
or dword [ebp - 4], ecx
or esi, edx
xor dword [ebp - 4], ebx
xor esi, edi
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x10], ebx
mov ebx, ecx
add ebx, dword [eax + 0x10]
mov dword [ebp - 0x14], esi
mov esi, edx
adc esi, dword [eax + 0x14]
mov dword [ebp - 0xc], ebx
mov ebx, edx
shld edx, ecx, 0x10
mov dword [ebp - 8], edi
xor edi, edi
or edi, edx
shl ecx, 0x10
shr ebx, 0x10
xor edi, esi
or ebx, ecx
mov dword [ebp - 0x18], esi
xor ebx, dword [ebp - 0xc]
xor esi, esi
or esi, dword [ebp - 0x10]
mov edx, edi
mov ecx, dword [ebp - 8]
add ecx, ebx
mov dword [eax], ecx
adc esi, edi
mov dword [ebp - 8], ecx
shld edi, ebx, 0x15
xor ecx, ecx
shr edx, 0xb
or ecx, edi
shl ebx, 0x15
mov edi, dword [ebp - 4]
or edx, ebx
xor edx, dword [ebp - 8]
xor ecx, esi
add edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], edx
mov edx, ebx
mov dword [eax + 4], esi
mov esi, ebx
adc esi, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 4]
shld ebx, eax, 0x11
shr edx, 0xf
shl eax, 0x11
or ecx, ebx
or edx, eax
xor ecx, esi
mov eax, dword [ebp + 8]
xor edx, edi
mov dword [eax + 0xc], ecx
xor ecx, ecx
or ecx, edi
mov dword [eax + 8], edx
sub dword [ebp + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ecx
jne 0x5046b6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5136f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51371d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51371d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41bb28
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41bb2e
ret
Function at 0x44db50
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x455584]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x44db8c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x44dba4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x44db9d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403260
xor edx, edx
mov eax, 0x455784
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x44dc0e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x44dbc2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x44de4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x44de65
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x44de5e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x44de77
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x44de70
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0044da40
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x44de91
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0044db50
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x44df16
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x44df33
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0044dad0
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x44df5c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44df74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x44df8d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x44df86
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x44dfa1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0044d938
test bl, bl
jne 0x44e074
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x459d60
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x44dfd8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x44dfec
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0044de4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x44e01e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x44dfcd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x44e041
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x44e052
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x44e066
jmp 0x44e12f
cmp bl, 1
jne 0x44e12f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x459dba
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x44e094
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x44e0a8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0044de4c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x44e0da
sub ebx, 6
inc dword [ebp - 8]
jne 0x44e089
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x44e101
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x44e112
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x44e126
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0044d9bc
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x46c5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4724cc]
cmp dword [eax + 0x28], 0
jne 0x46c608
xor eax, eax
jmp 0x46c737
mov ecx, dword [0x47243c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x472430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x47242c], eax
push 0
call dword [0x470138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x470138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x472430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x47242c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x4724b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x470680
push 0x4706d0
push 0x88
call dword [0x470134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x472428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x47010c]
push eax
call fcn.0046c530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x470148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x47012c]
push 0x46c5c0
mov edx, dword [0x4724cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x47013c]
mov dword [0x472434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x470130]
test eax, eax
je 0x46c737
cmp dword [ebp - 0x38], 0x12
jne 0x46c72b
mov dword [0x472444], 0
call fcn.0046c740
xor eax, eax
jmp 0x46c737
lea edx, [ebp - 0x3c]
push edx
call dword [0x470140]
jmp 0x46c6fc
mov esp, ebp
pop ebp
ret 4

Function at 0x46db00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [int.004700dc]
call dword [int.00470124]
call dword [int.00470128]
call dword [int.00470094]
call dword [int.004700fc]
call dword [int.004700f4]
call dword [int.00470150]
call dword [int.0047000c]
call dword [int.00470000]
call dword [int.00470160]
call fcn.0046f644
mov eax, 1
pop ebp
ret 4
Function at 0x46e69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x470168
sub eax, eax
test esi, esi
je 0x46e774
sub eax, 1
test ecx, ecx
je 0x46e772
test esi, 3
je 0x46e6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x46e6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x46e759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x46e6e4
mov ecx, edx
test ecx, ecx
je 0x46e772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x46e75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x46e77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0046e7ff
jae 0x46e78a
xor ecx, ecx
call fcn.0046e7ff
jae 0x46e7b9
xor eax, eax
call fcn.0046e7ff
jae 0x46e7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0046e7ff
adc al, al
jae 0x46e7ab
jne 0x46e7f5
stosb byte es:[edi], al
jmp 0x46e78d
call fcn.0046e80b
sub ecx, ebx
jne 0x46e7d2
call fcn.0046e809
jmp 0x46e7f1
lodsb al, byte [esi]
shr eax, 1
je 0x46e81b
adc ecx, ecx
jmp 0x46e7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0046e809
cmp eax, 0x7d00
jae 0x46e7ee
cmp ah, 5
jae 0x46e7ef
cmp eax, 0x7f
ja 0x46e7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46e78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x46f14c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x472000]
jne 0x46f156
repz ret
jmp fcn.0046f3fd
Function at 0x4011da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ed2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push edi
mov dword [ebp - 0x218], 1
push 0x42cc74
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x220], 4
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push str.SOFTWAREZKYRCheckToolOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x401269
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x214], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x220], 0x200
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.OSType
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::operator_2
push str.PeOS
lea eax, [ebp - 0x228]
push eax
call fcn.00405e10
and eax, 0xff
test eax, eax
je 0x4012e8
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402ca9
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push 0x42cca8
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x402d1f
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
jmp 0x402e35
push 0x128
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x128
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402e10
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 8]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x18]
call fcn.00405fb0
test eax, eax
jne 0x402da7
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x402da7
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402e10
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 8]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x18]
call fcn.00405fb0
test eax, eax
jne 0x402e0e
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x402e0c
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x402e10
jmp 0x402da7
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x402e43
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.0040d320
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x148], 0
jne 0x402ec0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x150]
jmp 0x402fb3
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
jne 0x402efb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x154]
jmp 0x402fb3
mov dword [ebp - 0x140], 0x128
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402f88
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x148]
jne 0x402f70
mov dword [ebp - 0x14c], 0
mov ecx, dword [ebp - 0x138]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
je 0x402f6e
push 0
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x14], eax
jmp 0x402f88
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x18], eax
jmp 0x402f1b
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4065e7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.0041e970
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov byte [ebp - 0x1000c], 0
mov ecx, 0x3fff
xor eax, eax
lea edi, [ebp - 0x1000b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1000c]
test eax, eax
jne 0x40663e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x406761
mov dword [ebp - 0x10010], 0
jmp 0x406659
mov edx, dword [ebp - 0x10010]
add edx, 1
mov dword [ebp - 0x10010], edx
cmp dword [ebp - 0x10010], 0x10000
jge 0x40667a
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp - 0x10010]
mov byte [ebp + ecx - 0x1000c], al
jmp 0x40664a
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x10]
ja 0x40675f
jb 0x4066a2
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x40675f
xor ecx, ecx
mov cl, byte [0x42cd2c]
test ecx, ecx
je 0x4066b5
mov al, 1
jmp 0x406761
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 4]
mov dword [ebp - 0x10020], edx
mov dword [ebp - 0x1001c], eax
cmp dword [ebp - 0x1001c], 0
ja 0x4066e2
cmp dword [ebp - 0x10020], 0x100000
jbe 0x4066eb
mov dword [ebp - 0xc], 0x100000
jmp 0x4066fa
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
sbb edx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x10000
jbe 0x40670a
mov dword [ebp - 0xc], 0x10000
push 0
lea eax, [ebp - 0x10018]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x1000c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 0x10014], al
mov ecx, dword [ebp - 0x10014]
and ecx, 0xff
test ecx, ecx
jne 0x406742
xor al, al
jmp 0x406761
mov edx, dword [ebp - 0x10018]
xor eax, eax
mov ecx, dword [ebp - 8]
add ecx, edx
mov edx, dword [ebp - 4]
adc edx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x406688
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x406a96
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push edi
mov byte [ebp - 0x820], 0
mov ecx, 0x207
xor eax, eax
lea edi, [ebp - 0x81f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00407cf0
add esp, 8
mov dword [ebp - 0x824], eax
mov eax, dword [ebp - 0x824]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x820]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x828], 0x19
jmp 0x406b1a
mov eax, dword [ebp - 0x828]
add eax, 1
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0x1a
jae 0x406bb4
mov ecx, dword [ebp - 0x830]
add ecx, 1
mov dword [ebp - 0x82c], ecx
jmp 0x406b47
mov edx, dword [ebp - 0x82c]
add edx, 1
mov dword [ebp - 0x82c], edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
cmp dword [ebp - 0x82c], eax
jae 0x406b85
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x82c]
movsx edx, byte [ecx]
cmp edx, 0x2e
je 0x406b83
movsx eax, byte [ebp - 0x828]
add eax, 0x41
mov ecx, dword [ebp - 0x82c]
mov byte [ebp + ecx - 0x820], al
jmp 0x406b38
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x406b9c
jmp 0x406bb4
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x406b0b
pop edi
mov esp, ebp
pop ebp
ret