joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d65058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01d651a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1d6507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6506a
add dl, dl
jne 0x1d65089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d650dc
xor eax, eax
add dl, dl
jne 0x1d65096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6517d
add dl, dl
jne 0x1d650a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d650b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d650bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d650c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d650d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d65075
mov eax, 1
add dl, dl
jne 0x1d650ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d650f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d650e1
sub eax, ebx
mov ebx, 1
jne 0x1d65128
mov ecx, 1
add dl, dl
jne 0x1d6510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d65119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d65105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d65075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d6513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d6514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d65136
cmp eax, 0x7d00
jae 0x1d6516d
cmp eax, 0x500
jb 0x1d65168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d65075
cmp eax, 0x7f
ja 0x1d65170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d65075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d6519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1d65075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x408926
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edi
call fcn.00408950
dec edx
xor dword [ebx], edi
sub ecx, ecx
add ebx, 1
or ecx, ecx
mov edx, ecx
cmp ebx, eax
jne fcn.00408926
ret
Function at 0x100032d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db515
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1010cfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100031b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003363
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [edi + 8], 0xccccccc
je 0x100034bf
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100b08f8
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e6720]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e6720]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003461
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100c1bf0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100b0cb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003443
cmp ebx, 0x200
jae 0x10003441
shl ebx, 3
cmp ebx, ecx
jae 0x10003443
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10005b80
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100031b0
mov edx, dword [eax]
jmp 0x10003464
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1000348f
mov dword [ecx + eax*8], esi
jmp 0x1000349e
cmp edi, edx
jne 0x10003498
mov dword [ecx + eax*8], esi
jmp 0x100034a2
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100034a2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.100993d1
int3
Function at 0x10003d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010cfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.100b2110
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100bd096
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003dab
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003da1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e03
push ecx
push edx
call fcn.100b0928
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10006ba0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100c1b21
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x10112338
push 0x1f8
push eax
push dword [0x1010c278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b0c50
mov esp, ebp
pop ebp
ret
call fcn.100bcacf
int3

Function at 0x10003e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010cfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x1011231c]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003eec
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b0c50
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003eb4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call fcn.100b2430
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10003120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100b0c50
mov esp, ebp
pop ebp
ret
Function at 0x10004590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db655
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1010cfc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x100045e3
push dword [esi]
push eax
push str._p____p
call fcn.10003d00
add esp, 0xc
mov eax, dword [0x1011232c]
inc eax
mov dword [0x1011232c], eax
cmp eax, 0x9c4
jl 0x10004609
push str.too_many_hooks:_cant_insert
call fcn.10003d00
add esp, 4
xor al, al
jmp 0x10004781
test edi, edi
je 0x10004626
cmp byte [edi], 0
je 0x10004626
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100bd096
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10079b60
mov ecx, eax
add esp, 0xa10
cmp dword [ecx + 0x14], 7
jbe 0x10004655
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x43c]
push ecx
push 0x1f4
lea eax, [esi + 0x20c]
push eax
call fcn.100bcbd0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100039e0
imul eax, dword [0x1011232c], 0xac8
sub esp, 0xa08
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x10112328]
mov ecx, eax
call fcn.100071b0
test al, al
jne 0x1000471c
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x28]
add eax, 0x20c
push eax
call fcn.10003600
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10078200
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x100046de
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10003d00
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003990
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100039e0
imul ecx, dword [0x1011232c], 0xac8
add ecx, dword [0x10112328]
call fcn.10006f60
xor al, al
jmp 0x10004781
mov esi, dword [ebp - 0x43c]
lea edx, [ebp - 0x428]
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x42c], 0
mov eax, dword [esi]
lea ecx, [esi + 0x20c]
mov dword [ebp - 0x430], eax
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x10004750
push 0
push 0x10112338
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x1010c278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b0c50
mov esp, ebp
pop ebp
ret
Function at 0x100047a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe18
mov eax, dword [0x1010cfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xa10]
push esi
push edi
mov dword [ebp - 0xe18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10079b60
add esp, 0xa10
cmp dword [eax + 0x14], 7
jbe 0x100047f1
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x214]
push 0x1f4
push eax
call fcn.100bcbd0
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10004840
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004836
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048bb
push ecx
push edx
call fcn.100b0928
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xe14], 2
mov ecx, 0x282
lea esi, [ebp + 8]
lea edi, [ebp - 0xe0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100b2110
push 0x1f3
push dword [ebp - 0xe18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100bcd02
add esp, 0x1c
lea eax, [ebp - 0xe14]
push 0
push 0x10112338
push 0xdf8
push eax
push dword [0x1010c278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100b0c50
mov esp, ebp
pop ebp
ret
call fcn.100bcacf
int3

Function at 0x100048d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x100048eb
push eax
push str.removing_hook:__s
call fcn.10003d00
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x10112338
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x1010c278]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x10005810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x282
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
push edi
push 0
movups xmmword [edx], xmm0
push 0x10112338
movups xmm0, xmmword [eax + 0x10]
mov eax, dword [ebp + 0x14]
lea edi, [edx + 0x20]
add eax, 0xa30
push eax
movups xmmword [edx + 0x10], xmm0
push edx
rep movsd dword es:[edi], dword [esi]
push dword [0x1010c278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
ret

Function at 0x10005b80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x10005cd9
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002e90
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10005cac
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x10005c31
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10005ca2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10005c6b
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x10005c63
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x10005c9f
cmp edi, edx
je 0x10005c7c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10005cb5
cmp edi, edx
jne 0x10005c70
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x10005be2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10005c9f
push str.invalid_hash_bucket_count
call fcn.100993d1
int3
Function at 0x10006990
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db7cf
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1010cfc0]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x10006b57
sub eax, 1
jne 0x10006b7b
mov dword [0x1011231c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10006860
add esp, 8
push 0x101122c8
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.10002ff0
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.10003880
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [0x10112324]
mov dword [0x10112324], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
test eax, eax
je 0x10006a43
cmp eax, 0xffffffff
je 0x10006a43
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 2
test eax, eax
je 0x10006a56
cmp eax, 0xffffffff
je 0x10006a56
push eax
call ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100039e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10006a79
xor eax, eax
jmp 0x10006b80
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x694920
call fcn.100b0c5e
mov ebx, eax
add esp, 4
mov dword [ebp - 0x64], ebx
test ebx, ebx
je 0x10006abd
mov esi, ebx
mov edi, 0x9c4
nop dword [eax]
push 0xa08
push 0
push esi
call fcn.100b2110
add esp, 0xc
add esi, 0xac8
sub edi, 1
jne 0x10006aa0
jmp 0x10006abf
xor ebx, ebx
push 0x10112338
push 0x40
push 0x694920
push ebx
mov dword [ebp - 4], 0xffffffff
mov dword [0x10112328], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10006860
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push str.EMBED_SHARED_MEM
push eax
call fcn.10002ff0
add esp, 0x14
push eax
push 0xa00
push 0x10112320
push 0x1010c280
lea ecx, [ebp - 0x59]
mov byte [ebp - 4], 5
call fcn.10003c60
lea ecx, [ebp - 0x40]
call fcn.100039e0
lea ecx, [ebp - 0x58]
call fcn.100039e0
call fcn.1007bc60
push 0
push 0
push 0
push fcn.10004920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10006b7b
call fcn.1007bf20
call fcn.10073490
push dword [0x10112328]
call fcn.100b0c67
add esp, 4
push dword [0x10112320]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 1
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.100b0c50
mov esp, ebp
pop ebp
ret 0xc