joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401039
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401074
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401070
lea ebx, [ebx]
cmp esi, eax
jae 0x401074
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401060
cmp esi, eax
jb 0x40107a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4013d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x41103c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x128]
test edi, edi
je 0x401547
cmp byte [edi], 0
je 0x401547
cmp ebx, 0xffffffff
je 0x401547
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401436
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0040321c
add esp, 0x118
ret
mov ecx, dword [esp + 0x12c]
lea eax, [esp + 8]
push eax
or ecx, 0xf003f
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401478
xor edx, edx
cmp eax, 2
sete dl
pop edi
pop ebx
mov eax, edx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0040321c
add esp, 0x118
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, edi
cmp byte [esi - 1], 0x5c
je 0x401491
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x401513
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x134]
push edx
push edi
push ebx
call fcn.004013d0
add esp, 0xc
test eax, eax
je 0x401512
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push eax
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4014c6
pop ebp
mov byte [esi - 1], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
pop esi
sbb eax, eax
pop edi
inc eax
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0040321c
add esp, 0x118
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040321c
add esp, 0x118
ret
Function at 0x4018e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x41103c]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push 0x103
lea eax, [esp + 0x10d]
push 0
push eax
mov byte [esp + 0x114], 0
call fcn.00403250
push 0x103
lea ecx, [esp + 0x15]
push 0
push ecx
mov byte [esp + 0x1c], 0
call fcn.00403250
add esp, 0x18
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je case.0x401963.13
mov eax, dword [esp + 0x218]
add eax, 0xfffffff6
cmp eax, 0x59
ja case.0x401963.13
movzx eax, byte [eax + 0x401a74]
jmp dword [eax*4 + 0x401a5c]
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x4019f8
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 4]
push eax
push str._s_system32
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.0040322b
add esp, 0x10
jmp 0x4019f8
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 4]
push eax
push str._s_system32drivers
jmp 0x401996
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je case.0x401963.13
lea eax, [esp + 4]
push eax
push str._sSysWOW64
jmp 0x401996
lea edx, [esp + 4]
push 0x104
push edx
call fcn.004015d0
add esp, 8
push esi
lea eax, [esp + 8]
push eax
push str._s_s
lea ecx, [esp + 0x114]
push 0x104
push ecx
call fcn.0040322b
lea edx, [esp + 0x11c]
push edx
call fcn.004032fa
add esp, 0x18
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040321c
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
mov eax, 0xfffffffe
call fcn.0040321c
add esp, 0x20c
ret
Function at 0x40321c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41103c]
jne 0x403226
repz ret
jmp fcn.00406586

Function at 0x40cd4a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004049b8
and dword [ebp - 4], 0
cmp dword [0x4129dc], 0
mov ebx, eax
jne 0x40cdfb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ceac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40fd64
push edi
call esi
test eax, eax
je 0x40ceac
push eax
call fcn.00404946
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4129dc], eax
call esi
push eax
call fcn.00404946
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4129e0], eax
call esi
push eax
call fcn.00404946
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4129e4], eax
call esi
push eax
call fcn.00404946
pop ecx
mov dword [0x4129ec], eax
test eax, eax
je 0x40cdfb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404946
pop ecx
mov dword [0x4129e8], eax
mov eax, dword [0x4129e8]
cmp eax, ebx
je 0x40ce53
cmp dword [0x4129ec], ebx
je 0x40ce53
push eax
call fcn.004049c1
push dword [0x4129ec]
mov esi, eax
call fcn.004049c1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ce53
test edi, edi
je 0x40ce53
call esi
test eax, eax
je 0x40ce4a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ce4a
test byte [ebp - 0xc], 1
jne 0x40ce53
or dword [ebp + 0x10], 0x200000
jmp 0x40ce8c
mov eax, dword [0x4129e0]
cmp eax, ebx
je 0x40ce8c
push eax
call fcn.004049c1
pop ecx
test eax, eax
je 0x40ce8c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ce8c
mov eax, dword [0x4129e4]
cmp eax, ebx
je 0x40ce8c
push eax
call fcn.004049c1
pop ecx
test eax, eax
je 0x40ce8c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4129dc]
call fcn.004049c1
pop ecx
test eax, eax
je 0x40ceac
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ceae
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x700039b2
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x70003aa5
cmp eax, 0xffffffff
je 0x70003aa5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp + 8]
push ecx
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
mov esi, eax
cmp esi, ebx
je 0x70003a09
cmp dword [ebp + 8], 0x40
je 0x70003a0b
xor esi, esi
cmp esi, ebx
je 0x70003a99
cmp word [ebp - 0x44], 0x5a4d
je 0x70003a1d
xor esi, esi
cmp esi, ebx
je 0x70003a99
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 8]
mov dword [ebp + 8], eax
je 0x70003a39
xor esi, esi
cmp esi, ebx
je 0x70003a99
push ebx
lea eax, [ebp + 8]
push eax
mov ebx, 0xf8
push ebx
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 4]
call edi
mov esi, eax
test esi, esi
je 0x70003a5f
cmp dword [ebp + 8], ebx
je 0x70003a61
xor esi, esi
test esi, esi
je 0x70003a99
cmp dword [ebp - 0x13c], 0x4550
je 0x70003a73
xor esi, esi
test esi, esi
je 0x70003a99
mov eax, dword [ebp - 0x134]
push 0
push dword [ebp - 4]
mov dword [0x7003096c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [0x70030968], eax
jne 0x70003a99
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
jmp 0x70003aa7
xor esi, esi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x70007178
Capabilities:
Hash data using crc32b

Disassembly:
cmp dword [0x70030974], 0
push ebx
je 0x70007187
xor ebx, ebx
inc ebx
jmp 0x700071e6
push 0x70030974
push 0x400
call fcn.7000dd31
mov ebx, eax
test ebx, ebx
jl 0x700071e6
mov eax, dword [0x70030974]
push esi
xor esi, esi
mov dword [eax], 0x4c11db7
inc esi
push 8
push esi
call fcn.70007148
push 8
shl eax, 0x18
pop ecx
test eax, eax
jns 0x700071c6
add eax, eax
xor eax, 0x4c11db7
jmp 0x700071c8
shl eax, 1
dec ecx
jne 0x700071b9
push 0x20
push eax
call fcn.70007148
mov ecx, dword [0x70030974]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 0x100
jl 0x700071ab
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x700071ea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0xc]
push edi
mov dword [ebp + 8], esi
lea ecx, [eax + 0x28]
jmp 0x7000721c
movzx edi, byte [ebp + 8]
movzx edx, byte [ecx]
mov ebx, dword [0x70030974]
xor edx, edi
mov edi, dword [ebp + 8]
mov edx, dword [ebx + edx*4]
shr edi, 8
xor edx, edi
mov dword [ebp + 8], edx
dec ecx
lea edx, [eax + 0x14]
cmp ecx, edx
jae 0x700071fe
mov ecx, dword [eax + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*8]
cmp ecx, eax
jae 0x7000728c
sub eax, ecx
push 0x28
lea ebx, [ecx + 0x24]
dec eax
xor edx, edx
pop ecx
div ecx
inc eax
mov edi, dword [ebp + 0xc]
push 4
pop ecx
lea esi, [ebx - 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x70007286
test byte [ebx], 0x3f
je 0x70007286
test byte [ebx - 0x1c], 4
jne 0x70007286
lea ecx, [ebx - 0x14]
cmp ebx, ecx
mov esi, ebx
jb 0x70007286
movzx edx, byte [ebp + 8]
movzx ecx, byte [esi]
mov edi, dword [0x70030974]
xor ecx, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edi + ecx*4]
shr edx, 8
xor ecx, edx
mov dword [ebp + 8], ecx
dec esi
lea ecx, [ebx - 0x14]
cmp esi, ecx
jae 0x70007261
add ebx, 0x28
dec eax
jne 0x7000723e
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x7000916d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x88]
push 0x27
imul esi, esi, 0x22c
add esi, dword [edi + 0x84]
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x70009224
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.70019f39
test eax, eax
je 0x70009224
lea eax, [ebp + 0xc]
push eax
push 1
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70009224
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x24]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x208
call fcn.7001ace2
test eax, eax
jne 0x7000921b
push 0x14
push esi
push 3
push 0x7000159c
push dword [ebp + 0xc]
call fcn.70017f54
test eax, eax
jl 0x7000921b
test byte [esi + 0x10], 0x70
je 0x7000921b
mov eax, dword [esi + 4]
and eax, 0xfe00
or dword [edi + 0x8c], eax
inc dword [edi + 0x88]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 0xc
Function at 0x7000922a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp + 8]
push edx
push 9
push eax
call dword [ecx + 0x4c]
mov edi, eax
xor ebx, ebx
cmp edi, 1
jne 0x70009278
push esi
call fcn.70008a3a
mov edi, eax
cmp edi, ebx
jl 0x70009352
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 9
push eax
call dword [ecx + 0x4c]
mov edi, eax
cmp edi, 1
jne 0x70009278
mov edi, 0x80004005
cmp edi, ebx
jl 0x70009352
push 0xc
lea edi, [esi + 0x98]
push edi
push 3
push 0x7000159c
push dword [ebp + 8]
call fcn.70017f54
test eax, eax
je 0x700092a1
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 9
push ebx
push 0x700015a8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70009344
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x70009334
lea eax, [esi + 0x84]
push eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x22c
push eax
call fcn.7000dd31
mov edi, eax
cmp edi, ebx
jl 0x70009339
xor edi, edi
cmp dword [ebp - 4], ebx
mov dword [esi + 0x88], ebx
jbe 0x70009312
push edi
push dword [ebp - 8]
push esi
call fcn.7000916d
inc edi
cmp edi, dword [ebp - 4]
jb 0x70009302
lea eax, [esi + 0x8c]
and dword [eax], 0xff00
cmp dword [esi + 0x88], ebx
mov ecx, dword [eax]
je 0x70009330
or ecx, 0x100
mov dword [eax], ecx
xor edi, edi
jmp 0x70009339
mov edi, 0x80004005
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70009349
mov edi, 0x80004001
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x70009771
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor esi, esi
push esi
push esi
call fcn.7000dd82
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x3c], esi
mov eax, dword [0x70030b08]
mov dword [ebp - 4], eax
je 0x700097ab
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [ebp + 8], eax
jmp 0x700098d0
cmp eax, esi
je 0x700097c5
add eax, 4
push eax
mov dword [ebx + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x7000989f
lea eax, [ebp - 4]
push eax
push 0x40
call fcn.7000dd31
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x700098d0
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [0x700309e4]
mov dword [ebp + 8], 0x80004005
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x700098c1
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, dword [0x700309e4]
jne 0x700098c1
mov eax, dword [ebp - 4]
mov dword [0x70030b08], eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], esi
je 0x700098a7
push eax
push esi
push eax
push 0x70009652
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
cmp ecx, esi
je 0x700098a7
push edi
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push esi
add eax, 0x28
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
cmp edi, 0xffffffff
jne 0x70009893
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x7000986f
cmp edi, esi
pop edi
je 0x700098a4
mov dword [ebx + 0x3c], 1
mov dword [ebp + 8], esi
jmp 0x700098d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
cmp eax, esi
je 0x700098b5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x700309e4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x70030b08], esi
push esi
push esi
call fcn.7000dd90
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
pop esi
mov dword [eax], ecx
mov eax, dword [ebp + 8]
pop ebx
leave
ret 8
Function at 0x70009c85
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.70009a22
sub dword [esi + 0x7f], esi
mov al, byte [0x647b70f]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.70009a22
and esi, esi
cmpsb byte [esi], byte es:[edi]
sbb al, 0x66
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x70009c7c
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x70009c76
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x70009c67
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
pop eax
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.70009a22
mov edx, 0x8d51c3fb
inc ebp
test al, 0x50
call fcn.70009a32
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.700099e7
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x70009d10
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.70009a22
sub eax, 0x8d5a1c33
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x7000bef6
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
je 0x7000bf64
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push 0xf003f
push dword [eax + 8]
lea esi, [edi + 0x10]
push dword [ebp + 0x14]
call fcn.7000c05d
mov ebx, eax
test ebx, ebx
jl 0x7000bf86
mov eax, dword [esi + 8]
cmp dword [esi], eax
jne 0x7000bf45
cmp dword [esi + 4], eax
jne 0x7000bf45
test eax, eax
jne 0x7000bf45
push 0x700017a4
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x7000bf59
push 0xc
push esi
push 3
push 0x700017a4
push dword [ebp + 0x14]
call fcn.70018134
mov ebx, eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x7000bf67
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x7000bf86
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x28], ecx
mov ecx, dword [edi + 0x14]
push eax
mov dword [eax + 0x2c], ecx
call fcn.7000bdc8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x7000c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x7000ca20
push esi
push edi
push 0x70002290
lea eax, [ebp - 0x60]
push eax
call fcn.7001a058
push 9
pop ecx
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
jmp 0x7000ca37
push 0x27
lea eax, [ebp - 0x2c]
push eax
push 0x7000179c
push dword [ebp + 0xc]
call fcn.7001acb5
cmp eax, ebx
jne 0x7000ca57
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xc]
push ecx
add eax, 4
push eax
push 0x700022b0
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.7001abc1
cmp eax, ebx
jge 0x7000ca93
jmp 0x7000ca7a
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push 0x700017ec
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x7000ca81
cmp eax, 0xea
je 0x7000ca81
mov eax, 0x80004001
jmp 0x7000ca93
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0x700022b0
push ebx
call fcn.7000c445
pop ebx
leave
ret 8
Function at 0x7000cf50
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetKeyboardType]
mov ecx, eax
shr ecx, 8
cmp cl, 0xd
jne 0x7000cfae
movzx eax, al
sub eax, 4
je 0x7000cf8a
dec eax
mov eax, dword [ebp + 8]
je 0x7000cf7e
mov dword [eax + 0xc], 7
jmp 0x7000cf94
push 2
pop esi
mov dword [eax + 0xc], 9
jmp 0x7000cf97
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 8
xor esi, esi
inc esi
push 0x1f
pop edi
push 0
push 0x1b
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp eax, 1
jne 0x7000cfef
add esi, 6
jmp 0x7000cfef
test eax, eax
je 0x7000d00b
cmp eax, 1
je 0x7000cfdf
push 0xf
pop edi
push 0xc
pop ecx
cmp eax, ecx
jbe 0x7000cfd0
cmp eax, edi
ja 0x7000cfd0
mov eax, dword [ebp + 8]
push 5
pop esi
mov dword [eax + 0xc], ecx
jmp 0x7000cfef
mov eax, dword [ebp + 8]
push 3
pop esi
mov dword [eax + 0xc], 0xa
jmp 0x7000cfef
mov eax, dword [ebp + 8]
push 4
pop esi
push 0xf
mov dword [eax + 0xc], 0xb
pop edi
push 0xa
push esi
push dword [0x700309e4]
call fcn.7001a0a5
test eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
jne 0x7000d014
xor edi, edi
jmp 0x7000d014
mov eax, dword [ebp + 8]
push 4
pop edi
mov dword [eax + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x7000de2b
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
push 0x70025148
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jge 0x7000de88
cmp dword [0x700309e8], 0
je 0x7000de53
push dword [0x700309e4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x7000de88
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x7000de10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x7000de88
push 0xfffffffffffffff1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret