joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52564a
Capabilities:
Connect socket
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
push dword [0x6b5394]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, word [esi + 0x18]
push 2
pop ebx
push eax
mov word [ebp - 0x14], bx
call sub.WSOCK32.dll_htons
cmp dword [esi + 0x14], 0x10
mov word [ebp - 0x12], ax
jb 0x52568d
mov esi, dword [esi]
push esi
call sub.WSOCK32.dll_inet_addr
push 6
push 1
push ebx
mov dword [ebp - 0x10], eax
call sub.WSOCK32.dll_socket
push 0x10
lea ecx, [ebp - 0x14]
mov dword [0x6b5390], eax
push ecx
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x5256ba
xor al, al
jmp 0x525720
push 0x129
call fcn.005605ae
mov esi, eax
lea eax, [edi + 0x10]
push eax
push 0x104
lea eax, [esi + 0x10]
push eax
call fcn.00567c93
lea eax, [edi + 0x114]
push eax
lea eax, [esi + 0x114]
push 0x10
push eax
call fcn.00567c93
mov eax, dword [edi + 0x124]
xor ecx, ecx
push ecx
push ecx
push esi
push 0x52575a
mov dword [esi + 0x124], eax
mov al, byte [edi + 0x128]
push ecx
push ecx
mov byte [esi + 0x128], al
call fcn.0056841b
mov dword [0x6b5394], eax
add esp, 0x34
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560d94
mov esp, ebp
pop ebp
ret 4

Function at 0x525a2f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x5a4ec8
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi], eax
test eax, eax
je 0x525a81
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IcmpCreateFile
push eax
call esi
push str.IcmpSendEcho
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.IcmpCloseHandle
push dword [edi]
mov dword [edi + 8], eax
call esi
mov dword [edi + 0xc], eax
pop esi
lea eax, [ebp - 0x194]
push eax
push 0x201
call sub.WSOCK32.dll_WSAStartup
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00560d94
mov esp, ebp
pop ebp
ret
Function at 0x525ab7
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], ecx
or esi, 0xffffffff
call sub.WSOCK32.dll_inet_addr
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, esi
jne 0x525af9
push dword [ebp + 8]
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x525bb1
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 8], eax
push 0x20
call fcn.0055fc34
mov edi, eax
pop ecx
test edi, edi
je 0x525bb1
push 0x3c
call fcn.0055fc34
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x525b25
push edi
call fcn.00561d58
pop ecx
jmp 0x525bb1
mov eax, dword [ebp - 4]
call dword [eax + 4]
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp ecx, esi
jne 0x525b43
push edi
call fcn.00561d58
push ebx
call fcn.00561d58
pop ecx
jmp 0x525b1f
mov eax, dword [ebp + 0xc]
movzx eax, ax
mov dword [ebp + 0xc], eax
test eax, eax
jle 0x525b86
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push 0x3c
push ebx
push 0
push 0x20
push edi
push dword [ebp - 8]
push ecx
call dword [eax + 8]
cmp dword [ebx + 4], 0
jne 0x525b7e
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebx + 8]
add dword [ecx], eax
jne 0x525b7d
xor eax, eax
inc eax
mov dword [ecx], eax
inc esi
dec dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x525b53
mov ecx, dword [ebp + 0x14]
xor edx, edx
push 1
mov eax, dword [ecx]
div dword [ebp + 0xc]
pop edx
test eax, eax
push ebx
cmove eax, edx
mov dword [ecx], eax
call fcn.00561d58
push edi
call fcn.00561d58
mov eax, dword [ebp - 4]
pop ecx
pop ecx
push dword [ebp - 0xc]
call dword [eax + 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x557490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push 0x80
push 3
push edi
push edi
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x55754d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x5574ec
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x55754d
cmp dword [ebp - 0x18], 0x6060801
jne 0x5574e3
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x5574e4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebx + 0x19], esi
je 0x55754d
mov ecx, dword [0x6b3fb4]
test ecx, ecx
je 0x55754d
push dword [ebp - 0xe]
call fcn.004a3ba8
push dword [ebp - 0x10]
mov ecx, dword [0x6b3fb4]
call fcn.004a3b8b
movss xmm0, dword [ebp - 0xa]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, 0x6aaa50
push esi
call fcn.004f2dac
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560d94
mov esp, ebp
pop ebp
ret 4
Function at 0x557a51
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x557b4e
push 0
mov ecx, 0x69e920
call fcn.0046f336
push eax
lea eax, [ebp - 0x108]
push str._sdata
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [edi + 0x15]
mov ecx, 0x69e920
push 0
call fcn.0046f336
push eax
lea eax, [ebp - 0x108]
push str._sdata_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test byte [ebp + 8], 1
je 0x557b12
push dword [edi + 0x15]
mov ecx, 0x69e920
push dword [edi + 0x15]
push 0
call fcn.0046f336
push eax
lea eax, [ebp - 0x108]
push str._sdata_d_d.uii
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.00557560
test byte [ebp + 8], 2
je 0x557b4e
push dword [edi + 0x15]
mov ecx, 0x69e920
push dword [edi + 0x15]
push 0
call fcn.0046f336
push eax
lea eax, [ebp - 0x108]
push str._sdata_d_d.uis
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.00557b5f
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00560d94
mov esp, ebp
pop ebp
ret 4

Function at 0x557b5f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6b3fb4]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x557bf5
push ebx
push edi
call fcn.004a2969
movss xmm0, dword [0x6aaa90]
xor ebx, ebx
push ebx
push 0x80
push 2
mov dword [ebp - 0xe], eax
mov eax, dword [0x6b3fb4]
push ebx
push ebx
push 0x40000000
mov ax, word [eax + 0x682]
push esi
mov word [ebp - 0x10], ax
movss dword [ebp - 0xa], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x557bf3
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push ebx
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6060801
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00560d94
mov esp, ebp
pop ebp
ret 4
Function at 0x557de7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
mov eax, dword [edi]
call dword [eax + 0x20]
test eax, eax
je 0x557e2c
mov esi, 0x699e20
push 0x8db
mov ecx, esi
call fcn.00461659
push eax
push 0x17
push esi
call fcn.00460fd9
add esp, 0xc
xor eax, eax
jmp 0x557f6b
mov eax, dword [0x6a6e44]
push ebx
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
lea edx, [ebp - 0x210]
push edx
push 0x5a7578
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x557f63
cmp dword [edi + 0xc], ebx
jne 0x557e92
push str.bdcap32.dll
mov ecx, edi
call fcn.00557fb7
test eax, eax
jns 0x557e79
push 0x8dc
jmp 0x557ee7
mov eax, dword [edi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push edi
call dword [eax + 0xc]
cmp dword [edi + 0xc], ebx
je 0x557f67
mov eax, dword [edi]
push 0x3c
push 0x1e
push edi
call dword [eax + 0x40]
mov ecx, edi
call fcn.00558346
push ebx
mov ecx, 0x69e920
call fcn.0046f336
push eax
lea eax, [ebp - 0x108]
push str._sScreenShot
push eax
call fcn.005623bc
add esp, 0xc
lea eax, [ebp - 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x557f01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x557f01
push 0x8de
mov esi, 0x699e20
mov ecx, esi
call fcn.00461659
push eax
push 0x17
push esi
call fcn.00460fd9
add esp, 0xc
jmp 0x557f63
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
push 0x5a7694
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.00558291
lea eax, [ebp - 0x20c]
mov esi, 0x699e20
push eax
push 0x8df
mov ecx, esi
call fcn.00461659
push eax
push 0x17
push esi
call fcn.00460fd9
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push 4
push ebx
push eax
push edi
call fcn.0055844a
test eax, eax
jns 0x557f67
xor eax, eax
jmp 0x557f6a
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00560d94
mov esp, ebp
pop ebp
ret
Function at 0x57776c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x66e240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0056ac18
mov dword [ebp - 0x14], eax
cmp dword [0x6c2d40], esi
jne 0x57785f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5777ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x57793f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x57793f
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x57793f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x6c2d40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x6c2d44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6c2d48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6c2d50], eax
test eax, eax
je 0x57785c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x6c2d4c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x577884
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x577877
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x577899
push 4
pop eax
jmp 0x577941
cmp dword [ebp - 0x14], esi
je 0x577899
push dword [0x6c2d40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x57787e
mov eax, dword [0x6c2d4c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5778f7
cmp dword [0x6c2d50], edi
je 0x5778f7
push eax
call ebx
push dword [0x6c2d50]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5778f7
test eax, eax
je 0x5778f7
call ecx
test eax, eax
je 0x5778ec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5778ec
test byte [ebp - 8], 1
jne 0x5778f7
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x577927
mov eax, dword [0x6c2d44]
cmp eax, edi
je 0x577924
push eax
call ebx
test eax, eax
je 0x577924
call eax
mov esi, eax
test esi, esi
je 0x577924
mov eax, dword [0x6c2d48]
cmp eax, edi
je 0x577924
push eax
call ebx
test eax, eax
je 0x577924
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6c2d40]
call ebx
test eax, eax
je 0x57793f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x577941
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560d94
mov esp, ebp
pop ebp
ret
Function at 0x1007343
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x1007370
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1007404
push edi
push 0x14
push 0x1001a58
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
jne 0x100738d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10073e6
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10073ac
call esi
mov ebx, eax
cmp ebx, 0x420
jne 0x10073f1
mov ebx, 0x5b4
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10073e4
cmp dword [ebp - 0x20], 4
je 0x10073ea
cmp dword [ebp - 0x20], 1
je 0x10073ee
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jbe 0x10073b1
jmp 0x10073f1
call esi
mov ebx, eax
jmp 0x10073f1
xor ebx, ebx
jmp 0x10073f1
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x10073fe
push edi
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x4025d0
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test ecx, ecx
je 0x4026b8
test edx, edx
je 0x4026b8
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], ecx
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40261a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402621
inc edi
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
mov ecx, esi
cmp ebp, edi
jne 0x402600
jmp 0x402623
mov esi, 0x1505
jmp 0x402623
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 0x4026b1
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402654
inc ebx
dec ebp
je 0x4026af
mov eax, ebx
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4026af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402650
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.004091b0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402650
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004091d0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402650
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4026b1
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4026c0
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 0x4027c1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4027c1
push ebx
call fcn.004091b0
add esp, 4
test eax, eax
je 0x40271a
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 0x402721
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402700
jmp 0x402723
mov esi, 0x1505
jmp 0x402723
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 0x4027c1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402754
inc ebp
dec ebx
je 0x4027bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4027bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402750
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004091b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402750
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004091d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402750
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4027bf
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4027c1
mov edi, dword [eax + 8]
jmp 0x4027c1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4027f0
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 0x40285b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40285b
push esi
call fcn.004091b0
add esp, 4
test eax, eax
je 0x40283a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402841
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x402820
jmp 0x402843
mov ebp, 0x1505
jmp 0x402843
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 0x402867
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 0x402884
inc ebx
dec edi
je 0x40285b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40285b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004091b0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402880
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.004091d0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40285b
cmp dword [eax + 4], 3
jne 0x40285b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40285b

Function at 0x402920
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 0x402a21
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402a21
push ebx
call fcn.004091b0
add esp, 4
test eax, eax
je 0x40297a
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 0x402981
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402960
jmp 0x402983
mov esi, 0x1505
jmp 0x402983
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 0x402a21
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4029b4
inc ebp
dec ebx
je 0x402a1f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402a1f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4029b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004091b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4029b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004091d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4029b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402a1f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402a21
mov edi, dword [eax + 8]
jmp 0x402a21
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402a50
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 0x402b54
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402b54
push ebx
call fcn.004091b0
add esp, 4
test eax, eax
je 0x402aaa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402ab1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402a90
jmp 0x402ab3
mov esi, 0x1505
jmp 0x402ab3
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 0x402b54
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402ae4
inc ebp
dec ebx
je 0x402b4f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402b4f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402ae0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004091b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402ae0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004091d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402ae0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402b4f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x402b54
mov edi, dword [eax + 8]
jmp 0x402b54
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret