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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004a4b20
mov edx, dword [ebp + 8]
add esp, 0xc
movups xmm0, xmmword [ebp - 0x44]
mov eax, 0x10
movups xmm1, xmmword [edx]
xorps xmm1, xmm0
movups xmmword [ebp - 0x44], xmm1
mov cl, byte [eax + edx]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 0x14
jb 0x4769e0
lea eax, [ebp - 0xa4]
push eax
call fcn.00480b90
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00480bd0
lea eax, [ebp - 0xa4]
push esi
push eax
call fcn.004801c0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret

Function at 0x478750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x478770
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
mov ecx, dword [ebp + 8]
push ebx
lea ebx, [eax - 4]
add ebx, ecx
mov dword [ebp - 4], ebx
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x478799
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x478796
inc eax
cmp eax, ebx
jb 0x478787
mov ecx, dword [ebp + 8]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x47889d
cmp edx, 2
jbe 0x478822
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x478889
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 0x10]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x18], 0
cmove edx, ecx
mov dword [ebp + 0xc], edx
mov ebx, edx
test esi, esi
je 0x478859
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x478857
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 0x10]
dec ebx
xor ebx, dword [ebp + 0xc]
add ecx, edi
cmp dword [ebp + 0x18], 0
je 0x478855
add ebx, ecx
jmp 0x478857
mov ecx, edx
shr esi, cl
test esi, esi
je 0x4787b2
cmp esi, 4
ja 0x478847
cmp esi, 3
je 0x478847
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x4787b2
mov ecx, dword [ebp + 8]
or esi, 8
shr esi, 1
inc edi
jmp 0x478780
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp + 8]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 4]
add edi, eax
jmp 0x478780
mov ecx, dword [ebp + 8]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x478780
mov eax, dword [ebp + 0x14]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c005
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
call fcn.004af6b6
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
jne 0x47c031
call fcn.0047bf49
mov esi, eax
mov eax, esi
pop esi
leave
ret

Function at 0x47c036
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47c08b
cmp dword [ebp - 0x134], 5
sbb eax, eax
add eax, 1
je 0x47c08b
lea eax, [ebp - 0x24]
push eax
call fcn.0047c196
pop ecx
test eax, eax
je 0x47c08b
mov eax, dword [ebp - 0xc]
shr eax, 0x19
and eax, 1
jmp 0x47c08d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b7d5
leave
ret

Function at 0x480070
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x18]
lea ebx, [edi + 0x20]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysReAllocStringLen
inc esi
cmp esi, 0xe
je 0x4800b5
and esi, 0xf
jne 0x4800a7
push edi
push ebx
push edi
call fcn.004802a0
add esp, 0xc
mov dword [edi + esi*4 + 0x20], esi
inc esi
jmp 0x480090
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x480090
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
push dword [ebp + 0xc]
shld eax, ecx, 5
push ebx
shl ecx, 5
push edi
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], ecx
call fcn.004802a0
add esp, 0xc
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4801c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [edi + 0x18]
and esi, 0x3f
mov ecx, esi
shr esi, 2
and ecx, 3
je 0x4801df
mov ebx, dword [edi + esi*4 + 0x20]
shl ecx, 3
mov eax, SysReAllocStringLen
shr eax, cl
or eax, ebx
lea ebx, [edi + 0x20]
mov dword [edi + esi*4 + 0x20], eax
inc esi
cmp esi, 0xe
je 0x48021d
and esi, 0xf
jne 0x48020f
push edi
push ebx
push edi
call fcn.004802a0
add esp, 0xc
mov dword [edi + esi*4 + 0x20], esi
inc esi
jmp 0x4801f8
mov dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x4801f8
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 3
push edi
shl ecx, 3
push ebx
push edi
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], ecx
call fcn.004802a0
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
bswap eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x480b90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
pop ebp
ret

Function at 0x480de0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push edi
push 5
mov ebx, ecx
push eax
push ebx
call fcn.00480110
push 5
lea ecx, [ebp - 0x84]
lea eax, [ebx + 0x60]
push ecx
push eax
call fcn.00480110
mov eax, dword [esi]
add esp, 0x18
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
test edi, edi
je 0x480e8a
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004802a0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.004802a0
mov eax, dword [ebp - 0x44]
add esp, 0x18
xor dword [esi], eax
mov eax, dword [ebp - 0x40]
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x3c]
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x34]
xor dword [esi + 0x10], eax
sub edi, 1
jne 0x480e40
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret 8

Function at 0x481d89
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
lea eax, [edi + 8]
cmp dword [eax], esi
jne 0x481da1
push eax
call fcn.0047be89
pop ecx
test eax, eax
jne 0x481db3
lea eax, [edi + 0xc]
cmp dword [eax], esi
jne 0x481db1
push eax
call fcn.0047be89
pop ecx
mov esi, eax
mov eax, esi
pop edi
pop esi
ret
Function at 0x4821e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0xc], ecx
mov word [esi], ax
cmp byte [edi + 1], al
je 0x482262
mov bl, byte [edi + 2]
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
call fcn.004602cb
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.004822c7
mov eax, dword [edi + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov al, byte [edi + 3]
mov byte [esi + 0x78], al
jmp 0x48226b
mov ecx, esi
call fcn.00477241
mov bl, al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esi + 0x44], ecx
xor ecx, ecx
mov dword [esi + 0x40], edx
mov dword [esi + 0x38], 0x3f
mov byte [esi + 5], cl
test bl, bl
jne 0x482296
mov eax, dword [ebp + 0xc]
mov byte [ebp + 0x14], 1
cmp byte [eax + 0x24], cl
jne 0x482299
mov byte [ebp + 0x14], cl
push dword [ebp + 0x14]
mov ecx, esi
push 1
call fcn.004822c7
test bl, bl
je 0x4822c2
xor eax, eax
mov byte [esi + 4], 0x14
mov word [esi + 2], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x483d3f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x20]
sub esp, 0x18
push edi
mov edi, dword [ebp + 0x14]
test ecx, ecx
je 0x483d65
mov eax, dword [ecx]
push 3
push dword [edi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x483ee2
cmp byte [edi + 1], 0
push esi
je 0x483e79
mov esi, dword [ebp + 0x18]
mov al, byte [esi]
shr al, 3
test al, 1
je 0x483d86
mov eax, 0x80004001
jmp 0x483ee1
mov edx, dword [ebp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx + 0x60]
add eax, dword [ebx + 0x38]
adc ecx, dword [ebx + 0x3c]
add eax, dword [edx + 0x40]
mov dword [ebp - 0x18], eax
adc ecx, dword [edx + 0x44]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0xc], ecx
lea ecx, [esi + 0x20]
push eax
call fcn.004602cb
movzx eax, byte [edi + 4]
mov ecx, esi
push eax
push 0x800
call fcn.004822c7
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x74], ecx
lea ecx, [esi + 0x48]
mov dword [esi + 0x70], eax
mov al, byte [edi + 3]
mov byte [esi + 0x78], al
call fcn.00482156
lea ecx, [esi + 0x2c]
call fcn.00482156
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [ecx + 0x40], eax
lea eax, [ebp - 8]
mov dword [ecx + 0x44], edx
lea ecx, [esi + 0x2c]
push eax
call fcn.00464899
mov byte [ebp + 0x20], al
mov ecx, edi
push dword [ebp + 0x20]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x24]
call fcn.004874c5
push esi
mov ecx, edi
call fcn.00487bbf
push dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebx + 0x80]
call fcn.004842a4
add esp, 0x10
pop ebx
test eax, eax
jne 0x483ee1
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x10]
add dword [ecx], eax
mov eax, dword [ebp - 0xc]
adc dword [ecx + 4], eax
jmp 0x483edf
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x38]
add edx, dword [ecx + 0x40]
mov eax, dword [esi + 0x3c]
adc eax, dword [ecx + 0x44]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
call fcn.00481df3
mov edi, dword [ebp + 8]
push dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0x38]
mov dword [ebp - 0xc], edx
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
lea eax, [ebp - 0x18]
push eax
push edi
push dword [esi + 0x80]
call fcn.004842a4
add esp, 0x10
test eax, eax
jne 0x483ee1
mov edx, dword [ebp + 0x24]
mov ecx, edi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push eax
add dword [edx], esi
push esi
adc dword [edx + 4], eax
call fcn.004874b2
xor eax, eax
pop esi
pop edi
leave
ret
Function at 0x48432e
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x484345
push ebx
call fcn.0047be89
pop ecx
test eax, eax
jne 0x484387
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x484359
push edi
call fcn.0047be89
pop ecx
test eax, eax
jne 0x484386
push ebx
call fcn.0047bf11
push edi
call fcn.0047bf11
lea eax, [esi + 0xc]
mov byte [esi + 0x10], 0
cmp dword [eax], 0
pop ecx
pop ecx
je 0x484377
xor eax, eax
jmp 0x484386
push esi
push 0x4842f0
push eax
call fcn.0047c005
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4887c0
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 + 0x325c8]
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 + 0x32c4c]
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 + 0x30f34]
sub dword [ebp - 4], 1
jne 0x4887f0
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 0x4887e0
pop edi
pop esi
pop ebx
mov dword [ecx + 0x84], 0
mov esp, ebp
pop ebp
ret
Function at 0x488850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov eax, 4
push ebx
mov dword [ebp - 0x20c], eax
push esi
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [edi + eax + 0x30734]
mov ebx, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr ebx, 1
and edx, 1
dec ebx
or edx, 2
mov ecx, ebx
shl edx, cl
xor ecx, ecx
sub eax, edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x208], ecx
lea esi, [ecx + 1]
test ebx, ebx
je 0x488910
mov edx, eax
shr eax, 1
mov dword [ebp - 0x210], eax
and edx, 1
mov eax, esi
add esi, esi
sub eax, dword [ebp - 0x218]
or esi, edx
add eax, dword [ebp - 0x214]
movzx ecx, word [edi + eax*2 + 0x32b66]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x208]
add eax, dword [edi + ecx*4 + 0x30f34]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x210]
sub ebx, 1
jne 0x4888b6
mov ecx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + eax*4 - 0x204], ecx
inc eax
mov dword [ebp - 0x20c], eax
cmp eax, 0x80
jb 0x488880
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x218], 4
sub ecx, edi
lea esi, [edi + 0x319c8]
lea eax, [edi + 0x32968]
mov dword [ebp - 0x21c], esi
lea edx, [edi + 0x31dd0]
mov dword [ebp - 0x208], eax
sub ecx, 0x31dc8
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x214], ecx
mov eax, dword [edi + 0x88]
xor ebx, ebx
mov dword [ebp - 0x210], ebx
test eax, eax
je 0x4889e2
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x208]
or eax, 0x40
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 + 0x30f34]
cmp eax, 1
jne 0x488990
mov ebx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x21c]
mov dword [eax + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x210], ebx
cmp ebx, eax
jb 0x488983
mov esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x20c]
mov ecx, 0xe
cmp eax, ecx
jbe 0x488a06
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 [edi + 0x88]
jb 0x4889f0
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x214]
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 + 0x30734]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [ebx + edx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x488a30
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x208], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x21c], esi
sub dword [ebp - 0x218], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x214], ebx
jne 0x488971
mov ecx, dword [ebp - 4]
pop esi
pop ebx
mov dword [edi + 0x80], 0
xor ecx, ebp
pop edi
call fcn.0044b7d5
mov esp, ebp
pop ebp
ret
Function at 0x48a2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [edi]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx + ecx*4]
movzx ecx, word [edi + 2]
mov dword [ebp - 8], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + ecx*4]
add eax, edx
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp + 0x18], esi
cmp esi, dword [ebp + 0x10]
jae 0x48a414
mov edx, esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
or edx, 8
mov eax, dword [ebp + 0xc]
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 0x48a308
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add eax, esi
mov esi, dword [ebp + 0x18]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x18], esi
cmp esi, 8
jb 0x48a2f0
cmp esi, 0x10
jae 0x48a3b0
lea eax, [esi - 8]
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jae 0x48a414
mov esi, dword [ebp + 8]
mov edx, eax
xor edi, edi
or edx, 8
mov eax, dword [ebp + 0xc]
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 [esi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add edi, dword [ebx + eax*4]
cmp edx, 1
jne 0x48a366
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, 0x10
jb 0x48a353
cmp esi, dword [ebp + 0x10]
jae 0x48a414
lea eax, [esi - 0x10]
mov dword [ebp - 4], eax
nop dword [eax + eax]
mov esi, dword [ebp + 8]
xor edi, edi
or eax, 0x100
nop word [eax + eax]
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 0x48a3d0
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], eax
cmp esi, dword [ebp + 0x10]
jb 0x48a3c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48a500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
or ecx, 0x100
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 8
movzx esi, word [edx + eax*2]
mov edx, ecx
shr edx, 7
add ecx, ecx
and edx, 1
shr esi, 4
neg edx
sar edx, 4
and edx, 0x7f
xor esi, edx
add edi, dword [ebx + esi*4]
cmp ecx, 0x10000
jb 0x48a514
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x48a550
Capabilities:
Encode data using xor

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

Function at 0x48c980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
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 0x48c9b2
pop esi
pop ebp
ret