joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413739
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ebx
call fcn.004126f7
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x43b0a8
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call esi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x41380c
cmp dword [ebp + 8], ebx
je 0x4137a2
push dword [ebp + 8]
call fcn.0041a174
pop ecx
test eax, eax
je 0x4137a2
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], eax
jmp 0x4137a8
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], ebx
jne 0x41380c
xor edi, edi
mov esi, 0x1388
inc edi
push esi
mov dword [ebp - 0x18], edi
call fcn.004182d5
pop ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4137ed
push dword [ebp - 0xc]
push dword [ebp + 0x10]
call fcn.00408b90
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, dword [ebp - 4]
je 0x4137fe
push eax
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
call fcn.0041a842
pop ecx
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413814
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
push edi
mov dword [eax], ebx
lea eax, [ebp - 4]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x43b0a8
push 0x80000001
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call esi
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x4138c6
cmp dword [ebp + 8], ebx
je 0x413876
push dword [ebp + 8]
call fcn.0041a174
pop ecx
test eax, eax
je 0x413876
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], eax
jmp 0x41387c
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], ebx
jne 0x4138c6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4138b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, dword [ebp - 4]
je 0x4138c1
push eax
call esi
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4150e1
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
lea eax, [edi - 1]
push 7
mov esi, ecx
pop ecx
cmp ecx, eax
sbb al, al
inc al
mov ecx, esi
push eax
mov eax, str.bad_pack_level
call fcn.00413e5a
xor ebx, ebx
add esp, 4
mov dword [esi + 0x6af78], ebx
cmp dword [esi + 0x6af70], ebx
jne 0x41512b
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push ebx
push eax
mov dword [esi + 0x6af6c], ebx
call fcn.0041a3b0
mov eax, edi
movzx ecx, word [eax*8 + 0x4392f2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x4392f0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x4392f4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x4392f6]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp edi, 2
jg 0x41518e
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41519a
cmp edi, 8
jl 0x41519a
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea edi, [esi + 0x1af70]
push edi
push esi
mov dword [esi + 0x6af84], ebx
mov dword [esi + 0x6af74], ebx
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, ebx
je 0x4151ff
cmp eax, 0xffffffff
je 0x4151ff
mov dword [esi + 0x6af8c], ebx
cmp eax, 0x106
jae 0x4151da
call fcn.004153cf
mov dword [esi + 0x6af7c], ebx
xor eax, eax
movzx ecx, byte [edi + eax]
shl ebx, 5
xor ebx, ecx
and ebx, 0x7fff
inc eax
mov dword [esi + 0x6af7c], ebx
cmp eax, 2
jb 0x4151e2
jmp 0x41520f
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4154f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x415706
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x415571
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x4155b6
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x4155b6
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x41559b
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov ecx, esi
call fcn.00415214
mov ebx, eax
mov eax, dword [esi + 0x6af90]
add esp, 4
cmp ebx, eax
jbe 0x4155b6
mov ebx, eax
mov ecx, esi
cmp ebx, 3
jb 0x415688
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea eax, [ebx - 3]
call fcn.00414aef
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x415644
cmp eax, 3
jb 0x415644
dec ebx
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
dec ebx
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4155f2
jmp 0x4156a6
add dword [esi + 0x6af84], ebx
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af70]
mov dword [esi + 0x6af7c], eax
movzx ecx, byte [ecx + esi + 0x1af71]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
push 1
mov eax, str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
mov ecx, esi
xor ebx, ebx
call fcn.00413e5a
add esp, 4
jmp 0x4156ac
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
xor edx, edx
call fcn.00414aef
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x4156e7
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x4156c5
lea edx, [ecx + esi + 0x1af70]
jmp 0x4156c7
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041494a
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4156f8
call fcn.004153cf
cmp dword [esi + 0x6af90], 0
jne 0x415521
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x415719
lea edx, [ecx + esi + 0x1af70]
jmp 0x41571b
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.0041494a
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x416289
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x416294
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x416348
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x439340]
add ecx, 8
sub edi, 8
dec esi
jne 0x4162ab
pop ebx
test edi, edi
je 0x416361
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x439340]
inc ecx
dec edi
jne 0x41634c
pop esi
not eax
pop edi
ret
Function at 0x41674c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x416780
mov eax, dword [esi + 0x1c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x20]
jb 0x41676a
mov dword [esi + 0xc], 0x30000
jmp 0x4167a3
push edi
push dword [ebp + 8]
add eax, ecx
push eax
call fcn.00419780
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
jmp 0x4167a5
mov eax, dword [esi]
test eax, eax
je 0x41679c
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x4167a5
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop ebp
ret 4

Function at 0x4169d2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x64]
push edi
test ecx, ecx
je 0x416a17
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
cmp eax, edi
jae 0x416a3f
sub edi, eax
cmp edi, dword [ebp + 8]
jbe 0x4169f1
mov edi, dword [ebp + 8]
push edi
add eax, ecx
push eax
push ebx
call fcn.00419780
add esp, 0xc
add dword [esi + 0x6c], edi
mov eax, dword [esi + 0x58]
add dword [esi + 0x54], edi
mov edx, edi
mov ecx, ebx
call fcn.00416289
mov dword [esi + 0x58], eax
mov eax, edi
jmp 0x416a41
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x416a38
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x416a3f
mov edi, dword [ebp + 8]
jmp 0x416a01
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x417b07
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x432500
call fcn.0041d526
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x417bfe
cmp byte [esi + 0x4a], bl
je 0x417bfe
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x417b43
xor al, al
jmp 0x417c00
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040779d
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417ba1
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x417ba6
dec eax
je 0x417baa
dec eax
dec eax
je 0x417bfa
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040afd6
mov al, bl
jmp 0x417c00
mov edx, dword [ebp - 0x2c]
jmp 0x417b6c
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417bb6
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x417bdc
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417bc9
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0041bc61
add esp, 0x10
cmp edi, eax
jne 0x417b8f
cmp byte [esi + 0x4a], 0
je 0x417bfa
test edi, edi
jne 0x417b5e
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00407069
jmp 0x417b5e
mov bl, 1
jmp 0x417b91
mov al, 1
call fcn.0041d5a9
ret
Function at 0x419428
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x443644], 0
push esi
push edi
jne 0x41939e
call fcn.0041930a
test eax, eax
je 0x4193e3
mov eax, dword [0x443644]
cmp eax, 1
jne 0x4193bf
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4193e3
jmp 0x419425
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x419425
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4193e7
xor eax, eax
jmp 0x419425
mov eax, dword [esi]
push dword [0x443644]
call edi
mov edi, eax
test edi, edi
je 0x419409
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x419425
lea edi, [esi + 0xff0]
push esi
push dword [0x443644]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41940f
mov eax, esi
pop edi
pop esi
ret
jmp 0x41938a

Function at 0x419542
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4412dc]
jne 0x41954c
repz ret
jmp fcn.00420f4b
Function at 0x42d2dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4412dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00421cbc
and dword [ebp - 0x14], 0
cmp dword [0x4443ec], 0
mov dword [ebp - 0x18], eax
jne 0x42d38f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42d437
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43847c
push ebx
call edi
test eax, eax
je 0x42d437
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x43846c
push ebx
mov dword [0x4443ec], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4443f0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4443f4], eax
call edi
push eax
call esi
mov dword [0x4443fc], eax
test eax, eax
je 0x42d38f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4443f8], eax
mov eax, dword [0x4443f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42d3e8
cmp dword [0x4443fc], ecx
je 0x42d3e8
push eax
call esi
push dword [0x4443fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42d3e8
test ebx, ebx
je 0x42d3e8
call edi
test eax, eax
je 0x42d3df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42d3df
test byte [ebp - 8], 1
jne 0x42d3e8
or dword [ebp + 0x10], 0x200000
jmp 0x42d41b
mov eax, dword [0x4443f0]
cmp eax, dword [ebp - 0x18]
je 0x42d41b
push eax
call esi
test eax, eax
je 0x42d41b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42d41b
mov eax, dword [0x4443f4]
cmp eax, dword [ebp - 0x18]
je 0x42d41b
push eax
call esi
test eax, eax
je 0x42d41b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4443ec]
call esi
test eax, eax
je 0x42d437
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42d439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419542
leave
ret
Function at 0x10005480
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10009018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x100054f1
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100054f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp dword [ebp - 0x14], ebx
je 0x100054d6
lea ecx, [ebp - 0x20]
push ecx
push esi
call edi
test eax, eax
jne 0x100054c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x10faa3b8], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000565a
mov esp, ebp
pop ebp
ret

Function at 0x1000565a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009018]
jne 0x10005664
repz ret
jmp fcn.10005b71

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x403008]
cmp eax, 0
jne 0x401021
mov eax, dword [0x40300c]
cmp eax, 0
jne 0x401021
jmp 0x4010b6
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401021
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x401021
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401021
mov eax, dword [0x403008]
cmp eax, 0
je 0x401093
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401067
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x401021
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401067
mov eax, dword [0x40300c]
cmp eax, 0
je 0x4010b6
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x401093
cmp eax, dword [ebp - 0x14]
je 0x401093
push dword [0x403000]
mov eax, 0x40301a
mov ebx, 0x40322a
sub ebx, eax
push ebx
push 0x40301a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push 0x40
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
push dword [0x403004]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call fcn.00402bce
lea eax, [ebp - 4]
push eax
push dword [eax]
mov eax, 0x40112a
mov ebx, fcn.00402bce
sub ebx, eax
push ebx
push 0x40112a
call sub.KERNEL32.dll_VirtualProtect
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
inc esp
cmp al, 0x2d
int 0
add byte [esp + ecx - 0x43ffff30], bh
invalid
Function at 0x4019b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
sub eax, 3
push esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x100
je 0x401a4f
sub eax, 1
je 0x401a1a
sub eax, 1
je 0x4019e1
mov eax, 0xd
pop esi
add esp, 8
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 4]
push eax
push 0x20219
push 0
push str.SOFTWAREAdobeAfter_Effects10.0
push 0x80000002
call esi
test eax, eax
je 0x401a8d
lea ecx, [esp + 4]
push ecx
push 0x20119
push 0
push str.SOFTWAREAdobeAfter_Effects10.0
jmp 0x401a82
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 4]
push edx
push 0x20219
push 0
push str.SOFTWAREAdobeAfter_Effects9.0
push 0x80000002
call esi
test eax, eax
je 0x401a8d
lea eax, [esp + 4]
push eax
push 0x20119
push 0
push str.SOFTWAREAdobeAfter_Effects9.0
jmp 0x401a82
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 4]
push ecx
push 0x20219
push 0
push str.SOFTWAREAdobeAfter_Effects8.0
push 0x80000002
call esi
test eax, eax
je 0x401a8d
lea edx, [esp + 4]
push edx
push 0x20119
push 0
push str.SOFTWAREAdobeAfter_Effects8.0
push 0x80000002
call esi
test eax, eax
jne 0x401abc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push 0
push 0
push str.CommonPluginInstallPath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401abc
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x401ad0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20219
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401b2e
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.ProgramFilesDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401b2e
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
Function at 0x42ac56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a16c]
jne 0x42ac60
repz ret
jmp fcn.0042d1a2

Function at 0x4301fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042c9bf
and dword [ebp - 4], 0
cmp dword [0x43b768], 0
mov ebx, eax
jne 0x4302ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43035e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43035e
push eax
call fcn.0042c94d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43b768], eax
call esi
push eax
call fcn.0042c94d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43b76c], eax
call esi
push eax
call fcn.0042c94d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43b770], eax
call esi
push eax
call fcn.0042c94d
pop ecx
mov dword [0x43b778], eax
test eax, eax
je 0x4302ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042c94d
pop ecx
mov dword [0x43b774], eax
mov eax, dword [0x43b774]
cmp eax, ebx
je 0x430305
cmp dword [0x43b778], ebx
je 0x430305
push eax
call fcn.0042c9c8
push dword [0x43b778]
mov esi, eax
call fcn.0042c9c8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x430305
test edi, edi
je 0x430305
call esi
test eax, eax
je 0x4302fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4302fc
test byte [ebp - 0xc], 1
jne 0x430305
or dword [ebp + 0x10], 0x200000
jmp 0x43033e
mov eax, dword [0x43b76c]
cmp eax, ebx
je 0x43033e
push eax
call fcn.0042c9c8
pop ecx
test eax, eax
je 0x43033e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43033e
mov eax, dword [0x43b770]
cmp eax, ebx
je 0x43033e
push eax
call fcn.0042c9c8
pop ecx
test eax, eax
je 0x43033e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43b768]
call fcn.0042c9c8
pop ecx
test eax, eax
je 0x43035e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x430360
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret