joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100061c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfbc
mov eax, dword [0x100191b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov word [esi], 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov word [esi + 4], ax
xor eax, eax
xor ecx, ecx
push 0xf9f
mov word [esi + 2], ax
mov word [esi + 6], cx
lea edx, [ebp - 0xfa7]
push ebx
add esi, 0xc
push edx
mov dword [ebp - 0xfbc], esi
mov byte [ebp - 0xfa8], bl
call fcn.1000d270
add esp, 0xc
lea esi, [ebp - 0xfa8]
mov edi, 0xf9f
lea eax, [ebp - 0xfb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.10008064
movzx ecx, word [ebp - 0xfac]
movzx edx, word [ebp - 0xfae]
add eax, ebx
add eax, ecx
add eax, edx
xor edx, edx
mov ecx, 0xff
div ecx
inc esi
inc edx
movsx eax, dl
cdq
idiv ecx
dec edi
mov byte [esi - 1], dl
jne 0x10006224
lea eax, [ebp - 0xfa8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006272
sub eax, edx
push eax
mov eax, dword [ebp - 0xfbc]
lea edx, [ebp - 0xfa8]
push edx
push eax
call fcn.1000d2f0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007295
mov esp, ebp
pop ebp
ret

Function at 0x10006d90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10006dc7
cmp dword [0x1001a55c], eax
je 0x10006dc7
cmp dword [0x1001b2a0], eax
jne 0x10006dc7
push eax
push eax
push eax
push 0x10006c50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001b2a0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10006dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.iamasbcx.asuscomm.com
call fcn.10007ae8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x10006c50
push 0
push 0
mov dword [0x1001a554], ecx
mov dword [0x1001a558], edx
mov dword [0x1001a55c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1001b2a0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006e40
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10006c50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x10007295
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100191b0]
jne 0x1000729f
repz ret
jmp fcn.10008462
Function at 0x1000cf5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100191b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000a261
and dword [ebp - 0x14], 0
cmp dword [0x1001b23c], 0
mov dword [ebp - 0x18], eax
jne 0x1000d00f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000d0b7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000d0b7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001b23c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001b240], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001b244], eax
call edi
push eax
call esi
mov dword [0x1001b24c], eax
test eax, eax
je 0x1000d00f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001b248], eax
mov eax, dword [0x1001b248]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000d068
cmp dword [0x1001b24c], ecx
je 0x1000d068
push eax
call esi
push dword [0x1001b24c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000d068
test ebx, ebx
je 0x1000d068
call edi
test eax, eax
je 0x1000d05f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000d05f
test byte [ebp - 8], 1
jne 0x1000d068
or dword [ebp + 0x10], 0x200000
jmp 0x1000d09b
mov eax, dword [0x1001b240]
cmp eax, dword [ebp - 0x18]
je 0x1000d09b
push eax
call esi
test eax, eax
je 0x1000d09b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000d09b
mov eax, dword [0x1001b244]
cmp eax, dword [ebp - 0x18]
je 0x1000d09b
push eax
call esi
test eax, eax
je 0x1000d09b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001b23c]
call esi
test eax, eax
je 0x1000d0b7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000d0b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007295
leave
ret
Function at 0x4045d0
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 0x4046b0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x4046b0
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40461a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404621
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp ebp, edi
jne 0x404600
jmp 0x404623
mov esi, 0x1505
jmp 0x404623
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 0x4046b0
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404654
inc edi
dec ebx
je 0x4046ae
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x4046ae
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404650
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x404650
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040cd80
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x404650
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4046b0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4046c0
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 0x4047c1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4047c1
push ebx
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x40471a
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 0x404721
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x404700
jmp 0x404723
mov esi, 0x1505
jmp 0x404723
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 0x4047c1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404754
inc ebp
dec ebx
je 0x4047bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4047bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404750
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404750
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404750
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4047bf
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4047c1
mov edi, dword [eax + 8]
jmp 0x4047c1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047f0
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 0x40485b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40485b
push esi
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x40483a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404841
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x404820
jmp 0x404843
mov ebp, 0x1505
jmp 0x404843
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 0x404867
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 0x404884
inc ebx
dec edi
je 0x40485b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40485b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404880
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040cd80
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40485b
cmp dword [eax + 4], 3
jne 0x40485b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40485b

Function at 0x404920
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 0x404a21
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404a21
push ebx
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x40497a
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 0x404981
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x404960
jmp 0x404983
mov esi, 0x1505
jmp 0x404983
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 0x404a21
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4049b4
inc ebp
dec ebx
je 0x404a1f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a1f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4049b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4049b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4049b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404a1f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404a21
mov edi, dword [eax + 8]
jmp 0x404a21
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404a50
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 0x404b54
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404b54
push ebx
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x404aaa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404ab1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x404a90
jmp 0x404ab3
mov esi, 0x1505
jmp 0x404ab3
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 0x404b54
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404ae4
inc ebp
dec ebx
je 0x404b4f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404b4f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404ae0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404ae0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404ae0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x404b4f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404b54
mov edi, dword [eax + 8]
jmp 0x404b54
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404b60
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.0040cdd0
add esp, 8
test eax, eax
je 0x404bc4
mov esi, eax
jmp 0x404ba4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cdd0
add esp, 8
mov esi, eax
test eax, eax
je 0x404bc4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004045d0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404b90
cmp dword [eax + 4], 4
jne 0x404b90
mov edi, dword [eax + 8]
jmp 0x404b90
xor eax, eax
test edi, edi
je 0x404c2b
test ebp, ebp
je 0x404c2b
push ebp
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x404c0b
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 0x404c12
inc ebx
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebx
jne 0x404bf0
jmp 0x404c14
mov esi, 0x1505
jmp 0x404c14
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 0x404c33
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 0x404c54
inc ebx
dec ecx
je 0x404c29
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404c29
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404c50
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.0040cd60
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404c50
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cd80
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404c50
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404c2b
Function at 0x404d50
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 0x404dbd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404dbd
push esi
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x404d9a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404da1
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x404d80
jmp 0x404da3
mov ebx, 0x1505
jmp 0x404da3
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 0x404dc5
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 0x404dd4
inc ebp
dec edi
je 0x404dbb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404dbb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404dd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404dd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404dd0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404dbd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404dbd
Function at 0x405300
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 0x405412
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405412
cmp dword [esp + 0x2c], 0
je 0x405412
push esi
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x40536a
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 0x405371
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x405350
jmp 0x405373
mov ebx, 0x1505
jmp 0x405373
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 0x40541a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4053d7
call fcn.00406050
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405412
push ecx
call fcn.0040cd60
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 0x40548d
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 0x405438
inc edi
dec esi
je 0x40538c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405391
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405430
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405430
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405430
mov eax, 0xffffffff
jmp 0x405412
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4054a8
inc edi
dec esi
je 0x4053d2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4053d7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4054a0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040cd60
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4054a0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040cd80
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4054a0
jmp 0x4053d7
Function at 0x405da0
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 0x405f8a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405f8a
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405f8a
cmp dword [ecx], 0
jne 0x405f8a
push esi
call fcn.0040cd60
add esp, 4
test eax, eax
je 0x405e0a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405e11
inc ebx
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
mov ecx, edi
cmp eax, ebx
jne 0x405df0
jmp 0x405e13
mov edi, 0x1505
jmp 0x405e13
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 0x405ee4
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405e71
call fcn.00406050
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405f8a
push esi
call fcn.0040cd60
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405fa0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040cd60
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x445004]
add esp, 4
test eax, eax
je 0x405f85
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cc70
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 0x405f8a
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405f08
inc ebx
dec edx
je 0x405e2c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405e31
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405f00
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cd60
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405f00
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040cd80
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405f00
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404eb0
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 0x405ed9
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret