joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dde9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x5ddfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x5ddfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.005ddff8
test eax, eax
je 0x5ddfee
add ebx, 0x28
dec ecx
jne 0x5ddfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x5de09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x5de0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x5de12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x5de0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x5de12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x5de105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x5de12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x5de123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x5de12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x5de16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x5de172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x5de1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x5de1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x5dedff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.005def04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.005def20
push edx
push dword [ebp + 0x10]
push eax
call fcn.005deeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005def04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005deecb
push ecx
push dword [ebp + 8]
call fcn.005def04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005def04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005deecb
push ecx
push dword [ebp + 8]
call fcn.005def04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005def04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005deecb
push ecx
push dword [ebp + 8]
call fcn.005def04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.005def04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.005deecb
cmp ecx, 0x2b
jne 0x5dee0f
leave
ret 0xc

Function at 0x5e04b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x5e0544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xe9c10
push 0
call dword [eax + 0x20]
test eax, eax
je 0x5e05d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xe9c10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xe9c10
call fcn.005e03fa
push 0xe9c10
push dword [ebp + 0xc]
call fcn.005de1a8
test eax, eax
jne 0x5e05b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xe9c10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.005e05dd
test eax, eax
je 0x5e05d6
jmp 0x5e0574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x5e05d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x5e060b
Capabilities:
Terminate process

Disassembly:
call fcn.005e0618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4032f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x10
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x6f
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push 0x80000002
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
je 0x403355
or eax, 0xffffffff
add esp, 0x20c
ret
mov eax, dword [esp + 0x210]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0x412b54
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x403392
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
add esp, 0x20c
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x20c
ret

Function at 0x4033b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x4c]
pop edi
test eax, eax
je 0x403426
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x3c
ret

Function at 0x404110
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.004041d0
mov eax, dword [0x411f50]
add esp, 4
push 0x67
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0x80
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3e9
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x3ea
push esi
call edi
push eax
call ebx
push 0
push 0x3ee
push esi
call edi
push eax
call ebx
push 0
push 0x3fa
push esi
call edi
push eax
call ebx
push esi
call fcn.00401840
add esp, 4
push 0
push 0x2710
push 0x4040e0
push 0x4040d0
push fcn.004040c0
push fcn.004040c0
push 0
push esi
call dword [sym.imp.HDIFD_JH.dll_Ordinal_240]
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
push 0x404030
push 0
push 0
call fcn.004047d1
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0xcd1e70
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0xcd1f57
test edx, edx
je 0xcd1f57
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0xcd1eba
xor edi, edi
mov ecx, 0x1505
nop dword [eax + eax]
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0xcd1ec1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0xcd1ea0
jmp 0xcd1ec3
mov esi, 0x1505
jmp 0xcd1ec3
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0xcd1f57
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0xcd1ef4
inc ebx
dec ebp
je 0xcd1f55
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0xcd1f55
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xcd1ef0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00cd8f00
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0xcd1ef0
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00cd8f20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0xcd1ef0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0xcd1f57
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xcd1f60
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 0xcd2069
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xcd2069
push ebx
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd1fba
xor ebp, ebp
mov ecx, 0x1505
nop word cs:[eax + eax]
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xcd1fc1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xcd1fa0
jmp 0xcd1fc3
mov esi, 0x1505
jmp 0xcd1fc3
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0xcd2069
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0xcd1ff4
inc ebp
dec ebx
je 0xcd2067
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0xcd2067
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xcd1ff0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00cd8f00
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0xcd1ff0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00cd8f20
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xcd1ff0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xcd2067
cmp dword [eax + 4], 2
mov edi, 0
jne 0xcd2069
mov edi, dword [eax + 8]
jmp 0xcd2069
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xcd20a0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
cmp dword [ebp + 8], 0
je 0xcd2113
mov esi, dword [ebp + 0xc]
test esi, esi
je 0xcd2113
push esi
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd20fa
xor ebx, ebx
mov ecx, 0x1505
nop word cs:[eax + eax]
movzx edx, byte [esi + ebx]
test edx, edx
je 0xcd2101
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0xcd20e0
jmp 0xcd2103
mov edi, 0x1505
jmp 0xcd2103
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
jae 0xcd212b
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and esi, edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0xcd2148
inc esi
dec edx
mov ebx, dword [esp + 0x10]
je 0xcd2113
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0xffffffff
je 0xcd2113
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0xcd2140
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], edx
call fcn.00cd8f00
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 4
cmp eax, dword [esp + 4]
jne 0xcd2140
push dword [esp + 4]
push dword [esp + 0x10]
push dword [ebp + 0xc]
call fcn.00cd8f20
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0xcd2140
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0xcd2113
cmp dword [eax + 4], 3
jne 0xcd2113
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x18], xmm0
jmp 0xcd2113
Function at 0xcd21f0
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 0xcd22f9
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xcd22f9
push ebx
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd224a
xor ebp, ebp
mov ecx, 0x1505
nop word cs:[eax + eax]
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xcd2251
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xcd2230
jmp 0xcd2253
mov esi, 0x1505
jmp 0xcd2253
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0xcd22f9
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0xcd2284
inc ebp
dec ebx
je 0xcd22f7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0xcd22f7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xcd2280
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00cd8f00
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0xcd2280
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00cd8f20
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xcd2280
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xcd22f7
cmp dword [eax + 4], 5
mov edi, 0
jne 0xcd22f9
mov edi, dword [eax + 8]
jmp 0xcd22f9
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xcd2310
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 0xcd241c
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xcd241c
push ebx
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd236a
xor ebp, ebp
mov ecx, 0x1505
nop word [eax + eax]
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xcd2371
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xcd2350
jmp 0xcd2373
mov esi, 0x1505
jmp 0xcd2373
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0xcd241c
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0xcd23a4
inc ebp
dec ebx
je 0xcd2417
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0xcd2417
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xcd23a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00cd8f00
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0xcd23a0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00cd8f20
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xcd23a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xcd2417
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0xcd241c
mov edi, dword [eax + 8]
jmp 0xcd241c
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xcd2430
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00cd8f70
add esp, 8
test eax, eax
je 0xcd2496
mov ebx, eax
jmp 0xcd2474
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00cd8f70
add esp, 8
mov ebx, eax
test eax, eax
je 0xcd2496
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00cd1e70
add esp, 4
xor esi, esi
test eax, eax
je 0xcd2460
cmp dword [eax + 4], 4
jne 0xcd2460
mov esi, dword [eax + 8]
jmp 0xcd2460
xor eax, eax
test esi, esi
je 0xcd24f6
test edi, edi
je 0xcd24f6
push edi
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd24da
xor ebp, ebp
mov ecx, 0x1505
nop word cs:[eax + eax]
movzx edx, byte [edi + ebp]
test edx, edx
je 0xcd24e1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0xcd24c0
jmp 0xcd24e3
mov ebx, 0x1505
jmp 0xcd24e3
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0xcd24fe
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
jmp 0xcd2514
inc ebp
dec ecx
je 0xcd24f4
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0xcd24f4
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0xcd2510
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00cd8f00
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0xcd2510
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00cd8f20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0xcd2510
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0xcd24f6
Function at 0xcd2620
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 0xcd268d
mov esi, dword [esp + 0x28]
test esi, esi
je 0xcd268d
push esi
call fcn.00cd8f00
add esp, 4
test eax, eax
je 0xcd266a
xor edi, edi
mov ecx, 0x1505
nop dword [eax]
movzx edx, byte [esi + edi]
test edx, edx
je 0xcd2671
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0xcd2650
jmp 0xcd2673
mov ebx, 0x1505
jmp 0xcd2673
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 0xcd2695
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 0xcd26a4
inc ebp
dec edi
je 0xcd268b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xcd268b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0xcd26a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00cd8f00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xcd26a0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00cd8f20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xcd26a0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0xcd268d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0xcd268d