joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ede0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e18b
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x718924]
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 ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov edx, 7
xor eax, eax
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], edx
mov word [ebp - 0x46c], ax
mov dword [ebp - 4], eax
test esi, esi
jne 0x48ee77
mov ecx, dword [ebp - 0x468]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x46c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x464]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x460]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edx
jmp 0x48efff
push 0x400
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.004e30c0
push 0x67e248
push esi
call fcn.004f545d
mov esi, eax
add esp, 0x14
test esi, esi
je 0x48efc2
push esi
push 0x400
lea eax, [ebp - 0x454]
mov byte [ebp - 0x470], 0
push 1
push eax
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4d8], 0x67452301
mov dword [ebp - 0x4d4], 0xefcdab89
mov dword [ebp - 0x4d0], 0x98badcfe
mov dword [ebp - 0x4cc], 0x10325476
call fcn.004f6a2f
add esp, 0x10
test eax, eax
je 0x48ef2e
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.0048f860
push esi
push 0x400
lea eax, [ebp - 0x454]
push 1
push eax
call fcn.004f6a2f
add esp, 0x10
test eax, eax
jne 0x48ef00
push esi
call fcn.004f67c5
add esp, 4
lea ecx, [ebp - 0x4d8]
call fcn.0048ec50
push 0x42
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea ebx, [ebp - 0x54]
xor edi, edi
xor esi, esi
nop
mov eax, dword [ebp - 0x4dc]
movzx eax, byte [edi + eax]
push eax
push 0x683a80
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.0048f9b0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x48ef60
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ef97
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.0044e920
mov edi, dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x4e0]
mov eax, dword [ebp - 0x46c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x468]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x464]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x460]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x458]
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], eax
mov eax, ebx
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.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x48f020
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x48f05d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f054
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb4], 0x67452301
mov dword [ebp - 0xb0], 0xefcdab89
mov dword [ebp - 0xac], 0x98badcfe
mov dword [ebp - 0xa8], 0x10325476
call fcn.0048f860
lea ecx, [ebp - 0xb4]
call fcn.0048ec50
push 0x42
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea ebx, [ebp - 0x48]
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0xb8]
movzx eax, byte [edi + eax]
push eax
push 0x683a80
mov eax, 0x21
push 2
sub eax, esi
push eax
push ebx
call fcn.0048f9b0
add esi, 2
lea edi, [edi + 1]
add esp, 0x14
add ebx, 4
cmp esi, 0x20
jl 0x48f0d2
mov ebx, dword [ebp - 0xbc]
lea ecx, [ebp - 0x48]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f122
sub ecx, edx
lea eax, [ebp - 0x48]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0044e920
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb998
mov esp, ebp
pop ebp
ret
Function at 0x4909a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x718924]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7217b0]
inc eax
mov dword [0x7217b0], eax
cmp eax, 0x64
jl 0x490a01
push esi
lea esi, [ecx + 0x18]
mov dword [0x7217b0], 0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4909d8
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x490a00
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jbe 0x490a00
cmp dword [esi + 0x14], 8
jb 0x4909f9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb998
mov esp, ebp
pop ebp
ret 4

Function at 0x491050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e333
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x718924]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x67cb10
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0045d850
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x493600
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x49361d
push ebx
push ebx
push ebx
push 2
call fcn.004970b0
pop edi
xor al, al
pop ebx
ret 8
push esi
mov esi, dword [edi + 0x18]
test esi, esi
je 0x493634
mov ecx, esi
mov esi, dword [esi + 0x3c]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x493625
push ebp
push 2
push 0
push ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.004f82ba
push ebx
call fcn.004f88d6
push 0
push 0
push ebx
mov ebp, eax
call fcn.004f82ba
add esp, 0x1c
test ebp, ebp
jg 0x49368c
push 0
push 0
push 0
push 0xc
mov ecx, edi
call fcn.004970b0
pop ebp
pop esi
pop edi
xor al, al
pop ebx
ret 8
lea eax, [ebp + 1]
push eax
call fcn.004cba04
push ebx
mov esi, eax
push 1
push ebp
push esi
mov byte [esi], 0
call fcn.004f6a2f
add esp, 0x14
cmp eax, 1
je 0x4936cd
push esi
call fcn.004cb4e9
add esp, 4
mov ecx, edi
push 0
push 0
push 0
push 2
call fcn.004970b0
pop ebp
pop esi
pop edi
xor al, al
pop ebx
ret 8
mov byte [esi + ebp], 0
mov eax, esi
mov dl, byte [esi]
mov ecx, esi
test dl, dl
je 0x4936fe
nop dword [eax + eax]
inc eax
lea ebx, [ecx + 1]
cmp dl, 0xd
jne 0x4936f4
mov byte [ecx], 0xa
cmp byte [eax], 0xa
jne 0x4936f6
inc eax
jmp 0x4936f6
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, ebx
test dl, dl
jne 0x4936e0
push dword [esp + 0x18]
mov byte [ecx], 0
mov ecx, edi
mov eax, dword [edi]
push 0
push esi
call dword [eax + 8]
push esi
call fcn.004cb4e9
add esp, 4
cmp byte [edi + 0x40], 0
sete al
pop ebp
pop esi
pop edi
pop ebx
ret 8
Function at 0x499050
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x718924]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push esi
mov esi, dword [esp + 0x420]
test esi, esi
je 0x49908d
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49908d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x49916e
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x4990ac
cmp dx, 0x5c
jne 0x4990ae
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4990a0
cmp edi, ebx
je 0x4990fe
sub edi, ebx
lea eax, [esp + 0x214]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.004e25c0
add esp, 0xc
cmp edi, 0x208
jae 0x499185
xor eax, eax
mov word [esp + edi + 0x214], ax
lea eax, [esp + 0x214]
push eax
push esi
call fcn.00499050
add esp, 8
xor eax, eax
mov word [esp + 0xc], ax
test esi, esi
je 0x499120
lea ecx, [esp + 0xc]
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x499110
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x499122
lea edi, [esp + 0xc]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x499136
mov ecx, ebx
lea eax, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49916d
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [esp + 0x418]
pop esi
pop ebx
xor ecx, esp
call fcn.004cb998
add esp, 0x414
ret
call fcn.004cbc73
int3
Function at 0x499820
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], ebx
cmp dword [ebx], 0
jne 0x4999cd
cmp dword [ebx + 4], 0xffffffff
jne 0x4999cd
push edi
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x499853
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x499893
cmp eax, 0x2f
je 0x499893
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x499880
mov eax, dword [str.SMD]
mov dword [edi], eax
mov edi, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 1
jne 0x4998c3
push 1
push 0
push 0
push ebp
call esi
cmp eax, 0xffffffff
jne 0x4998da
pop esi
pop ebp
pop edi
mov eax, 0x2000000
pop ebx
pop ecx
ret 0xc
cmp edi, 2
je 0x4998da
cmp edi, 3
je 0x4998da
pop esi
pop ebp
pop edi
mov eax, 0x10000
pop ebx
pop ecx
ret 0xc
xor ebx, ebx
xor al, al
mov byte [esp + 0x18], al
mov byte [esp + 0x20], bl
cmp edi, 1
je 0x499922
cmp edi, 2
jne 0x49993c
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x49991b
pop esi
pop ebp
pop edi
mov eax, 0x200
pop ebx
pop ecx
ret 0xc
mov byte [esp + 0x20], 1
jmp 0x499929
mov ebx, ebp
mov byte [esp + 0x20], 0
push 1
push 0
push 0
push ebx
call esi
cmp eax, 0xffffffff
setne al
mov byte [esp + 0x18], al
push 0x20
call fcn.004cb4ab
add esp, 4
mov esi, eax
cmp edi, 1
je 0x499975
cmp edi, 2
je 0x499975
mov eax, dword [esp + 0x1c]
mov word [esi], 0x100
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x4999a8
mov al, byte [esp + 0x20]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x18]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x4999a8
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
push esi
call fcn.0049cc80
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, 0x200
mov dword [ecx], eax
xor ecx, ecx
pop esi
test eax, eax
pop ebp
cmove ecx, edx
pop edi
mov eax, ecx
pop ebx
pop ecx
ret 0xc
mov eax, 0x1000000
pop ebx
pop ecx
ret 0xc
Function at 0x49c870
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0
je 0x49c8b0
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49c8a4
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
div ebp
pop ebp
pop ebx
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
push esi
mov esi, dword [edi + 0x18]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x1c]
call fcn.004e25c0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop edi
pop ebp
pop ebx
ret

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

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x49c8fb
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not eax
cmp esi, 8
jb 0x49c9bc
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
sub edi, 1
jne 0x49c915
pop edi
test esi, esi
je 0x49c9da
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x685bd8]
sub esi, 1
jne 0x49c9c0
not eax
pop esi
ret
Function at 0x49cab0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x49cc70
cmp dword [edi + 0x18], 0
je 0x49cc70
cmp dword [edi + 0x7c], 0
je 0x49cad9
push edi
call fcn.0049c9e0
add esp, 4
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0049d120
add esp, 0x10
test eax, eax
je 0x49caff
mov eax, 0xffffff99
pop edi
add esp, 8
ret
push esi
push 0x84
call fcn.004e6971
mov esi, eax
add esp, 4
test esi, esi
je 0x49cb44
push 0x4000
call fcn.004e6971
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x49cb4f
push esi
call fcn.004e6956
add esp, 4
pop esi
mov eax, 0xffffff98
pop edi
add esp, 8
ret
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x49cbab
lea eax, [esi + 4]
mov dword [esi + 0x24], 0
push eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0049aae0
add esp, 4
test eax, eax
jne 0x49cbab
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov cl, byte [edi + 0x30]
mov dword [esi + 0x58], eax
and cl, 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x30]
shr eax, 3
mov byte [esi + 0x6c], cl
test al, 1
je 0x49cbcf
mov al, byte [edi + 0x39]
jmp 0x49cbd2
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov edx, 0xc
xor eax, eax
mov dword [esi + 0x70], 0x12345678
test cl, cl
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmovne eax, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x7c], eax
test edx, edx
je 0x49cc51
mov al, byte [edx]
test al, al
je 0x49cc51
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x685bd8]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x685bd8]
mov dword [esi + 0x78], ecx
add edx, 1
jne 0x49cc04
mov eax, dword [esp + 0xc]
add eax, 0x1e
mov dword [edi + 0x7c], esi
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
pop edi
add esp, 8
ret
mov eax, 0xffffff9a
pop edi
add esp, 8
ret
Function at 0x4a17b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x4a190e
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 8], 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.004a16b0
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 0x4a18e0
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]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x4a1863
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4a18cf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4a189a
mov eax, dword [eax]
cmp eax, ecx
je 0x4a1892
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4a18cf
cmp ebx, eax
je 0x4a18ac
mov edi, edi
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4a18e9
cmp ebx, eax
jne 0x4a18a0
mov ebx, dword [ecx + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x4a1812
lea esp, [esp]
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, 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 - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4a18cf
push str.invalid_hash_bucket_count
call fcn.004c8ab4
int3
Function at 0x4a1920
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0049ebf0
mov ecx, eax
call fcn.004a1fa0
push ebx
test eax, eax
je 0x4a194f
call fcn.0049ebf0
mov ecx, eax
call fcn.004a20c0
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0049ea30
mov ecx, eax
call fcn.004a1fa0
test eax, eax
je 0x4a1973
push ebx
call fcn.0049ea30
mov ecx, eax
call fcn.004a20c0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x72249c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x721894]
cmp eax, dword [ecx + 4]
jg 0x4a1a00
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x721874
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0049e150
mov eax, dword [eax + 4]
test eax, eax
je 0x4a19f7
cmp eax, dword [0x721878]
je 0x4a19f7
mov eax, dword [eax + 0xc]
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x721894
call fcn.004cb872
add esp, 4
cmp dword [0x721894], 0xffffffff
jne 0x4a198f
mov ecx, 0x721874
call fcn.0049e3c0
push 0x672f00
call fcn.004cb72a
push 0x721894
call fcn.004cb828
add esp, 8
jmp 0x4a198f

Function at 0x4a1bb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0xaaaaaaab
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea ecx, [ecx*4 + 2]
mul ecx
mov ebx, dword [edi + 4]
mov ecx, ebx
mov esi, edx
mov byte [ebp - 1], 0
mov edx, dword [edi]
sub ecx, edx
shr esi, 1
cmp esi, ecx
jae 0x4a1be5
lea eax, [edx + esi]
jmp 0x4a1c0f
jbe 0x4a1c12
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x4a1bfe
lea eax, [ebp - 1]
mov ecx, edi
push eax
push esi
call fcn.004766e0
jmp 0x4a1c12
sub esi, ecx
push esi
push 0
push ebx
call fcn.004e30c0
add esp, 0xc
lea eax, [esi + ebx]
mov dword [edi + 4], eax
mov edx, dword [edi]
mov esi, 8
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], ecx
mov bl, byte [edi]
cmp edi, ecx
jae 0x4a1ca9
lea ecx, [ecx]
mov al, bl
cmp esi, 6
jbe 0x4a1c41
and al, 0x3f
shr bl, 6
sub esi, 6
jmp 0x4a1c75
inc edi
cmp edi, ecx
jae 0x4a1c4a
mov bl, byte [edi]
jmp 0x4a1c4c
xor bl, bl
mov ecx, 6
sub ecx, esi
mov dword [ebp + 8], ecx
je 0x4a1c6f
mov dl, byte [ecx*4 + 0x6863f4]
mov ecx, esi
and dl, bl
shl dl, cl
mov cl, byte [ebp + 8]
or al, dl
mov edx, dword [ebp + 0x10]
shr bl, cl
mov ecx, dword [ebp + 0xc]
add esi, 2
cmp al, 0xa
jae 0x4a1c7d
add al, 0x30
jmp 0x4a1c9f
cmp al, 0x24
jae 0x4a1c85
add al, 0x37
jmp 0x4a1c9f
cmp al, 0x3e
jae 0x4a1c8d
add al, 0x3d
jmp 0x4a1c9f
mov eax, 0x2d
mov ecx, 0x5f
cmove ecx, eax
mov al, cl
mov ecx, dword [ebp + 0xc]
mov byte [edx], al
inc edx
mov dword [ebp + 0x10], edx
cmp edi, ecx
jb 0x4a1c30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret