joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x20]
sub esp, 0x48
mov dword [ebp - 0x24], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegeditFavorites
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x404780
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, eax
mov dword [esp + 0x2c], 0
lea eax, [ebp - 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyW]
sub esp, 0x30
test eax, eax
jne 0x404910
mov edx, dword [ebp - 0x1c]
test edx, edx
jne 0x404810
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test ebx, ebx
je 0x404859
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x800
mov dword [esp], ebx
call dword [0x4165ec]
mov eax, dword [ebp - 0x1c]
sub esp, 0x10
test eax, eax
je 0x4048f0
xor edi, edi
jmp 0x40486c
add edi, 1
cmp edi, dword [ebp - 0x1c]
jae 0x4048f0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x404860
cmp dword [ebp - 0x10], 1
jne 0x404860
test ebx, ebx
je 0x404950
lea eax, [edi + 0x80e8]
mov dword [esp + 0xc], esi
add edi, 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [0x4165ec]
sub esp, 0x10
cmp edi, dword [ebp - 0x1c]
jb 0x40486c
lea esi, [esi]
nop
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x404805
test byte [0x410014], 2
je 0x4047f6
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.RegQueryInfoKey_failed:__ld_n
mov dword [esp + 8], str.add_favourite_key_items
mov dword [esp + 4], 0x410014
mov dword [esp], 1
call fcn.004046e0
jmp 0x4047f6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x404860
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x180
mov dword [esp], eax
call dword [0x4166fc]
sub esp, 0x10
jmp 0x404860
Function at 0x409900
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_exit]
lea esi, [esi]
lea esi, [esi]

Function at 0x409920
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.00409440
call fcn.00409900
lea esi, [esi]
nop
Function at 0x40a760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
sub esp, 0x10
mov dword [esp + 4], 0x412c08
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
jne 0x40a840
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__fileno]
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__setmode]
mov dword [esp + 0xc], ebx
test edi, edi
je 0x40a818
mov esi, dword [sym.imp.ucrtbase.dll_fwrite]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x412d0e
call esi
mov eax, str.Windows_Registry_Editor_Version_5.00_r_n
nop
add eax, 2
cmp word [eax], 0
jne 0x40a7e0
sub eax, str.Windows_Registry_Editor_Version_5.00_r_n
mov dword [esp + 0xc], ebx
sar eax, 1
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], str.Windows_Registry_Editor_Version_5.00_r_n
call esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
mov dword [esp + 4], 1
mov dword [esp], str.REGEDIT4_r_n
call sub.ucrtbase.dll_fwrite
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x412c0c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wfopen]
mov ebx, eax
test eax, eax
jne 0x40a7b2
mov dword [esp], 0x412c12
call dword [sym.imp.ucrtbase.dll__wperror]
mov dword [esp + 4], esi
mov dword [esp], 0xbbf
call fcn.004098e0
call fcn.00409900
jmp 0x40a7b2

Function at 0x40add0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x10
test ecx, ecx
je 0x40ae20
cmp word [edx], 0
je 0x40ae50
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x40adf0
sub eax, esi
sar eax, 1
mov dword [esp + 0xc], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 2
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
test edx, edx
je 0x40ae2d
mov eax, edx
call fcn.0040ad20
mov esi, eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fputs]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x40adfd
Function at 0x40bd20
Capabilities:
Read file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x50
mov ebx, dword [ecx]
test ebx, ebx
je 0x40bd5f
lea eax, [ebp - 0x4a]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_fread]
cmp eax, 1
je 0x40bd70
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, byte [ebp - 0x49]
xor esi, esi
mov ecx, 0x40ab40
movzx edx, byte [ebp - 0x4a]
mov byte [ebp - 0x4d], al
cmp dl, 0xff
jne 0x40bd99
cmp al, 0xfe
mov edi, 0x40a590
cmove ecx, edi
sete al
movzx eax, al
mov esi, eax
movzx eax, byte [ebp - 0x4d]
mov dword [ebp - 0x48], ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x40], esi
mov dword [0x415de0], ecx
mov dword [ebp - 0x38], 0
shl eax, 0x10
mov dword [ebp - 0x34], 0
or eax, edx
mov edx, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x3c], dx
mov edx, 0x40a490
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x40be1a
mov edx, dword [ebp - 0x18]
mov edx, dword [edx*4 + 0x412dc0]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edx
test eax, eax
jne 0x40be10
movzx eax, word [ebp - 0x3c]
lea edx, [eax - 3]
cmp dx, 1
jbe 0x40be78
mov eax, dword [ebp - 0x30]
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40be67
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, 1
jmp 0x40bd61
cmp ax, 3
sete al
lea esp, [ebp - 0x10]
movzx eax, al
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x40e160
Capabilities:
Query or enumerate registry key

Disassembly:
mov edx, dword [0x415df0]
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test edx, edx
jne 0x40e188
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
jmp fcn.0040c9f0
mov ebx, dword [ebp - 4]
xor eax, eax
leave
ret

Function at 0x40ef90
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x40f000
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40f057
xor ecx, ecx
xor edx, edx
jmp 0x40f039
cmp ax, 0x5c
jne 0x40f0c0
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40f057
cmp ax, 9
je 0x40f045
cmp ax, 0x20
jne 0x40f020
test ecx, ecx
je 0x40f0ab
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x40f039
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x40f0e0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00408d80
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x40f0a8
cmp ax, 0x20
je 0x40f0a8
jmp 0x40f057
cmp ax, 0x22
jne 0x40f049
and edx, 1
jne 0x40f049
xor ecx, 1
jmp 0x40f02d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x40f070
Function at 0x40f000
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x40f000
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x40f057
xor ecx, ecx
xor edx, edx
jmp 0x40f039
cmp ax, 0x5c
jne 0x40f0c0
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x40f057
cmp ax, 9
je 0x40f045
cmp ax, 0x20
jne 0x40f020
test ecx, ecx
je 0x40f0ab
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x40f039
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x40f0e0
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00408d80
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x40f0a8
cmp ax, 0x20
je 0x40f0a8
jmp 0x40f057
cmp ax, 0x22
jne 0x40f049
and edx, 1
jne 0x40f049
xor ecx, 1
jmp 0x40f02d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x40f070
Function at 0x4017a0
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 0x401880
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x401880
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4017ea
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4017f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4017d0
jmp 0x4017f3
mov esi, 0x1505
jmp 0x4017f3
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 0x401880
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401824
inc edi
dec ebx
je 0x40187e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40187e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x401820
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401820
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00408a70
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x401820
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x401880
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401890
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 0x401991
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401991
push ebx
call fcn.00408a50
add esp, 4
test eax, eax
je 0x4018ea
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 0x4018f1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4018d0
jmp 0x4018f3
mov esi, 0x1505
jmp 0x4018f3
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 0x401991
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401924
inc ebp
dec ebx
je 0x40198f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40198f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401920
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401920
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a70
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401920
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40198f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x401991
mov edi, dword [eax + 8]
jmp 0x401991
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4019c0
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 0x401a2b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x401a2b
push esi
call fcn.00408a50
add esp, 4
test eax, eax
je 0x401a0a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x401a11
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4019f0
jmp 0x401a13
mov ebp, 0x1505
jmp 0x401a13
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 0x401a37
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 0x401a54
inc ebx
dec edi
je 0x401a2b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401a2b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x401a50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x401a50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00408a70
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x401a50
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x401a2b
cmp dword [eax + 4], 3
jne 0x401a2b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x401a2b

Function at 0x401af0
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 0x401bf1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401bf1
push ebx
call fcn.00408a50
add esp, 4
test eax, eax
je 0x401b4a
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 0x401b51
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401b30
jmp 0x401b53
mov esi, 0x1505
jmp 0x401b53
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 0x401bf1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401b84
inc ebp
dec ebx
je 0x401bef
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401bef
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401b80
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401b80
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a70
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401b80
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401bef
cmp dword [eax + 4], 5
mov edi, 0
jne 0x401bf1
mov edi, dword [eax + 8]
jmp 0x401bf1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c20
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 0x401d24
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d24
push ebx
call fcn.00408a50
add esp, 4
test eax, eax
je 0x401c7a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401c81
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x401c60
jmp 0x401c83
mov esi, 0x1505
jmp 0x401c83
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 0x401d24
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401cb4
inc ebp
dec ebx
je 0x401d1f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d1f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401cb0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401cb0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a70
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401cb0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d1f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d24
mov edi, dword [eax + 8]
jmp 0x401d24
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401d30
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.00408ac0
add esp, 8
test eax, eax
je 0x401d94
mov esi, eax
jmp 0x401d74
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.00408ac0
add esp, 8
mov esi, eax
test eax, eax
je 0x401d94
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004017a0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d60
cmp dword [eax + 4], 4
jne 0x401d60
mov edi, dword [eax + 8]
jmp 0x401d60
xor eax, eax
test edi, edi
je 0x401dfb
test ebp, ebp
je 0x401dfb
push ebp
call fcn.00408a50
add esp, 4
test eax, eax
je 0x401ddb
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 0x401de2
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x401dc0
jmp 0x401de4
mov esi, 0x1505
jmp 0x401de4
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 0x401e03
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 0x401e24
inc ebx
dec ecx
je 0x401df9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401df9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e20
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.00408a50
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e20
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.00408a70
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e20
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401dfb
Function at 0x401f20
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 0x401f8d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401f8d
push esi
call fcn.00408a50
add esp, 4
test eax, eax
je 0x401f6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f71
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401f50
jmp 0x401f73
mov ebx, 0x1505
jmp 0x401f73
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 0x401f95
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 0x401fa4
inc ebp
dec edi
je 0x401f8b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401f8b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401fa0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408a50
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401fa0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408a70
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401fa0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401f8d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401f8d