joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40710c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.00415e3c
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.004070c3
add esp, 0x1c
leave
ret

Function at 0x408b3c
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00407676
test eax, eax
jne 0x408b5a
push eax
push eax
push esi
push 0x408b18
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
push dword [0x424218]
mov ecx, esi
push dword [esi + 4]
call fcn.00407965
push 0x2d
call fcn.00403a52
pop ecx
push eax
push 0x4b2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov ecx, esi
call fcn.00407965
pop esi
ret
Function at 0x409008
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.00407981
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
add eax, 2
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.004079a0
push 1
inc edi
push edi
mov ecx, esi
call fcn.004079a0
and dword [ebp - 0x2c4], 0
push 0x2b0
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.00415110
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407fe2
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00408cc6
mov ecx, esi
mov edi, eax
call fcn.00408633
mov eax, edi
pop edi
pop esi
leave
ret

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

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x409d68
mov dword [ecx*4 + 0x427300], eax
inc ecx
cmp ecx, 0x100
jb 0x409d63
mov edx, 0x800
jmp 0x409db5
mov eax, dword [ecx*4 + 0x426f00]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x427300]
inc ecx
mov dword [ecx*4 + 0x4272fc], eax
cmp ecx, edx
jb 0x409d94
mov eax, 0x41bc10
mov esi, 0x41bb30
mov dword [0x4272ec], eax
mov dword [0x429300], eax
mov dword [0x4272e8], esi
call fcn.0040f55e
test eax, eax
jne 0x409de2
mov dword [0x429300], esi
pop esi
ret
Function at 0x40f797
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f7bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40f7bd
xor al, al
jmp 0x40f7d2
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x411f43
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
test eax, eax
je 0x411f78
mov ebx, dword [edx]
mov dword [ecx + esi*4 + 0x10], ebx
inc esi
add edx, 4
cmp esi, eax
jb 0x411f6a
cmp esi, edi
jae 0x412059
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4 + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov edi, dword [ecx + esi*4 + 0xc]
mov dword [ebp - 8], eax
test edx, edx
jne 0x411ff0
mov eax, edi
mov ebx, edi
mov edx, 0xff
and eax, edx
movzx eax, byte [eax + str.cw]
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl eax, 8
or eax, ebx
mov ebx, edi
shr edi, 8
and edi, edx
shr ebx, 0x10
and ebx, edx
movzx edx, byte [edi + str.cw]
movzx ebx, byte [ebx + str.cw]
mov edi, dword [ebp - 8]
movzx edi, byte [edi + 0x41f300]
shl eax, 8
or eax, ebx
shl eax, 8
xor edi, edx
or edi, eax
jmp 0x412040
cmp dword [ebp + 8], 6
jbe 0x412040
cmp edx, 4
jne 0x412040
mov edx, edi
shr edx, 0x10
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
mov eax, 0xff
and edx, eax
movzx edx, byte [edx + str.cw]
shl ebx, 8
or edx, ebx
mov ebx, edi
shr ebx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
shl edx, 8
and edi, eax
movzx edi, byte [edi + str.cw]
or edx, ebx
shl edx, 8
or edi, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add dword [ebp - 4], 4
xor eax, edi
mov dword [ecx + esi*4 + 0x10], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x411f8b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x412aa5
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4197bd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4240c0]
jne 0x4197c7
repz ret
jmp fcn.0041b7a8

Function at 0x41a48b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4240c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00418005
and dword [ebp - 0x14], 0
cmp dword [0x426f64], 0
mov dword [ebp - 0x18], eax
jne 0x41a53e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41a5e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41a5e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x426f64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x426f68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x426f6c], eax
call edi
push eax
call esi
mov dword [0x426f74], eax
test eax, eax
je 0x41a53e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x426f70], eax
mov eax, dword [0x426f70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41a597
cmp dword [0x426f74], ecx
je 0x41a597
push eax
call esi
push dword [0x426f74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41a597
test ebx, ebx
je 0x41a597
call edi
test eax, eax
je 0x41a58e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41a58e
test byte [ebp - 8], 1
jne 0x41a597
or dword [ebp + 0x10], 0x200000
jmp 0x41a5ca
mov eax, dword [0x426f68]
cmp eax, dword [ebp - 0x18]
je 0x41a5ca
push eax
call esi
test eax, eax
je 0x41a5ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41a5ca
mov eax, dword [0x426f6c]
cmp eax, dword [ebp - 0x18]
je 0x41a5ca
push eax
call esi
test eax, eax
je 0x41a5ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x426f64]
call esi
test eax, eax
je 0x41a5e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41a5e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004197bd
leave
ret
Function at 0x52d92b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45c980]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0052c88a
and dword [ebp - 0x14], 0
cmp dword [0x157fccc], 0
mov dword [ebp - 0x18], eax
jne 0x52d9de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x52da86
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x52da86
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x157fccc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x157fcd0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x157fcd4], eax
call edi
push eax
call esi
mov dword [0x157fcdc], eax
test eax, eax
je 0x52d9de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x157fcd8], eax
mov eax, dword [0x157fcd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x52da37
cmp dword [0x157fcdc], ecx
je 0x52da37
push eax
call esi
push dword [0x157fcdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x52da37
test ebx, ebx
je 0x52da37
call edi
test eax, eax
je 0x52da2e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x52da2e
test byte [ebp - 8], 1
jne 0x52da37
or dword [ebp + 0x10], 0x200000
jmp 0x52da6a
mov eax, dword [0x157fcd0]
cmp eax, dword [ebp - 0x18]
je 0x52da6a
push eax
call esi
test eax, eax
je 0x52da6a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x52da6a
mov eax, dword [0x157fcd4]
cmp eax, dword [ebp - 0x18]
je 0x52da6a
push eax
call esi
test eax, eax
je 0x52da6a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x157fccc]
call esi
test eax, eax
je 0x52da86
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x52da88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052dc96
leave
ret

Function at 0x52dc96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c980]
jne 0x52dca0
repz ret
jmp fcn.0052ef06
Function at 0x406d30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push dword [0x49c56c]
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
mov dword [ebp - 0x3dc], eax
push 0x49ca1e
mov ecx, 0x49d357
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [0x428411], eax
mov eax, 0x29a
mov dword [0x428865], eax
mov eax, 2
add dword [0x428865], eax
add eax, 0xfffffffe
sub dword [0x428865], eax
push eax
push eax
push 0x6f
push 0xf
push 0x2c
call fcn.00406cb4
leave
ret

Function at 0x409364
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
lea eax, [0x42874a]
push eax
lea eax, [0x428735]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x40
push ecx
mov ecx, 0x3000
push ecx
push 0xbe9d1
xor edx, edx
push edx
call eax
mov dword [0x42873e], eax
ret

Function at 0x40bb55
Capabilities:
Encode data using xor

Disassembly:
call fcn.00409502
lodsd eax, dword [esi]
sub eax, dword [0x428746]
xor eax, dword [0x428746]
stosd dword es:[edi], eax
push esi
pop eax
sub eax, 0x426d21
jle 0x40bb5a
jmp dword [0x42873e]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40f2e6
Capabilities:
Encode data using xor

Disassembly:
mov byte [esi + 0xa], 0x91
or eax, 0x2247a50e
mov ebp, 0x801616bd
and bh, byte [ebp - 0x7fe9e943]
dec eax
and ah, byte [ebp + 0x46910248]
add ah, byte [ecx - 0x4262c5c0]
xor al, bl
or eax, 0xbdc407a5
mov ebp, 0xbdc422a5
mov ebp, 0xbbb90284
mov esp, 0x248bcbc
mov eax, dword [0x7df0d0a8]
mov ebx, 0x48bcbcbc
add ah, byte [ecx + 0x7df0d0a8]
std
or byte [eax + 0x22], 0xa5
test byte [edx], al
mov ecx, 0xbcbcbcbb
jne 0x40f1d0
mov ebp, 0x22a5bdbd
loopne 0x40f1d8
mov ebp, 0x2875a580
movsd dword es:[edi], dword [esi]
jne 0x40f248
mov ebp, 0xbbd3a6bd
mov esp, 0xa94812bc
push cs
adc byte [eax + 2], cl
leave
inc eax
jge 0x40f1fb
inc esi
add bh, byte [ecx - 0x4225b7df]
mov ebp, 0xc048bdbd
and dword [eax - 0x43], esp
mov ebp, 0x248bdbd
lds ecx, [eax + 0x1a]
leave
sbb cl, cl
dec eax
sub bh, byte [ecx - 0x4346dfb8]
popfd
sbb byte [esi + 0x15bdc57f], al
push ss
inc esp
shl ecx, 0xbc
popfd
adc cl, byte [eax - 0x57]
push cs
push cs
adc byte [ebx], dl
adc al, 0x21
dec eax
mov ebp, 0x46bdbdbd
xor bh, byte [ecx + 0x44b50284]
scasd eax, dword es:[edi]
std
mov ebp, 0x32bcbd27
leave
mov esp, 0x32bcb532
lds esp, [ebp - 0x424127ca]
dec eax
add cl, cl
dec eax
std
rol dword [eax - 0x63], 0xba
dec eax
or cl, cl
inc esi
inc cl
and dword [eax - 6], ecx
mov ebp, 0x48bdbdbd
sbb bh, byte [ecx + 0x4621f846]
fidivr dword [ebp + 0x1cbdbdbd]
sbb ebx, dword [eax]
xchg byte [edi - 0x3b], bh
mov ebp, 0x40a94812
test eax, 0x141310c5
mov ecx, 0xf0b90246
jge 0x40f2cd
or eax, 0xb932bc0d
mov esp, 0x32bcd132
int 0xbc
xor cl, cl
leave
mov esp, 0xfba5c532
xor al, 0xbd
mov ebp, 0x46dd8140
add dh, byte [ebp + 0x48181b1c]
add dh, byte [ebp - 0x7fe55db8]
adc edi, dword [ecx - 0x361eceb8]
dec eax
or eax, ebp
invalid
Function at 0x401e90
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x401f77
test edx, edx
je 0x401f77
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x401eda
mov ecx, 0x1505
xor edi, edi
nop dword [eax + eax]
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x401ee1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x401ec0
jmp 0x401ee3
mov esi, 0x1505
jmp 0x401ee3
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 0x401f77
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x401f14
inc ebx
dec ebp
je 0x401f75
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x401f75
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401f10
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00417020
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401f10
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00417040
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401f10
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401f77
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4020c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
cmp dword [ebp + 8], 0
je 0x402133
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x402133
push esi
call fcn.00417020
add esp, 4
test eax, eax
je 0x40211a
mov ecx, 0x1505
xor ebx, ebx
nop word cs:[eax + eax]
movzx edx, byte [esi + ebx]
test edx, edx
je 0x402121
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x402100
jmp 0x402123
mov edi, 0x1505
jmp 0x402123
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
jae 0x40214b
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and esi, edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0x402168
inc esi
dec edx
mov ebx, dword [esp + 0x10]
je 0x402133
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0xffffffff
je 0x402133
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x402160
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], edx
call fcn.00417020
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402160
push dword [esp + 4]
push dword [esp + 0x10]
push dword [ebp + 0xc]
call fcn.00417040
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402160
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x402133
cmp dword [eax + 4], 3
jne 0x402133
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x18], xmm0
jmp 0x402133
Function at 0x402210
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 0x402319
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402319
push ebx
call fcn.00417020
add esp, 4
test eax, eax
je 0x40226a
mov ecx, 0x1505
xor ebp, ebp
nop word cs:[eax + eax]
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402271
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402250
jmp 0x402273
mov esi, 0x1505
jmp 0x402273
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 0x402319
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x4022a4
inc ebp
dec ebx
je 0x402317
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402317
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4022a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00417020
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4022a0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00417040
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4022a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402317
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402319
mov edi, dword [eax + 8]
jmp 0x402319
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402450
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.00417090
add esp, 8
test eax, eax
je 0x4024b6
mov ebx, eax
jmp 0x402494
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00417090
add esp, 8
mov ebx, eax
test eax, eax
je 0x4024b6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00401e90
add esp, 4
xor esi, esi
test eax, eax
je 0x402480
cmp dword [eax + 4], 4
jne 0x402480
mov esi, dword [eax + 8]
jmp 0x402480
xor eax, eax
test esi, esi
je 0x402516
test edi, edi
je 0x402516
push edi
call fcn.00417020
add esp, 4
test eax, eax
je 0x4024fa
mov ecx, 0x1505
xor ebp, ebp
nop word cs:[eax + eax]
movzx edx, byte [edi + ebp]
test edx, edx
je 0x402501
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x4024e0
jmp 0x402503
mov ebx, 0x1505
jmp 0x402503
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x40251e
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 0x402534
inc ebp
dec ecx
je 0x402514
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402514
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402530
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.00417020
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402530
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00417040
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402530
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402516
Function at 0x402640
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 0x4026ad
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4026ad
push esi
call fcn.00417020
add esp, 4
test eax, eax
je 0x40268a
mov ecx, 0x1505
xor edi, edi
nop dword [eax]
movzx edx, byte [esi + edi]
test edx, edx
je 0x402691
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402670
jmp 0x402693
mov ebx, 0x1505
jmp 0x402693
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 0x4026b5
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 0x4026c4
inc ebp
dec edi
je 0x4026ab
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4026ab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x4026c0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00417020
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4026c0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00417040
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4026c0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x4026ad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x4026ad