joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ca0
Capabilities:
Set file attributes
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x461b04]
mov ecx, dword [0x461594]
shr eax, 3
sub esp, 0x408
test eax, eax
jbe 0x404d63
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x461b04], 0x959
jne 0x404d4d
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404ac0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4094d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459698]
jne 0x4094da
repz ret
jmp fcn.0040eafa

Function at 0x40e7b5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409fe3
and dword [ebp - 4], 0
cmp dword [0x45f584], 0
mov ebx, eax
jne 0x40e866
push 0x4026c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e917
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4026bc
push edi
call esi
test eax, eax
je 0x40e917
push eax
call fcn.00409f71
mov dword [esp], 0x4026ac
push edi
mov dword [0x45f584], eax
call esi
push eax
call fcn.00409f71
mov dword [esp], 0x402698
push edi
mov dword [0x45f588], eax
call esi
push eax
call fcn.00409f71
mov dword [esp], 0x40267c
push edi
mov dword [0x45f58c], eax
call esi
push eax
call fcn.00409f71
pop ecx
mov dword [0x45f594], eax
test eax, eax
je 0x40e866
push 0x402664
push edi
call esi
push eax
call fcn.00409f71
pop ecx
mov dword [0x45f590], eax
mov eax, dword [0x45f590]
cmp eax, ebx
je 0x40e8be
cmp dword [0x45f594], ebx
je 0x40e8be
push eax
call fcn.00409fec
push dword [0x45f594]
mov esi, eax
call fcn.00409fec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e8be
test edi, edi
je 0x40e8be
call esi
test eax, eax
je 0x40e8b5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e8b5
test byte [ebp - 0xc], 1
jne 0x40e8be
or dword [ebp + 0x10], 0x200000
jmp 0x40e8f7
mov eax, dword [0x45f588]
cmp eax, ebx
je 0x40e8f7
push eax
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e8f7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e8f7
mov eax, dword [0x45f58c]
cmp eax, ebx
je 0x40e8f7
push eax
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e8f7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f584]
call fcn.00409fec
pop ecx
test eax, eax
je 0x40e917
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e919
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x409ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409ed8
mov eax, 1
add ebx, ebx
jne 0x409efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409ef0
jne 0x409f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409ef0
xor ecx, ecx
sub eax, 3
jb 0x409f20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409f92
mov ebp, eax
add ebx, ebx
jne 0x409f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409f5c
inc ecx
add ebx, ebx
jne 0x409f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409f3d
jne 0x409f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409f3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409f7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409f6d
jmp 0x409ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409f7c
add edi, ecx
jmp 0x409ede
pop esi
mov edi, esi
mov ecx, 0x97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409f9a
cmp byte [edi], 1
jne 0x409f9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x409f9f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40a017
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa870]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa910]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409fcc
mov ecx, edi
jns 0x409ffb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa914]
or eax, eax
je 0x40a011
mov dword [ebx], eax
add ebx, 4
jmp 0x409fe9
call dword [esi + 0xa918]
popal
jmp 0x402890
Function at 0x7d8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007d81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7d807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d806a
add dl, dl
jne 0x7d8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d80dc
xor eax, eax
add dl, dl
jne 0x7d8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7d817d
add dl, dl
jne 0x7d80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7d80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7d8075
mov eax, 1
add dl, dl
jne 0x7d80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7d80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d80e1
sub eax, ebx
mov ebx, 1
jne 0x7d8128
mov ecx, 1
add dl, dl
jne 0x7d810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7d813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7d814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7d8136
cmp eax, 0x7d00
jae 0x7d816d
cmp eax, 0x500
jb 0x7d8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
cmp eax, 0x7f
ja 0x7d8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7d8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7d819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7d8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x401040
Capabilities:
Execute command

Disassembly:
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.NtQueryValueKey
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx ecx, byte [eax + 5]
push ecx
push dword [eax + 1]
movzx eax, byte [eax]
push eax
push str._x__x__x__x_n
call fcn.00401010
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0x14
xor eax, eax
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x60a07457
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x1b5e7b34
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x437097
Capabilities:
Parse pe header

Disassembly:
sub ebx, 0xdf55d7ec
sub ebx, 0x20aa2814
sub ebx, 0x6a016afe
push ebx
add dword [esp], 0x6a016afe
pop ebx
mov dword [esp - 4], ebx
push ebx
push edi
add esp, 4
add esp, 4
jmp 0x436dfc
mov edx, dword [esp]
add esp, 4
push edi
push esi
add esp, 4
mov dword [esp], edx
push 0x17
mov edx, dword [esp]
add esp, 4
sub dword [esp], edx
jmp 0x436e1a
mov edx, dword [esp]
add esp, 4
push eax
push esi
add esi, eax
pop esi
push edi
add esp, 4
pop eax
push ebx
push edi
add esp, 4
push edi
mov dword [esp], ebx
add esp, 4
push edi
mov dword [esp], edi
pop ebx
push 0x2250258
push esi
push esi
mov ebx, dword [esp + 8]
add esp, 0xc
push ebx
push esi
pop esi
sub dword [esp], 0x2250251
mov ebx, dword [esp]
add esp, 4
add ebx, 0x6f207944
push esp
sub ebx, 0x6f207944
mov dword [esp], ebx
push ebx
xor esi, dword [esp]
pop ebx
mov esi, esp
mov esi, dword [esi]
add esp, 4
jmp 0x436e77
mov ebx, dword [esp]
add esp, 4
mov dword [edx], esi
push ebx
push 0x6c28517a
pop ebx
add dword [esp], ebx
pop ebx
push esp
push ebx
sub dword [esp], 0x6c28517a
pop ebx
mov dword [esp], ebx
mov edx, dword [esp + 4]
add esp, 8
add esp, 4
mov esi, dword [esp - 4]
pushal
call 0x436eab
pop ebx
mov eax, 0x50031494
sub eax, 0x50031202
add eax, ebx
xor dword [eax], 0x78c9aed2
call 0x437097
jmp 0x436ffb
call fcn.00436ec8
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add ebx, 0x86abc981
add byte [ecx - 0x17], ah
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x4370b2
mov ebx, 0xbff00000
call fcn.004370f6
cmp eax, 0
je 0x43709f
cmp word [ebx], 0x5a4d
jne 0x43709f
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x43709f
test byte [eax + 0x17], 0x20
je 0x43709f
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x43709f
cmp dword [edx + 4], 0x32334c45
jne 0x43709f
mov eax, ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x401027
push edi
mov edi, dword [esp + 0xc]
movzx eax, byte [ecx + edi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, esi
jb 0x401015
pop edi
mov eax, edx
pop esi
ret

Function at 0x401110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46160a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4762d4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.0041f416
mov dword [esp + 0x20], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x20], 6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4011b9
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], str.bad_locale_name
call fcn.004087e0
push 0x4742ec
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], vtable.std::runtime_error.0
call fcn.00414711
push eax
push esi
call fcn.0041f1c0
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4

Function at 0x401390
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x461510
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4762d4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
mov dword [esp + 0x74], 0
push 0x4690d8
lea ecx, [esp + 0x3c]
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00401110
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x78], 1
call fcn.0041ee7a
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esi + 0x30], eax
call fcn.004011e0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
Function at 0x401450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4614d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x4762d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x40], 0
push eax
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.0041ee7a
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret 8

Function at 0x402a00
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x47c544]
mov eax, dword [esp + 8]
cmp eax, dword [ecx]
jne 0x402a29
cmp dword [esp + 0xc], ecx
jne 0x402a29
call fcn.00403950
mov eax, dword [0x47c544]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret 0xc
cmp eax, dword [esp + 0xc]
je 0x402b38
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movzx edx, byte [esi + 8]
movzx ecx, byte [esi + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [esi + 0xa]
imul edx, edx, 0x1000193
mov ebx, dword [0x47c558]
xor edx, ecx
movzx ecx, byte [esi + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul edx, edx, 0x1000193
mov edi, ebx
and edi, edx
cmp dword [0x47c55c], edi
ja 0x402a8d
shr ebx, 1
or ecx, 0xffffffff
sub ecx, ebx
add edi, ecx
mov ecx, dword [0x47c54c]
cmp dword [ecx + edi*8 + 4], esi
lea ecx, [ecx + edi*8]
jne 0x402ac0
cmp dword [ecx], esi
jne 0x402ab8
mov eax, dword [0x47c544]
mov dword [ecx], eax
mov ecx, dword [0x47c54c]
mov eax, dword [0x47c544]
mov dword [ecx + edi*8 + 4], eax
jmp 0x402ac8
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x402ac8
cmp dword [ecx], esi
jne 0x402acc
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp esi, dword [0x47c544]
je 0x402b2b
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x402b08
push eax
call fcn.0040abd8
add esp, 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea ecx, [esi + 0xc]
call fcn.00404210
push dword [esi + 0xc]
call fcn.0040abd8
push esi
call fcn.0040abd8
mov eax, dword [esp + 0x1c]
add esp, 8
dec dword [0x47c548]
cmp eax, dword [esp + 0x18]
jne 0x402a36
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, ecx
ret 0xc
Function at 0x402b50
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
mov edi, dword [0x47c558]
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov edx, edi
and edx, ecx
cmp dword [0x47c55c], edx
ja 0x402ba5
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add edx, eax
mov eax, dword [0x47c54c]
mov edi, dword [eax + edx*8]
lea ebx, [eax + edx*8]
mov edx, dword [0x47c544]
mov eax, edi
cmp edi, edx
jne 0x402bc0
mov ecx, edx
jmp 0x402bc5
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402bf5
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x402bd4
mov eax, dword [eax]
jmp 0x402bb8
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x402be7
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret 8

Function at 0x402c10
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
push esi
mov esi, dword [0x47c558]
mov edx, esi
and edx, ecx
push edi
cmp dword [0x47c55c], edx
ja 0x402c66
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add edx, eax
mov eax, dword [0x47c54c]
mov esi, dword [0x47c544]
mov edi, dword [eax + edx*8]
lea ebp, [eax + edx*8]
mov eax, edi
lea esp, [esp]
cmp edi, esi
jne 0x402c88
mov ecx, esi
jmp 0x402c8d
mov ecx, dword [ebp + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402cd0
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x402c9c
mov eax, dword [eax]
jmp 0x402c80
mov ebx, dword [ebx]
mov edx, eax
cmp edi, esi
jne 0x402ca8
mov ecx, esi
jmp 0x402cad
mov ecx, dword [ebp + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402cba
cmp ebx, dword [eax + 8]
jne 0x402cba
mov eax, dword [eax]
jmp 0x402ca0
cmp edx, eax
je 0x402cd0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4033a0
Capabilities:
Hash data using fnv

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
movzx edx, byte [ebx]
movzx eax, byte [ebx + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x4033f7
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov edi, dword [eax + ecx*8]
lea ebp, [eax + ecx*8]
mov ecx, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [ecx]
cmp edi, ecx
jne 0x403410
mov edx, ecx
jmp 0x403415
mov edx, dword [ebp + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x403459
mov edx, dword [eax + 8]
cmp edx, dword [ebx]
je 0x403424
mov eax, dword [eax]
jmp 0x403408
mov ebx, dword [ebx]
mov esi, eax
cmp edi, ecx
jne 0x403430
mov edx, ecx
jmp 0x403435
mov edx, dword [ebp + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x403442
cmp ebx, dword [eax + 8]
jne 0x403442
mov eax, dword [eax]
jmp 0x403428
cmp esi, eax
je 0x403459
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebx
pop ecx
ret 8

Function at 0x4039a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
push ebx
cmp dword [eax + 0x1c], 0x10
push ebp
mov ebp, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov ebx, ecx
jb 0x4039b7
mov esi, dword [esi]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test ebp, ebp
je 0x4039d4
movzx ecx, byte [esi + edx]
xor edi, ecx
inc edx
imul edi, edi, 0x1000193
cmp edx, ebp
jb 0x4039c3
mov esi, dword [ebx + 0x14]
mov edx, esi
and edx, edi
pop edi
cmp dword [ebx + 0x18], edx
ja 0x4039ea
shr esi, 1
or ecx, 0xffffffff
sub ecx, esi
add edx, ecx
mov ecx, dword [ebx + 8]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x403a11
cmp dword [ecx], eax
jne 0x403a09
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [ecx + edx*8 + 4], eax
jmp 0x403a19
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x403a19
cmp dword [ecx], eax
jne 0x403a1d
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push eax
push esi
mov ecx, ebx
call fcn.00404190
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x403a80
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
movzx edx, byte [edi + 8]
movzx eax, byte [edi + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
mov esi, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 0xb]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x403ad2
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x403afe
cmp dword [ecx], edi
jne 0x403af6
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [edx + ecx + 4], eax
jmp 0x403b06
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x403b06
cmp dword [ecx], edi
jne 0x403b0a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
cmp edi, dword [ebx]
je 0x403b29
mov eax, dword [edi + 4]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
call fcn.0040abd8
add esp, 4
dec dword [ebx + 4]
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
ret 8