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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x154], ebx
xor esi, esi
lea edx, [ebx + 0x88]
movzx ecx, byte [edx]
lea edx, [edx + 4]
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x144], ecx
inc esi
cmp esi, 0x10
jl 0x473776
lea eax, [ebp - 0x13c]
mov edx, 0x40
nop
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x4737b0
mov eax, dword [ebx + 0xc]
mov ecx, eax
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14c], eax
mov edx, ecx
mov eax, esi
and eax, edi
rol edx, 5
mov ecx, edi
not ecx
and ecx, ebx
or ecx, eax
mov eax, dword [ebp - 0x148]
add edx, ecx
add edx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add eax, 0x5a827999
mov dword [ebp - 0x14c], ebx
add edx, eax
mov ebx, esi
mov eax, dword [ebp - 0x148]
mov esi, edi
mov edi, dword [ebp - 0x150]
inc eax
ror esi, 2
mov ecx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x14
jl 0x4737f8
mov dword [ebp - 0x148], 0x14
nop dword [eax]
mov eax, ebx
rol edx, 5
xor eax, esi
xor eax, edi
add edx, eax
mov eax, dword [ebp - 0x148]
add edx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x14c]
add eax, 0x6ed9eba1
mov dword [ebp - 0x14c], ebx
add edx, eax
mov ebx, esi
mov eax, dword [ebp - 0x148]
mov esi, edi
inc eax
ror esi, 2
mov dword [ebp - 0x148], eax
mov edi, ecx
mov ecx, edx
cmp eax, 0x28
jl 0x473860
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x148], 0x28
mov ecx, esi
rol edx, 5
or ecx, edi
mov eax, esi
and eax, edi
and ecx, ebx
or ecx, eax
add edx, 0x8f1bbcdc
mov eax, dword [ebp - 0x148]
add edx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], ebx
mov ebx, esi
mov esi, edi
mov edi, dword [ebp - 0x150]
add ecx, dword [ebp + eax*4 - 0x144]
inc eax
add edx, ecx
ror esi, 2
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x3c
jl 0x4738b8
mov dword [ebp - 0x148], 0x3c
mov ecx, dword [ebp - 0x148]
mov eax, ebx
xor eax, esi
rol edx, 5
add edx, dword [ebp - 0x14c]
xor eax, edi
add eax, 0xca62c1d6
mov dword [ebp - 0x14c], ebx
add eax, dword [ebp + ecx*4 - 0x144]
mov ebx, esi
add edx, eax
mov esi, edi
mov edi, dword [ebp - 0x150]
mov eax, ecx
inc eax
ror esi, 2
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x148], eax
cmp eax, 0x50
jl 0x473911
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
add eax, edx
add dword [ecx + 0x10], edi
add dword [ecx + 0x14], esi
add dword [ecx + 0x18], ebx
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x14c]
add dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4dea
mov esp, ebp
pop ebp
ret
Function at 0x480c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movzx edx, byte [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edx*8 - 1]
mov byte [edi + edx*8 + 0xcf], 0
lea esi, [edi + 8]
movzx eax, byte [edi + 0x198]
mov byte [eax + edi + 0xd0], 6
or byte [edi + edx*8 + 0xcf], 0x80
mov al, byte [edi + 0x198]
inc al
movzx ecx, al
cmp ecx, ebx
jge 0x480c91
nop dword [eax]
nop dword [eax + eax]
inc al
mov byte [ecx + edi + 0xd0], 0
movzx ecx, al
cmp ecx, ebx
jl 0x480c80
cmp byte [ebp + 0xc], 0
jbe 0x480cba
mov eax, esi
nop dword [eax]
mov ecx, dword [eax + 0xc8]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + 0xc4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x480ca0
push esi
call fcn.0047f2e0
mov al, byte [ebp + 0x10]
add esp, 4
test al, al
je 0x480ce0
mov ecx, dword [ebp + 8]
sub esi, ecx
movzx edx, al
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x480cd2
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x480cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
mov dh, byte [esi + 0x198]
test dh, dh
je 0x480dbf
mov al, byte [ebp + 0x10]
shl al, 3
sub al, dh
movzx edi, bl
movzx ecx, al
movzx eax, al
cmp ecx, ebx
mov ecx, edi
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
cmovbe ecx, eax
movzx eax, dh
xor dl, dl
add eax, 0xd0
mov dword [ebp - 4], ecx
add eax, esi
test cl, cl
je 0x480d5f
mov ebx, ecx
mov esi, eax
movzx ecx, dl
inc dl
mov al, byte [ecx + edi]
mov byte [ecx + esi], al
cmp dl, bl
jb 0x480d44
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov dh, byte [esi + 0x198]
add dh, dl
movzx eax, dl
mov byte [ebp + 0xf], dh
add edi, eax
mov byte [esi + 0x198], dh
sub ebx, eax
movzx edx, byte [ebp + 0x10]
movzx eax, byte [ebp + 0xf]
lea ecx, [edx*8]
cmp eax, ecx
jne 0x480dc2
cmp byte [ebp + 0x10], 0
jbe 0x480daa
lea ecx, [esi + 8]
nop dword [eax]
mov eax, dword [ecx + 0xc8]
lea ecx, [ecx + 8]
xor dword [ecx - 8], eax
mov eax, dword [ecx + 0xc4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x480d90
lea eax, [esi + 8]
push eax
call fcn.0047f2e0
add esp, 4
mov byte [esi + 0x198], 0
jmp 0x480dc2
mov edi, dword [ebp + 8]
mov cl, byte [ebp + 0x10]
movzx eax, cl
mov dword [ebp + 0xc], eax
shl eax, 3
cmp ebx, eax
jb 0x480e1e
lea eax, [esi + 8]
mov dword [ebp + 8], eax
test cl, cl
je 0x480dfa
mov esi, dword [ebp + 0xc]
mov edx, edi
mov ecx, dword [edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [edx + 4]
add edx, 8
xor dword [eax - 4], ecx
sub esi, 1
jne 0x480de1
mov eax, dword [ebp + 8]
push eax
call fcn.0047f2e0
mov ecx, dword [ebp + 0xc]
add esp, 4
lea eax, [ecx*8]
mov cl, byte [ebp + 0x10]
sub ebx, eax
add edi, eax
cmp ebx, eax
mov eax, dword [ebp + 8]
jae 0x480dd8
mov esi, dword [ebp - 8]
xor dl, dl
test ebx, ebx
je 0x480e43
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + edi]
inc dl
mov byte [esi + ecx + 0xd0], al
movzx ecx, dl
cmp ecx, ebx
jb 0x480e30
add byte [esi + 0x198], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x481740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceb30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58be1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
test edi, edi
je 0x481960
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 8
ja 0x481960
cmp ecx, 0xfa
ja 0x481960
test ecx, ecx
mov dword [ebp - 4], 0
mov ebx, 0x1e
cmovne ebx, ecx
push 0xd9b0
mov dword [ebp - 0x18], ebx
call fcn.004a4e29
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x481941
imul eax, dword [ebp + 0xc], 0x186a0
xor ecx, ecx
mov edx, 4
mov dword [esi], edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [ebp + 0x14], eax
mul edx
mov dword [ebp - 4], 2
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4e5e
mov dword [esi + 0x10], eax
xor ecx, ecx
mov eax, dword [ebp + 0x14]
add esp, 4
add eax, 0x22
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a4e5e
add esp, 4
mov dword [esi + 0x14], eax
push 0x40004
call fcn.004a4e5e
add esp, 4
mov dword [esi + 0x18], eax
jmp 0x48184e
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x481913
mov edx, dword [esi + 0x14]
test edx, edx
je 0x48190a
cmp dword [esi + 0x18], 0
je 0x48190a
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x270], eax
mov eax, dword [ebp + 0x14]
add eax, 0xffffffed
mov dword [esi + 0x26c], 0
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], 2
mov dword [esi + 4], 2
mov dword [esi + 0x264], 0
mov dword [esi + 0x268], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], ecx
mov dword [edi + 0x20], esi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push esi
mov dword [esi + 0x34], 0x100
mov dword [esi + 0x38], 0
call fcn.00484a10
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ecx
call fcn.004a4e59
add esp, 4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481923
push eax
call fcn.004a4e59
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x481933
push eax
call fcn.004a4e59
add esp, 4
push 0xd9b0
push esi
call fcn.004a4df8
add esp, 8
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x481c30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceb50
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58be1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x481d3c
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x481c77
cmp ebx, 1
jne 0x481d3c
cmp edi, 4
ja 0x481d3c
push 0xfa74
mov dword [ebp - 4], 0
call fcn.004a4e29
add esp, 4
test eax, eax
je 0x481d23
mov dword [eax], esi
mov dword [esi + 0x20], eax
mov dword [eax + 4], 0xa
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc64], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [eax + 0x28], bl
mov dword [eax + 0xc54], 0
mov dword [eax + 0xc50], 0
mov dword [eax + 0xc4c], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xfffffffd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x484570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x4845ad
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop dword [eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x589820]
sub esi, 1
jne 0x484590
mov dword [eax + 0x260], edx
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x48465d
sub ecx, 1
je 0x484641
sub ecx, 1
je 0x484619
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
pop ebp
ret

Function at 0x485cf0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov edx, ecx
test ebx, ebx
je 0x485d83
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x485d7b
push edi
xor edi, edi
test esi, esi
je 0x485d72
mov ecx, dword [edx + 0x14]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
sar eax, 8
xor byte [edi + ebx], al
movsx eax, byte [edi + ebx]
inc edi
mov ecx, dword [edx + 0xc]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov ecx, dword [edx + 0x14]
mov dword [edx + 0xc], eax
movzx eax, al
add eax, dword [edx + 0x10]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 0x10], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x589c28]
mov dword [edx + 0x14], ecx
cmp edi, esi
jb 0x485d10
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x485d90
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x485e2c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x485e2c
push ebx
xor ebx, ebx
test eax, eax
je 0x485e24
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x14]
mov esi, edx
and esi, 0xfffd
movsx eax, byte [ebx + eax]
or esi, 2
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0xc], eax
movzx eax, al
add eax, dword [edi + 0x10]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 0x10], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, esi
xor eax, 1
mov dword [edi + 0x14], edx
imul eax, esi
sar eax, 8
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x485db3
pop esi
pop ebx
mov al, 1
pop edi
pop ebp
ret 0xc
pop ebx
mov al, 1
pop edi
pop ebp
ret 0xc
mov al, 1
pop edi
pop ebp
ret 0xc

Function at 0x485e40
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movq xmm0, qword [eax]
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], edi
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
xor edi, edi
mov dword [ebp - 0x18], ecx
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], eax
nop dword [eax + eax]
mov eax, edx
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
sar ecx, 8
xor cl, byte [ebp + edi - 0x10]
inc edi
movsx eax, cl
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x589c28]
movzx eax, bl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
cmp edi, 0xc
jl 0x485e80
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x14], edx
mov dl, byte [ebp + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], esi
mov edi, dword [ebp + 0x10]
test dl, dl
je 0x485eef
mov eax, dword [ebp + 0xc]
shr eax, 8
jmp 0x485ef4
mov eax, edi
shr eax, 0x18
cmp al, cl
sete bl
test bl, bl
jne 0x485f37
mov esi, dword [ebp - 0x18]
cmp byte [esi + 0x121], bl
je 0x485f37
movzx eax, dl
mov ecx, esi
push eax
push str.isDataDescriptor
call fcn.00438280
push edi
push str.crc32
mov ecx, esi
call fcn.00438650
push 0xc
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push str.PwdProtectData
call fcn.00438030
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4862b0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc498
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0xc], 0x12345678
mov dword [ecx + 0x10], 0x23456789
mov dword [ecx + 0x14], 0x34567890
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
call fcn.0040b490
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 0
push esi
mov ecx, edi
call fcn.00411470
lea ecx, [ebp - 0x2c]
call fcn.0040d5b0
mov esi, eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], esi
call fcn.0040d580
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], eax
test esi, esi
je 0x4863ab
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov esi, dword [ebp - 0x38]
movsx eax, byte [eax + esi]
mov esi, dword [ebp - 0x30]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x589c28]
xor eax, ecx
mov dword [ebp - 0x40], eax
mov dword [esi + 0xc], eax
movzx eax, al
add eax, edi
mov ecx, dword [ebp - 0x40]
imul edi, eax, 0x8088405
inc edi
mov eax, edi
mov dword [esi + 0x10], edi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x589c28]
mov eax, dword [ebp - 0x34]
inc eax
mov dword [esi + 0x14], edx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x3c]
jb 0x486355
lea ecx, [ebp - 0x2c]
call fcn.0040b4f0
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.004a4dea
mov esp, ebp
pop ebp
ret 0xc

Function at 0x48e330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
mov dword [ebp - 8], eax
lea edx, [ecx + 0x323d4]
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 + 0x32a58]
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 + 8]
add ebx, dword [ecx + edx*4 + 0x30d40]
sub dword [ebp - 4], 1
jne 0x48e360
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 0x48e350
pop edi
pop esi
mov dword [ecx + 0x84], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48e3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov ebx, 4
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
nop word [eax + eax]
movzx ecx, byte [edi + ebx + 0x30540]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x10], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp + 8], 0
and edx, 1
mov dword [ebp - 8], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0xc], edx
test eax, eax
je 0x48e45f
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x10]
and edx, 1
add eax, dword [ebp - 0xc]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 8], ecx
movzx ecx, word [edi + eax*2 + 0x32972]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 8]
add eax, dword [edi + ecx*4 + 0x30d40]
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
sub ebx, 1
jne 0x48e418
mov ebx, dword [ebp - 4]
jmp 0x48e461
xor eax, eax
mov dword [ebp + ebx*4 - 0x214], eax
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, 0x80
jb 0x48e3e0
lea ecx, [ebp - 0x214]
mov dword [ebp - 8], 4
sub ecx, edi
lea esi, [edi + 0x317d4]
lea eax, [edi + 0x32774]
mov dword [ebp - 0x14], esi
lea edx, [edi + 0x31bdc]
mov dword [ebp + 8], eax
sub ecx, 0x31bd4
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
nop dword [eax + eax]
mov eax, dword [edi + 0x88]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x48e513
nop
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp + 8]
or eax, 0x40
nop word [eax + eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30d40]
cmp eax, 1
jne 0x48e4d0
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x88]
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jb 0x48e4c0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, 0xe
cmp eax, ecx
jbe 0x48e536
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x88]
jb 0x48e520
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x10]
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 [edi + ecx + 0x30540]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x48e560
mov edx, dword [ebp - 4]
add esi, 0x100
sub dword [ebp + 8], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x14], esi
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ebx
jne 0x48e4b0
mov dword [edi + 0x80], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret