joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002c08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e0cc]
jne 0x10002c12
repz ret
jmp fcn.10004fac

Function at 0x100048dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x100048ef
xor eax, eax
jmp 0x10004988
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
jmp 0x10004927

Function at 0x1000498a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
mov dword [ebp - 8], 0x1000e90c
push 0
mov eax, dword [ebp - 8]
push dword [eax + 0x2c]
call fcn.10004811
Function at 0x100049a8
Capabilities:
Read file on windows

Disassembly:
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x38], 0
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax + 4]
push dword [ebp - 0x14]
call fcn.1000471c
std
invalid
call [ecx + 0x59]
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.10004811
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x10004a23
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov dx, word [esi + edx*2]
mov word [ecx + eax*2], dx
inc ecx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100049f8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x54], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x10004a47
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10004a30
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x10004a72
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10004a4d
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0x10004aa7
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
movsx ax, byte [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10004a76
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10004ad0
push 0
call dword [ebp - 0x20]
mov eax, dword [ebp - 8]
push dword [eax + 0x3c]
push dword [ebp - 0x44]
call fcn.100048dc
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
push 0
push dword [ebp - 0x3c]
call dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
add byte [eax], dl
Function at 0x10004a19
Capabilities:
Read file on windows

Disassembly:
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x38], 0
push 4
push 0x1000
mov eax, dword [ebp - 8]
push dword [eax + 4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push dword [eax + 4]
push dword [ebp - 0x14]
call fcn.1000471c
std
invalid
call [ecx + 0x59]
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.10004811
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x10004a23
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov dx, word [esi + edx*2]
mov word [ecx + eax*2], dx
inc ecx
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100049f8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x54], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
test eax, eax
je 0x10004a47
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10004a30
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2 - 2]
cmp eax, 0x5c
je 0x10004a72
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10004a4d
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0x10004aa7
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x28]
movsx ax, byte [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10004a76
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10004ad0
push 0
call dword [ebp - 0x20]
mov eax, dword [ebp - 8]
push dword [eax + 0x3c]
push dword [ebp - 0x44]
call fcn.100048dc
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
push 0
push dword [ebp - 0x3c]
call dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
add byte [eax], dl
Function at 0x10004b00
Capabilities:
Read file on windows

Disassembly:
add byte [eax], dl
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push dword [eax + 0x44]
push dword [ebp - 4]
call fcn.1000471c
pop ecx
pop ecx
and dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 4]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10004b3e
push 0
call dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc]
add eax, 4
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x37c4486
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x21f91a3e
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x475008], 0x8088405
inc edx
mov dword [ebx + 0x475008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb8c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cbbd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cba5
add dl, dl
jne 0x41cbc8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc19
xor eax, eax
add dl, dl
jne 0x41cbd5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccb6
add dl, dl
jne 0x41cbe4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbef
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbfa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc05
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc0f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbb4
mov eax, 1
add dl, dl
jne 0x41cc27
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc32
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc1e
sub eax, ebx
mov ebx, 1
jne 0x41cc65
mov ecx, 1
add dl, dl
jne 0x41cc4b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc56
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc42
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbb4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc87
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc73
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbb4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ccd7
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cbb4
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e004
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f4c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e0b5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e09e
test esi, esi
jbe 0x41e0b5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e090
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e0b5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e06d
jmp 0x41e0b5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e0b5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f4ca
ret
Function at 0x41e8f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x45fea7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e933
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e94c
lea eax, [ebp - 0x10]
mov edx, dword [0x477250]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41e95f
lea eax, [ebp - 0x10]
mov edx, dword [0x477250]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41e96b
adc edx, 0
mov edx, dword [edx*4 + 0x4760dc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406af4
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea79
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ea6c
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406d9c
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ea6c
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41ea6c
cmp dx, 0x150
ja 0x41ea6c
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d44
test eax, eax
je 0x41ea6c
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41ea6c
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406aac
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41ea91
inc ebx
cmp ebx, 0x19
jne 0x41e925
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45feae
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401000
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x422038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 8]
lea eax, [ebp - 0x414]
push edi
push 0x410
xor edi, edi
push edi
push eax
call fcn.00402710
push 0x410
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.00402710
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x208
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x40106e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bce
mov esp, ebp
pop ebp
ret
push esi
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x4010cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 5
jne 0x4010ae
push str.Permission_denied__please_run_as_Administor._n
call fcn.00401ba0
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bce
mov esp, ebp
pop ebp
ret
push esi
push str.OpenSCManager_failed____u_n
call fcn.00401ba0
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bce
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push str.__s___service
push eax
call fcn.00401840
add esp, 0xc
lea eax, [ebp - 0x824]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
movzx eax, bl
xor eax, 1
add eax, 2
push eax
push 0x10
push 4
push str.DshowMonSvc
push str.DshowMonSvc
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x401137
push str.CreateService_failed____u_n
call fcn.004012f0
add esp, 4
mov edi, eax
jmp 0x40114c
push eax
call ebx
push str.DshowMonSvc
push str._s_installed._n
call fcn.00401ba0
add esp, 8
push esi
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00401bce
mov esp, ebp
pop ebp
ret
Function at 0x4011b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x422038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
mov esi, 0x41a00c
mov edi, 4
cmp dword [esi - 8], 0
jne 0x4012c2
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0
push 0
push eax
call fcn.00402710
push 0x20a
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00402710
push dword [esi - 0xc]
lea eax, [ebp - 0x20c]
push str.CLSID_sInprocServer32
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0x41c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4012c2
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x208
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4012ba
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi - 8], eax
test eax, eax
je 0x4012ba
push str.DshowMon
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi - 4], eax
test eax, eax
je 0x4012ba
push 0x1ffc
lea eax, [esi + 4]
push 0
push eax
call fcn.00402710
add esp, 0xc
mov dword [esi], 0x7c
push dword [ebp - 0x41c]
call ebx
mov eax, dword [esi - 4]
test eax, eax
je 0x4012ce
push 0
push esi
call eax
add esi, 0x200c
sub edi, 1
jne 0x4011d6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401bce
mov esp, ebp
pop ebp
ret
Function at 0x40ae6f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040ab1d
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x7289505b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x6b5e5a55
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40992c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00409dec
mov byte [esp], al
cmp byte [esp], 0
jne 0x409ab5
test edi, edi
je 0x409ab5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4099f5
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4099d0
cmp edi, 0xffffffff
je 0x409991
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409991
mov byte [esp], 0
jmp 0x409ab5
cmp dword [esi], 1
jg 0x4099d0
cmp dword [esi], 0
jne 0x4099c2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4099c2
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x409ab5
lea eax, [esp + 0xc]
call fcn.004095e8
dec ebp
test ebp, ebp
jg 0x409976
cmp edi, 0xffffffff
je 0x4099f5
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4099f3
mov byte [esp], 0
jmp 0x409ab5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40993a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4099f5
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409b30
mov edx, eax
mov ebx, dword [0x71f8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409a59
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x409a57
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409a59
xor edi, edi
cmp byte [esp], 0
je 0x409a7f
mov ebx, dword [esi]
test bl, 1
jne 0x409a95
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409a5f
mov byte [esp + 1], 1
jmp 0x409a95
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409a7f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x409a0c
cmp byte [esp], 0
je 0x409ab5
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40a974
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x71f05c], 0
je 0x40a9db
cmp word [0x71f348], 0xd7b2
jne 0x40a99d
cmp dword [0x71f350], 0
jbe 0x40a99d
mov eax, 0x71f344
call dword [0x71f360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x40aa08
call fcn.0040b558
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x714034], 0
jne 0x40a9f7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret