joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070500
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016cebf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x101f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x101feb98
mov dword [0x101feba8], 0
mov dword [0x101febac], 7
mov word [0x101feb98], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x30]
push 0x24
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push str.0584EF5D_1493_45BF_B393_F4E62C50F6EB
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.10006790
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
mov dword [0x101febb0], 0
mov word [0x101febb4], 0
je 0x100705bb
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
jmp 0x100705bd
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x101febb0], eax
test eax, eax
je 0x100705f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [0x101febb5]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [0x101febb5], cl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10006730
mov dword [0x101febb8], 0
mov dword [0x101febbc], 0
mov dword [0x101febc0], 0
mov byte [ebp - 4], 4
xor eax, eax
push 0xa
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
push str.StatusStat
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10006790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.1006fe30
mov esi, eax
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.100e0d70
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
cmp eax, edi
je 0x100706af
mov ecx, eax
call fcn.10006730
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.10006730
cmp esi, 0x101feb98
je 0x100706f7
mov ecx, 0x101feb98
call fcn.10006730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [0x101feb98], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x101feba8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, 1
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.10006730
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.10006730
mov dword [ebp - 4], 0xffffffff
mov eax, 0x101feb98
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10081580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f8c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x30]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
add ecx, 0xc
call fcn.10014190
mov byte [ebp - 4], 0
lea esi, [ebx + 0x24]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x1008163f
mov edx, dword [esi + 4]
push ecx
call fcn.1001db40
mov ecx, dword [esi + 8]
mov eax, 0x2aaaaaab
mov edi, dword [esi]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
shl ecx, 4
cmp ecx, 0x1000
jb 0x10081621
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1008165f
mov edi, edx
push ecx
push edi
call fcn.101464ec
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.100817d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x10082250
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fc50
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101f8008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.100e4bb0
test al, al
je 0x1008228c
push 1
push esi
call fcn.10082390
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.100e1750
cmp dword [ebp - 0x30], 0
je 0x10082362
push 0xf
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.2345InstDll.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10006790
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.100e0d70
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10006730
lea ecx, [ebp - 0x58]
call fcn.100e4bb0
test al, al
je 0x10082356
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.100084d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 4
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10006730
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10006730
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10006730
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10146054
mov esp, ebp
pop ebp
ret
Function at 0x10082390
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fc8b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x101f8008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
push esi
call fcn.100084d0
mov dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
je 0x10082488
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100823e7
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100823f9
mov bl, 1
jmp 0x100824ad
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
push 0
push 0x101a4c64
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x1008244b
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10082488
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082466
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.10006790
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push 4
cmovae eax, dword [ebp - 0x828]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, 1
sete bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.10006730
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10146054
mov esp, ebp
pop ebp
ret 8
Function at 0x100833e0
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Inject apc
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fe48
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101f8008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x100835a1
cmp dword [edi + 0x10], 0
je 0x100835a1
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10083468
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x30]
push str.__ws_
push eax
call fcn.100e29d0
push 0x44
lea eax, [ebp - 0x78]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x14], 8
movups xmmword [ebp - 0x88], xmm0
jb 0x100834ae
mov esi, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10083583
mov eax, dword [edi + 0x10]
push 0x40
push 0x1000
mov dword [ebp - 0x90], 0
lea eax, [eax*2 + 2]
push eax
push 0
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1008354f
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], 0
jb 0x10083517
mov edi, dword [edi]
lea ecx, [ebp - 0x18]
add eax, eax
push ecx
push eax
push edi
push esi
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1008354f
push esi
push dword [ebp - 0x84]
push dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov esi, eax
mov dword [ebp - 0x90], esi
test esi, esi
jne 0x1008355d
push 0xffffffffffffffff
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x88]
call esi
cmp dword [ebp - 0x90], 0
setne byte [ebp - 0x89]
jmp 0x1008358a
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006730
mov al, byte [ebp - 0x89]
jmp 0x100835a3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10146054
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10089e10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170c47
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
xor bl, bl
mov dword [ebp - 4], 0
mov eax, dword [0x101fed30]
test al, 1
jne 0x10089e99
or eax, 1
mov dword [0x101fed30], eax
mov byte [ebp - 4], 1
xor eax, eax
push 0x2f
push str.GlobalRCAVD277DCA8_31E4_4750_8F68_057A8C0F2C93
mov ecx, 0x101fed80
mov dword [0x101fed90], 0
mov dword [0x101fed94], 7
mov word [0x101fed80], ax
call fcn.10006790
push 0x10188000
call fcn.101464d7
add esp, 4
mov byte [ebp - 4], bl
push 0x101fed80
lea ecx, [ebp - 0x28]
call fcn.100084d0
mov dword [ebp - 0x10], 1
cmp dword [eax + 0x14], 8
jb 0x10089eb5
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, 1
mov esi, eax
mov dword [ebp - 0x10], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10006730
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
test esi, esi
je 0x10089f00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1008bc20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171090
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10066770
mov edi, eax
mov dword [ebp - 0x14], edi
mov word [edi + 0xc], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
push eax
mov ecx, esi
call fcn.100084d0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008c4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101711b7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101f8008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
test edi, edi
jne 0x1008c52f
xor al, al
jmp 0x1008c651
test eax, eax
je 0x1008c528
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
lea eax, [ebp - 0x50]
push edi
push 1
push 0x40
push eax
call ebx
add esp, 0x1c
cmp eax, 1
jne 0x1008c528
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.10008480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100e2600
push 0x28
call fcn.10146078
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1008afc0
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1008c63e
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c633
push edi
push eax
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c633
push edi
push eax
lea eax, [esi + 8]
push 0x10
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c633
push edi
push eax
lea eax, [esi + 0x18]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c633
push edi
push eax
lea eax, [esi + 0x20]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c633
mov ecx, esi
call fcn.1008c4d0
test al, al
je 0x1008c633
mov ebx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
push 0x20
cmovae eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], cx
mov ecx, ebx
push eax
call fcn.10006790
mov dword [ebx + 0x18], esi
mov bl, 1
jmp 0x1008c640
push 0x28
push esi
call fcn.101464ec
add esp, 8
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10006730
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10146054
mov esp, ebp
pop ebp
ret 8
Function at 0x1008e2e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101716d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101f8008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov edi, dword [ecx]
mul esi
shr edx, 5
lea ebx, [edx + edx*2]
shl ebx, 2
add edi, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
movzx eax, word [edi + 4]
lea ecx, [edi + 6]
mov dword [ebp - 0x24], eax
lea eax, [edx + edx*2]
shl eax, 4
sub esi, eax
movzx esi, si
mov edx, esi
call fcn.1008e7d0
movzx ebx, ax
lea edx, [edi + 6]
mov eax, esi
mov ecx, esi
shr eax, 3
add edx, eax
and ecx, 7
mov eax, 1
mov dword [ebp - 0x14], ecx
shl ax, cl
mov dword [ebp - 0x10], edx
test byte [edx], al
je 0x1008e38e
mov ecx, dword [edi]
mov eax, ebx
lea ebx, [eax*8]
sub ebx, eax
shl ebx, 2
add ecx, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10006730
jmp 0x1008e43d
movzx eax, word [edi + 4]
xor ecx, ecx
inc eax
mov edx, 0x1c
movzx esi, ax
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
jne 0x1008e3dd
push esi
push str.sparsehash_FATAL_ERROR:_failed_to_allocate__lu_groups_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1008c350
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [edi]
mov eax, ebx
push edx
lea ebx, [eax*8]
sub ebx, eax
shl ebx, 2
lea edx, [ebx + ecx]
call fcn.1008ea50
movzx ecx, word [edi + 4]
add esp, 4
mov eax, dword [ebp + 8]
mov esi, dword [edi]
add eax, 0x1c
add eax, ebx
push eax
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [ebx + esi]
lea edx, [esi + eax*4]
call fcn.1008ea50
add esp, 4
mov ecx, edi
call fcn.1008def0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
inc word [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [edi], eax
movzx eax, byte [edx]
bts eax, ecx
mov byte [edx], al
mov edi, dword [edi]
mov esi, dword [ebp + 0xc]
add edi, ebx
push esi
mov ecx, edi
mov dword [ebp + 8], edi
call fcn.100084d0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
add eax, ebx
movzx edx, word [edx + ecx + 4]
mov ecx, dword [ebp - 0x24]
movzx ecx, cx
sub edx, ecx
add dword [esi + 0x10], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008e5b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov di, word [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x1c], eax
nop
cmp ebx, dword [ebp + 0x10]
jne 0x1008e5df
cmp di, word [ebp + 0x14]
je 0x1008e6fa
mov eax, dword [ebp + 0xc]
movzx edx, di
mov ecx, edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x10], eax
and ecx, 7
shr edx, 3
mov eax, 1
shl ax, cl
test byte [edx + esi + 6], al
je 0x1008e6cd
mov edx, dword [esp + 0x10]
lea ecx, [esi + 6]
call fcn.1008e7d0
movzx ebx, ax
movzx eax, word [esi + 4]
cmp eax, 1
jne 0x1008e629
mov dword [esp + 0xc], 0
jmp 0x1008e695
dec eax
xor ecx, ecx
movzx edi, ax
mov edx, 0x1c
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [esp + 0x20]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008e6d8
mov ecx, ebx
push eax
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [esi]
shl ebx, 2
lea edx, [ecx + ebx]
call fcn.1008ea50
movzx ecx, word [esi + 4]
add esp, 4
mov eax, dword [esp + 0xc]
mov edi, dword [esi]
add eax, ebx
push eax
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [edi + 0x1c]
add ecx, ebx
lea edx, [edi + eax*4]
call fcn.1008ea50
add esp, 4
mov ecx, esi
call fcn.1008def0
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, 0xffff
add word [esi + 4], ax
mov eax, dword [esp + 0x10]
movzx edx, ax
mov ecx, edx
and edx, 7
shr ecx, 3
movzx eax, byte [ecx + esi + 6]
btr eax, edx
mov byte [ecx + esi + 6], al
mov di, word [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc di
mov word [ebp + 0xc], di
jmp 0x1008e5d0
push edi
push str.sparsehash_FATAL_ERROR:_failed_to_allocate__lu_groups_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1008c350
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1008e830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
movzx esi, word [ebp + 8]
xor ecx, ecx
mov eax, esi
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
jne 0x1008e87a
push esi
push str.sparsehash_FATAL_ERROR:_failed_to_allocate__lu_groups_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1008c350
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop esi
pop ebp
ret 4
Function at 0x1008ee20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 0x44]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 8
mov ebx, dword [eax + 0x10]
jb 0x1008ee4c
mov edx, dword [eax]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1008ee68
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1008ee57
and esi, dword [ebp - 0xc]
mov eax, 0xaaaaaaab
mul esi
or ebx, 0xffffffff
mov eax, edx
shr eax, 5
mov dword [ebp - 0x10], eax
lea ecx, [eax + eax*2]
shl ecx, 2
mov dword [ebp - 4], ecx
lea ecx, [eax + eax*2]
shl ecx, 4
mov eax, esi
sub eax, ecx
movzx edx, ax
mov eax, 1
mov ecx, edx
shr edx, 3
add edx, dword [edi + 0x38]
and ecx, 7
shl ax, cl
mov ecx, dword [ebp - 4]
test byte [edx + ecx + 6], al
je 0x1008ef58
push esi
mov ecx, edi
call fcn.1008f2c0
test al, al
je 0x1008eecb
cmp ebx, 0xffffffff
mov eax, esi
cmovne eax, ebx
mov ebx, eax
jmp 0x1008ef04
mov eax, dword [ebp - 0x10]
mov edx, esi
mov edi, dword [edi + 0x38]
add edi, dword [ebp - 4]
lea eax, [eax + eax*2]
shl eax, 4
sub edx, eax
lea ecx, [edi + 6]
call fcn.1008e7d0
movzx eax, ax
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi]
lea eax, [eax + ecx*4]
push eax
push dword [ebp + 0xc]
call fcn.1008df80
test al, al
jne 0x1008ef72
mov eax, dword [ebp - 8]
inc eax
add esi, eax
mov dword [ebp - 8], eax
and esi, dword [ebp - 0xc]
mov eax, 0xaaaaaaab
mul esi
mov edi, edx
shr edi, 5
mov dword [ebp - 0x10], edi
lea eax, [edi + edi*2]
shl eax, 2
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, esi
shl ecx, 4
sub eax, ecx
movzx edx, ax
mov eax, 1
mov ecx, edx
shr edx, 3
add edx, dword [edi + 0x38]
and ecx, 7
shl ax, cl
mov ecx, dword [ebp - 4]
test byte [edx + ecx + 6], al
jne 0x1008eeb3
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
cmp ebx, 0xffffffff
jne 0x1008ef87
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8