joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100816c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dcd1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
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 0x1008177f
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 0x10081761
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1008179f
mov edi, edx
push ecx
push edi
call fcn.101448bc
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.10081910
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 0x10082390
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e060
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101f6008]
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.100e2fb0
test al, al
je 0x100823cc
push 1
push esi
call fcn.100824d0
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.100dfb60
cmp dword [ebp - 0x30], 0
je 0x100824a2
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.100df180
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10006730
lea ecx, [ebp - 0x58]
call fcn.100e2fb0
test al, al
je 0x10082496
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.10144424
mov esp, ebp
pop ebp
ret
Function at 0x100824d0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e09b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x101f6008]
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 0x100825c8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10082527
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10082539
mov bl, 1
jmp 0x100825ed
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 0x101a2c64
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 0x1008258b
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x100825c8
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100825a6
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.10144424
mov esp, ebp
pop ebp
ret 8
Function at 0x10083540
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 0x1016e258
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101f6008]
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 0x10083701
cmp dword [edi + 0x10], 0
je 0x10083701
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 0x100835c8
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x30]
push str.__ws_
push eax
call fcn.100e0dd0
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 0x1008360e
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 0x100836e3
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 0x100836af
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], 0
jb 0x10083677
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 0x100836af
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 0x100836bd
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 0x100836ea
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006730
mov al, byte [ebp - 0x89]
jmp 0x10083703
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.10144424
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10089f80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f057
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101f6008]
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 [0x101fcd20]
test al, 1
jne 0x1008a009
or eax, 1
mov dword [0x101fcd20], eax
mov byte [ebp - 4], 1
xor eax, eax
push 0x2f
push str.GlobalRCAVD277DCA8_31E4_4750_8F68_057A8C0F2C93
mov ecx, 0x101fcd70
mov dword [0x101fcd80], 0
mov dword [0x101fcd84], 7
mov word [0x101fcd70], ax
call fcn.10006790
push 0x10186240
call fcn.101448a7
add esp, 4
mov byte [ebp - 4], bl
push 0x101fcd70
lea ecx, [ebp - 0x28]
call fcn.100084d0
mov dword [ebp - 0x10], 1
cmp dword [eax + 0x14], 8
jb 0x1008a025
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 0x1008a070
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 0x1008bd90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f4a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100668a0
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 0x1008c660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f5c7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101f6008]
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 0x1008c69f
xor al, al
jmp 0x1008c7c1
test eax, eax
je 0x1008c698
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 0x1008c698
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.10008480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100e0a00
push 0x28
call fcn.10144448
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1008b130
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1008c7ae
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c7a3
push edi
push eax
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c7a3
push edi
push eax
lea eax, [esi + 8]
push 0x10
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c7a3
push edi
push eax
lea eax, [esi + 0x18]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c7a3
push edi
push eax
lea eax, [esi + 0x20]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008c7a3
mov ecx, esi
call fcn.1008c640
test al, al
je 0x1008c7a3
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 0x1008c7b0
push 0x28
push esi
call fcn.101448bc
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.10144424
mov esp, ebp
pop ebp
ret 8
Function at 0x1008e450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fae0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101f6008]
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.1008e940
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 0x1008e4fe
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 0x1008e5ad
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 0x1008e54d
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.1008c4c0
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.1008ebc0
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.1008ebc0
add esp, 4
mov ecx, edi
call fcn.1008e060
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 0x1008e720
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 0x1008e74f
cmp di, word [ebp + 0x14]
je 0x1008e86a
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 0x1008e83d
mov edx, dword [esp + 0x10]
lea ecx, [esi + 6]
call fcn.1008e940
movzx ebx, ax
movzx eax, word [esi + 4]
cmp eax, 1
jne 0x1008e799
mov dword [esp + 0xc], 0
jmp 0x1008e805
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 0x1008e848
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.1008ebc0
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.1008ebc0
add esp, 4
mov ecx, esi
call fcn.1008e060
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 0x1008e740
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.1008c4c0
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 0x1008e9a0
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 0x1008e9ea
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.1008c4c0
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 0x1008ef90
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 0x1008efbc
mov edx, dword [eax]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x1008efd8
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1008efc7
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 0x1008f0c8
push esi
mov ecx, edi
call fcn.1008f430
test al, al
je 0x1008f03b
cmp ebx, 0xffffffff
mov eax, esi
cmovne eax, ebx
mov ebx, eax
jmp 0x1008f074
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.1008e940
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.1008e0f0
test al, al
jne 0x1008f0e2
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 0x1008f023
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
cmp ebx, 0xffffffff
jne 0x1008f0f7
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
Function at 0x1008f570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x101f6008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
call fcn.1008d920
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, ebx
call fcn.1008fa50
test al, al
je 0x1008f5c1
cmp dword [esp + 0x14], 0x24687531
je 0x1008f5d7
mov ecx, edi
call fcn.1008d920
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10144424
mov esp, ebp
pop ebp
ret 8
lea edx, [edi + 0xc]
mov ecx, ebx
call fcn.1008fa50
test al, al
je 0x1008f5c1
lea edx, [edi + 0x10]
mov ecx, ebx
call fcn.1008fa50
test al, al
je 0x1008f5c1
push dword [edi + 0xc]
mov ecx, edi
call fcn.1008e610
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
je 0x1008f6a7
nop word [eax + eax]
mov ecx, esi
call fcn.1008e060
xor ecx, ecx
xor eax, eax
mov dword [esi + 6], ecx
xor ebx, ebx
mov word [esi + 0xa], cx
mov word [esi + 4], ax
lea edi, [ecx + 8]
nop dword [eax + eax]
push dword [esp + 0x10]
lea eax, [esp + 0x1f]
push 1
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1008f5c1
movzx eax, byte [esp + 0x1b]
mov ecx, edi
shl ax, cl
add ebx, 8
or word [esi + 4], ax
sub edi, 8
cmp ebx, 0x10
jb 0x1008f630
mov ebx, dword [esp + 0x10]
lea eax, [esi + 6]
push ebx
push 1
push 6
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x1008f5c1
movzx eax, word [esi + 4]
push eax
call fcn.1008e9a0
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
add esi, 0xc
mov eax, dword [ecx + 4]
cmp esi, eax
jne 0x1008f610
mov esi, dword [ecx]
xor edi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
cmp esi, eax
je 0x1008f6e0
mov eax, dword [esi]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
call fcn.1008d800
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebx]
mov ebx, dword [esp + 0x10]
jne 0x1008f707
cmp eax, edx
jne 0x1008f707
cmp esi, edx
jne 0x1008f707
cmp esi, eax
je 0x1008f71f
test edi, edi
je 0x1008f71f
push edi
push ebx
call fcn.1008c660
test al, al
je 0x1008f5c1
add edi, 0x1c
mov dword [esp + 0x28], edi
jmp 0x1008f6c7
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10144424
mov esp, ebp
pop ebp
ret 8