joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dfad0
Capabilities:
Create thread

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 0x56a009
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push dword [ebx + 8]
call fcn.004e0010
mov esi, eax
push 0
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4dfb34
xor al, al
jmp 0x4dfc6a
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x40
call fcn.00521dee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
mov esi, dword [ebp - 0x18]
push dword [ebx + 0xc]
mov edi, dword [edi + 8]
mov esi, dword [esi + 4]
call fcn.00406c50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
push dword [ebx + 8]
call fcn.00406c50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov esi, eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [esi + 0x18], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [esi + 0x30], xmm0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x38], eax
mov al, byte [ebx + 0x10]
mov byte [esi + 0x3c], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00407f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 6
push 8
mov dword [ebp - 0x1c], 0
call fcn.00521dee
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 7
mov dword [edi], 0x4dfc80
mov dword [edi + 4], esi
mov byte [ebp - 4], 6
push 0
push 0
push edi
push 0x42eb60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4dfc61
push 8
push edi
call fcn.00521dbd
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4e37f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56aef4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
push edi
call fcn.00406c50
mov dword [ebp - 4], 0
lea eax, [edi + 0x18]
lea ecx, [ebx + 0x18]
push eax
call fcn.00406c50
mov byte [ebp - 4], 1
lea eax, [edi + 0x30]
lea ecx, [ebx + 0x30]
push eax
call fcn.00406c50
mov byte [ebp - 4], 2
lea esi, [ebx + 0x48]
mov dword [ebp + 8], esi
lea ecx, [esi + 4]
mov eax, dword [edi + 0x48]
mov dword [esi], eax
lea eax, [edi + 0x4c]
push eax
call fcn.00406c50
mov byte [ebp - 4], 3
lea eax, [edi + 0x64]
lea ecx, [esi + 0x1c]
push eax
call fcn.00406c50
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x88]
mov dword [esi + 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x4e4450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c60d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406c50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 1
push 0x5856ec
call fcn.00408620
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4e44c3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408620
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
lea edi, [eax + eax]
xor eax, eax
test edi, edi
je 0x4e4501
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x4e44f0
push edx
lea eax, [ebp - 0x28]
mov ecx, 0x5de6a8
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040ad60
mov edx, dword [0x5de6ac]
mov ecx, edx
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
lea esi, [ecx + 0x20]
cmp ecx, edx
lea ecx, [ebp - 0x28]
cmove esi, eax
call fcn.00407f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00521dac
mov esp, ebp
pop ebp
ret
Function at 0x4e5610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b52d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
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 0x4e564a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4e566b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4e5657
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0040ad60
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4e569c
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], 0x7ffffff
je 0x4e57e7
lea eax, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x10], 0
call fcn.00521dee
add esp, 4
mov edi, eax
mov dword [ebp - 0x10], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00406c50
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movss xmm3, dword [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x59f5a0]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59f5a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4e5777
divss xmm0, xmm3
call fcn.0040adf0
call fcn.005403d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4e575b
cmp eax, 0x200
jae 0x4e5759
shl eax, 3
cmp eax, ecx
jae 0x4e575b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004e5e70
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040ad60
mov edx, dword [eax]
jmp 0x4e577a
mov edx, dword [ebp - 0x1c]
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 - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4e57ad
mov dword [ecx + eax*8], edi
jmp 0x4e57bf
cmp esi, edx
jne 0x4e57b6
mov dword [ecx + eax*8], edi
jmp 0x4e57c3
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4e57c3
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.0051ff55
int3
Function at 0x4e5920
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b631
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
push edi
call fcn.00406c50
mov dword [ebp - 4], 0
lea eax, [edi + 0x18]
lea ecx, [ebx + 0x18]
push eax
call fcn.00406c50
mov byte [ebp - 4], 1
lea esi, [ebx + 0x30]
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x30]
mov dword [esi], eax
push 0x20
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00521dee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x48]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x3c]
push dword [esi + 4]
sar eax, 2
push eax
call fcn.004160e0
mov eax, dword [edi + 0x34]
mov ecx, esi
push eax
push dword [eax]
call fcn.004e6410
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x4e6450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b7d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5d8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], edx
mov dword [ecx + 0x28], edx
mov dword [ecx + 0x2c], edx
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x28], xmm0
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], dx
mov byte [ebp - 4], 1
lea edi, [ecx + 0x30]
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0x30]
mov dword [edi], eax
push 0x20
mov dword [edi + 4], edx
mov dword [edi + 8], edx
call fcn.00521dee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov byte [ebp - 4], 2
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0xc]
push dword [edi + 4]
push 0x10
call fcn.004160e0
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [edx + 0x34]
mov dword [edi + 4], eax
mov eax, dword [edx + 0x38]
mov dword [edx + 0x34], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0x3c]
mov dword [edx + 0x38], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x40]
mov dword [edx + 0x3c], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x44]
mov dword [edx + 0x40], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x48]
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], 7
mov dword [edi + 0x18], eax
mov eax, dword [edx + 0x4c]
mov dword [edx + 0x4c], 8
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4e8ee0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54cd35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
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 0x4e8f1a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x4e8f3b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4e8f27
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0040ad60
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4e8f6c
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 0x4e90c9
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.00521dee
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 + 0x59f5a0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x59f5a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4e9059
divss xmm0, xmm3
call fcn.0040adf0
call fcn.005403d0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4e903d
cmp eax, 0x200
jae 0x4e903b
shl eax, 3
cmp eax, ecx
jae 0x4e903d
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004e9650
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040ad60
mov edx, dword [eax]
jmp 0x4e905c
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 0x4e908f
mov dword [ecx + eax*8], edi
jmp 0x4e90a1
cmp esi, edx
jne 0x4e9098
mov dword [ecx + eax*8], edi
jmp 0x4e90a5
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4e90a5
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.0051ff55
int3
Function at 0x4e94a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56befd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5d8024]
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 0x4e9640
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.004160e0
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 0x4e95fc
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 0x4e9581
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4e95ef
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x4e95b8
mov eax, dword [eax]
cmp eax, ecx
je 0x4e95b0
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 0x4e95ef
cmp ebx, eax
je 0x4e95cc
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4e961e
cmp ebx, eax
jne 0x4e95c0
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 0x4e9530
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 0x4e95ef
push str.invalid_hash_bucket_count
call fcn.0051ff55
int3
Function at 0x4e9c20
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5d8024]
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 0x4e9c5c
mov al, 1
jmp 0x4e9d10
mov al, byte [ebp + 8]
mov byte [esi + 0x1d], al
lea eax, [esi + 0x20]
cmp eax, ecx
je 0x4e9c7d
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x4e9c74
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.004ea370
mov dword [ebp - 4], 0
mov al, byte [esi + 0x1d]
test al, al
je 0x4e9ccc
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 0x4e9cf9
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 0x4e9cf9
xor bl, bl
jmp 0x4e9cff
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.00521dac
mov esp, ebp
pop ebp
ret 8
Function at 0x4e9fa0
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 0x56c086
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x5d8024]
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 0x4ea022
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x4ea00f
mov edx, 1
jmp 0x4ea01f
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 0x4ea078
test al, al
jne 0x4ea078
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 0x4ea18a
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 0x4ea091
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 0x4ea0bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4ea16d
mov ecx, dword [ebp - 0x40]
mov eax, esi
add dword [ebp - 0x34], ecx
cmp dword [esi + 0x14], 8
jb 0x4ea0cc
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 0x4ea0de
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 0x4ea0e6
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 0x4ea087
cmp dword [ebp - 0x48], 0
je 0x4ea16d
cmp dword [ebp - 0x34], 0
je 0x4ea16d
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 0x4ea18a
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.00521dac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc