joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034f40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10034f6c
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140D.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [0x100fc960]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100fc968
lea eax, [edi + edi]
push eax
call fcn.100343d0
mov eax, dword [0x100fc960]
lea ebx, [edi - 1]
mov dword [0x100fc978], ebx
mov dword [0x100fc97c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100350a6
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 [0x100fc96c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10035004
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10035071
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1003503e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10035036
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
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 - 0xc]
mov dword [edx + 4], eax
jmp 0x10035071
cmp ebx, edx
je 0x1003504e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10035082
cmp ebx, edx
jne 0x10035042
mov ebx, dword [eax + 4]
mov dword [ebp - 4], 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 - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x100350a6
mov ebx, dword [0x100fc978]
jmp 0x10034fb2
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], 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 0x10035071
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1003c30c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1003c334
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1003c33a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x1003c3a2
jg 0x1003c351
test esi, esi
je 0x1003c3a2
test ecx, ecx
jl 0x1003c39d
jg 0x1003c35b
test eax, eax
je 0x1003c39d
cmp edi, ecx
jg 0x1003c36f
jl 0x1003c365
cmp esi, eax
jae 0x1003c36f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140D.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1003c3a5
mov ecx, dword [ebp + 8]
jmp 0x1003c3af
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1003c3c9
jg 0x1003c3af
test esi, esi
je 0x1003c3c9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1003c3c9
push eax
push esi
push 1
push ecx
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003c3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1003c40c
jl 0x1003c400
test ecx, ecx
jne 0x1003c40c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1003c425
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1003c473
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x1003c479
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140D.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x1003c479
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x1003c4e6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1003c4a2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.ucrtbased.dll_fread]
cmp edi, 0xfff
jbe 0x1003c4d4
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1003c4e6
cmp edi, eax
mov eax, dword [sym.imp.ucrtbased.dll_fread]
ja 0x1003c4b0
test edi, edi
je 0x1003c4e6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003c8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1003c900
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1003c93c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1003c93c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1003ca13
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1003c964
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003c970
movsx eax, bl
jmp 0x1003c9a8
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140D.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1003c9d2
sub eax, 1
je 0x1003c9d2
sub eax, 2
jne 0x1003ca13
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.ucrtbased.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003c9f0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003ca13
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
Function at 0x1003fa50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003fb0c
cmp byte [esi + 0x3d], 0
je 0x1003fb0c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003fafa
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140D.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1003fac1
sub eax, 1
je 0x1003fac5
sub eax, 2
jne 0x1003fafa
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003fae3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003fafa
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100abb10
mov esp, ebp
pop ebp
ret
Function at 0x10041ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af435
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100cc040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ebx, dword [edi + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
cmp byte [ecx + 0xd], 0
jne 0x10041fa7
mov esi, ecx
lea edi, [esi + 0x10]
mov dword [ebp - 0x18], esi
push eax
mov ecx, edi
call fcn.1003d550
shr eax, 0x1f
test al, al
je 0x10041f89
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1003d550
test eax, eax
jns 0x10041f7d
push str.invalid_comparator
push 0x100b8568
push 0
push 0x5e1
push 0x100b9860
push 2
call dword [sym.imp.ucrtbased.dll__CrtDbgReport]
add esp, 0x18
cmp eax, 1
jne 0x10041f5e
int3
push 0
push 0x5e1
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexutility
push 0x100b869c
push str._invalid_comparator_
call dword [sym.imp.ucrtbased.dll__invalid_parameter]
add esp, 0x14
mov esi, dword [esi + 8]
mov dword [ebp - 0x14], 0
jmp 0x10041f94
mov ebx, esi
mov dword [ebp - 0x14], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
mov eax, dword [ebp - 0x10]
je 0x10041f15
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp byte [ebx + 0xd], 0
jne 0x10041fda
lea ecx, [ebx + 0x10]
mov edx, eax
push ecx
call fcn.10045980
add esp, 4
test al, al
jne 0x10041fda
mov byte [esi + 4], al
mov eax, esi
mov dword [esi], ebx
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], 0x3ffffff
je 0x1004205d
mov ebx, dword [edi + 4]
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
push 0x40
mov dword [ebp - 0x24], 0
call fcn.100abb40
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
push dword [ebp - 0x10]
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.1002bde0
push ecx
lea ecx, [edi + 0x30]
call fcn.1003d430
mov ecx, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x14]
mov dword [edi], ebx
push dword [ebp - 0x18]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.100423e0
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 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
call fcn.10036f80
int3
Function at 0x100488a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword fs:[0x30]
mov ebx, ecx
test edi, edi
jne 0x100488d3
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0xc]
add edi, 0x14
mov esi, dword [edi]
cmp esi, edi
je 0x10048925
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x1004891f
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1004891f
cmp word [eax], cx
jne 0x1004891f
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x1004891a
cmp dword [ecx], 0x4550
jne 0x1004891a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], ecx
mov ecx, ebx
push eax
mov dword [ebp - 0x10], edx
call fcn.10050110
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, edi
jne 0x100488e4
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.100abb10
mov esp, ebp
pop ebp
ret
Function at 0x10049d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [eax + 0x18], 0xf
lea esi, [eax + 4]
mov edi, dword [eax + 0x14]
mov ebx, ecx
mov dword [ebp - 4], edx
jbe 0x10049d5d
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10049d79
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10049d68
push edx
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10049630
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10053050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100cc040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x18], 0xf
lea esi, [eax + 4]
push edi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x10053083
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100530a1
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10053090
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x100531f8
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x100530e7
cmp dword [ecx + 4], 0
jle 0x100530e7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x100fc958
call fcn.10053050
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x100530f0
xor edx, edx
test eax, eax
je 0x10053111
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10053100
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x100fc980
push eax
call fcn.1007f560
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.1007f300
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x100531d7
lea eax, [esp + 0x5c]
mov ecx, 0x100fc980
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1007f560
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.1007f300
mov ecx, 0x100fc980
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1007f560
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.1007f300
mov ecx, 0x100fc980
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1007f560
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.1007f300
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x100530c0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100533c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100cc040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x10053530
push ebx
mov ebx, dword [eax + 2]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x1005352f
lea eax, [ebx - 4]
test eax, eax
je 0x1005352f
mov ecx, dword [ebx]
test ecx, ecx
je 0x1005352f
cmp ecx, 0xc8
jg 0x1005352f
cmp dword [eax], 0
je 0x1005352f
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x1005352e
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10053428
xor edx, edx
test ecx, ecx
je 0x10053446
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10053435
mov dword [ebp - 8], edi
cmp dword [ebx], 0
mov dword [ebp - 0x18], 0
jle 0x1005352d
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax - 4]
add ebx, esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x10053515
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10053477
xor edx, edx
test eax, eax
je 0x10053495
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10053484
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x100fc980
call fcn.1007e480
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1007e460
cmp dword [eax + 8], 0
jne 0x10053512
lea eax, [ebp - 8]
mov ecx, 0x100fc980
push eax
call fcn.1007e480
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1007e460
mov ecx, 0x100fc980
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.1007e480
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1007e460
mov ecx, 0x100fc980
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.1007e480
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.1007e460
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [eax]
jl 0x10053460
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100abb10
mov esp, ebp
pop ebp
ret 4
Function at 0x1007edc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100cc040]
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, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100abb40
lea ecx, [ebp - 0x2c]
xor edx, edx
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov eax, 0xf
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], 1
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], ecx
cmp edi, ecx
je 0x1007ef3c
nop word [eax + eax]
lea ecx, [ebp - 0x2c]
cmp ecx, edi
je 0x1007ee84
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x1007ee72
mov eax, dword [eax]
push dword [edi + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10026df0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1007ee9f
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1007eee1
mov edi, ecx
sub eax, edx
sub edi, edx
cmp edi, eax
ja 0x1007eecb
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
push edi
cmova esi, dword [ebp - 0x28]
add esi, edx
mov dword [ebp - 0x18], ecx
push 0
push esi
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1007eede
push 0
push edi
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
push edi
call fcn.10034a60
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x1007ef14
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1007ef00
mov edi, dword [ebp - 0x30]
cmp esi, dword [ebp + 8]
jne 0x1007ef24
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1007ef37
dec eax
mov dword [ebp - 0x34], eax
add edi, 0x20
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x40]
je 0x1007ef3c
mov eax, dword [ebp - 0x14]
jmp 0x1007ee60
mov esi, dword [edi + 0x1c]
jmp 0x1007ef3e
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.10026d10
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x2c], 0
call fcn.100ac3a0
add esp, 8
mov eax, esi
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.100abb10
mov esp, ebp
pop ebp
ret 0xc