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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
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 0x4e95ba
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4e95db
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4e95c7
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 0x4e960c
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 0x4e9769
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.0052227d
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 + 0x59d870]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59d870]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4e96f9
divss xmm0, xmm3
call fcn.0040ae00
call fcn.0053fdb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4e96dd
cmp eax, 0x200
jae 0x4e96db
shl eax, 3
cmp eax, ecx
jae 0x4e96dd
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004e9cf0
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 0x4e96fc
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 0x4e972f
mov dword [ecx + eax*8], edi
jmp 0x4e9741
cmp esi, edx
jne 0x4e9738
mov dword [ecx + eax*8], edi
jmp 0x4e9745
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4e9745
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.005205c5
int3
Function at 0x4e9b40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b74d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
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 0x4e9ce0
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 0x4e9c9c
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 0x4e9c21
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4e9c8f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4e9c58
mov eax, dword [eax]
cmp eax, ecx
je 0x4e9c50
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 0x4e9c8f
cmp ebx, eax
je 0x4e9c6c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4e9cbe
cmp ebx, eax
jne 0x4e9c60
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 0x4e9bd0
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 0x4e9c8f
push str.invalid_hash_bucket_count
call fcn.005205c5
int3
Function at 0x4ea2c0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54965d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5d6024]
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 0x4ea2fc
mov al, 1
jmp 0x4ea3b0
mov al, byte [ebp + 8]
mov byte [esi + 0x1d], al
lea eax, [esi + 0x20]
cmp eax, ecx
je 0x4ea31d
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x4ea314
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.004eaa10
mov dword [ebp - 4], 0
mov al, byte [esi + 0x1d]
test al, al
je 0x4ea36c
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 0x4ea399
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 0x4ea399
xor bl, bl
jmp 0x4ea39f
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.0052223b
mov esp, ebp
pop ebp
ret 8
Function at 0x4ea640
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 0x56b8d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x5d6024]
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 0x4ea6c2
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4ea6af
mov edx, 1
jmp 0x4ea6bf
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 0x4ea718
test al, al
jne 0x4ea718
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 0x4ea82a
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 0x4ea731
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 0x4ea75c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4ea80d
mov ecx, dword [ebp - 0x40]
mov eax, esi
add dword [ebp - 0x34], ecx
cmp dword [esi + 0x14], 8
jb 0x4ea76c
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 0x4ea77e
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 0x4ea786
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 0x4ea727
cmp dword [ebp - 0x48], 0
je 0x4ea80d
cmp dword [ebp - 0x34], 0
je 0x4ea80d
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 0x4ea82a
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.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4ea860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54054e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d6024]
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 0x4ea8c9
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 0x4ea8d9
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 0x4ea91f
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.004ea640
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 0x4ea950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54965d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d6024]
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.0052223b
mov esp, ebp
pop ebp
ret
Function at 0x4ec0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56be36
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
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 0x4ec0dc
mov ecx, dword [edi]
cmp ebx, 0x10
jne 0x4ec1d2
push ebx
mov edx, str.AiGlobalProgress
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec1cf
cmp dword [esi + 0xc], eax
jne 0x4ec1b9
push 0x198
call fcn.0052227d
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00508670
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc], edi
test ecx, ecx
je 0x4ec13e
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 0x4ec1ae
push 8
mov dword [edi + 0xf0], eax
mov dword [edi + 4], ebx
mov dword [edi + 0x148], 0x500
call fcn.0052227d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 1
mov dword [ebx], 0x508ca0
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 0x4ec1ae
push 8
push ebx
call fcn.0052224c
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 0x4ec1db
mov ecx, dword [edi]
cmp ebx, 0x10
jne 0x4ec219
push ebx
mov edx, str.AiInstallTextLog
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec216
mov ecx, esi
call fcn.004ec540
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 0x4ec220
mov edi, dword [edi]
cmp ebx, 0x10
jne 0x4ec25d
push ebx
mov edx, str.AiInstallDataLog
mov ecx, edi
call fcn.00407330
add esp, 4
test eax, eax
jne 0x4ec25d
mov ecx, esi
call fcn.004ec540
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 0x4effb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cbed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5d6024]
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 0x4f0003
mov ebx, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f0024
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f0010
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 0x4f003c
mov esi, dword [edi + 0x68]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x18]
jb 0x4f004b
mov ebx, dword [esi + 8]
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f0074
mov edi, eax
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4f0060
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 0x4f009c
cmp eax, esi
jne 0x4f0094
mov eax, dword [edi + 0x68]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f00a4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4f00a4
cmp eax, esi
jne 0x4f00a4
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.0052224c
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 0x4f00f8
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 0x4f0670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cdad
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5d6024]
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 0x4f0718
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 0x4f06d0
mov edi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f06f4
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f06e0
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 0x4f070c
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x68]
je 0x4f0716
mov esi, dword [eax + 0x20]
jmp 0x4f0718
xor esi, esi
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
push 0x583918
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.004dff30
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.0052223b
mov esp, ebp
pop ebp
ret 4
Function at 0x4f1270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cffd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5d6024]
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, ecx
push dword [ebx + 0x4c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x64], 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 - 0x5c], eax
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4f12cc
mov edi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f12eb
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f12d7
mov eax, dword [ebp - 0x5c]
push edx
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x64]
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f1303
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x68]
je 0x4f130d
mov esi, dword [eax + 0x20]
jmp 0x4f130f
xor esi, esi
mov ecx, ebx
call fcn.004effb0
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
push 0x583918
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 ecx, esp
mov dword [ebp - 0x64], esp
xor eax, eax
push eax
push 0x583918
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00407c60
mov byte [ebp - 4], 1
push 0x139d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004dff30
mov dword [ebp - 4], 2
lea edx, [ebp - 0x58]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x24], esi
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
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 - 0x10]
xor ecx, ebp
call fcn.0052223b
mov esp, ebp
pop ebp
ret