joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003c68
Capabilities:
Create directory

Disassembly:
mov eax, 0x1008806
call fcn.01008168
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x18], edi
call fcn.01007687
lea ecx, [ebp - 0x14]
mov esi, eax
call sub.MFC42u.dll_CString::CString_3
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.0100776c
cmp esi, edi
mov eax, 0x10018e4
jne 0x1003caf
mov eax, 0x10018d4
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::CString_2
cmp esi, edi
mov byte [ebp - 4], 1
je 0x1003cc5
lea eax, [ebp - 0x14]
jmp 0x1003ce4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::Right
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 1
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.dll_CString::operator_1
test byte [ebp - 0x18], 1
mov dword [ebp - 4], 1
je 0x1003d02
lea ecx, [ebp + 0xc]
call sub.MFC42u.dll_CString::CString
push edi
push dword [ebp - 0x10]
push edi
call fcn.0100374a
neg esi
sbb esi, esi
and esi, 0x16
add esi, 0x24
push esi
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll_wcschr]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.msvcrt.dll_wcsrchr]
add eax, 4
push 0x5c
push eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x18], eax
call ebx
add esp, 0x10
jmp 0x1003d68
and word [esi], 0
push 1
push dword [ebp + 8]
push 0
call fcn.0100374a
test eax, eax
jl 0x1003d70
je 0x1003d75
test edi, edi
je 0x1003d5c
mov word [edi - 2], 0x5c
push 0x5c
push dword [ebp - 0x18]
lea edi, [esi + 2]
call ebx
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x1003d3c
jmp 0x1003d7a
xor esi, esi
inc esi
jmp 0x1003dda
mov word [esi], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
jmp 0x1003daf
xor ebx, ebx
cmp edi, ebx
je 0x1003dd8
cmp word [edi], bx
je 0x1003dd8
push 0x5c
push edi
mov word [edi - 2], 0x5c
call dword [sym.imp.msvcrt.dll_wcschr]
cmp eax, ebx
pop ecx
pop ecx
je 0x1003dac
mov word [eax], bx
lea edi, [eax + 2]
jmp 0x1003dae
xor edi, edi
push ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x1003d84
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1003dc8
call esi
jmp 0x1003dd4
call esi
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x1003dda
xor esi, esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1007410
Capabilities:
Enumerate network shares

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0xffffffffffffffff
xor eax, eax
lea ecx, [ebp - 0x10]
inc eax
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
call sub.NETAPI32.dll_NetShareEnum
cmp eax, esi
jne 0x10074b6
cmp dword [ebp - 0xc], esi
push edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], esi
jbe 0x10074ab
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_towupper]
test byte [edi + 7], 0x80
je 0x1007496
push dword [edi]
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 2
pop ecx
jne 0x1007496
mov esi, dword [edi]
cmp word [esi + 2], 0x24
jne 0x1007496
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
push eax
call ebx
xor ecx, ecx
mov cx, word [esi]
mov word [ebp + 0xa], ax
push ecx
call ebx
pop ecx
pop ecx
mov cx, word [ebp + 0xa]
cmp ax, cx
je 0x10074a6
add edi, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x1007459
jmp 0x10074aa
and dword [ebp - 4], 0
pop ebx
push dword [ebp - 0x10]
call sub.NETAPI32.dll_NetApiBufferFree
pop edi
jmp 0x10074c5
jle 0x10074c2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x1007687
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x100b27c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
mov dword [ebp - 4], eax
je 0x1007756
cmp word [edi], si
je 0x1007756
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 2
pop ecx
jbe 0x10076cf
cmp word [edi], 0x5c
jne 0x10076cf
cmp word [edi + 2], 0x5c
jne 0x10076cf
add edi, 4
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
mov dword [ebp - 0x208], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x10076fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1007752
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push edi
lea eax, [ebp - 0x204]
push eax
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
jne 0x1007751
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
mov dword [ebp - 0x208], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x100774b
push edi
lea eax, [ebp - 0x204]
push eax
call ebx
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x1007751
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
mov eax, esi
jmp 0x1007759
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01007865
leave
ret 4

Function at 0x1007865
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b27c]
jne 0x1007876
test ecx, 0xffff0000
jne 0x1007876
ret
jmp fcn.01007880
Function at 0x1007f05
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10021e0
call fcn.01008340
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [0x1000000], 0x5a4d
jne 0x1007f4d
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1007f4d
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1007f66
cmp ecx, 0x20b
je 0x1007f53
and dword [ebp - 0x1c], 0
jmp 0x1007f7a
cmp dword [eax + 0x84], 0xe
jbe 0x1007f4d
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1007f74
cmp dword [eax + 0x74], 0xe
jbe 0x1007f4d
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 2
pop esi
push esi
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or edi, 0xffffffff
mov dword [0x100b70c], edi
mov dword [0x100b710], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100b6f0]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100b6ec]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100b708], eax
call fcn.01008336
cmp dword [0x100b280], 0
jne 0x1007fda
push fcn.01008336
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100831f
push 0x100141c
push 0x1001418
call sub.msvcrt.dll__initterm
mov eax, dword [0x100b6e8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100b6e4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x38], eax
push 0x1001414
push 0x1001404
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov eax, dword [eax]
test eax, eax
jne 0x100803f
mov dword [ebp - 4], edi
mov eax, 0xff
jmp 0x10080ee
mov dword [ebp - 0x20], eax
cmp word [eax], 0x22
jne 0x1008080
add eax, esi
mov dword [ebp - 0x20], eax
mov cx, word [eax]
test cx, cx
je 0x100805b
cmp cx, 0x22
jne 0x1008048
cmp word [eax], 0x22
jne 0x1008066
add eax, esi
mov dword [ebp - 0x20], eax
mov cx, word [eax]
test cx, cx
je 0x1008074
cmp cx, 0x20
jbe 0x1008061
test byte [ebp - 0x54], 1
je 0x100808d
movzx ecx, word [ebp - 0x50]
jmp 0x1008090
cmp word [eax], 0x20
jbe 0x1008066
add eax, esi
mov dword [ebp - 0x20], eax
jmp 0x1008080
push 0xa
pop ecx
push ecx
push eax
push 0
push 0x1000000
call fcn.01008553
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], 0
jne 0x10080b0
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x10080ec
mov eax, esi
call fcn.0100837b
ret
Function at 0x1008439
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1002278
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1008491
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x10022b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1008484
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1008493
xor eax, eax
pop esi
leave
ret 4
Function at 0x4013f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42901f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x434014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], 0xffffffff
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x6c], 0xffffffff
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x7c], 0xffffffff
mov dword [edi + 0x80], 0xffffffff
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0xffffffff
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 1
mov byte [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
lea esi, [edi + 0x138]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [esi + 8], 0
call fcn.0041015d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0xe
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.004075a0
mov dword [edi + 0x158], 0
mov eax, edi
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0xffffffff
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408bb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x408d13
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004075a0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x408ce6
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp + 8], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x408c66
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x408cd9
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x408ca0
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x408c98
mov ebx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x408cd9
mov edi, eax
cmp dword [ebp + 8], eax
je 0x408cb6
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x408cef
cmp dword [ebp + 8], eax
jne 0x408ca7
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x408c12
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x408cd9
push str.invalid_hash_bucket_count
call fcn.0040f106
int3
Function at 0x40d670
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x40d7c6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.0041018d
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x40d729
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x40d6e7
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x40d7bc
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x40d73d
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x40d740
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x40d7bc
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x18
push eax
call fcn.0041018d
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x40d7cd
cmp esi, eax
jne 0x40d797
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x40d750
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40dcc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4293bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x434014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
push 0x1c
call fcn.0041015d
mov ecx, dword [ebp + 0x18]
mov edi, eax
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x10], 0
mov ecx, dword [ecx]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edx + 4], 0
mov dword [edx], 0
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
lea ecx, [ebp - 0x10]
mov dword [edi + 0x10], esi
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x18], eax
call fcn.0040ec90
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040ec90
lea esi, [ebx + 4]
push esi
push 0
push edi
push 0x40ed00
push 0
push 0
call fcn.004194fd
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x40dda2
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.0040ec90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [esi], 0
call fcn.0040f7a6
int3
Function at 0x40e620
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x40e783
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004075a0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x40e756
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp + 8], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x40e6d6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x40e749
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x40e710
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x40e708
mov ebx, dword [ecx + 4]
mov esi, dword [ebp + 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x40e749
mov edi, eax
cmp dword [ebp + 8], eax
je 0x40e726
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x40e75f
cmp dword [ebp + 8], eax
jne 0x40e717
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x40e682
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 4]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x40e749
push str.invalid_hash_bucket_count
call fcn.0040f106
int3
Function at 0x40ed90
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
mov dword [ebp + 8], 1
cmp dword [ebp + 0xc], ebx
je 0x40ef5f
cmp edx, 1
jl 0x40ef74
movzx edi, byte [eax]
or ecx, 0x20
mov eax, dword [esi + 0x10]
inc eax
and eax, 0x2f
mov dword [esi + 0x10], eax
test edi, edi
je 0x40ef4a
cmp eax, ecx
jne 0x40ef4a
mov ebx, 1
mov dword [ebp + 8], 0
test edi, edi
jle 0x40ee2c
lea eax, [edi + ebx]
cmp eax, edx
jg 0x40ee2c
mov ecx, dword [ebp - 4]
mov eax, 0x400
sub eax, dword [esi + 0x14]
cmp eax, edi
cmovl edi, eax
add ecx, ebx
mov eax, edi
sub eax, ecx
add eax, ebx
add eax, dword [ebp - 4]
push eax
lea eax, [esi + 0x18]
add eax, dword [esi + 0x14]
push ecx
push eax
call fcn.004114d0
add esp, 0xc
add dword [esi + 0x14], edi
mov ecx, dword [esi + 0x14]
cmp ecx, 3
jl 0x40ef40
movzx edi, byte [esi + 0x19]
movzx eax, byte [esi + 0x1a]
and edi, 3
shl edi, 8
or edi, eax
mov dword [ebp - 0xc], edi
lea eax, [edi + 3]
mov dword [ebp + 0xc], eax
cmp ecx, eax
jl 0x40ef40
or ebx, 0xffffffff
test eax, eax
je 0x40ef40
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x18]
mov dword [ebp - 4], eax
xor esi, esi
nop
movzx ecx, byte [eax + esi]
mov eax, ebx
shl ecx, 0x18
and eax, 0xff000000
xor ecx, eax
shl ebx, 8
mov edx, ecx
inc esi
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov eax, dword [ebp - 4]
xor ebx, ecx
cmp esi, edi
jl 0x40ee70
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
test ebx, ebx
jne 0x40ef40
cmp edi, 3
jb 0x40ef40
movzx edx, byte [esi + 0x1d]
movzx eax, byte [esi + 0x18]
mov ecx, edx
and ecx, 0x3e
mov dword [esi], eax
or ecx, 0x40
mov dword [esi + 4], edi
shr ecx, 1
and edx, 1
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
lea ebx, [edi + 1]
mov edi, edx
mov dword [esi + 0x10], ecx
sub edi, ebx
jmp 0x40edf2
mov eax, dword [esi + 0x10]
or ecx, 0x20
inc eax
and eax, 0x2f
mov dword [esi + 0x10], eax
cmp eax, ecx
je 0x40edf2
pop edi
mov dword [esi + 8], ebx
mov eax, 1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret