joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53b28c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x53b411
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404d04
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x53b3f6
mov eax, dword [ebp - 8]
call fcn.00408e14
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53b3ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x53b3d9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x53b424
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53b328
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.0053b1c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x53b428
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53b365
mov eax, dword [ebp - 0x10]
add eax, 2
movzx eax, word [eax]
mov edx, dword [ebp - 0x10]
movzx edx, word [edx]
shl edx, 0x10
or eax, edx
lea ecx, [ebp - 0x14]
mov edx, 8
call fcn.004095f0
jmp 0x53b372
lea eax, [ebp - 0x14]
mov edx, 0x53b448
call fcn.004048dc
xor esi, esi
mov ebx, 0x56447c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x53b45c
call fcn.0040a624
mov eax, dword [ebp - 0x18]
call fcn.00404d04
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x53b3cc
lea eax, [edi + esi*4 + 4]
mov edx, dword [ebp - 0x10]
call fcn.00404a3c
inc esi
add ebx, 4
cmp esi, 0xa
jne 0x53b379
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b3f6
mov eax, dword [ebp - 0xc]
call fcn.00402afc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b418
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404868
ret

Function at 0x53b608
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov esi, eax
mov eax, esi
call fcn.00404b04
mov edx, eax
dec edx
mov eax, ebp
call fcn.00404e90
mov eax, esi
call fcn.00404b04
mov edi, eax
sub edi, 2
jl 0x53b64f
inc edi
mov ebx, 2
mov eax, ebp
call fcn.00404d5c
mov edx, ebx
add dl, byte [esi]
sub dl, 2
xor dl, byte [esi + ebx - 1]
mov byte [eax + ebx - 2], dl
inc ebx
dec edi
jne 0x53b635
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53b8d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x53b91b
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, ebx
call fcn.00404d04
push eax
push 0x53b930
mov eax, dword [0x565058]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53b927
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x549e54
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x549ec0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x549ed8
lea edx, [ebp - 0x104]
mov eax, dword [ebx]
call fcn.00403984
lea edx, [ebp - 0x104]
lea eax, [ebp - 4]
call fcn.00404aa8
push dword [ebp - 4]
push 0x549f04
mov eax, esi
mov edx, 3
call fcn.00404bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549ec7
lea eax, [ebp - 4]
call fcn.00404844
ret

Function at 0x555ca8
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov dword [esp], 0x101
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x555cd9
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.00404ab4
jmp 0x555ce0
mov eax, ebx
call fcn.00404844
add esp, 0x108
pop ebx
ret

Function at 0x555ce8
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x555d83
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x564690]
mov dword [ebp - 6], eax
mov ax, word [0x564694]
mov word [ebp - 2], ax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 6]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
jne 0x555d45
call fcn.0040e78c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x555d5d
call fcn.0040e78c
pop dword fs:[0]
add esp, 8
push 0x555d8a
cmp dword [ebp - 0xc], 0
je 0x555d7b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_FreeSid
cmp dword [ebp - 0x10], 1
sbb eax, eax
inc eax
ret
Function at 0x556004
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
mov eax, dword [0x5652a4]
cmp dword [eax], 2
jne 0x5560bc
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5560b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x55604c
call fcn.0040e78c
lea eax, [ebp - 0x18]
push eax
push 0x556104
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x556065
call fcn.0040e78c
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
jne 0x556098
call fcn.0040e78c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5560bc
cmp dword [ebp - 8], 0
je 0x5560b4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
cmp byte [ebp - 2], 0
je 0x5560c9
mov ebx, 4
jmp 0x5560cb
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x5560e1
je 0x5560eb
dec al
je 0x5560e6
dec al
jne 0x5560ee
or ebx, 0
jmp 0x5560ee
or ebx, 8
jmp 0x5560ee
or ebx, 2
jmp 0x5560ee
or ebx, 1
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x5560ff
call fcn.0040e78c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5568b4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x556a7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409b3c
test al, al
jne 0x55690f
mov eax, dword [ebp - 4]
cmp byte [eax + 9], 2
je 0x55690f
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x556a98
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.00556d94
mov bl, 1
jmp 0x556a67
lea eax, [ebp - 0xc]
mov ecx, 0x556ab4
mov edx, ebx
call fcn.00404b50
cmp byte [ebp - 5], 0
jne 0x556987
mov eax, dword [ebp - 0xc]
call fcn.00409b3c
test al, al
je 0x556987
mov eax, dword [ebp - 4]
cmp byte [eax + 0x58], 0
jne 0x556987
mov eax, dword [ebp - 4]
cmp byte [eax + 9], 2
je 0x556980
push 0x556ac4
push 0x556ad4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x14]
push eax
push 0
mov cl, 5
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.00556ca0
sub al, 1
jb 0x556972
dec al
je 0x556979
jmp 0x556987
xor ebx, ebx
jmp 0x556a67
mov bl, 1
jmp 0x556a67
mov bl, 1
jmp 0x556a67
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x556b04
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.00556d94
xor eax, eax
push ebp
push 0x5569e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404d04
push eax
mov eax, ebx
call fcn.00404d04
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x5569d5
call fcn.0040e78c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x556a65
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556a84
lea eax, [ebp - 0xc]
call fcn.00404844
ret

Function at 0x55871c
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov dword [esp + 8], eax
cmp dword [esp + 8], 0xffffffff
jne 0x558749
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x558749
call fcn.0040e78c
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x10
pop ebx
ret

Function at 0x55dd9c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x55ddb5
add esp, 0xfffffff0
call fcn.00403d6c
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x55ddfc
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.KERNEL32.DLL_GetCommandLineA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404a3c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, esi
call fcn.0055dd34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55de03
lea eax, [ebp - 8]
call fcn.00404844
ret
Function at 0x401790
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 0x401870
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x401870
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4017da
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4017e1
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp ebp, edi
jne 0x4017c0
jmp 0x4017e3
mov esi, 0x1505
jmp 0x4017e3
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 0x401870
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x401814
inc edi
dec ebx
je 0x40186e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40186e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x401810
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401810
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.004087b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x401810
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x401870
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401880
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 0x401981
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401981
push ebx
call fcn.00408790
add esp, 4
test eax, eax
je 0x4018da
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 0x4018e1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x4018c0
jmp 0x4018e3
mov esi, 0x1505
jmp 0x4018e3
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 0x401981
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401914
inc ebp
dec ebx
je 0x40197f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40197f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401910
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401910
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401910
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40197f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x401981
mov edi, dword [eax + 8]
jmp 0x401981
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4019b0
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 0x401a1b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x401a1b
push esi
call fcn.00408790
add esp, 4
test eax, eax
je 0x4019fa
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x401a01
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x4019e0
jmp 0x401a03
mov ebp, 0x1505
jmp 0x401a03
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 0x401a27
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 0x401a44
inc ebx
dec edi
je 0x401a1b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401a1b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x401a40
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x401a40
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.004087b0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x401a40
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x401a1b
cmp dword [eax + 4], 3
jne 0x401a1b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x401a1b

Function at 0x401ae0
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 0x401be1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401be1
push ebx
call fcn.00408790
add esp, 4
test eax, eax
je 0x401b3a
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 0x401b41
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x401b20
jmp 0x401b43
mov esi, 0x1505
jmp 0x401b43
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 0x401be1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401b74
inc ebp
dec ebx
je 0x401bdf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401bdf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401b70
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401b70
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401b70
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401bdf
cmp dword [eax + 4], 5
mov edi, 0
jne 0x401be1
mov edi, dword [eax + 8]
jmp 0x401be1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c10
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 0x401d14
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d14
push ebx
call fcn.00408790
add esp, 4
test eax, eax
je 0x401c6a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401c71
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x401c50
jmp 0x401c73
mov esi, 0x1505
jmp 0x401c73
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 0x401d14
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401ca4
inc ebp
dec ebx
je 0x401d0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401ca0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401ca0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401ca0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d0f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d14
mov edi, dword [eax + 8]
jmp 0x401d14
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401d20
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.00408800
add esp, 8
test eax, eax
je 0x401d84
mov esi, eax
jmp 0x401d64
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.00408800
add esp, 8
mov esi, eax
test eax, eax
je 0x401d84
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00401790
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d50
cmp dword [eax + 4], 4
jne 0x401d50
mov edi, dword [eax + 8]
jmp 0x401d50
xor eax, eax
test edi, edi
je 0x401deb
test ebp, ebp
je 0x401deb
push ebp
call fcn.00408790
add esp, 4
test eax, eax
je 0x401dcb
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 0x401dd2
inc ebx
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebx
jne 0x401db0
jmp 0x401dd4
mov esi, 0x1505
jmp 0x401dd4
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 0x401df3
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 0x401e14
inc ebx
dec ecx
je 0x401de9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401de9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e10
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.00408790
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e10
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.004087b0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e10
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401deb
Function at 0x401f10
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 0x401f7d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401f7d
push esi
call fcn.00408790
add esp, 4
test eax, eax
je 0x401f5a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f61
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x401f40
jmp 0x401f63
mov ebx, 0x1505
jmp 0x401f63
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 0x401f85
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 0x401f94
inc ebp
dec edi
je 0x401f7b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401f7b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401f90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401f90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401f90
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401f7d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401f7d
Function at 0x4021a0
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 0x4022b2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022b2
cmp dword [esp + 0x2c], 0
je 0x4022b2
push esi
call fcn.00408790
add esp, 4
test eax, eax
je 0x40220a
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 0x402211
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x4021f0
jmp 0x402213
mov ebx, 0x1505
jmp 0x402213
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 0x4022ba
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x402277
call fcn.004023b0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022b2
push ecx
call fcn.00408790
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 0x40232d
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 0x4022d8
inc edi
dec esi
je 0x40222c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402231
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4022d0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4022d0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4022d0
mov eax, 0xffffffff
jmp 0x4022b2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402348
inc edi
dec esi
je 0x402272
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402277
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402340
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00408790
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402340
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.004087b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402340
jmp 0x402277