joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038e90
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x10039031
lea eax, [ecx - 1]
mov esi, dword [0x100cca14]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100cca1c
lea eax, [edi + edi]
push eax
call fcn.10019270
mov ecx, dword [0x100cca14]
lea eax, [edi - 1]
mov dword [0x100cca28], eax
mov dword [0x100cca2c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10038ffb
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x100cca1c]
imul edi, edi, 0x1000193
and edi, dword [0x100cca28]
lea eax, [eax + edi*8]
mov edi, dword [eax]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
cmp edi, esi
jne 0x10038f69
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10038ff1
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10038fac
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x10038fa4
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x10038ff1
mov edi, eax
cmp dword [ebp - 8], eax
je 0x10038fc5
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
je 0x10039006
cmp dword [ebp - 8], eax
jne 0x10038fb3
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov dword [edx + 4], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov esi, dword [ebp - 4]
mov ecx, edx
cmp edx, esi
jne 0x10038f10
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x10038fee
push str.invalid_hash_bucket_count
call fcn.100522e0
int3
Function at 0x100396d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 4]
mov edi, edx
call fcn.1000b3f0
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
cmp byte [ebp - 0xc], 0
je 0x10039729
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10048b00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a415
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10098128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 0xc]
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x10048b3a
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10048b58
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10048b46
push edi
push edx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.1004ce90
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10048b89
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x5d1745d
je 0x10048ca5
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.10054a33
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.1000c1f0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov eax, dword [esi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d2c0]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d2c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
jbe 0x10048c41
mov ecx, esi
call fcn.10049f00
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004ce90
mov edx, dword [eax]
jmp 0x10048c44
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [esi + 8], eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x10048c72
mov dword [ecx + eax*8], ebx
jmp 0x10048c84
cmp esi, edx
jne 0x10048c7b
mov dword [ecx + eax*8], ebx
jmp 0x10048c88
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10048c88
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.100522e0
int3
Function at 0x10048cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a455
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10098128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 0x10
jb 0x10048d01
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10048d25
mov esi, dword [ebp - 0x18]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10048d10
mov esi, dword [ebp - 0x14]
push edi
push edx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1004ce90
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10048d47
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x10048e80
cmp dword [esi + 8], 0x5d1745d
je 0x10048e96
lea eax, [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.10054a33
mov esi, eax
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], esi
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 5
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [ecx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d2c0]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d2c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x10048e30
call fcn.10049f00
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004ce90
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x10048e33
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
inc dword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, edi
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xc]
mov edi, dword [ebp - 0x20]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [edi]
jne 0x10048e60
mov dword [edx + eax*8], esi
jmp 0x10048e73
cmp ecx, dword [ebp - 0x18]
jne 0x10048e6a
mov dword [edx + eax*8], esi
jmp 0x10048e77
mov ecx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], ecx
jne 0x10048e77
mov dword [edx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.100522e0
int3
Function at 0x10051e00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov ecx, 0x401000
call fcn.10051fe0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000b3f0
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10051e5e
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, 0x53ec8b55
jne 0x10051e70
mov eax, 0x3e9
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x401000
call fcn.10052030
cmp eax, 0x16197be9
jne 0x10051e8b
mov eax, 0x3ea
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8245bc
call fcn.10052030
cmp eax, 0x94bf
jne 0x10051ea6
mov eax, 0x3f3
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x8252fc
call fcn.10052030
cmp eax, 0x94bf
jne 0x10051ec1
mov eax, 0x44d
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x82533c
call fcn.10052030
cmp eax, 0x94bf
jne 0x10051edc
mov eax, 0x457
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858d51
call fcn.10052030
cmp eax, 0x3539f633
jne 0x10051ef7
mov eax, 0xc80
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x858c61
call fcn.10052030
xor ecx, ecx
mov edx, 0xc8a
cmp eax, 0x3539f633
pop esi
cmove ecx, edx
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x10052030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.10051fe0
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.1000b3f0
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10052089
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10068b56
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100689cc

Function at 0x1006b64a
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006b5cc
Function at 0x1000a87a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100271cf
call fcn.10015b54
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x1000a8d3
call fcn.10003e9c
mov esi, eax
jmp 0x1000a9a9
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x1000a8ec
call fcn.10003e9c
jmp 0x1000a99b
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x1000a8e2
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x1000a926
mov esi, 0x8007000e
jmp 0x1000a99d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10023fc2
mov dword [ebp - 4], 1
jmp 0x1000a954
cmp dword [ebp - 0x418], esi
je 0x1000a91f
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x1000a8e2
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.10023fc2
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000a9c2
lea ecx, [ebp - 0x418]
call fcn.10009448
mov eax, esi
call fcn.10015bb0
ret 0x10
Function at 0x1000f81c
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x1002753c
call fcn.10015ab5
mov ebx, ecx
mov eax, dword [ebx]
xor esi, esi
xor edi, edi
call dword [eax + 0x18]
cmp eax, esi
jne 0x1000f8a0
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
cmp dword [ebx + 0x44], esi
je 0x1000f8e0
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10023fc2
test al, al
je 0x1000f8b8
push 0xb
pop eax
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, dword [ebx + 0x44]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
push str.Close
push eax
movsd dword es:[edi], dword [esi]
push 0
push 1
push ebx
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call fcn.10023fc2
mov edi, eax
add esp, 0x28
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
jmp 0x1000f8d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x1000f83a
push 0x8007000e
call fcn.10023fc2
mov eax, dword [ebx + 0x44]
push esi
push str.Close
push eax
push esi
push 1
push ebx
call fcn.10023fc2
add esp, 0x18
mov edi, eax
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x1000f8e0
mov dword [ebx + 0x44], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx + 0x24], esi
je 0x1000f8ff
push str.Excel.Application
lea ecx, [ebp - 0x10]
call fcn.10023fc2
test al, al
je 0x1000f8ff
push dword [ebx + 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
call fcn.10015b8d
ret
Function at 0x1000f910
Capabilities:
Terminate process

Disassembly:
push 0x820
mov eax, 0x10027562
call fcn.10015b1e
xor edi, edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x814], edi
cmp dword [esi + 0x40], edi
je 0x1000fa39
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esi + 0x40]
push edi
push str.Caption
push eax
lea eax, [ebp - 0x82c]
push eax
push 2
push esi
mov dword [ebp - 4], edi
call fcn.10023fc2
add esp, 0x18
test eax, eax
jne 0x1000f99f
push dword [ebp - 0x824]
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.10023fc2
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x814], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x818]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov ebx, eax
cmp ebx, edi
jl 0x1000f9d3
cmp dword [ebp - 0x818], edi
jne 0x1000f9d3
mov eax, dword [esi + 0x40]
push edi
push str.Quit
push eax
push edi
push 1
push esi
call fcn.10023fc2
add esp, 0x18
mov ebx, eax
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x1000f9e3
mov dword [esi + 0x40], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x814], edi
je 0x1000fa39
cmp dword [ebp - 0x818], edi
jne 0x1000fa39
cmp ebx, edi
jge 0x1000fa39
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x814]
mov dword [ebp - 0x81c], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x81c]
push 1
push 0x1fffff
call dword [sym.imp.kernel32.dll_OpenProcess]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov eax, ebx
call fcn.10015ba1
ret
Function at 0x100102b6
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0x214
mov eax, 0x1002769c
call fcn.10015b1e
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x220], edi
je 0x100102e1
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
jmp 0x10010485
lea ecx, [ebx - 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebx + 0x14]
test esi, esi
jne 0x100102fa
mov eax, 0x80004005
jmp 0x10010485
mov eax, dword [ebp + 0x10]
mov edx, eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and edx, ecx
cmp edx, ecx
sete cl
mov byte [esi + 0x31], cl
mov edx, eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocStringLen
and edx, ecx
cmp edx, ecx
mov edx, dword [ebx + 0x14]
sete cl
mov byte [edx + 0x32], cl
mov ecx, reloc.OLEAUT32.dll_VariantClear
and eax, ecx
cmp eax, ecx
mov ecx, dword [ebx + 0x14]
sete al
mov byte [ecx + 0x33], al
mov ecx, dword [ebx + 0x14]
push edi
add ecx, 0x28
call fcn.10023fc2
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor esi, esi
cmp eax, esi
jne 0x10010424
mov dword [ebp - 0x21c], esi
push str.Excel.Application
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call fcn.10023fc2
test al, al
je 0x10010462
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.10015d40
push 0x5c
push edi
call fcn.10023fc2
add esp, 0x14
cmp eax, esi
jne 0x100103ab
push 0x2f
push edi
call fcn.10023fc2
pop ecx
pop ecx
cmp eax, esi
je 0x100103d3
add eax, 2
push 0x2e
push eax
call fcn.10023fc2
push 0x104
mov edi, eax
lea esi, [ebp - 0x218]
call fcn.10023fc2
mov edi, dword [ebp - 0x220]
add esp, 0xc
xor esi, esi
cmp word [ebp - 0x218], si
je 0x10010451
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.kernel32.dll_CopyFileW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10023fc2
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
add ecx, 0x24
test eax, eax
jne 0x10010443
lea eax, [ebp - 0x218]
push eax
call fcn.10023fc2
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x10010449
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x21c], eax
cmp eax, esi
jne 0x10010358
push 0x8007000e
call fcn.10023fc2
push edi
call fcn.10023fc2
mov eax, dword [ebx + 0x14]
add eax, 0x24
jmp 0x1001046e
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100102f0
mov ecx, dword [ebx + 0x14]
push edi
add ecx, 0x24
call fcn.10023fc2
push eax
lea ecx, [ebx + 0x10]
call fcn.10023fc2
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
call fcn.10015ba1
ret 0xc
Function at 0x1001212a
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x10027950
call fcn.10015b1e
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
jne 0x10012149
xor eax, eax
jmp 0x1001221e
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x1001221c
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.kernel32.dll_Process32FirstW
jmp 0x100121f2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.100120e9
and dword [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x244]
call fcn.100120e9
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.10011f97
lea ecx, [ebp - 0x244]
call fcn.10011f97
push dword [ebp - 0x240]
lea ecx, [ebp - 0x244]
call fcn.10023fc2
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
test eax, eax
je 0x100121fc
call fcn.10011b75
mov ecx, dword [ebp - 0x240]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10011b75
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10012174
jmp 0x10012215
mov edi, dword [ebp - 0x234]
call fcn.10011b75
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.10011b75
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10015ba1
ret

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

Disassembly:
cmp dword [0x10039078], 0
push esi
push edi
jne 0x10013bec
call fcn.10013b58
test eax, eax
je 0x10013c31
mov eax, dword [0x10039078]
cmp eax, 1
jne 0x10013c0d
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10013c31
jmp 0x10013c73
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10013c73
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 0x10013c35
xor eax, eax
jmp 0x10013c73
mov eax, dword [esi]
push dword [0x10039078]
call edi
mov edi, eax
test edi, edi
je 0x10013c57
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10013c73
lea edi, [esi + 0xff0]
push esi
push dword [0x10039078]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10013c5d
mov eax, esi
pop edi
pop esi
ret
jmp 0x10013bd8

Function at 0x100155f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10037a70]
jne 0x10015600
repz ret
jmp fcn.10017fba