joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3240
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.005a7170
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebp, 0xc
jne 0x4e32ab
mov eax, dword [esp + 0x24]
lea ebx, [ebp - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x4e33d6
push edi
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x40], edi
lea ebx, [esi + 0x40]
mov dword [ebx + 4], edi
lea edx, [esi + 0x60]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], edx
cmp ebp, 0x10
jb 0x4e333f
mov eax, ebp
lea ecx, [esi + 0x41]
shr eax, 4
mov esi, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
lea edx, [edi + 2]
mov eax, ecx
mov ebx, 4
nop dword [eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub ebx, 1
jne 0x4e32f0
push dword [esp + 0x14]
push esi
call fcn.004e3690
mov ecx, dword [esp + 0x20]
add esp, 8
add edi, 0x10
sub ebp, 0x10
sub dword [esp + 0x2c], 1
jne 0x4e32e3
mov esi, dword [esp + 0x24]
lea ebx, [esi + 0x40]
lea edx, [esi + 0x60]
test ebp, ebp
je 0x4e335e
mov ecx, ebx
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebp, 1
jne 0x4e3345
push edx
push ebx
call fcn.004e3690
add esp, 8
mov edx, dword [esp + 0x1c]
xor eax, eax
shld eax, edx, 3
xor byte [esi + 0x4b], al
shl edx, 3
xor byte [esi + 0x4f], dl
mov ecx, edx
mov dword [esp + 0x24], eax
shrd ecx, eax, 0x18
xor byte [esi + 0x4c], cl
mov edi, eax
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
xor byte [esi + 0x4d], cl
shrd eax, edi, 8
xor byte [esi + 0x4e], al
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.004e3690
movzx ebx, byte [esi + 0x4c]
add esp, 8
movzx eax, byte [esi + 0x4d]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x4e]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0x4f]
shl ebx, 8
or ebx, eax
mov eax, dword [esi + 0x40]
mov dword [esi], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0xc], eax
pop edi
mov dword [esi + 0x40], 0
lea eax, [esi + 0x20]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x174]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4eab00
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x4eab14
mov dword [esp + 0x18], fcn.004e92e0
jmp fcn.004e1550
mov dword [esp + 0x18], fcn.004e8580
jmp fcn.004e1250
Function at 0x54f950
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0054f960

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x54fbec
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0054fc00

Function at 0x56afc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [0x8d55d4], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x56b035
test edi, edi
je 0x56b035
mov eax, dword [0x8d55d8]
test eax, eax
jne 0x56b02f
mov esi, dword [esp + 0x1c]
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.0056adc0
add esp, 0x10
push str.recv
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.005b0812
add esp, 4
push eax
call fcn.005782d0
push dword [0x8d55d0]
call fcn.005b8cfb
add esp, 0x18
call fcn.005b0a23
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x8d55d8], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test edi, edi
je 0x56b068
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.RECV__s:_d_recv__lu____ld_n
call fcn.0056adc0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret

Function at 0x56b0a0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp byte [0x8d55d4], 0
push esi
push edi
mov edi, dword [esp + 0x20]
je 0x56b115
test edi, edi
je 0x56b115
mov eax, dword [0x8d55d8]
test eax, eax
jne 0x56b10f
mov esi, dword [esp + 0x1c]
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
call fcn.0056adc0
add esp, 0x10
push str.send
push esi
push edi
push str.LIMIT__s:_d__s_reached_memlimit_n
push 2
call fcn.005b0812
add esp, 4
push eax
call fcn.005782d0
push dword [0x8d55d0]
call fcn.005b8cfb
add esp, 0x18
call fcn.005b0a23
pop edi
pop esi
mov dword [eax], 0xc
or eax, 0xffffffff
ret
dec eax
mov dword [0x8d55d8], eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test edi, edi
je 0x56b148
push esi
push dword [esp + 0x18]
push dword [esp + 0x24]
push edi
push str.SEND__s:_d_send__lu____ld_n
call fcn.0056adc0
add esp, 0x14
pop edi
mov eax, esi
pop esi
ret
Function at 0x57e400
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2d
lea esi, [ebp + 1]
push esi
push ebp
call fcn.0056aef0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x57e45d
push esi
push edi
push dword [esp + 0x1c]
mov ebp, edi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x57e47b
cmp esi, ebx
je 0x57e47b
cmp esi, 0x8000
ja 0x57e47b
cmp esi, ebx
jb 0x57e474
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2d
push esi
push edi
call fcn.0056aef0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x57e420
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x2f
push ebp
call fcn.0056ad80
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push str.F:_vcpkg_vcpkg_buildtreescurl_srce5cd7b457b_ffb4748466.cleanlibgetenv.c
push 0x3a
push edi
call fcn.0056ad80
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5c50d9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005c4f4f

Function at 0x139ee
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [0x20550]
and dword [ebp - 4], 0
push esi
mov esi, dword [0x2054c]
push edi
mov edi, dword [0x20554]
add eax, edi
add eax, dword [0x20548]
xor ecx, esi
xor edx, esi
add eax, esi
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [esi]
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 8]
mov dword [ebp - 8], 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
add dword [ebp - 4], eax
dec dword [ebp - 8]
mov esi, edx
shl esi, 4
add esi, dword [ebp + 0xc]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, edx
xor esi, edi
add ecx, esi
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
mov edi, dword [ebp - 4]
add edi, ecx
xor esi, edi
add edx, esi
cmp dword [ebp - 8], 0
ja 0x13a44
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop esi
leave
ret 8

Function at 0x13a9a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [0x20554]
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x20550]
add ecx, eax
mov eax, dword [ebp + 0xc]
add ecx, dword [0x2054c]
push edi
mov edi, dword [eax + 0xc]
add ecx, dword [0x20548]
mov dword [ebp - 0xc], edi
mov edi, dword [eax + 8]
mov dword [ebp + 0xc], edi
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov edx, ecx
mov dword [ebp - 8], 0x20
shl edx, 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp + 0xc]
dec dword [ebp - 8]
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub esi, eax
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, esi
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
lea edi, [edx + esi]
xor eax, edi
sub dword [ebp - 4], eax
sub edx, ecx
cmp dword [ebp - 8], 0
ja 0x13aee
mov eax, dword [0x2054c]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [0x2054c]
xor eax, esi
pop edi
mov dword [ecx + 4], eax
pop esi
leave
ret 8

Function at 0x13bf6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x13c24
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x27140]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x13c05
not eax
pop ebp
ret 8
Function at 0x10003080
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001580b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001d0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100048a6
push 4
mov dword [ebp - 4], 0
call fcn.100054f8
mov edi, eax
add esp, 4
test edi, edi
je 0x100030fc
call fcn.1000463b
mov dword [edi], eax
call fcn.10004469
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1000478b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100030f2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100047b3
jmp 0x100030fe
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10004bec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d0f0]
jne 0x10004bf6
repz ret
jmp fcn.10007cf4
Function at 0x10011a75
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100099d1
and dword [ebp - 4], 0
cmp dword [0x1001fabc], 0
mov ebx, eax
jne 0x10011b26
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10011bd7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10011bd7
push eax
call fcn.1000995f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001fabc], eax
call esi
push eax
call fcn.1000995f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001fac0], eax
call esi
push eax
call fcn.1000995f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001fac4], eax
call esi
push eax
call fcn.1000995f
pop ecx
mov dword [0x1001facc], eax
test eax, eax
je 0x10011b26
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000995f
pop ecx
mov dword [0x1001fac8], eax
mov eax, dword [0x1001fac8]
cmp eax, ebx
je 0x10011b7e
cmp dword [0x1001facc], ebx
je 0x10011b7e
push eax
call fcn.100099da
push dword [0x1001facc]
mov esi, eax
call fcn.100099da
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10011b7e
test edi, edi
je 0x10011b7e
call esi
test eax, eax
je 0x10011b75
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011b75
test byte [ebp - 0xc], 1
jne 0x10011b7e
or dword [ebp + 0x10], 0x200000
jmp 0x10011bb7
mov eax, dword [0x1001fac0]
cmp eax, ebx
je 0x10011bb7
push eax
call fcn.100099da
pop ecx
test eax, eax
je 0x10011bb7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10011bb7
mov eax, dword [0x1001fac4]
cmp eax, ebx
je 0x10011bb7
push eax
call fcn.100099da
pop ecx
test eax, eax
je 0x10011bb7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001fabc]
call fcn.100099da
pop ecx
test eax, eax
je 0x10011bd7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10011bd9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100135b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1001d0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov al, 0x64
mov byte [ebp - 0x17], al
mov byte [ebp - 0x1f], al
push esi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x1e], 0x76
mov byte [ebp - 0x1c], 0x70
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x18], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100136e3
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x30]
mov bl, 0x65
push ecx
push esi
mov byte [ebp - 0x2e], 0x67
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x2a], 0x6e
mov byte [ebp - 0x2d], 0x4f
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x27], 0x79
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x29], 0x4b
mov byte [ebp - 0x26], 0x45
mov byte [ebp - 0x25], 0x78
mov byte [ebp - 0x2c], 0x70
mov byte [ebp - 0x2f], bl
call edi
lea edx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov al, 0x75
push edx
push esi
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3c], 0x56
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x36], 0x78
mov byte [ebp - 0x41], 0x51
mov byte [ebp - 0x38], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x42], 0x67
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x3d], 0x79
mov byte [ebp - 0x35], 0x41
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x44], 0x52
mov byte [ebp - 0x40], al
mov byte [ebp - 0x43], bl
mov byte [ebp - 0x39], al
call edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 0xf], bl
mov byte [ebp - 0x10], 0x52
mov byte [ebp - 8], 0x4b
mov byte [ebp - 9], bl
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 7], bl
mov byte [ebp - 6], 0x79
mov byte [ebp - 0xd], 0x43
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 5], 0
call edi
pop edi
mov esi, eax
pop ebx
jmp 0x100136e6
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x50]
push ecx
push 0xf013f
push 0
push edx
push 0x80000002
call dword [ebp - 0x48]
test eax, eax
jne 0x10013727
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x60]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0x48], 0x190
call dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
push edx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.10004bec
mov esp, ebp
pop ebp
ret
Function at 0x402b50
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test ecx, ecx
je 0x402c38
test edx, edx
je 0x402c38
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], ecx
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402b9a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402ba1
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
mov ecx, esi
cmp ebp, edi
jne 0x402b80
jmp 0x402ba3
mov esi, 0x1505
jmp 0x402ba3
mov esi, ecx
mov dword [esp + 4], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
mov dword [esp + 0x10], edx
jb 0x402c31
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402bd4
inc ebx
dec ebp
je 0x402c2f
mov eax, ebx
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402c2f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402bd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409710
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402bd0
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00409730
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402bd0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402c31
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402c40
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 0x402d41
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402d41
push ebx
call fcn.00409710
add esp, 4
test eax, eax
je 0x402c9a
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 0x402ca1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402c80
jmp 0x402ca3
mov esi, 0x1505
jmp 0x402ca3
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 0x402d41
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402cd4
inc ebp
dec ebx
je 0x402d3f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402d3f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402cd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409710
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402cd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409730
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402cd0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402d3f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x402d41
mov edi, dword [eax + 8]
jmp 0x402d41
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402d70
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 0x402ddb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402ddb
push esi
call fcn.00409710
add esp, 4
test eax, eax
je 0x402dba
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402dc1
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x402da0
jmp 0x402dc3
mov ebp, 0x1505
jmp 0x402dc3
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 0x402de7
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 0x402e04
inc ebx
dec edi
je 0x402ddb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402ddb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402e00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409710
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402e00
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409730
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402e00
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402ddb
cmp dword [eax + 4], 3
jne 0x402ddb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402ddb

Function at 0x402ea0
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 0x402fa1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402fa1
push ebx
call fcn.00409710
add esp, 4
test eax, eax
je 0x402efa
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 0x402f01
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402ee0
jmp 0x402f03
mov esi, 0x1505
jmp 0x402f03
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 0x402fa1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402f34
inc ebp
dec ebx
je 0x402f9f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402f9f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402f30
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409710
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402f30
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409730
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402f30
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402f9f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402fa1
mov edi, dword [eax + 8]
jmp 0x402fa1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402fd0
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 0x4030d4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4030d4
push ebx
call fcn.00409710
add esp, 4
test eax, eax
je 0x40302a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403031
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x403010
jmp 0x403033
mov esi, 0x1505
jmp 0x403033
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 0x4030d4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403064
inc ebp
dec ebx
je 0x4030cf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4030cf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403060
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409710
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403060
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409730
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403060
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4030cf
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4030d4
mov edi, dword [eax + 8]
jmp 0x4030d4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret