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

Disassembly:
push ebx
push esi
push edi
movzx ebx, dl
dec ebx
test ebx, ebx
jl 0x4c23dc
inc ebx
xor edx, edx
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x53f3b8]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x53f7b8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x53fbb8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x53ffb8]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4c2396
pop edi
pop esi
pop ebx
ret

Function at 0x4c3238
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x4c32c9
movzx ebx, byte [ebx + 0x5405d8]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x5404d8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x5404d8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x5405d8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jl 0x4c3323
movzx ebx, byte [ebx + 0x5405d8]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x5405d8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x5404d8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x5404d8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x5404d8]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x5404d8]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x54a2c8]
movzx ecx, byte [ecx + 0x5405d8]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x5404d8]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x54a6c8]
movzx eax, byte [eax + 0x5404d8]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x5405d8]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x54aac8]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x5405d8]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x5405d8]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x54aec8]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4c33e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
movzx ecx, cl
imul ecx, ecx, 0x1010101
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
mov esi, dword [edx + ebx*4 + 4]
xor esi, ecx
mov dword [eax + ebx*4 + 4], esi
mov esi, dword [edx + ebx*4 + 8]
xor esi, ecx
mov dword [eax + ebx*4 + 8], esi
mov esi, dword [edx + ebx*4 + 0xc]
xor esi, ecx
mov dword [eax + ebx*4 + 0xc], esi
add ebx, 4
cmp ebx, 0x40
jl 0x4c33ed
pop esi
pop ebx
ret

Function at 0x4c42a4
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x5404d8
mov ebx, 0x54a2c8
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.004c3120
mov dword [esp + 8], eax
mov eax, edi
call fcn.004c3130
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.004c3120
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.004c3130
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x4c42bd
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c6234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056ec
xor eax, eax
push ebp
push 0x4c62c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040526c
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c6270
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test bx, bx
jbe 0x4c62aa
mov di, 1
movzx eax, di
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
movzx edx, word [ebp - 6]
xor dx, 0xf
call fcn.00405454
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00405538
inc edi
dec bx
jne 0x4c627b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c62cf
lea eax, [ebp - 0xc]
call fcn.0040526c
lea eax, [ebp - 4]
call fcn.0040526c
ret
Function at 0x4eeb90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4eeba9
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x4eebb6
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4eebd4
cld
pop edi
pop esi
movzx ecx, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4eebf8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
movzx ecx, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x4eec3e
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.004054d0
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.004054d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f4934
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4f4962
mov eax, ebx
call fcn.004f53e8
cmp dword [ebx + 0x40], 0
je 0x4f495b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4f49d3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4f49c5
cmp dword [ebx + 8], 0
je 0x4f4984
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4f4996
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4f49c5
cmp dword [ebx + 8], 0
je 0x4f4977
cmp eax, 3
je 0x4f49a9
dec eax
jne 0x4f4977
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4f4977
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4f4977
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4f49f1
cmp dword [ebx + 0x14], 0xcc
je 0x4f49f1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004f49fc
pop ebx
ret
Function at 0x52aa24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x52aa2c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x52ac51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417e98]
call fcn.00404338
mov edx, dword [0x5428e4]
mov dword [edx], eax
mov eax, dword [0x5428e4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 8]
mov dl, 1
mov eax, dword [0x418504]
call fcn.00404338
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x52ac12
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x52abfc
inc ebx
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 4], 0
je 0x52abf4
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3b
je 0x52abf4
push 1
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00505124
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00405304
push 1
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00505124
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00405304
push 1
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00505124
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00405304
push 1
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00505124
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.00405304
push 1
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00505124
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.00405304
cmp dword [ebp - 8], 0
je 0x52abf4
cmp dword [ebp - 0xc], 0
je 0x52abf4
cmp dword [ebp - 0x14], 0
je 0x52abf4
mov edx, dword [0x4c61b8]
mov eax, 0x14
call fcn.0040629c
mov edi, eax
mov eax, dword [ebp - 8]
call fcn.00409ff8
mov dword [edi], eax
lea eax, [edi + 4]
mov edx, dword [ebp - 0xc]
call fcn.004052c0
lea eax, [edi + 8]
mov edx, dword [ebp - 0x10]
call fcn.004052c0
lea eax, [edi + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004052c0
lea eax, [edi + 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004052c0
mov eax, dword [0x5428e4]
mov eax, dword [eax]
mov edx, edi
call fcn.0041a53c
inc esi
dec ebx
jne 0x52aaa6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ac19
mov eax, dword [ebp - 0x20]
call fcn.00404368
ret
Function at 0x100011e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.10003b00
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10001920
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d408
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100281f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10001a45
cmp byte [ebx + 0x45], 0
je 0x10001a45
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10001974
xor al, al
jmp 0x10001a47
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100019de
dec eax
je 0x100019e2
sub eax, 2
je 0x10001a2e
xor bl, bl
jmp 0x10001a30
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10001a14
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10006f6d
add esp, 0x10
cmp esi, eax
jne 0x100019da
cmp byte [ebx + 0x45], 0
je 0x10001a2e
test esi, esi
jne 0x100019a4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10002300
jmp 0x100019a4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x10001a41
push dword [ebp - 0x28]
call fcn.10006bec
add esp, 4
mov al, bl
jmp 0x10001a47
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100077dd
mov esp, ebp
pop ebp
ret
Function at 0x10004550
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x10004588
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x14]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10004581
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, dword [ebp + 0xc]
pop edi
pop esi
sete al
pop ebx
pop ebp
ret
Function at 0x10004a30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d698
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x100281f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x10004ba7
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x10024d40
push 1
push 0
push 0x10024e10
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x10004b9f
push str.ROOTCIMV2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
call fcn.100041b0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0
test eax, eax
je 0x10004ab8
mov edx, dword [eax]
jmp 0x10004aba
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x10004b8e
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
js 0x10004b85
push 0x1001e77c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0
call fcn.100041b0
push str.SELECT__FROM___InstanceCreationEvent_WITHIN_1_WHERE_TargetInstance_ISA_Win32_Process
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.100041b0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x10004b33
mov edx, dword [eax]
jmp 0x10004b35
xor edx, edx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10004b40
mov esi, dword [eax]
jmp 0x10004b42
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x14]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x58]
mov esi, eax
test esi, esi
js 0x10004b71
push dword [ebp - 0x14]
call fcn.10004bc0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.100042e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.100042e0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
call fcn.100042e0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100060e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1000610d
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0x10003ce0
push 0
push 0
mov dword [0x10029c0c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10016b14
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100281f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1000b212
mov dword [ebp - 0x14], eax
cmp dword [0x1002ac5c], esi
jne 0x10016c07
push 0x800
push esi
push 0x10023d8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10016b94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10016ce7
push esi
push esi
push 0x10023d8c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10016ce7
push 0x10023da4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10016ce7
push eax
call ebx
push 0x10023db0
push edi
mov dword [0x1002ac5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10023dc0
push edi
mov dword [0x1002ac60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10023dd4
push edi
mov dword [0x1002ac64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002ac6c], eax
test eax, eax
je 0x10016c04
push 0x10023df0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002ac68], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10016c2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10016c1f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10016c41
push 4
pop eax
jmp 0x10016ce9
cmp dword [ebp - 0x14], esi
je 0x10016c41
push dword [0x1002ac5c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10016c26
mov eax, dword [0x1002ac68]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10016c9f
cmp dword [0x1002ac6c], edi
je 0x10016c9f
push eax
call ebx
push dword [0x1002ac6c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10016c9f
test eax, eax
je 0x10016c9f
call ecx
test eax, eax
je 0x10016c94
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10016c94
test byte [ebp - 8], 1
jne 0x10016c9f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10016ccf
mov eax, dword [0x1002ac60]
cmp eax, edi
je 0x10016ccc
push eax
call ebx
test eax, eax
je 0x10016ccc
call eax
mov esi, eax
test esi, esi
je 0x10016ccc
mov eax, dword [0x1002ac64]
cmp eax, edi
je 0x10016ccc
push eax
call ebx
test eax, eax
je 0x10016ccc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1002ac5c]
call ebx
test eax, eax
je 0x10016ce7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10016ce9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100077dd
mov esp, ebp
pop ebp
ret
Function at 0x1083065
Capabilities:
Enumerate process modules

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.0108aff0
mov eax, dword [0x10b1ad4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
pop ecx
push 0x1f4
xor ebx, ebx
lea eax, [ebp - 0x1f8]
push ebx
mov esi, 0x100246c
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0108b020
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x1083165
mov esi, dword [ebp - 0x214]
shr esi, 2
je 0x1083148
mov eax, dword [ebp + ebx*4 - 0x1218]
test eax, eax
je 0x1083143
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x108313c
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x108313c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
push 0x17
push 0x1002434
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
je 0x1083174
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x10830d3
inc dword [0x10b3468]
cmp dword [0x10b3468], 3
jbe 0x1083165
push 0
call fcn.01086423
and dword [0x10b3468], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0108afd3
leave
ret
push 1
jmp 0x1083159