joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4640d6
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], 0xffffffff
mov dword [esp + 4], 0x463f4b
mov dword [esp], 0x4b46b4
call fcn.0046369d
mov eax, dword [0x4b2e30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x46411d
mov eax, dword [ebp - 0x20]
jmp 0x464268
call fcn.00462f0c
mov dword [ebp - 0x20], eax
mov eax, dword [entry3]
test eax, eax
je 0x464134
cmp dword [ebp - 0x20], 0
jne 0x46413e
mov eax, 0
jmp 0x464268
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], 1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
call eax
sub esp, 0x10
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00463003
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
test eax, eax
jne 0x464210
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x20]
and edx, 0xffffffcf
or edx, 0x10
mov byte [eax + 0x20], dl
mov eax, dword [0x4b2e30]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
test eax, eax
jne 0x464265
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x46432c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.004640d6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.00463f6e
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x20]
and eax, 0x30
test al, al
jne 0x464385
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_longjmp
mov eax, dword [0x4b2e30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4644af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x464417
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4643d4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00462e20
mov dword [ebp - 0x10], 0
mov eax, dword [0x4b2e30]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
jmp 0x4644af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x464447
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 4
test eax, eax
je 0x4644af
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00462e20
mov dword [ebp - 0x10], 0
mov eax, dword [0x4b2e30]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
call eax
Function at 0x480e08
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], 0x4b2e5c
call fcn.00480c22
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 0xbab1f0ed
jne 0x480e34
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jg 0x480e76
mov dword [esp], 2
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call eax
mov dword [esp + 0x10], 0x28
mov dword [esp + 0xc], str._buildbot_src_android_mingw_toolchain_mingw_mingw_w64_v6.x_mingw_w64_libraries_winpthreads_src_rwlock.c
mov dword [esp + 8], str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov dword [esp + 4], str.Assertion_failed:___s___file__s__line__d_n
mov dword [esp], eax
call fcn.004388c0
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 4]
sub edx, 1
mov dword [eax + 4], edx
mov dword [esp], 0x4b2e5c
call fcn.00480c80
mov eax, dword [ebp + 0xc]
leave
ret
Function at 0x474e50
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x474e88
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x474e7e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x474e8a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x474e70
xor eax, eax
pop ebx
pop esi
ret
Function at 0x499f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x60]
sub eax, 1
mov dword [esp + 0x20], edx
mov edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
shr edi, 0x1f
mov dword [esp + 0x2c], ebx
add edi, eax
sar edi, 1
cmp dword [esp + 0x64], edi
mov dword [esp + 0x1c], edi
jge 0x49a0c2
mov edi, dword [esp + 0x64]
jmp 0x499f52
mov edi, esi
lea ebx, [edi + 1]
lea esi, [ebx + ebx]
shl ebx, 5
add ebx, ebp
lea eax, [esi + 0xfffffff]
mov dword [esp], ebx
shl eax, 4
add eax, ebp
mov dword [esp + 4], eax
call dword [esp + 0x7c]
test al, al
je 0x499f81
sub esi, 1
mov ebx, esi
shl ebx, 4
add ebx, ebp
mov eax, dword [ebx]
shl edi, 4
add edi, ebp
cmp esi, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
jl 0x499f50
test byte [esp + 0x68], 1
jne 0x499fbd
mov eax, dword [esp + 0x68]
sub eax, 2
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
sar eax, 1
cmp eax, esi
je 0x49a010
mov eax, dword [esp + 0x20]
cmp esi, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jg 0x49a044
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [esi + esi + 2]
lea eax, [esi + 0xfffffff]
sub esi, 1
shl eax, 4
add eax, ebp
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov ebx, esi
shl ebx, 4
add ebx, ebp
jmp 0x499fbd
lea eax, [esi - 1]
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
mov edi, ecx
mov ecx, dword [esp + 0x64]
lea esi, [esi]
lea edi, [edi]
mov ebx, edi
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], ecx
shl ebx, 4
shl esi, 4
add ebx, ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [esp + 0x7c]
test al, al
mov ecx, dword [esp + 0x1c]
jne 0x49a090
lea ebx, [ebp + esi]
jmp 0x499fe3
mov eax, dword [ebx]
add esi, ebp
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi - 1]
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
cmp ecx, edi
jge 0x499fe3
mov esi, edi
mov edi, eax
jmp 0x49a060
test byte [esp + 0x68], 1
jne 0x49a0db
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x64]
shl ebx, 4
add ebx, ebp
jmp 0x499fa9
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
shl ebx, 4
add ebx, ebp
jmp 0x499fe3
Function at 0x49a3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x60]
sub eax, 1
mov dword [esp + 0x20], edx
mov edi, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
shr edi, 0x1f
mov dword [esp + 0x2c], ebx
add edi, eax
sar edi, 1
cmp dword [esp + 0x64], edi
mov dword [esp + 0x1c], edi
jge 0x49a582
mov edi, dword [esp + 0x64]
jmp 0x49a412
mov edi, esi
lea ebx, [edi + 1]
lea esi, [ebx + ebx]
shl ebx, 5
add ebx, ebp
lea eax, [esi + 0xfffffff]
mov dword [esp], ebx
shl eax, 4
add eax, ebp
mov dword [esp + 4], eax
call dword [esp + 0x7c]
test al, al
je 0x49a441
sub esi, 1
mov ebx, esi
shl ebx, 4
add ebx, ebp
mov eax, dword [ebx]
shl edi, 4
add edi, ebp
cmp esi, dword [esp + 0x1c]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
jl 0x49a410
test byte [esp + 0x68], 1
jne 0x49a47d
mov eax, dword [esp + 0x68]
sub eax, 2
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
sar eax, 1
cmp eax, esi
je 0x49a4d0
mov eax, dword [esp + 0x20]
cmp esi, dword [esp + 0x64]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
jg 0x49a504
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [esi + esi + 2]
lea eax, [esi + 0xfffffff]
sub esi, 1
shl eax, 4
add eax, ebp
mov ecx, dword [eax]
mov dword [ebx], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov ebx, esi
shl ebx, 4
add ebx, ebp
jmp 0x49a47d
lea eax, [esi - 1]
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
mov edi, ecx
mov ecx, dword [esp + 0x64]
lea esi, [esi]
lea edi, [edi]
mov ebx, edi
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], ecx
shl ebx, 4
shl esi, 4
add ebx, ebp
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [esp + 0x7c]
test al, al
mov ecx, dword [esp + 0x1c]
jne 0x49a550
lea ebx, [ebp + esi]
jmp 0x49a4a3
mov eax, dword [ebx]
add esi, ebp
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi - 1]
mov esi, eax
shr esi, 0x1f
add eax, esi
sar eax, 1
cmp ecx, edi
jge 0x49a4a3
mov esi, edi
mov edi, eax
jmp 0x49a520
test byte [esp + 0x68], 1
jne 0x49a59b
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x64]
shl ebx, 4
add ebx, ebp
jmp 0x49a469
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
shl ebx, 4
add ebx, ebp
jmp 0x49a4a3
Function at 0x1826c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x1827a7
test edx, edx
je 0x1827a7
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x18270a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x182711
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x1826f0
jmp 0x182713
mov esi, 0x1505
jmp 0x182713
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 0x1827a7
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x182744
inc ebx
dec ebp
je 0x1827a5
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x1827a5
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x182740
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.001895d0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x182740
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.001895f0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x182740
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x1827a7
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1827b0
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 0x1828b9
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1828b9
push ebx
call fcn.001895d0
add esp, 4
test eax, eax
je 0x18280a
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 0x182811
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x1827f0
jmp 0x182813
mov esi, 0x1505
jmp 0x182813
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 0x1828b9
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x182844
inc ebp
dec ebx
je 0x1828b7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x1828b7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x182840
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.001895d0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x182840
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.001895f0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x182840
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x1828b7
cmp dword [eax + 4], 2
mov edi, 0
jne 0x1828b9
mov edi, dword [eax + 8]
jmp 0x1828b9
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1828f0
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 0x182958
mov esi, dword [esp + 0x30]
test esi, esi
je 0x182958
push esi
call fcn.001895d0
add esp, 4
test eax, eax
je 0x18293a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x182941
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x182920
jmp 0x182943
mov ebp, 0x1505
jmp 0x182943
mov ebp, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov edx, edi
sub edx, 1
jae 0x182964
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 + 0xc], eax
mov dword [esp], edx
jmp 0x182984
inc ebx
dec edi
je 0x182958
mov eax, ebx
and eax, edx
mov esi, dword [esp + 0xc]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x182958
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x182980
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 8], eax
push eax
call fcn.001895d0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x182980
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.001895f0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x182980
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x182958
cmp dword [eax + 4], 3
jne 0x182958
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x182958
Function at 0x182a30
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 0x182b39
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x182b39
push ebx
call fcn.001895d0
add esp, 4
test eax, eax
je 0x182a8a
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 0x182a91
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x182a70
jmp 0x182a93
mov esi, 0x1505
jmp 0x182a93
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 0x182b39
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x182ac4
inc ebp
dec ebx
je 0x182b37
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x182b37
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x182ac0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.001895d0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x182ac0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.001895f0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x182ac0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x182b37
cmp dword [eax + 4], 5
mov edi, 0
jne 0x182b39
mov edi, dword [eax + 8]
jmp 0x182b39
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x182c90
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.00189640
add esp, 8
test eax, eax
je 0x182cf6
mov ebx, eax
jmp 0x182cd4
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00189640
add esp, 8
mov ebx, eax
test eax, eax
je 0x182cf6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.001826c0
add esp, 4
xor esi, esi
test eax, eax
je 0x182cc0
cmp dword [eax + 4], 4
jne 0x182cc0
mov esi, dword [eax + 8]
jmp 0x182cc0
xor eax, eax
test esi, esi
je 0x182d56
test edi, edi
je 0x182d56
push edi
call fcn.001895d0
add esp, 4
test eax, eax
je 0x182d3a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x182d41
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x182d20
jmp 0x182d43
mov ebx, 0x1505
jmp 0x182d43
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x182d5e
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 0x182d74
inc ebp
dec ecx
je 0x182d54
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x182d54
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x182d70
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.001895d0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x182d70
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.001895f0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x182d70
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x182d56
Function at 0x182e80
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 0x182eed
mov esi, dword [esp + 0x28]
test esi, esi
je 0x182eed
push esi
call fcn.001895d0
add esp, 4
test eax, eax
je 0x182eca
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x182ed1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x182eb0
jmp 0x182ed3
mov ebx, 0x1505
jmp 0x182ed3
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 0x182ef5
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 0x182f04
inc ebp
dec edi
je 0x182eeb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x182eeb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x182f00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.001895d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x182f00
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.001895f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x182f00
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x182eed
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x182eed