joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fca0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b34d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edx + 0x1f]
mov dword [ebp - 0x10], edi
and ebx, 0xffffffe0
lea esi, [edi + 4]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov edi, dword [edi + 0x40]
test edi, edi
je 0x1001fcf8
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jbe 0x1001fe03
mov edi, dword [edi]
test edi, edi
jne 0x1001fce4
mov eax, 0x8000
cmp ebx, eax
push 0x10
cmova eax, ebx
mov dword [ebp - 0x14], eax
call fcn.1004cbd3
mov edi, eax
add esp, 4
test edi, edi
je 0x1001fdc4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001fdb4
mov edx, dword [0x100acfe0]
test edx, edx
jne 0x1001fd85
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x3c]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x100acfd8], eax
mov eax, dword [ebp - 0x24]
mov dword [0x100acfdc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [0x100acfe0], edx
mov ecx, dword [0x100acfd8]
dec eax
add eax, ecx
neg ecx
push 0x40
and eax, ecx
push 0x3000
push eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
push 0
cmovne edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, eax
test edx, edx
jne 0x1001fde0
push edi
mov dword [edi + 4], 0
call fcn.1004cb30
add esp, 4
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 8]
test ecx, ecx
je 0x1001fdec
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], edx
mov dword [edi + 0xc], 0
mov eax, dword [ecx + 0x40]
mov dword [edi], eax
mov dword [ecx + 0x40], edi
jmp 0x1001fe06
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
add edx, eax
add eax, ebx
mov dword [edi + 0xc], eax
mov edi, edx
add dword [ecx + 0x2c], ebx
mov dword [ebp - 0x18], edx
jmp 0x1001fdc6
Function at 0x100200d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100acfe0]
sub esp, 0x24
push esi
mov esi, ecx
test eax, eax
jne 0x1002012b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x100acfd8], eax
mov eax, dword [ebp - 8]
mov dword [0x100acfdc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x100acfe0], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [esi], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call sym.browser_patcher.dll_public:_static_unsigned_int___cdecl_asmjit::VMemUtil::getPageGranularity_void_
mov dword [esi + 0x1c], eax
mov eax, esi
mov dword [esi + 0x20], 0x40
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov byte [esi + 0x24], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10020bd0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b40d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x7ffffffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x34
jb 0x10020d81
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x10020c16
mov eax, dword [edi]
push ecx
push eax
push 0x34
push str._registrymachineSYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.10019020
mov dword [ebp - 4], 0
call fcn.10013730
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x34]
mov esi, eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push 0x1009b75c
mov dword [ebp - 0x14], eax
call fcn.1000fd80
mov byte [ebp - 4], 1
call fcn.100170f0
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100142f0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x10020c99
mov esi, dword [eax + 0x20]
call ebx
test esi, esi
je 0x10020c9b
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x10020c9b
call ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.1000f910
call fcn.10013730
push 0x1009b830
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1000fd80
mov byte [ebp - 4], 2
call fcn.100170f0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100142f0
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 4]
je 0x10020d02
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
lea eax, [esi + 0x20]
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x10020d08
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ebx, eax
jmp 0x10020d0d
lea eax, [esi + 0x20]
push eax
call ebx
mov ebx, 0xc0000138
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.1000f910
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x22
jb 0x10020d86
cmp dword [edi + 0x14], 7
jbe 0x10020d30
mov edi, dword [edi]
push ecx
push edi
push 0x22
push str.SYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.10019020
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0x34]
call fcn.100104a0
lea ecx, [ebp - 0x4c]
call fcn.100104a0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.1000f9a0
call fcn.1000f9a0
int3
Function at 0x10021010
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006b1cd
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
jne 0x1002104e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 3
jne 0x10021103
cmp byte [eax + 0xe], 0
jne 0x10021103
call fcn.10013730
push 0x1009b8c8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1000fd80
mov dword [ebp - 4], 0
call fcn.100170f0
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100142f0
mov eax, dword [ebp - 0x10]
push ebx
cmp eax, dword [esi + 4]
je 0x100210dc
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x100210e2
push dword [edi + 8]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1000f910
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.1000f910
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0xc]
cmp eax, 0xffffffff
pop edi
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10021130
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
cmp edi, 4
ja 0x100212e7
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.10049980
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0x2cc
push 0
push eax
call fcn.10049980
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x100211b1
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x100211c9
mov dword [ebp - 0x2e0], 0x10010
lea edx, [ebp - 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x8e0]
lea edx, [ebp - 0x2c8]
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test eax, eax
js 0x100212e9
mov edx, dword [ecx]
test edi, edi
jne 0x100211fb
and edx, 0xfff0fffe
jmp 0x10021260
mov eax, edx
cmp edi, 1
jne 0x10021209
mov edx, 0xfffffffb
jmp 0x1002121c
cmp edi, 2
mov dword [ebp - 8], 0xffffffbf
mov edx, 0xffffffef
cmovne edx, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x1002122a
mov eax, 0xff3fffff
jmp 0x1002123d
cmp edi, 2
mov dword [ebp - 8], 0x3fffffff
mov eax, 0xf3ffffff
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x1002124b
mov eax, 0xffcfffff
jmp 0x1002125e
cmp edi, 2
mov dword [ebp - 8], 0xcfffffff
mov eax, 0xfcffffff
cmovne eax, dword [ebp - 8]
and edx, eax
mov eax, edx
mov dword [ecx], eax
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x10021282
mov eax, dword [ebp - 0xc]
and edx, 0xfffffeff
mov dword [eax], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.10021010
cmp byte [ebp - 1], 0
jne 0x100212aa
test al, al
je 0x100212da
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x100212be
test al, al
je 0x100212da
mov eax, dword [esi]
lea edx, [ebp - 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x100212da
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10021300
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x670
lea eax, [ebp - 0x950]
mov edi, ecx
push 0
push eax
call fcn.10049980
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call fcn.10049980
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x10021375
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x1002138d
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [edi + 8]
call eax
cmp byte [ebp - 1], 0
lea esi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
cmovne esi, ecx
test eax, eax
jns 0x100213b7
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov edx, dword [ebx + 8]
xor eax, eax
nop dword [eax]
lea ecx, [eax*4]
cmp dword [ebp + eax*8 - 0x908], edx
jne 0x100213df
mov edx, dword [ebx + 0xc]
cmp dword [ebp + eax*8 - 0x904], edx
mov edx, dword [ebx + 8]
je 0x100213fe
cmp dword [ebp + ecx - 0x2d4], edx
je 0x100213fe
inc eax
cmp eax, 4
jl 0x100213c0
mov eax, 0xc0000225
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
jne 0x1002141c
mov dword [ebp + eax*8 - 0x908], 0
mov dword [ebp + eax*8 - 0x904], 0
jmp 0x10021427
mov dword [ebp + ecx - 0x2d4], 0
mov edx, dword [esi]
test eax, eax
jne 0x1002143d
and edx, 0xfff3fffe
mov dword [esi], edx
and edx, 0xfffcffff
jmp 0x1002146d
cmp eax, 1
jne 0x10021452
and edx, 0xff3ffffb
mov dword [esi], edx
and edx, 0xffcfffff
jmp 0x1002146d
cmp eax, 2
jne 0x10021467
and edx, 0xf3ffffef
mov dword [esi], edx
and edx, 0xfcffffff
jmp 0x1002146d
and edx, 0xfffffbf
mov eax, esi
mov dword [eax], edx
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x1002148e
and edx, 0xfffffeff
mov dword [esi], edx
mov ecx, edi
mov esi, 0xc000071c
call fcn.10021010
cmp byte [ebp - 1], 0
jne 0x100214b6
test al, al
je 0x100214e6
mov eax, dword [edi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x100214ca
test al, al
je 0x100214e6
mov eax, dword [edi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [edi + 8]
call eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
je 0x100214e6
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10021520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b49b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push esi
mov esi, ecx
lea ecx, [ebp - 0x13c]
call fcn.1001acd0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.1001acd0
push 0x208
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.10049980
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x30]
call fcn.10010700
mov byte [ebp - 4], 2
cmp byte [esi], 0
je 0x100215fa
mov ecx, dword [ebp - 0x20]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x13
jb 0x10021723
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push str.System32_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10019020
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x13c]
call fcn.1001af60
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100104a0
jmp 0x100216cb
mov al, byte [esi + 1]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], al
test al, al
je 0x10021615
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, 0x7ffffffe
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub eax, ecx
cmp eax, 0x13
jb 0x10021728
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push 0x1009bd30
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10019020
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.1001af60
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.100104a0
mov ecx, dword [ebp - 0x20]
sub esi, ecx
cmp esi, 0x13
jb 0x1002172d
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push str.SysWOW64_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.10019020
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x13c]
call fcn.1001af60
lea ecx, [ebp - 0x48]
call fcn.100104a0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x14], 0
je 0x100216cb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.10021740
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xf0]
call fcn.10021740
lea ecx, [ebp - 0x30]
call fcn.100104a0
lea ecx, [ebp - 0x22c]
call fcn.1001ae70
lea ecx, [ebp - 0x13c]
call fcn.1001ae70
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.1000f9a0
call fcn.1000f9a0
call fcn.1000f9a0
int3
Function at 0x1002a3b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b645
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x44
mov dword [ebp - 0x1c], 0
call fcn.10047c76
add esp, 4
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebp - 0x10], ebx
push dword [esi]
call fcn.10010700
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 2
push dword [esi + 4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10010700
mov eax, dword [ebp + 0x10]
mov edx, ebx
mov eax, dword [eax]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], 3
mov ebx, 0xff
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 4]
mov dword [ebp + 0x10], eax
cmp byte [eax + 0xd], 0
jne 0x1002a4b5
mov esi, eax
nop
push edx
lea ecx, [esi + 0x10]
mov dword [ebp + 0x10], esi
call fcn.1002a340
mov ecx, eax
test ecx, ecx
jne 0x1002a487
push dword [ebp - 0x14]
lea ecx, [esi + 0x28]
call fcn.1002a340
mov ecx, eax
test ecx, ecx
jne 0x1002a487
xor al, al
jmp 0x1002a491
mov eax, ebx
mov ecx, 1
cmovns eax, ecx
test al, al
jns 0x1002a49d
mov esi, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
jmp 0x1002a4a4
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x10]
not al
movzx edi, al
shr edi, 7
cmp byte [esi + 0xd], 0
je 0x1002a460
cmp byte [ecx + 0xd], 0
jne 0x1002a529
lea esi, [ecx + 0x10]
mov ecx, edx
push esi
call fcn.1002a340
test eax, eax
jne 0x1002a4de
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.1002a340
test eax, eax
jne 0x1002a4de
xor bl, bl
jmp 0x1002a4e6
mov eax, 1
cmovns ebx, eax
test bl, bl
js 0x1002a529
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [esi + 4], 0
call fcn.100104a0
mov ecx, dword [ebp - 0x10]
call fcn.100104a0
mov eax, dword [ebp - 0x1c]
push 0x44
push eax
call fcn.10047ca6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0x3c3c3c3
je 0x1002a560
mov eax, dword [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x10]
call fcn.10001e40
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.1000f650
int3
Function at 0x1002caa0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 0x1002cbfa
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.10014130
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 0x1002cbcd
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x1002cb53
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1002cbc3
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1002cb8d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1002cb85
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 0x1002cbc0
cmp edi, edx
je 0x1002cb9d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1002cbd6
cmp edi, edx
jne 0x1002cb91
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 0x1002cb02
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 0x1002cbc0
push str.invalid_hash_bucket_count
call fcn.1002f4bd
int3