joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
lea esi, [ebx + 4]
mov dword [esi], 0x5bfbd4
push edi
mov dword [ebx], 0x5bfbb4
call fcn.00435620
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call edi
push ebx
lea ecx, [eax + 0x54]
call fcn.00435ca0
mov eax, dword [0x79c3f0]
test eax, eax
jne 0x43b16e
call fcn.004452d0
push ecx
push esi
mov ecx, eax
call fcn.00444c00
mov esi, dword [ebx + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xc], 0
je 0x43b1b5
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x240]
cmp dword [ebx + 0x14], eax
jne 0x43b1b5
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebx + 0xc]
push ecx
mov edx, esp
mov dword [ebx + 0xc], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [ebx + 0x10]
call dword [eax + 8]
call fcn.00435620
push dword [eax]
call edi
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov eax, dword [ebx + 8]
push ecx
add eax, 0x204
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.0043dad0
mov edi, dword [esp + 0x1c]
mov eax, edi
mov edx, dword [esp + 0x20]
cmp edi, edx
je 0x43b1f6
nop dword [eax]
mov eax, dword [eax]
cmp eax, edx
jne 0x43b1f0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push edi
push eax
call fcn.0043dba0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 8]
push 0
push dword [eax + 0x1f8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43b266
cmp dword [0x79c13c], 3
jg 0x43b256
push 3
push 0x23
push str.e:zmbase_base_threading_thread_local_win.cc
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 2
call fcn.00421910
add eax, 8
push str.Failed_to_TlsSetValue__.
push eax
call fcn.00407780
add esp, 8
test byte [esp + 0x10], 2
je 0x43b266
lea ecx, [esp + 0x28]
call fcn.004219d0
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x43b284
mov ecx, esi
call fcn.00442db0
push esi
call fcn.00509540
add esp, 4
pop edi
pop esi
mov dword [ebx], method.std::_Facet_base.virtual_4
mov dword [ebx + 4], 0x5bfbbc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b500
Capabilities:
Allocate thread local storage
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x7d0
lea eax, [edi + 4]
mov dword [edi], 0x5bfbc8
push eax
call esi
push 0x7d0
lea eax, [edi + 0x1c]
push eax
call esi
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x60]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
call fcn.00405a50
lea ecx, [edi + 0x78]
call fcn.00427120
push ecx
lea eax, [esp + 0xc]
mov dword [edi + 0x98], 0
push eax
lea ecx, [edi + 0x9c]
mov dword [esp + 0x10], 0
call fcn.0043dd40
lea ecx, [edi + 0xbc]
call fcn.00427120
lea ecx, [edi + 0xdc]
call fcn.0043d7c0
lea ecx, [edi + 0xfc]
call fcn.00427120
mov dword [edi + 0x120], 0
lea ecx, [edi + 0x14c]
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
call fcn.00405a50
mov dword [edi + 0x164], 1
lea ecx, [edi + 0x170]
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
call fcn.004433b0
lea ecx, [edi + 0x1b4]
call fcn.004433b0
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1f8], 0
call esi
mov dword [edi + 0x1f8], eax
cmp eax, 0xffffffff
jne 0x43b6a3
cmp byte [0x79c268], 0
jne 0x43b7d8
int3
mov dword [edi + 0x1fc], 0
call esi
mov dword [edi + 0x1fc], eax
cmp eax, 0xffffffff
jne 0x43b6c8
cmp byte [0x79c268], 0
jne 0x43b7df
int3
mov dword [edi + 0x200], 0
call esi
mov dword [edi + 0x200], eax
cmp eax, 0xffffffff
jne 0x43b6ed
cmp byte [0x79c268], 0
jne 0x43b7e6
int3
lea ecx, [edi + 0x204]
call fcn.0043d760
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov byte [edi + 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x130], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.004a0c20
mov ecx, edi
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
call fcn.0043d5a0
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x43b79b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x79c3f0]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x43b7b1
call fcn.004452d0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
lea ecx, [esp + 0x10]
push ecx
push str.TraceLog
push edi
mov ecx, eax
call fcn.00444b40
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.0053141b
push 1
call fcn.0053141b
push 1
call fcn.0053141b
int3
Function at 0x43bb40
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esi + 0x1fc]
call edi
test eax, eax
jne 0x43bba4
call fcn.00435620
push dword [eax]
call edi
test eax, eax
je 0x43bba4
push dword [esi + 0x1f8]
call edi
mov edx, eax
test edx, edx
je 0x43bb86
mov ecx, dword [edx + 0x14]
cmp ecx, dword [esi + 0x240]
je 0x43bba4
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
push 0x18
call fcn.004a04f1
add esp, 4
mov ecx, eax
push esi
call fcn.0043afd0
push eax
lea ecx, [esi + 0x1f8]
call fcn.00435680
pop edi
pop esi
pop ebx
ret
Function at 0x43ccf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5d4074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], 0
test bl, bl
je 0x43cee9
push dword [edi + 0x200]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x43cee9
mov ecx, dword [edi + 0x200]
lea edx, [edi + 0x200]
call fcn.0043adf0
call fcn.00428d70
test al, al
je 0x43cd69
lea ecx, [ebp - 0x78]
call fcn.00428cb0
jmp 0x43cd74
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
push eax
call fcn.0043ae90
test bl, 8
je 0x43cd97
mov ecx, dword [ebp - 0x3c]
call fcn.00441ba0
lea ecx, [ebp - 0x1c]
call fcn.00405a50
test bl, 1
je 0x43ce59
push dword [ebp - 0x54]
lea eax, [edi + 4]
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov ecx, edi
lea eax, [ebp - 0x50]
push eax
call fcn.0043d4e0
mov edx, eax
test edx, edx
je 0x43cdf4
mov ecx, dword [ebp - 0x48]
sub ecx, dword [edx]
mov eax, dword [ebp - 0x44]
sbb eax, dword [edx + 4]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
je 0x43cdf4
mov eax, dword [ebp - 0x5c]
sub eax, dword [edx + 8]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [edx + 0xc]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edi + 0x164]
test al, 8
je 0x43ce21
push edx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x34]
push eax
call fcn.0043c7b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004129c0
lea ecx, [ebp - 0x34]
call fcn.00405950
cmp dword [0x79c3d4], 0
je 0x43ce4a
mov eax, dword [0x79c3d4]
test eax, eax
setne al
test al, al
je 0x43ce4a
call fcn.00443310
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x43ce4a
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [ebp - 0x4c], 0
je 0x43ce59
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
je 0x43cea7
cmp dword [0x79c13c], 2
jg 0x43ce96
push 2
push 0x5b6
push str.e:zmbase_base_trace_event_trace_log.cc
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x38], 2
call fcn.00421910
lea ecx, [ebp - 0x1c]
add eax, 8
push ecx
push eax
call fcn.00414560
add esp, 8
test byte [ebp - 0x38], 2
je 0x43cea7
lea ecx, [ebp - 0x128]
call fcn.004219d0
test bl, 4
je 0x43ced4
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x43ced4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x6c]
push 0x45
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call eax
add esp, 0x30
lea ecx, [ebp - 0x1c]
call fcn.00405950
mov ecx, dword [edi + 0x200]
xor edx, edx
call fcn.0043adf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a04e0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43d4e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp dword [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x43d505
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x43d530
push dword [edi + 0x1f8]
call esi
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.0043af80
test eax, eax
jne 0x43d58f
mov esi, dword [ebp + 8]
test esi, esi
je 0x43d549
cmp byte [esi + 4], 0
jne 0x43d549
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x224]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x43d583
mov eax, edx
and eax, 0x3ffffff
cmp eax, dword [edi + 0x228]
jne 0x43d583
mov eax, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x1c08]
jne 0x43d4fb
shr edx, 0x1a
imul eax, edx, 0x70
add eax, 8
add eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push edx
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43dad0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov ebx, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, edx
jne 0x43db2e
mov ecx, edx
jmp 0x43db33
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x43db82
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x43db42
mov eax, dword [eax]
jmp 0x43db26
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x43db58
mov esi, edx
jmp 0x43db5d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x43db6d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x43db6d
mov eax, dword [eax]
jmp 0x43db50
cmp ecx, eax
je 0x43db82
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebp
ret 8
Function at 0x43dc00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x43dc1a
mov esi, dword [ebx]
jmp 0x43dc1c
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x43dc38
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x43dc27
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp + 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 4], eax
cmp edx, edi
jne 0x43dc60
mov eax, edi
jmp 0x43dc64
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x43dc9d
lea ecx, [esi + 8]
mov edx, ebx
call fcn.00419470
test al, al
jne 0x43dc80
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x43dc58
lea edx, [esi + 8]
mov ecx, ebx
call fcn.00419470
test al, al
mov eax, dword [ebp + 8]
cmove esi, edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43de90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x43df01
cmp dword [ecx], edi
jne 0x43def9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x43df09
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x43df09
cmp dword [ecx], edi
jne 0x43df0c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00509540
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43e300
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [ebx + 4]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x43e383
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43e383
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x43e371
cmp esi, eax
jne 0x43e363
jmp 0x43e386
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push edx
push dword [eax]
call fcn.00436cb0
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x43e3c0
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43e3da
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43e3fc
cmp eax, esi
jne 0x43e3e2
mov dword [ecx], edi
jmp 0x43e3fc
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43e3fc
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0043e420
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e530
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x43e5a1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43e5a1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x43e5e5
cmp esi, eax
jne 0x43e595
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43e5ce
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43e613
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43e635
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00509540
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x43e61b
mov dword [ecx], edi
jmp 0x43e635
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43e635
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0043e420
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x43e6c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
jb 0x43e6d6
mov esi, dword [edi]
jmp 0x43e6d8
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x43e6f6
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x43e6e4
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
and eax, edx
lea ecx, [eax*8]
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx]
cmp esi, eax
je 0x43e738
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43e738
nop dword [eax]
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.00419470
test al, al
jne 0x43e77c
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x43e720
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43e762
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43e7b4
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x43e7d6
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.00405950
push edi
call fcn.00509540
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x43e7bc
mov dword [ecx], edi
jmp 0x43e7d6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43e7d6
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0043ea70
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e7f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x43e86c
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x43e86c
mov ecx, dword [edi]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x43e8b0
cmp esi, eax
jne 0x43e860
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43e899
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x43e8fc
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43e91e
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
lea ecx, [ebx + 0xc]
mov eax, dword [ebp - 4]
dec dword [eax + 8]
call fcn.0043e650
push 1
push dword [ebx + 0xc]
call fcn.00424710
push ebx
mov dword [ebx + 0xc], 0
call fcn.00509540
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x43e904
mov dword [ecx], edi
jmp 0x43e91e
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43e91e
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0043eb10
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc