joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x10], 0x14131211
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x43f2a3
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xcf
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x43f270
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [0x44ab8c]
test edx, edx
je 0x43f2f8
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44ab90]
nop
cmp dword [ebx + edi*8], 0x77a9e0c4
je 0x43f2d0
inc edi
cmp edx, edi
jne 0x43f2c0
jmp 0x43f2f8
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x43f2f8
lea eax, [esp + 0x10]
lea edi, [esp + 8]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x44ab94]
push edx
call fcn.0043cc20
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43f305
mov edx, dword [esp + 0x18]
mov dword [esi], edx
test ecx, ecx
je 0x43f311
cmp byte [esp + 0x25], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43f320
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x14131211
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43f37e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xcf
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43f350
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [0x44ab8c]
test ecx, ecx
je 0x43f3dc
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov ebp, dword [0x44ab90]
cmp dword [ebp + ebx*8], 0x72e9dc72
je 0x43f3b1
inc ebx
cmp ecx, ebx
jne 0x43f3a0
jmp 0x43f3dc
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x43f3dc
lea eax, [esp + 0x10]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x44ab94]
push ecx
call fcn.0043cc20
add esp, 0x30
mov edi, dword [esp + 0x38]
cmp eax, 0x103
jne 0x43f496
mov dword [esp + 8], 0x14131211
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x43f441
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xcf
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x43f410
mov eax, dword [esp + 8]
mov ecx, dword [0x44ab8c]
test ecx, ecx
je 0x43f48e
xor edx, edx
mov ebx, dword [0x44ab90]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x43f470
inc edx
cmp ecx, edx
jne 0x43f460
jmp 0x43f48e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x43f48e
push 0
push 0
push esi
push 3
push dword [0x44ab94]
push ecx
call fcn.0043cc20
add esp, 0x18
test eax, eax
js 0x43f496
mov eax, dword [esp + 0x10]
test edi, edi
je 0x43f4a9
xor ecx, ecx
cmp eax, 0xc0000011
je 0x43f4a7
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43f4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x14131211
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43f51e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xcf
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43f4f0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 8]
mov ecx, dword [0x44ab8c]
test ecx, ecx
je 0x43f57c
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov ebp, dword [0x44ab90]
cmp dword [ebp + ebx*8], 0xe6919031
je 0x43f551
inc ebx
cmp ecx, ebx
jne 0x43f540
jmp 0x43f57c
mov ecx, dword [ebp + ebx*8 + 4]
cmp ecx, eax
je 0x43f57c
lea eax, [esp + 0x10]
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push 0
push esi
push 9
push dword [0x44ab94]
push ecx
call fcn.0043cc20
add esp, 0x30
mov edi, dword [esp + 0x38]
cmp eax, 0x103
jne 0x43f636
mov dword [esp + 8], 0x14131211
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x43f5e1
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xcf
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x43f5b0
mov eax, dword [esp + 8]
mov ecx, dword [0x44ab8c]
test ecx, ecx
je 0x43f62e
xor edx, edx
mov ebx, dword [0x44ab90]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x7e28bda7
je 0x43f610
inc edx
cmp ecx, edx
jne 0x43f600
jmp 0x43f62e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x43f62e
push 0
push 0
push esi
push 3
push dword [0x44ab94]
push ecx
call fcn.0043cc20
add esp, 0x18
test eax, eax
js 0x43f636
mov eax, dword [esp + 0x10]
test edi, edi
je 0x43f640
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43f650
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x43f670
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 0xc], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xe], cx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x40
lea eax, [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 4], 0x14131211
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43f72e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0x889ee021
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xcf
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43f700
mov eax, dword [esp + 4]
mov edi, dword [0x44ab8c]
test edi, edi
je 0x43f785
xor ebx, ebx
mov ebp, dword [0x44ab90]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x81105f7a
je 0x43f761
inc ebx
cmp edi, ebx
jne 0x43f750
jmp 0x43f785
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x43f785
lea eax, [esp + 0x18]
push esi
push eax
push edx
push dword [esp + 0x54]
push 4
push dword [0x44ab94]
push edi
call fcn.0043cc20
add esp, 0x1c
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404450
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404530
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404530
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40449a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4044a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404480
jmp 0x4044a3
mov esi, 0x1505
jmp 0x4044a3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x404530
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4044d4
inc edi
dec ebx
je 0x40452e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40452e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4044d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4044d0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040cd40
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4044d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404530
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404540
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x404641
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404641
push ebx
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x40459a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4045a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404580
jmp 0x4045a3
mov esi, 0x1505
jmp 0x4045a3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404641
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4045d4
inc ebp
dec ebx
je 0x40463f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40463f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4045d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4045d0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4045d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40463f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x404641
mov edi, dword [eax + 8]
jmp 0x404641
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404670
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x4046db
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4046db
push esi
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x4046ba
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4046c1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4046a0
jmp 0x4046c3
mov ebp, 0x1505
jmp 0x4046c3
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x4046e7
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404704
inc ebx
dec edi
je 0x4046db
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4046db
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404700
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404700
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040cd40
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404700
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4046db
cmp dword [eax + 4], 3
jne 0x4046db
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4046db

Function at 0x4047a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4048a1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4048a1
push ebx
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x4047fa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404801
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4047e0
jmp 0x404803
mov esi, 0x1505
jmp 0x404803
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4048a1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404834
inc ebp
dec ebx
je 0x40489f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40489f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404830
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404830
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404830
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40489f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x4048a1
mov edi, dword [eax + 8]
jmp 0x4048a1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4048d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4049d4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4049d4
push ebx
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x40492a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404931
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404910
jmp 0x404933
mov esi, 0x1505
jmp 0x404933
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4049d4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404964
inc ebp
dec ebx
je 0x4049cf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4049cf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404960
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404960
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404960
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4049cf
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4049d4
mov edi, dword [eax + 8]
jmp 0x4049d4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4049e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.0040cd90
add esp, 8
test eax, eax
je 0x404a44
mov esi, eax
jmp 0x404a24
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cd90
add esp, 8
mov esi, eax
test eax, eax
je 0x404a44
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00404450
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404a10
cmp dword [eax + 4], 4
jne 0x404a10
mov edi, dword [eax + 8]
jmp 0x404a10
xor eax, eax
test edi, edi
je 0x404aab
test ebp, ebp
je 0x404aab
push ebp
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x404a8b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404a92
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404a70
jmp 0x404a94
mov esi, 0x1505
jmp 0x404a94
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x404ab3
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x404ad4
inc ebx
dec ecx
je 0x404aa9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404aa9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404ad0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.0040cd20
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404ad0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cd40
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404ad0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404aab
Function at 0x404bd0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x404c3d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404c3d
push esi
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x404c1a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404c21
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404c00
jmp 0x404c23
mov ebx, 0x1505
jmp 0x404c23
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404c45
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404c54
inc ebp
dec edi
je 0x404c3b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404c3b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404c50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404c50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404c50
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404c3d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404c3d
Function at 0x405180
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x405292
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405292
cmp dword [esp + 0x2c], 0
je 0x405292
push esi
call fcn.0040cd20
add esp, 4
test eax, eax
je 0x4051ea
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x4051f1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4051d0
jmp 0x4051f3
mov ebx, 0x1505
jmp 0x4051f3
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x40529a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405257
call fcn.00405f30
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405292
push ecx
call fcn.0040cd20
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40530d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4052b8
inc edi
dec esi
je 0x40520c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405211
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4052b0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4052b0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4052b0
mov eax, 0xffffffff
jmp 0x405292
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x405328
inc edi
dec esi
je 0x405252
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405257
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405320
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040cd20
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405320
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040cd40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405320
jmp 0x405257