joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x4e9bfa
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4e9c1b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4e9c07
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040ad70
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4e9c4c
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x4e9da9
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x14], 0
call fcn.005255fd
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00406c50
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 2
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5a3940]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5a3940]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4e9d39
divss xmm0, xmm3
call fcn.0040ae00
call fcn.005452c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4e9d1d
cmp eax, 0x200
jae 0x4e9d1b
shl eax, 3
cmp eax, ecx
jae 0x4e9d1d
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004ea330
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040ad70
mov edx, dword [eax]
jmp 0x4e9d3c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4e9d6f
mov dword [ecx + eax*8], edi
jmp 0x4e9d81
cmp esi, edx
jne 0x4e9d78
mov dword [ecx + eax*8], edi
jmp 0x4e9d85
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4e9d85
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00523945
int3
Function at 0x4ea180
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570d3d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4ea320
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004162c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4ea2dc
nop dword [eax + eax]
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 0x4ea261
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4ea2cf
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4ea298
mov eax, dword [eax]
cmp eax, ecx
je 0x4ea290
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4ea2cf
cmp ebx, eax
je 0x4ea2ac
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4ea2fe
cmp ebx, eax
jne 0x4ea2a0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], 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 - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x4ea210
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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], 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 + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x4ea2cf
push str.invalid_hash_bucket_count
call fcn.00523945
int3
Function at 0x4ea900
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54eb5d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x1c], 0
mov ecx, dword [ebp + 0xc]
je 0x4ea93c
mov al, 1
jmp 0x4ea9f0
mov al, byte [ebp + 8]
mov byte [esi + 0x1d], al
lea eax, [esi + 0x20]
cmp eax, ecx
je 0x4ea95d
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x4ea954
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, eax
call fcn.00407c60
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004eb050
mov dword [ebp - 4], 0
mov al, byte [esi + 0x1d]
test al, al
je 0x4ea9ac
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x1388
push 0x400
push 0x400
push 0xff
push 6
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x38], eax
mov al, byte [esi + 0x1d]
test al, al
jne 0x4ea9d9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x38], eax
cmp eax, 0xffffffff
jne 0x4ea9d9
xor bl, bl
jmp 0x4ea9df
mov byte [esi + 0x1c], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407f30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
ret 8
Function at 0x4eac80
Capabilities:
Connect pipe
Read file on windows
Read pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570ec6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [ebx + 0x10]
xor edx, edx
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x38], 0
test al, al
jne 0x4ead02
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4eacef
mov edx, 1
jmp 0x4eacff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0x217
sete dl
mov al, byte [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
test edx, edx
jne 0x4ead58
test al, al
jne 0x4ead58
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], al
jmp 0x4eae6a
xor eax, eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x34], eax
add esi, 0x3c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ead71
mov eax, dword [esi]
push 0
lea edx, [ebp - 0x40]
push edx
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x4ead9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4eae4d
mov ecx, dword [ebp - 0x40]
mov eax, esi
add dword [ebp - 0x34], ecx
cmp dword [esi + 0x14], 8
jb 0x4eadac
mov eax, dword [esi]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x4eadbe
mov edx, dword [esi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x44], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4eadc6
sub ecx, dword [ebp - 0x44]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00408620
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x30]
ja 0x4ead67
cmp dword [ebp - 0x48], 0
je 0x4eae4d
cmp dword [ebp - 0x34], 0
je 0x4eae4d
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x2c], ax
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], al
jmp 0x4eae6a
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4eaea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545a5e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
mov esi, dword [ebp + 0xc]
cmp esi, 0xffffffff
jne 0x4eaf09
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
add ecx, ecx
cmp dword [eax + 0x14], 8
jb 0x4eaf19
mov eax, dword [eax]
push 0
lea edx, [ebp + 0xc]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4eaf5f
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 1
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.004eac80
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4eaf90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54eb5d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 5
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.CLOSE
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407c60
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
ret
Function at 0x4ec6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571426
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
add edi, 4
mov ecx, edi
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
cmp eax, 8
jb 0x4ec71c
mov ecx, dword [edi]
cmp ebx, 0x10
jne 0x4ec812
push ebx
mov edx, str.AiGlobalProgress
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec80f
cmp dword [esi + 0xc], eax
jne 0x4ec7f9
push 0x198
call fcn.005255fd
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00508cb0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
test ecx, ecx
je 0x4ec77e
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp dword [edi + 0xf0], 0
jne 0x4ec7ee
push 8
mov dword [edi + 0xf0], eax
mov dword [edi + 4], ebx
mov dword [edi + 0x148], 0x500
call fcn.005255fd
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 1
mov dword [ebx], 0x5092e0
mov dword [ebx + 4], edi
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push ebx
push 0x42ef90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4ec7ee
push 8
push ebx
call fcn.005255cc
add esp, 8
mov ecx, dword [esi + 0xc]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x14]
mov ecx, edi
cmp eax, 8
jb 0x4ec81b
mov ecx, dword [edi]
cmp ebx, 0x10
jne 0x4ec859
push ebx
mov edx, str.AiInstallTextLog
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec856
mov ecx, esi
call fcn.004ecb80
mov eax, dword [esi + 0x10]
mov byte [eax + 0xd], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x4ec860
mov edi, dword [edi]
cmp ebx, 0x10
jne 0x4ec89d
push ebx
mov edx, str.AiInstallDataLog
mov ecx, edi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec89d
mov ecx, esi
call fcn.004ecb80
mov eax, dword [esi + 0x10]
mov byte [eax + 0xc], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f05f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5721dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x60]
add eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x14], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + ecx*4]
mov ebx, eax
mov dword [ebp - 0x14], eax
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4f0643
mov ebx, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f0664
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f0650
mov eax, dword [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x64]
call fcn.0040ad70
mov esi, dword [eax + 4]
test esi, esi
jne 0x4f067c
mov esi, dword [edi + 0x68]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x18]
jb 0x4f068b
mov ebx, dword [esi + 8]
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f06b4
mov edi, eax
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4f06a0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x70]
and ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4f06dc
cmp eax, esi
jne 0x4f06d4
mov eax, dword [edi + 0x68]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f06e4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4f06e4
cmp eax, esi
jne 0x4f06e4
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi]
lea ecx, [esi + 8]
dec dword [edi + 0x6c]
mov eax, dword [esi + 4]
mov dword [eax], edx
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00407f30
push 0x24
push esi
call fcn.005255cc
mov eax, dword [edi + 0x5c]
add esp, 8
mov ecx, dword [edi + 0x60]
dec eax
add ecx, eax
mov eax, dword [edi + 0x58]
dec eax
and ecx, eax
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + ecx*4]
call fcn.00407f30
add dword [edi + 0x60], 0xffffffff
jne 0x4f0738
mov dword [edi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f0cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57239d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0x60], esi
je 0x4f0d58
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x68], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + ecx*4]
mov edi, eax
mov dword [ebp - 0x60], eax
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4f0d10
mov edi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f0d34
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f0d20
mov eax, dword [ebp - 0x60]
push edx
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebx + 0x64]
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f0d4c
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x68]
je 0x4f0d56
mov esi, dword [eax + 0x20]
jmp 0x4f0d58
xor esi, esi
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
push 0x589988
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov dword [ebp - 4], 0
sub esp, 0x18
mov eax, dword [ebp - 0x64]
mov ecx, esp
add eax, 4
mov dword [ebp - 0x68], esp
push eax
call fcn.00406c50
mov byte [ebp - 4], 1
push 0x1389
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004e0590
mov dword [ebp - 4], 2
lea edx, [ebp - 0x5c]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x28], esi
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
ret 4
Function at 0x4f0e10
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572456
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x5dd024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xor edi, edi
push 1
sub esp, 0x18
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x68], esp
mov esi, esp
sub esp, 0x18
add eax, 4
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov dword [ebp - 0x64], eax
push eax
call fcn.00406c50
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00486fe0
add esp, 0x18
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00487410
mov dword [ebp - 4], 3
cmp dword [ebp - 0x34], edi
je 0x4f0f5a
nop
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00486d00
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x4f0ec8
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00407f30
test esi, esi
jne 0x4f0fa0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
or edi, 1
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0x60], edi
call fcn.00485dd0
lea ecx, [ebp - 0x44]
call fcn.00407f30
movups xmm0, xmmword [ebp - 0x2c]
xor eax, eax
and edi, 0xfffffffe
mov word [ebp - 0x2c], ax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00407f30
cmp dword [ebp - 0x34], esi
jne 0x4f0eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x14], 8
jb 0x4f0f74
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005255bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov al, 1
jmp 0x4f0f80