joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448ac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x62c330]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
xor ecx, ecx
jmp 0x448af0
movzx eax, word [ecx + 0x602344]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x448af0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x448b4b
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x5fe325
mov byte [esi], 0
call fcn.00404be0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005745f2
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x448b74
xor ecx, ecx
movzx eax, word [ecx + 0x602344]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x448b60
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00422140
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004044d0
cmp dword [esp + 0x24], 0x10
jb 0x448baa
push dword [esp + 0x10]
call fcn.0044ec68
add esp, 4
mov ecx, dword [esp + 0x234]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005745f2
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp byte [ecx + 0x61], 0
jne 0x449595
cmp byte [ecx + 0x60], 0
je 0x449595
mov byte [ecx + 0x60], 0
jmp fcn.004495a0
ret
Function at 0x44a260
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4759
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040c0b0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x5fe325
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404be0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005745f2
mov esp, ebp
pop ebp
ret 4
Function at 0x44e600
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x44e615
cmp byte [ecx + 0x2c], 0
je 0x44e615
mov byte [ecx + 0x2c], 0
jmp fcn.0044e620
ret
Function at 0x44e620
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6416
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x62c330]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x62c330]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x44e865
cmp byte [esi + 0x2c], 0
jne 0x44e865
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x14], eax
test edi, edi
js 0x44e6eb
push eax
mov eax, dword [esi + 4]
push ebx
push edi
push dword [esi + 0x80]
push esi
call eax
add esp, 0x14
jmp 0x44e85b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x44e79f
lea ecx, [esp + 0x60]
call fcn.00405f20
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
call fcn.004057c0
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.00405a50
add esp, 4
lea ecx, [esp + 0x6c]
push eax
call fcn.00409850
lea ecx, [esp + 0x1c]
call fcn.00404540
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 0
call fcn.00404540
cmp byte [esi + 0x2d], 0
jne 0x44e796
cmp dword [esi + 8], 0
je 0x44e796
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push ebx
sub esp, 0x24
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x30
lea ecx, [esp + 0x60]
jmp 0x44e856
cmp edi, 0x2733
je 0x44e85b
lea ecx, [esp + 0x84]
call fcn.00405f20
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call fcn.004057c0
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00405a50
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.00409850
lea ecx, [esp + 0x34]
call fcn.00404540
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 2
call fcn.00404540
cmp byte [esi + 0x2d], 0
jne 0x44e84f
cmp dword [esi + 0xc], 0
je 0x44e84f
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x84]
call fcn.00406690
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005745f2
mov esp, ebp
pop ebp
ret
Function at 0x44e890
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6460
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x44ea83
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44ea7a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44e972
xor esi, esi
jmp 0x44e930
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44ea7a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44e972
inc esi
cmp esi, 0xa
jl 0x44e930
jmp 0x44ea7a
push 0
push 0x5fe325
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.004057c0
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00405a50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44ea0e
cmp dword [ebp - 0x14], 0x10
jb 0x44e9f3
push dword [ebp - 0x28]
call fcn.0044ec68
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004045a0
cmp dword [ebp - 0x50], 0x10
jb 0x44ea1f
push dword [ebp - 0x64]
call fcn.0044ec68
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x44ea46
push dword [ebp - 0x7c]
call fcn.0044ec68
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x44ea69
cmp dword [edi + 0xc], 0
je 0x44ea69
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004066c0
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x44ea7a
push dword [ebp - 0x28]
call fcn.0044ec68
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005745f2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x453972
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4539b7
call fcn.0044f232
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4539b7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4539d3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045b509
mov ebx, eax
test edi, edi
je 0x4539d1
test esi, esi
je 0x4539d1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x459a67
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0044f232
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x459a9e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00459abf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46e6da
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0045ab38
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x46e716
call fcn.0046e8f9
mov dword [esi + 0xc], 1
jmp 0x46e71b
call fcn.0046e8f9
cmp dword [esi], 0
je 0x46e764
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x46e73e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00453a2a
jmp 0x46e74f
push 0xff
mov ecx, esi
call fcn.004428d0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045193f
jmp 0x46e788
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x46e788
push dword [esi]
push dword [ebp - 4]
call fcn.0046093f
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46e84e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0046e8f9
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46e896
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00453a2a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0045193f
jmp 0x46e8a1
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046093f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x479efb
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0048d244
call fcn.0044f286
cmp dword [eax + 0x14], 0
jne 0x479f16
mov ecx, esi
pop esi
jmp fcn.004792d9
pop esi
ret

Function at 0x487982
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004057b0
call fcn.0044f286
cmp dword [eax + 0x14], 0
jne 0x48799d
mov ecx, esi
pop esi
jmp fcn.0048726b
pop esi
ret
Function at 0x58c818
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62c330]
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.0057edcc
mov dword [ebp - 0x14], eax
cmp dword [0x639b6c], esi
jne 0x58c90b
push 0x800
push esi
push 0x5f6ba0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58c898
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58c9eb
push esi
push esi
push 0x5f6ba0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58c9eb
push 0x5f6bb8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58c9eb
push eax
call ebx
push 0x5f6bc4
push edi
mov dword [0x639b6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6bd4
push edi
mov dword [0x639b70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6be8
push edi
mov dword [0x639b74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639b7c], eax
test eax, eax
je 0x58c908
push 0x5f6c04
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x639b78], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58c930
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58c923
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58c945
push 4
pop eax
jmp 0x58c9ed
cmp dword [ebp - 0x14], esi
je 0x58c945
push dword [0x639b6c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58c92a
mov eax, dword [0x639b78]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58c9a3
cmp dword [0x639b7c], edi
je 0x58c9a3
push eax
call ebx
push dword [0x639b7c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58c9a3
test eax, eax
je 0x58c9a3
call ecx
test eax, eax
je 0x58c998
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 0x58c998
test byte [ebp - 8], 1
jne 0x58c9a3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58c9d3
mov eax, dword [0x639b70]
cmp eax, edi
je 0x58c9d0
push eax
call ebx
test eax, eax
je 0x58c9d0
call eax
mov esi, eax
test esi, esi
je 0x58c9d0
mov eax, dword [0x639b74]
cmp eax, edi
je 0x58c9d0
push eax
call ebx
test eax, eax
je 0x58c9d0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x639b6c]
call ebx
test eax, eax
je 0x58c9eb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58c9ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005745f2
mov esp, ebp
pop ebp
ret
Function at 0x59c6d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2cc02dc9
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xcba4175
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x404530
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 0x404610
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404610
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40457a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404581
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404560
jmp 0x404583
mov esi, 0x1505
jmp 0x404583
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 0x404610
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4045b4
inc edi
dec ebx
je 0x40460e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40460e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4045b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4045b0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040cf00
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4045b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404610
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404620
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 0x404721
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404721
push ebx
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x40467a
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 0x404681
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404660
jmp 0x404683
mov esi, 0x1505
jmp 0x404683
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 0x404721
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4046b4
inc ebp
dec ebx
je 0x40471f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40471f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4046b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4046b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4046b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40471f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x404721
mov edi, dword [eax + 8]
jmp 0x404721
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404750
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 0x4047bb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4047bb
push esi
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x40479a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4047a1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404780
jmp 0x4047a3
mov ebp, 0x1505
jmp 0x4047a3
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 0x4047c7
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 0x4047e4
inc ebx
dec edi
je 0x4047bb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4047bb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4047e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x4047e0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040cf00
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4047e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4047bb
cmp dword [eax + 4], 3
jne 0x4047bb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4047bb

Function at 0x404880
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 0x404981
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404981
push ebx
call fcn.0040cee0
add esp, 4
test eax, eax
je 0x4048da
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 0x4048e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4048c0
jmp 0x4048e3
mov esi, 0x1505
jmp 0x4048e3
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 0x404981
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404914
inc ebp
dec ebx
je 0x40497f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40497f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404910
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cee0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404910
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cf00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404910
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40497f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404981
mov edi, dword [eax + 8]
jmp 0x404981
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret