joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bae80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5323f0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x118]
mov dword [ebp - 4], 0
mov edi, dword [esi + 8]
mov dword [esi], vtable.CBaseRecordVector.0
test edi, edi
jle 0x4baece
push edi
push 0
mov ecx, esi
call fcn.004b93a0
sub dword [esi + 8], edi
push dword [esi + 0xc]
call fcn.004fcc7d
add esp, 4
mov dword [esi + 4], 0
lea ecx, [ebx + 0xf0]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004bb0c0
lea ecx, [ebx + 0xc8]
call fcn.004bb0c0
lea ecx, [ebx + 0xa0]
call fcn.004bb0c0
lea ecx, [ebx + 0x78]
call fcn.004bb0c0
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x64]
push dword [ebx + 0x6c]
mov dword [ebx + 0x64], vtable.CObjectVector_struct_NArchive::N7z::CFileItem_.0
push 0
call fcn.004bcb50
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x64]
push dword [ebx + 0x6c]
mov dword [ebx + 0x64], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0x70]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebp - 4], 3
lea ecx, [ebx + 0x50]
push dword [ebx + 0x58]
mov dword [ebx + 0x50], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0x5c]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 4
lea ecx, [ebx + 0x3c]
push dword [ebx + 0x44]
mov dword [ebx + 0x3c], vtable.CObjectVector_struct_NArchive::N7z::CFolder_.0
push 0
call fcn.004bcc00
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x3c]
push dword [ebx + 0x44]
mov dword [ebx + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0x48]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebp - 4], 6
lea ecx, [ebx + 0x28]
push dword [ebx + 0x30]
mov dword [ebx + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0x34]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp - 4], 7
lea ecx, [ebx + 0x14]
push dword [ebx + 0x1c]
mov dword [ebx + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0x20]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 8
mov ecx, ebx
push dword [ebx + 8]
mov dword [ebx], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [ebx + 0xc]
call fcn.004fcc7d
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 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 0x4bd600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532620
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x48]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x34]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x20]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
push 0
call fcn.004bcda0
mov byte [ebp - 4], 4
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0xc]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c2610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532760
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.5.0
mov dword [esi + 4], vtable.CFilterCoder.8.0
mov dword [esi + 8], vtable.CFilterCoder.3.0
mov dword [esi + 0xc], vtable.CFilterCoder.2.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.10.0
mov dword [esi + 0x18], vtable.CFilterCoder.1.0
mov dword [esi + 0x1c], vtable.CFilterCoder.0
mov dword [esi + 0x20], vtable.CFilterCoder.4.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.7.0
test eax, eax
je 0x4c269d
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4c26ae
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4c26bf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4c26d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4c26e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4c26f2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 6
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x4c2703
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4c2714
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4c2725
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 0x78
push esi
call fcn.004fc7e0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c30d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [eax]
and eax, 7
mov dword [ebp - 8], esi
cmp edx, 5
jae 0x4c30f4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
add edx, 0xfffffffc
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp - 0xc], esi
cmp esi, edx
jae 0x4c3122
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4c311f
inc esi
cmp esi, edx
jb 0x4c3110
mov dword [ebp - 0xc], esi
mov ebx, esi
sub ebx, dword [ebp - 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4c324a
cmp ecx, 3
jbe 0x4c3162
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x18], edi
test cl, cl
je 0x4c31a0
cmp cl, 0xff
je 0x4c31a0
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp - 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x4c3104
dec ecx
shl eax, cl
and eax, 7
je 0x4c313a
cmp byte [eax + 0x546368], 0
je 0x4c318d
movzx ecx, byte [eax + 0x546390]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x4c318a
cmp cl, 0xff
jne 0x4c313a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
and eax, 3
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x4c3104
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 8]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x10], 0
je 0x4c31ce
lea edx, [edi + ebx]
add edx, esi
jmp 0x4c31d4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x4c3212
movzx edi, byte [eax + 0x546390]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0x14], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 0x10], edi
test cl, cl
je 0x4c31fe
cmp cl, 0xff
jne 0x4c3212
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0x14]
shl edi, cl
dec edi
xor edi, edx
jmp 0x4c31c1
mov esi, dword [ebp - 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x18]
shr ecx, 0x18
and cl, 1
neg cl
mov byte [esi + 1], dl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp - 8]
add ebx, ecx
jmp 0x4c3104
pop edi
cmp ecx, 3
jbe 0x4c325f
mov ecx, dword [ebp + 0xc]
xor eax, eax
pop esi
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
pop esi
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5327a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x48]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x34]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x20]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0xc]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c8a70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532c48
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], 0
call fcn.00462d70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ca070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532e70
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x30]
call fcn.004fcc7d
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0x20]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
push 0
call fcn.004ca8b0
mov byte [ebp - 4], 2
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.004b9440
push dword [edi + 0xc]
call fcn.004fcc7d
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d0b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
or edx, 0x100
mov ecx, edx
mov eax, edx
shr ecx, 7
add edx, edx
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx esi, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr esi, 4
xor esi, ecx
add edi, dword [eax + esi*4]
cmp edx, 0x10000
jb 0x4d0b90
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d0bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4d0be6
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d0d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x4d0dcf
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x4d0da0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4d0f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edi
movzx esi, word [edi]
movzx ecx, word [edi + 2]
mov eax, esi
shr eax, 4
xor esi, 0x7f0
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 8]
jae 0x4d10c4
mov edx, esi
mov dword [ebp - 8], 0
mov esi, dword [ebp - 8]
or edx, 8
nop dword [eax]
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4d0fc0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x10], esi
cmp esi, 8
jb 0x4d0fa4
cmp esi, 0x10
jae 0x4d106a
lea eax, [esi - 8]
mov dword [ebp - 8], eax
nop dword [eax + eax]
cmp esi, dword [ebp + 8]
jae 0x4d10c4
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4d1020
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, 0x10
jb 0x4d1010
cmp esi, dword [ebp + 8]
jae 0x4d10c4
lea eax, [esi - 0x10]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x14]
xor edi, edi
or eax, 0x100
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x4d1080
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, dword [ebp + 8]
jb 0x4d1075
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x32550]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32bf4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30ea0]
sub dword [ebp - 4], 1
jne 0x4d2c50
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x4d2c40
pop edi
pop esi
mov dword [ecx + 0x32590], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 4
mov ebx, ecx
push edi
mov dword [ebp - 0x208], eax
movzx edi, byte [ebx + eax + 0x306a0]
mov edx, edi
mov esi, edi
shr edx, 1
and esi, 1
dec edx
or esi, 2
mov ecx, edx
shl esi, cl
lea ecx, [ebx + 0x30ea0]
sub eax, esi
sub esi, edi
push ecx
lea ecx, [ebx + 0x32b0e]
push eax
lea ecx, [ecx + esi*2]
call fcn.004d0d80
mov ecx, dword [ebp - 0x208]
add esp, 8
mov dword [ebp + ecx*4 - 0x204], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x208], eax
cmp eax, 0x80
jb 0x4d2cd3
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x21c], 4
sub ecx, ebx
lea esi, [ebx + 0x31950]
lea eax, [ebx + 0x32910]
mov dword [ebp - 0x20c], esi
lea edx, [ebx + 0x31d58]
mov dword [ebp - 0x208], eax
sub ecx, 0x31d50
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x32594]
xor edi, edi
mov dword [ebp - 0x214], edi
test eax, eax
je 0x4d2de2
mov eax, edi
xor esi, esi
mov edi, dword [ebp - 0x208]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [edi + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [ebx + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x4d2d90
mov edi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x20c]
mov dword [eax + edi*4], esi
inc edi
mov eax, dword [ebx + 0x32594]
mov dword [ebp - 0x214], edi
cmp edi, eax
jb 0x4d2d82
mov esi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov ecx, 0xe
cmp eax, ecx
jbe 0x4d2e06
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [ebx + 0x32594]
jb 0x4d2df0
mov eax, dword [esi]
mov ecx, 4
mov edi, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [ebx + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + edi - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x4d2e30
mov edx, dword [ebp - 0x210]
add esi, 0x100
sub dword [ebp - 0x208], 0xffffff80
add edx, 0x200
sub edi, 0x200
mov dword [ebp - 0x20c], esi
sub dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], edi
jne 0x4d2d70
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x3bcf8], 0
xor ecx, ebp
pop ebx
call fcn.004fc7af
mov esp, ebp
pop ebp
ret
Function at 0x4d2eb0
Capabilities:
Encode data using xor
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov dword [esp + 0x14], edi
mov dword [edi + 0x3bcd4], 0
lea ebx, [edi + 0x19c]
mov dword [edi + 0x3bcd0], 0
lea esi, [edi + 0x20c]
mov dword [edi + 0x1cc], 0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c8], 0x20
mov dword [edi + 0x1f0], 1
mov dword [edi + 0x1e4], 4
mov dword [edi + 0x1f4], 0
nop word [eax + eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x4d2f30
lea edx, [esp + 0x18]
mov dword [edi + 0x118], 0
mov ecx, edi
mov dword [edi + 0x148], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x198], ebx
mov dword [esp + 0x18], 5
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x40], 0
call fcn.004d0800
lea eax, [edi + 0x306a0]
mov edi, 2
mov word [eax], 0x100
mov ebx, edi
mov dword [esp + 0x10], eax
mov ecx, ebx
mov esi, 1
sar ecx, 1
dec ecx
shl esi, cl
test esi, esi
je 0x4d3116
push esi
add eax, edi
push ebx
push eax
call fcn.004feb20
mov eax, dword [esp + 0x1c]
add esp, 0xc
add edi, esi
inc ebx
cmp ebx, 0x16
jl 0x4d30f3
mov edi, dword [esp + 0x14]
mov ebx, 8
xor edx, edx
mov eax, ebx
lea esi, [edx + 4]
nop dword [eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x4d314a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x4d3140
sub esi, 1
jne 0x4d3130
mov eax, ebx
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add ebx, 0x10
mov dword [edi + eax*4 + 0x30ea0], ecx
cmp ebx, 0x800
jb 0x4d3125
mov dword [edi + 0x325ac], esi
mov dword [edi + 0x3bd14], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret