joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449508
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45a028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
cmp dword [ebp + 8], edi
je 0x42c3d6
mov dword [esi + 4], 0x44ff78
mov dword [esi + 0x30], 0x450160
mov dword [esi + 0x38], 0x4508b4
mov dword [esi + 0x40], 0x4508bc
lea eax, [esi + 0x58]
xor ecx, ecx
mov dword [esi + 0x54], vtable.CConfigLock.0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push edi
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x42c3cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x42c3c4
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x42c3cc
push eax
call fcn.00401000
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], 1
xor eax, eax
mov word [ebp - 0x2c], ax
push 0x32
mov eax, str.SOFTWAREAdTrustMediaPrivDogMimeFilterwhitelist
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00405f90
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 8
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00427d60
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 8
jb 0x42c421
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [esi + 0x2c], vtable.CConfigReader.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x30], vtable.CConfigReader.1.0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x34], vtable.CConfigWriter.0
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x38], vtable.CConfigWriter.1.0
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x3c], vtable.CConfigManipulation.0
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x40], vtable.CConfigManipulation.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CWhiteListConfig.0
mov dword [esi + 0x2c], vtable.CWhiteListConfig.1.0
mov dword [esi + 0x34], vtable.CWhiteListConfig.2.0
mov dword [esi + 0x3c], vtable.CWhiteListConfig.3.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CWhiteListConfig.4.0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov byte [ebp - 4], 7
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax + esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
call fcn.004280d0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 4
Function at 0x43ab30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
xor bl, bl
or eax, 0xffffffff
xor ecx, ecx
mov byte [ebp - 1], bl
call fcn.004060a0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREAdTrustMediaPrivDog
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43abef
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 8]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push str.resourcesDir
push eax
call ebx
test eax, eax
jne 0x43abdc
cmp dword [ebp - 0x10], 1
jne 0x43abdc
mov ecx, dword [ebp - 8]
push edi
push ecx
call dword [sym.imp.mfc100u.dll_new__]
mov ecx, dword [ebp - 0xc]
add esp, 4
lea edx, [ebp - 8]
push edx
mov edi, eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0
push str.resourcesDir
push ecx
call ebx
test eax, eax
jne 0x43abd1
push esi
mov eax, edi
call fcn.00405e10
mov ecx, esi
call fcn.0043aaf0
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
pop edi
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c6d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4457a3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CTemporaryProtocolHandlerT_class_CTemporaryProtocolFolderHandler_.0
mov dword [esi + 4], vtable.CTemporaryProtocolHandlerT_class_CTemporaryProtocolFolderHandler_.1.0
mov eax, dword [0x45a030]
mov edx, dword [eax + 0xc]
mov ecx, 0x45a030
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x45a030]
mov edx, dword [eax + 0xc]
mov ecx, 0x45a030
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov edx, dword [0x45a030]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a030
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43c7b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446378
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x45a028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0x38]
lea ebx, [ecx + 2]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0043cce0
add esp, 8
push 0x5c
lea ebx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043cc40
mov eax, dword [ebp - 0x10]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x43c803
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [edi + 0x1c]
call fcn.00405f90
mov esi, dword [edi + 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, eax
test esi, esi
je 0x43c879
cmp dword [esi], 0
je 0x43c86e
push 0x450c98
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x43c840
or eax, 0xffffffff
jmp 0x43c892
push str.CreateFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43c874
mov edx, dword [esi]
push 0
push 0
push edx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
call eax
jmp 0x43c892
cmp dword [esi + 4], 0
jne 0x43c879
or eax, 0xffffffff
jmp 0x43c892
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x43c8d8
call fcn.004027a0
mov esi, eax
test esi, esi
jns 0x43c8db
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x43c8c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x14], eax
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x43c8fe
call fcn.004027a0
mov esi, eax
test esi, esi
js 0x43c8a4
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
ja 0x43c908
cmp eax, ebx
jbe 0x43c93f
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x43c927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x800c0006
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x43c963
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43caa0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
xor eax, eax
push esi
push edi
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x14], eax
jne 0x43cabe
lea ecx, [esp + 0xc]
mov dword [ebp + 0x14], ecx
mov esi, dword [ebp + 8]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x43caf1
call fcn.004027a0
test eax, eax
js 0x43caf5
mov eax, dword [esp + 0x10]
mov edi, eax
jmp 0x43caf9
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x43cb20
call fcn.004027a0
test eax, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, edi
jne 0x43cb3a
cmp ecx, ebx
jne 0x43cb3a
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push eax
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cb5b
call fcn.004027a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43df10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4471d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45a028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
lea edi, [eax + 2]
mov eax, 0x450d2c
call fcn.00410290
mov dword [ebp - 4], 0
push edi
mov eax, 0x450d30
mov ecx, esi
mov dword [ebp - 0x14], 1
call fcn.0041d220
mov al, bl
shr al, 4
add al, 0x30
cmp al, 0x39
jbe 0x43df86
add al, 7
and bl, 0xf
add bl, 0x30
mov byte [ebp - 0xd], bl
cmp bl, 0x39
jbe 0x43df9a
add bl, 7
mov byte [ebp - 0xd], bl
mov bl, al
call fcn.0043e9c0
mov bl, byte [ebp - 0xd]
call fcn.0043e9c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x441db6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45a028]
jne 0x441dc0
repz ret
jmp fcn.00442364

Function at 0x4425ea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45bd6c], 0
push esi
push edi
jne 0x442560
call fcn.004424cc
test eax, eax
je 0x4425a5
mov eax, dword [0x45bd6c]
cmp eax, 1
jne 0x442581
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4425a5
jmp 0x4425e7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4425e7
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 0x4425a9
xor eax, eax
jmp 0x4425e7
mov eax, dword [esi]
push dword [0x45bd6c]
call edi
mov edi, eax
test edi, edi
je 0x4425cb
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4425e7
lea edi, [esi + 0xff0]
push esi
push dword [0x45bd6c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4425d1
mov eax, esi
pop edi
pop esi
ret
jmp 0x44254c
Function at 0x423aa4
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.00419328
and dword [ebp - 4], 0
cmp dword [0x43879c], 0
mov ebx, eax
jne 0x423b55
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423c06
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423c06
push eax
call fcn.004192b6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43879c], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4387a0], eax
call esi
push eax
call fcn.004192b6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4387a4], eax
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387ac], eax
test eax, eax
je 0x423b55
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004192b6
pop ecx
mov dword [0x4387a8], eax
mov eax, dword [0x4387a8]
cmp eax, ebx
je 0x423bad
cmp dword [0x4387ac], ebx
je 0x423bad
push eax
call fcn.00419331
push dword [0x4387ac]
mov esi, eax
call fcn.00419331
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423bad
test edi, edi
je 0x423bad
call esi
test eax, eax
je 0x423ba4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423ba4
test byte [ebp - 0xc], 1
jne 0x423bad
or dword [ebp + 0x10], 0x200000
jmp 0x423be6
mov eax, dword [0x4387a0]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423be6
mov eax, dword [0x4387a4]
cmp eax, ebx
je 0x423be6
push eax
call fcn.00419331
pop ecx
test eax, eax
je 0x423be6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43879c]
call fcn.00419331
pop ecx
test eax, eax
je 0x423c06
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423c08
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0x205
push section.vdata
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, section.vdata
call eax
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0040103d
mov esp, ebp
pop ebp
ret

Function at 0x401842
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401881
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401881
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401881
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401881
cmp dword [ecx + 0x74], 0xe
jbe 0x401881
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4011a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4011cd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011ee
cmp esi, eax
jae 0x4011c7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011e0
cmp esi, eax
jae 0x4011c7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402010
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x489d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x4abf20]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x434], eax
xor ebx, ebx
xor eax, eax
mov word [esp + 0x228], bx
mov ecx, 0x81
lea edi, [esp + 0x22a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x20], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x20]
stosw word es:[edi], ax
mov dword [esp + 0x1c], ebx
call fcn.00436e90
push 0x104
lea eax, [esp + 0x22c]
push eax
push str.NEED_REBOOT
lea ecx, [esp + 0x20]
mov dword [esp + 0x450], ebx
call fcn.004370f0
push 0x104
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [0x4ac02c]
mov edi, dword [sym.imp.MSVCR71.dll_wcslen]
lea edx, [esp + 0x228]
push edx
call edi
add esp, 4
test eax, eax
jbe 0x402174
lea eax, [esp + 0x20]
push eax
call edi
add esp, 4
test eax, eax
jbe 0x402174
mov edi, dword [sym.imp.MSVCR71.dll__wcsupr]
lea ecx, [esp + 0x20]
push ecx
call edi
add esp, 4
push eax
lea edx, [esp + 0x22c]
push edx
call edi
add esp, 4
push eax
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
je 0x402174
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x402130
mov esi, eax
mov ecx, dword [esi + 0x50]
lea edx, [esp + 0x10]
lea eax, [esi + 0x50]
push edx
push eax
call dword [ecx + 0x14]
jmp 0x40213a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4adb50]
push ebx
push 0x401f50
push eax
push 0x23b
push ecx
call fcn.00433390
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x444], 0xffffffff
call fcn.00437000
mov eax, 1
jmp 0x40218a
lea ecx, [esp + 0x14]
mov dword [esp + 0x444], 0xffffffff
call fcn.00437000
xor eax, eax
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x434]
call fcn.00484547
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402230
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4abf20]
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
push 2
mov dword [esp + 0x13c], eax
mov ebx, 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x402279
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x402291
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x128]
call fcn.00484547
add esp, 0x12c
ret
push edi
mov edi, dword [sym.imp.MSVCR71.dll__stricmp]
jmp 0x4022a0
lea ecx, [esp + 0x34]
push str.PowerDVD.exe
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4022b9
mov ebp, dword [esp + 0x28]
jmp 0x4022d0
lea edx, [esp + 0x34]
push str.ehshell.exe
push edx
call edi
add esp, 8
test eax, eax
jne 0x4022d0
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4022a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
pop edi
xor eax, eax
cmp ebp, ebx
pop esi
pop ebp
sete al
pop ebx
call fcn.00484547
add esp, 0x12c
ret

Function at 0x404140
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
push ecx
push 6
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
call fcn.00489d20
add esp, 0xc
test eax, eax
jl 0x40418e
mov eax, dword [esp + 4]
test ah, 2
jne 0x40418e
mov edx, dword [esi + 0x60]
add edx, 4
push edx
push 0
push 0x403d40
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
pop esi
add esp, 8
ret