joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x344c1f95
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x689175e4
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1184330
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 0x1184410
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x1184410
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x118437a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x1184381
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp ebp, edi
jne 0x1184360
jmp 0x1184383
mov esi, 0x1505
jmp 0x1184383
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 0x1184410
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x11843b4
inc edi
dec ebx
je 0x118440e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x118440e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x11843b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x11843b0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0118cb20
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x11843b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x1184410
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1184420
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 0x1184521
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1184521
push ebx
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x118447a
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 0x1184481
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x1184460
jmp 0x1184483
mov esi, 0x1505
jmp 0x1184483
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 0x1184521
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x11844b4
inc ebp
dec ebx
je 0x118451f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x118451f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x11844b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x11844b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x11844b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x118451f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x1184521
mov edi, dword [eax + 8]
jmp 0x1184521
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1184550
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 0x11845bb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x11845bb
push esi
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x118459a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x11845a1
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x1184580
jmp 0x11845a3
mov ebp, 0x1505
jmp 0x11845a3
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 0x11845c7
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 0x11845e4
inc ebx
dec edi
je 0x11845bb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x11845bb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x11845e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x11845e0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0118cb20
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x11845e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x11845bb
cmp dword [eax + 4], 3
jne 0x11845bb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x11845bb
Function at 0x1184680
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 0x1184781
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1184781
push ebx
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x11846da
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 0x11846e1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x11846c0
jmp 0x11846e3
mov esi, 0x1505
jmp 0x11846e3
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 0x1184781
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1184714
inc ebp
dec ebx
je 0x118477f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x118477f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x1184710
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1184710
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1184710
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x118477f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x1184781
mov edi, dword [eax + 8]
jmp 0x1184781
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x11847b0
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 0x11848b4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x11848b4
push ebx
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x118480a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x1184811
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x11847f0
jmp 0x1184813
mov esi, 0x1505
jmp 0x1184813
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 0x11848b4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1184844
inc ebp
dec ebx
je 0x11848af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x11848af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x1184840
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1184840
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1184840
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x11848af
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x11848b4
mov edi, dword [eax + 8]
jmp 0x11848b4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x11848c0
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.0118cb70
add esp, 8
test eax, eax
je 0x1184924
mov esi, eax
jmp 0x1184904
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0118cb70
add esp, 8
mov esi, eax
test eax, eax
je 0x1184924
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.01184330
add esp, 0xc
xor edi, edi
test eax, eax
je 0x11848f0
cmp dword [eax + 4], 4
jne 0x11848f0
mov edi, dword [eax + 8]
jmp 0x11848f0
xor eax, eax
test edi, edi
je 0x118498b
test ebp, ebp
je 0x118498b
push ebp
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x118496b
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 0x1184972
inc ebx
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebx
jne 0x1184950
jmp 0x1184974
mov esi, 0x1505
jmp 0x1184974
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 0x1184993
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 0x11849b4
inc ebx
dec ecx
je 0x1184989
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x1184989
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x11849b0
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.0118cb00
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x11849b0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0118cb20
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x11849b0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x118498b
Function at 0x1184ab0
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 0x1184b1d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1184b1d
push esi
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x1184afa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x1184b01
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x1184ae0
jmp 0x1184b03
mov ebx, 0x1505
jmp 0x1184b03
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 0x1184b25
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 0x1184b34
inc ebp
dec edi
je 0x1184b1b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x1184b1b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x1184b30
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1184b30
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1184b30
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x1184b1d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x1184b1d
Function at 0x1184e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
xor eax, eax
cmp dword [esp + 0x18], 0
je 0x1185061
mov edi, dword [esp + 0x1c]
test edi, edi
jle 0x118500c
mov edx, dword [esp + 0x18]
lea eax, [edx + edi]
mov dword [esp], eax
jmp 0x1184e95
cmp esi, 0xc0
jne 0x118505f
and ebx, 0x1ff800
cmp ebx, 0xd800
mov eax, dword [esp]
je 0x118505f
add edx, ebp
cmp edx, eax
jae 0x118500c
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x118505f
mov ecx, ebx
and cl, 0xfe
cmp cl, 0xc0
je 0x118505f
mov ecx, ebx
and ecx, 0xffffffc0
cmp ecx, 0x80
je 0x118505f
mov ebp, 1
test bl, bl
jns 0x1184e8b
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x1184f00
movzx eax, byte [edx + 1]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x118505f
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
xor ecx, ecx
jmp 0x1184fd7
mov ecx, ebx
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x1184f51
movzx ecx, byte [edx + 1]
mov edi, ecx
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x118505f
movzx eax, byte [edx + 2]
mov ebp, eax
and ebp, 0xffffffc0
cmp ebp, 0x80
jne 0x118505f
and ebx, 0xf
shl ebx, 0xc
and ecx, 0x3f
shl ecx, 6
or ebx, ecx
mov ebp, 3
xor ecx, ecx
jmp 0x1184fd3
mov ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x118505f
movzx ebp, byte [edx + 1]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x118505f
movzx ecx, byte [edx + 2]
mov edi, ecx
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x118505f
movzx eax, byte [edx + 3]
mov edi, eax
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x118505f
and ebx, 7
shl ebx, 6
mov edi, 0x7f
sub edi, ebp
and edi, 0x69034
and ebp, 0xb
or ebp, edi
or ebx, 0x69034
xor ebx, ebp
shl ebx, 0xc
and ecx, 0x3f
shl ecx, 6
or ebx, ecx
mov cl, 1
mov ebp, 4
mov edi, dword [esp + 0x1c]
and eax, 0x3f
or eax, ebx
cmp eax, 0x80
jb 0x118505f
cmp eax, 0x7ff
jbe 0x1184e6a
cmp eax, 0xffff
ja 0x1184fff
test cl, cl
je 0x1184e76
jmp 0x118505f
cmp eax, 0x10ffff
jbe 0x1184e76
jmp 0x118505f
lea eax, [edi + 1]
push eax
call dword [0x11c6008]
add esp, 4
test eax, eax
je 0x118505f
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0118ca20
add esp, 0xc
push 0x10
call dword [0x11c6008]
add esp, 4
test eax, eax
je 0x1185055
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x1185061
push esi
call dword [0x11c6004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1185070
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 0x1185182
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1185182
cmp dword [esp + 0x2c], 0
je 0x1185182
push esi
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x11850da
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 0x11850e1
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x11850c0
jmp 0x11850e3
mov ebx, 0x1505
jmp 0x11850e3
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 0x118518a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x1185147
call fcn.01185e50
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x1185182
push ecx
call fcn.0118cb00
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 0x11851fd
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 0x11851a8
inc edi
dec esi
je 0x11850fc
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x1185101
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x11851a0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x11851a0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x11851a0
mov eax, 0xffffffff
jmp 0x1185182
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x1185218
inc edi
dec esi
je 0x1185142
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x1185147
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x1185210
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0118cb00
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1185210
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0118cb20
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1185210
jmp 0x1185147
Function at 0x1185ba0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x1185d8a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x1185d8a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1185d8a
cmp dword [ecx], 0
jne 0x1185d8a
push esi
call fcn.0118cb00
add esp, 4
test eax, eax
je 0x1185c0a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x1185c11
inc ebx
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
mov ecx, edi
cmp eax, ebx
jne 0x1185bf0
jmp 0x1185c13
mov edi, 0x1505
jmp 0x1185c13
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov esi, edx
sub esi, 1
mov dword [esp + 0xc], esi
jae 0x1185ce4
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x1185c71
call fcn.01185e50
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x1185d8a
push esi
call fcn.0118cb00
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.01185da0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0118cb00
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x11c6008]
add esp, 4
test eax, eax
je 0x1185d85
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0118ca20
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x1185d8a
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1185d08
inc ebx
dec edx
je 0x1185c2c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x1185c31
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x1185d00
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0118cb00
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x1185d00
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0118cb20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x1185d00
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.01184c10
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4], ecx
mov esi, ecx
jmp 0x1185cd9
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret