joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100487a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba963
mov eax, dword fs:[0]
push eax
sub esp, 0x3f0
mov eax, dword [0x100d6040]
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 ecx, dword [ebp + 8]
test ecx, ecx
je 0x1004897b
mov eax, dword [0x10165a8c]
test al, 1
jne 0x10048958
or eax, 1
mov dword [0x10165a8c], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x3f8], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x3f4], ecx
cmp ecx, edx
je 0x10048869
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x10048869
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x10048862
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x10048845
cmp esi, 0xe463da3c
je 0x1004886d
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x10048830
mov eax, dword [eax]
jmp 0x10048801
mov eax, dword [ebp - 0x3f4]
mov edx, dword [ebp - 0x3f8]
push str.tier0.dll
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
call eax
mov ecx, dword fs:[0x30]
mov dword [ebp - 0x3fc], eax
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
nop word [eax + eax]
mov esi, dword [ecx + 0x18]
mov dword [ebp - 0x3f4], esi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [ebp - 0x3f8], eax
cmp eax, esi
je 0x10048919
mov edi, dword [eax + 0x18]
test edi, edi
je 0x10048919
mov eax, dword [eax + 0x20]
lea ebx, [eax + edi*4]
add ebx, esi
nop dword [eax + eax]
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov al, byte [edx]
inc edx
test al, al
je 0x10048912
movsx eax, al
lea edx, [edx + 1]
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [edx - 1]
test al, al
jne 0x100488f5
cmp esi, 0xf8f45725
je 0x1004891d
mov esi, dword [ecx + 0x18]
test edi, edi
jne 0x100488e0
mov ecx, dword [ecx]
jmp 0x100488b0
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f4]
push 0x100c5e30
push dword [ebp - 0x3fc]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, edx
add eax, edx
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
add eax, edx
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [0x10165a88], eax
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.10048760
lea eax, [ebp - 0x3f0]
push 0
push eax
call dword [0x10165a88]
add esp, 0x14
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.100b6946
mov esp, ebp
pop ebp
ret
Function at 0x10048e80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x10048eb3
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b6946
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x10048f20
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x10048f1a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10048f1a
cmp word [eax], cx
jne 0x10048f1a
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x10048f15
cmp dword [ecx], 0x4550
jne 0x10048f15
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp eax, dword [edi + 8]
je 0x10048f09
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x10048f15
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.1002d050
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x10048ec4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.100b6946
mov esp, ebp
pop ebp
ret
Function at 0x1004a010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
cmp dword [esi + 0x14], 0xf
mov edi, dword [esi + 0x10]
jbe 0x1004a02c
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1004a04b
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1004a037
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.100498e0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1004fe00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb1e5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100d6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul edi, ecx, 0x1000193
push edi
push esi
push eax
call fcn.1003ad90
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1004ff2b
cmp dword [0x101659e8], 0xfffffff
jne 0x1004fe8a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x101659e4
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.100b6962
mov ebx, eax
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [0x101659e8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100caf50]
mov eax, dword [0x101659fc]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100caf50]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x101659e0]
jbe 0x1004ff20
call fcn.1003ab30
push edi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1003ad90
mov ecx, dword [eax]
jmp 0x1004ff23
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
push edi
call fcn.1003abb0
add eax, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10054250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100d6040]
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 + 0x14], 0xf
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x10054282
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x100542a1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10054290
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x100543f8
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 0x100542e7
cmp dword [ecx + 4], 0
jle 0x100542e7
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x101659e0
call fcn.10054250
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + edi], 0
jne 0x100542f0
xor edx, edx
test eax, eax
je 0x10054311
nop dword [eax]
movsx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10054300
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x10165a00
push eax
call fcn.10081c30
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10081990
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x100543d7
lea eax, [esp + 0x5c]
mov ecx, 0x10165a00
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10081c30
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10081990
mov ecx, 0x10165a00
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10081c30
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10081990
mov ecx, 0x10165a00
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.10081c30
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10081990
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 0x100542c0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b6946
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10054650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100547c5
mov eax, dword [eax + 2]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100547c5
push ebx
lea ebx, [eax - 4]
test ebx, ebx
je 0x100547c4
mov eax, dword [ebx + 4]
test eax, eax
je 0x100547c4
cmp eax, 0xc8
jg 0x100547c4
cmp dword [ebx], 0
je 0x100547c4
push esi
mov esi, dword [ebx + 8]
test esi, esi
je 0x100547c3
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100546b8
xor edx, edx
test ecx, ecx
je 0x100546d6
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100546c5
mov dword [ebp - 8], edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x18], 0
jle 0x100547c2
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx]
add ebx, eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x100547a9
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x10054708
xor edx, edx
test eax, eax
je 0x10054726
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10054715
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x10165a00
call fcn.10081080
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10081060
cmp dword [eax + 8], 0
jne 0x100547a3
lea eax, [ebp - 8]
mov ecx, 0x10165a00
push eax
call fcn.10081080
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10081060
mov ecx, 0x10165a00
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10081080
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10081060
mov ecx, 0x10165a00
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10081080
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10081060
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
lea ebx, [ecx - 4]
inc esi
add eax, 0x3c
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
cmp esi, dword [ebx + 4]
jl 0x100546f2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b6946
mov esp, ebp
pop ebp
ret 4
Function at 0x100813d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x10081541
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.100826e0
push 0x2c
push edi
call fcn.100b6e74
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x1008149d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10081450
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10081537
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100814b1
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100814b4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x10081537
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.100826e0
push 0x2c
push edi
call fcn.100b6e74
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x10081548
cmp esi, eax
jne 0x10081507
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100814c0
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100816d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baabd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x100817d1
nop
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x10081753
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10081741
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002b750
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1008176d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1008177a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10039f10
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x100817a9
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x10081795
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x100817b9
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100817cc
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x100817d1
mov edi, dword [ebp - 0x14]
jmp 0x10081730
mov esi, dword [esi + 0x18]
jmp 0x100817d3
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1008180b
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10081801
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081801
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b6e74
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.100b6946
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10081830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baabd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100d6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x10081931
nop
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x100818b3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x100818a1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.1002b750
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x100818cd
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x100818da
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10039f10
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
test edx, edx
je 0x10081909
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x100818f5
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x10081919
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1008192c
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x10081931
mov edi, dword [ebp - 0x14]
jmp 0x10081890
mov esi, dword [esi + 0x18]
jmp 0x10081933
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1008196b
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10081961
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10081961
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b6e74
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.100b6946
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10082070
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100820a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], 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.1002b8a0
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 0x100821ac
nop word [eax + eax]
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 - 0x10], edx
cmp edi, esi
jne 0x10082131
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100821a2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1008216b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10082163
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1008219f
cmp edi, edx
je 0x1008217c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100821b5
cmp edi, edx
jne 0x10082170
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 - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100820e0
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 - 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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1008219f

Function at 0x10083b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10083b7b
push 0
push 0
push 0
push 0x10037c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10083b7b
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc