joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e41e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522f55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a960
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e4242
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x18]
jmp 0x4e4330
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e4317
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4e4317
lea eax, [ebp - 0x14]
push eax
call fcn.004e40e0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.004084c0
movzx ecx, al
test ecx, ecx
je 0x4e42a5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x1c]
jmp 0x4e4330
lea ecx, [ebp - 0x14]
call fcn.00423af0
push eax
call fcn.004e41e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e42da
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x20]
jmp 0x4e4330
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e4317
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4e4317
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x24]
jmp 0x4e4330
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e4950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], 0
mov eax, dword [0x56068c]
and eax, 1
jne 0x4e4993
mov ecx, dword [0x56068c]
or ecx, 1
mov dword [0x56068c], ecx
mov ecx, 0x560688
call fcn.0040c630
push 0x5289c0
call fcn.004b5305
add esp, 4
mov ecx, 0x560688
call fcn.004084c0
movzx edx, al
test edx, edx
jne 0x4e49c5
push 0x560688
mov ecx, dword [ebp + 8]
call fcn.0040a580
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
jmp 0x4e4a35
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4e49e9
jmp 0x4e4a16
lea edx, [ebp - 0x210]
push edx
mov ecx, 0x560688
call fcn.0040ae00
push 0x560688
call fcn.004e4340
add esp, 4
push str.drivers_
mov ecx, 0x560688
call fcn.0040c6b0
push 0x560688
mov ecx, dword [ebp + 8]
call fcn.0040a580
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4e4e30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0xffffffff
je 0x4e4fe2
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0040b520
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004e3ff0
add esp, 4
test eax, eax
je 0x4e4fd3
lea ecx, [ebp - 0x18]
call fcn.0040c630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040c630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004e4950
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040c650
lea ecx, [ebp - 0x10]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004e3f50
add esp, 8
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040c650
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.0040b520
add esp, 0xc
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 0x48]
call fcn.00423af0
push eax
lea ecx, [ebp - 0x10]
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x28]
call fcn.0040c650
cmp dword [ebp - 0x24], 0
je 0x4e4fbb
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea edx, [ebp - 0x18]
push edx
call fcn.0040a580
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0040b520
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x58]
push edx
mov byte [ebp - 4], 7
call fcn.004e47e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040c650
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e58e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521efb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 3
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 9
ja case.0x4e592c.1
mov edx, dword [ebp - 0x20]
jmp dword [edx*4 + 0x4e5aa0]
mov eax, dword [ebp + 0x14]
mov word [eax], 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0042ea30
mov ecx, eax
call fcn.00423af0
mov esi, eax
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.0040c690
lea edx, [esi + eax*2]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
jmp case.0x4e592c.1
mov edx, dword [ebp + 0x14]
mov word [edx], 0xb
mov eax, dword [ebp + 0x14]
mov word [eax + 8], 0
jmp case.0x4e592c.1
mov ecx, dword [ebp + 0x14]
mov word [ecx], 0x15
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0xc
call fcn.0042ea30
mov ecx, eax
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4e59ec
mov eax, dword [ebp + 0x14]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e59f3
mov dword [ebp - 0x14], 0x80004005
jmp case.0x4e592c.1
mov ecx, dword [ebp + 0x14]
mov word [ecx], 0x13
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], 0x80
jmp case.0x4e592c.1
mov eax, dword [ebp + 0x14]
mov word [eax], 0x40
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], 0
jmp case.0x4e592c.1
mov eax, dword [ebp + 0x14]
mov word [eax], 0x40
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], 0
jmp case.0x4e592c.1
mov eax, dword [ebp + 0x14]
mov word [eax], 0x40
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x14]
jmp 0x4e5a8c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e7a70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52425d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xcc]
push ecx
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0xc8]
push eax
lea ecx, [ebp - 0x11]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x38
call fcn.00423af0
push eax
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x20
call fcn.00423af0
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x30]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [eax + 0x28]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
call fcn.00423af0
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x3c
call fcn.004f3030
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x14], ecx
jmp 0x4e7b23
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 0
jne 0x4e7b44
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x1c]
call fcn.00426b00
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
call fcn.004e6ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f67c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.004b705f
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.004f66c0
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4f70a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x100
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 8]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
shr eax, 8
add edx, eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp + 0xc]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
sar edx, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
add eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
xor edx, dword [ebp + 0xc]
not edx
and edx, dword [ebp - 8]
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4f70bf
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4f7130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
shr ecx, 8
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor eax, ecx
sar eax, 4
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [edx + eax*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
shl edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4f7146
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4f8020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
xor edx, 0x7ff
sar edx, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
sar eax, 4
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
xor ecx, 0x7ff
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x4f809b
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 8
jae 0x4f80dc
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jb 0x4f80ae
jmp 0x4f816b
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 3
mov edx, dword [ebp + 0xc]
shl edx, 3
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 4]
push ecx
call fcn.004f7040
add esp, 0x10
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], eax
jmp 0x4f8092
jmp 0x4f80e7
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x10
jae 0x4f812b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jb 0x4f80f7
jmp 0x4f816b
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 8]
sub edx, 8
push edx
push 3
mov eax, dword [ebp + 0xc]
shl eax, 3
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 0x104]
push edx
call fcn.004f7040
add esp, 0x10
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
jmp 0x4f80de
jmp 0x4f8136
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x4f816b
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 8]
sub eax, 0x10
push eax
push 8
mov ecx, dword [ebp + 8]
add ecx, 0x204
push ecx
call fcn.004f7040
add esp, 0x10
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], eax
jmp 0x4f812d
mov esp, ebp
pop ebp
ret

Function at 0x4fa4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0x10]
or eax, 0x100
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
shl ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x10]
shr edx, 7
and edx, 1
push edx
mov eax, dword [ebp + 0x14]
and eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
shr ecx, 8
add eax, ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + eax*2]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fa200
add esp, 0xc
mov edx, dword [ebp + 0x10]
shl edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0x10]
not eax
and eax, dword [ebp - 4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x10000
jb 0x4fa4b6
mov esp, ebp
pop ebp
ret
Function at 0x500750
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], 0
mov eax, dword [ebp + 8]
push eax
call fcn.005003c0
add esp, 4
mov dword [ebp - 4], 0
jmp 0x500792
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x5007e5
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0
jmp 0x5007b3
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 8
jge 0x5007d6
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
sub edx, 1
not edx
and edx, 0xedb88320
xor ecx, edx
mov dword [ebp - 8], ecx
jmp 0x5007aa
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x70], edx
jmp 0x500789
mov esp, ebp
pop ebp
ret

Function at 0x5020b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x5020c8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x50211b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x5020e9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x50210c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x5020e0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x5619e0], eax
jmp 0x5020bf
jmp 0x502126
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x50215e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x5615e0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x5619e0]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x5619e0], edx
jmp 0x50211d
mov dword [0x560260], fcn.00501f10
call fcn.00501d40
test eax, eax
jne 0x50217b
mov dword [0x560260], 0x502020
mov esp, ebp
pop ebp
ret
Function at 0x504510
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521e7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CFilterCoder.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CFilterCoder.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.CFilterCoder.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], vtable.CFilterCoder.3.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], vtable.CFilterCoder.4.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], vtable.CFilterCoder.5.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], vtable.CFilterCoder.6.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], vtable.CFilterCoder.7.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], vtable.CFilterCoder.8.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], vtable.CFilterCoder.9.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], vtable.CFilterCoder.10.0
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
push eax
call fcn.00501e80
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.0041e240
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x70
call fcn.0041e240
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.0041e240
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.0041e240
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0041e240
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.0041e240
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0041e240
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0041e240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x507ed0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5386f0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5386f0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x507f50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x507f60
xor eax, eax
jmp 0x5080fd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x5080be
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5386f0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5386f0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5386f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5386f0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5386f0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5386f0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5386f0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5386f0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x507f69
cmp dword [ebp + 0x10], 0
je 0x5080f7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5386f0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x5080c4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret