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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171bb1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101fb008]
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.100145e0
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 0x100835cf
mov edx, dword [esi + 4]
push ecx
call fcn.1001df90
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 0x100835b1
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100835ef
mov edi, edx
push ecx
push edi
call fcn.1014847c
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.10083760
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 0x100841f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171f40
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101fb008]
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.100e6e40
test al, al
je 0x1008422c
push 1
push esi
call fcn.10084330
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.100e3960
cmp dword [ebp - 0x30], 0
je 0x10084302
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.10006870
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.100e42d0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10006810
lea ecx, [ebp - 0x58]
call fcn.100e6e40
test al, al
je 0x100842f6
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.100085c0
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.10006810
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10006810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10006810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
Function at 0x10084330
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x101fb008]
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.100085c0
mov dword [ebp - 4], 0
cmp byte [ebp + 0xc], 0
je 0x10084428
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10084387
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10084399
mov bl, 1
jmp 0x1008444d
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 0x101a6c64
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 0x100843eb
mov esi, dword [esi]
lea eax, [ebp - 0x810]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10084428
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084406
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.10006870
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.10006810
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.10147fe4
mov esp, ebp
pop ebp
ret 8
Function at 0x10085380
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 0x10172138
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x101fb008]
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 0x10085541
cmp dword [edi + 0x10], 0
je 0x10085541
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 0x10085408
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x30]
push str.__ws_
push eax
call fcn.100e3630
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 0x1008544e
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 0x10085523
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 0x100854ef
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], 0
jb 0x100854b7
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 0x100854ef
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 0x100854fd
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 0x1008552a
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10006810
mov al, byte [ebp - 0x89]
jmp 0x10085543
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.10147fe4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1008bdb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10172f37
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101fb008]
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 [0x10201e08]
test al, 1
jne 0x1008be39
or eax, 1
mov dword [0x10201e08], eax
mov byte [ebp - 4], 1
xor eax, eax
push 0x2f
push str.GlobalRCAVD277DCA8_31E4_4750_8F68_057A8C0F2C93
mov ecx, 0x10201e58
mov dword [0x10201e68], 0
mov dword [0x10201e6c], 7
mov word [0x10201e58], ax
call fcn.10006870
push 0x1018a2a0
call fcn.10148467
add esp, 4
mov byte [ebp - 4], bl
push 0x10201e58
lea ecx, [ebp - 0x28]
call fcn.100085c0
mov dword [ebp - 0x10], 1
cmp dword [eax + 0x14], 8
jb 0x1008be55
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.10006810
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
test esi, esi
je 0x1008bea0
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 0x1008dbc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10173380
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101fb008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.10068180
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.100085c0
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 0x1008e490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101734a7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101fb008]
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 0x1008e4cf
xor al, al
jmp 0x1008e5f1
test eax, eax
je 0x1008e4c8
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 0x1008e4c8
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x68]
call fcn.10008570
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100e3260
push 0x28
call fcn.10148008
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1008cf60
mov esi, eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1008e5de
push edi
push 1
push 4
push esi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008e5d3
push edi
push eax
lea eax, [esi + 4]
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008e5d3
push edi
push eax
lea eax, [esi + 8]
push 0x10
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008e5d3
push edi
push eax
lea eax, [esi + 0x18]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008e5d3
push edi
push eax
lea eax, [esi + 0x20]
push 8
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x1008e5d3
mov ecx, esi
call fcn.1008e470
test al, al
je 0x1008e5d3
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.10006870
mov dword [ebx + 0x18], esi
mov bl, 1
jmp 0x1008e5e0
push 0x28
push esi
call fcn.1014847c
add esp, 8
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10006810
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.10147fe4
mov esp, ebp
pop ebp
ret 8
Function at 0x10090280
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101739c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x101fb008]
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.10090770
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 0x1009032e
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.10006810
jmp 0x100903dd
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 0x1009037d
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.1008e2f0
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.100909f0
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.100909f0
add esp, 4
mov ecx, edi
call fcn.1008fe90
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.100085c0
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 0x10090550
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 0x1009057f
cmp di, word [ebp + 0x14]
je 0x1009069a
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 0x1009066d
mov edx, dword [esp + 0x10]
lea ecx, [esi + 6]
call fcn.10090770
movzx ebx, ax
movzx eax, word [esi + 4]
cmp eax, 1
jne 0x100905c9
mov dword [esp + 0xc], 0
jmp 0x10090635
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 0x10090678
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.100909f0
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.100909f0
add esp, 4
mov ecx, esi
call fcn.1008fe90
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 0x10090570
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.1008e2f0
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 0x100907d0
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 0x1009081a
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.1008e2f0
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 0x10090dc0
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 0x10090dec
mov edx, dword [eax]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x10090e08
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10090df7
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 0x10090ef8
push esi
mov ecx, edi
call fcn.10091260
test al, al
je 0x10090e6b
cmp ebx, 0xffffffff
mov eax, esi
cmovne eax, ebx
mov ebx, eax
jmp 0x10090ea4
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.10090770
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.1008ff20
test al, al
jne 0x10090f12
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 0x10090e53
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
cmp ebx, 0xffffffff
jne 0x10090f27
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 0x100913a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x101fb008]
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.1008f750
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
mov ecx, ebx
call fcn.10091880
test al, al
je 0x100913f1
cmp dword [esp + 0x14], 0x24687531
je 0x10091407
mov ecx, edi
call fcn.1008f750
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 8
lea edx, [edi + 0xc]
mov ecx, ebx
call fcn.10091880
test al, al
je 0x100913f1
lea edx, [edi + 0x10]
mov ecx, ebx
call fcn.10091880
test al, al
je 0x100913f1
push dword [edi + 0xc]
mov ecx, edi
call fcn.10090440
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
je 0x100914d7
nop word [eax + eax]
mov ecx, esi
call fcn.1008fe90
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 0x100913f1
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 0x10091460
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 0x100913f1
movzx eax, word [esi + 4]
push eax
call fcn.100907d0
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
add esi, 0xc
mov eax, dword [ecx + 4]
cmp esi, eax
jne 0x10091440
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 0x10091510
mov eax, dword [esi]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
call fcn.1008f630
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 0x10091537
cmp eax, edx
jne 0x10091537
cmp esi, edx
jne 0x10091537
cmp esi, eax
je 0x1009154f
test edi, edi
je 0x1009154f
push edi
push ebx
call fcn.1008e490
test al, al
je 0x100913f1
add edi, 0x1c
mov dword [esp + 0x28], edi
jmp 0x100914f7
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret 8