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

Disassembly:
test edx, edx
mov eax, ecx
jbe 0x4209b6
mov ecx, edx
mov edx, dword [esp + 4]
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
add eax, edx
xor eax, edx
dec ecx
jne 0x4208af
ret 4
Function at 0x4214b9
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov dword [ebp - 8], ecx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
mov byte [ebp + eax - 0x50], bl
add eax, 1
adc ecx, ebx
jne 0x4214de
cmp eax, 0x40
jb 0x4214ce
xor edi, edi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 0xc], ebx
jb 0x42156f
ja 0x4214f3
cmp dword [ebp + 8], ebx
jbe 0x42156f
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, ebx
je 0x421515
mov eax, edi
xor ecx, ecx
and eax, 0xff
or eax, ecx
jne 0x421515
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
cmp eax, ebx
jne 0x421571
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 0x18]
cmp eax, 0x40
ja 0x421578
xor ecx, ecx
xor edx, edx
cmp eax, ebx
jbe 0x42154f
xor ecx, dword [ebp + edx - 0x50]
add edx, 4
cmp edx, eax
jb 0x421544
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x42155a
cmp ecx, dword [eax]
jne 0x421578
add edi, 1
adc dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jb 0x4214f6
ja 0x42156f
cmp edi, dword [ebp + 8]
jb 0x4214f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
push 1
pop eax
jmp 0x421571

Function at 0x421cbc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x485f02
call fcn.00483210
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
call fcn.00421d62
lea eax, [esi + 0x8c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [ebp - 4], 5
mov byte [esi + 0x95], bl
mov dword [esi + 0x98], ebx
call fcn.00418ea8
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x94], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x423bab
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4861a2
call fcn.00483210
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402a8d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00423c05
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x423c57
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4861ed
call fcn.00483210
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0042ae48
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00423cad
push dword [esi + 0x24]
call fcn.00401bf2
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0045acce
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0042416c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x425851
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x48646e
call fcn.00483210
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.0045acce
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00425a7a
push dword [esi + 0xc]
call fcn.00401bf2
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x425b68
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4864e6
call fcn.00483210
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0xc]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.00402b14
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00425be3
mov eax, dword [edi + 0x24]
add edi, 0x30
mov dword [esi + 0x24], eax
mov al, byte [edi - 8]
mov byte [esi + 0x28], al
mov al, byte [edi - 7]
mov byte [esi + 0x29], al
mov eax, dword [edi - 4]
push edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], eax
call fcn.00425c8e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42c037
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x486b39
call fcn.00483210
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402b14
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402b14
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402b14
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402b14
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43079d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4870ac
call fcn.00483210
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x48dc10
mov dword [esi + 4], 0x48dbfc
mov dword [esi + 8], 0x48c85c
mov dword [esi + 0xc], 0x48dbe0
mov dword [esi + 0x10], 0x48dbcc
mov dword [esi + 0x14], 0x48dbbc
mov dword [esi + 0x18], 0x48c84c
mov dword [esi + 0x1c], 0x48c83c
mov dword [esi + 0x20], 0x48dbb4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00402a8d
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 4
call fcn.00402a8d
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
mov byte [esi + 0x9e], bl
mov byte [esi + 0x9f], bl
mov byte [esi + 0xa0], bl
mov byte [esi + 0xa1], bl
mov dword [esi + 0xa4], ebx
mov dword [esi], 0x48db88
mov dword [esi + 4], 0x48db74
mov dword [esi + 8], 0x48db5c
mov dword [esi + 0xc], 0x48db40
mov dword [esi + 0x10], 0x48db2c
mov dword [esi + 0x14], 0x48db1c
mov dword [esi + 0x18], 0x48db0c
mov dword [esi + 0x1c], 0x48dafc
mov dword [esi + 0x20], 0x48daf4
call fcn.00418ea8
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4457b2
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x200
jb 0x44580e
cmp word [ecx], 0x5a4d
jne 0x44580e
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x44580e
push esi
lea esi, [eax + 0x200]
cmp esi, edx
pop esi
ja 0x44580e
test al, 7
jne 0x44580e
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44580e
movzx ecx, word [eax + 4]
add eax, 4
sub ecx, 0x14c
je 0x445828
sub ecx, 0x74
je 0x445821
dec ecx
dec ecx
je 0x445821
dec ecx
dec ecx
je 0x44581a
sub ecx, 0x3c
je 0x445813
sub ecx, 0x8464
je 0x445828
xor eax, eax
ret 4
mov ecx, 0x3030401
jmp 0x44582d
mov ecx, 0x3030701
jmp 0x44582d
mov ecx, 0x3030501
jmp 0x44582d
mov ecx, 0x3030103
cmp word [eax + 0x10], 0x400
ja 0x44580e
movzx eax, word [eax + 0x14]
cmp eax, 0x10b
je 0x445847
cmp eax, 0x20b
jne 0x44580e
mov eax, dword [esp + 4]
push 1
mov dword [eax], ecx
pop eax
jmp 0x445810
Function at 0x45fd30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.0045f3e0
push 0x41
mov ecx, esi
call fcn.0045f3e0
push 0x59
mov ecx, esi
call fcn.0045f3e0
push 0x26
mov ecx, esi
call fcn.0045f3e0
push 0x53
mov ecx, esi
call fcn.0045f3e0
push 0x59
mov ecx, esi
call fcn.0045f3e0
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x45fdc0
test cl, cl
jbe 0x45fdbc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x49ebe4]
xor eax, edi
dec ecx
jne 0x45fda6
xor edi, edi
jmp 0x45fdef
cmp bl, cl
jne 0x45fdc7
inc edi
jmp 0x45fdd2
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x49ebe4]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x45fd7e
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.0045f420
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.0045f540
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x460000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.0045fe30
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x46007c
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x17c]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call fcn.0047f780
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x4600b9
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x178
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x46008e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.00460190
mov edi, dword [esi + 0x8ce0]
cmp byte [edi + 0x1a0], bl
je 0x460179
mov ebp, dword [esi + 0x8cd8]
mov eax, dword [edi + 0x19c]
inc ebp
cmp ebp, eax
jne 0x460104
xor ebp, ebp
cmp dword [edi + 0x1b4], ebx
je 0x460155
lea ecx, [edi + 0x148]
call fcn.0040c3c6
mov ebx, dword [edi + 0x140]
mov ecx, 0xf
sub ecx, ebx
xor edi, edi
shr ecx, 3
add eax, ecx
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1b4]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [ebp + ebp*8]
shl ecx, 3
mov edx, dword [eax + 0x17c]
sub ecx, ebp
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call fcn.0047f7d0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x46ce00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x46ce3e
mov ecx, ebx
call fcn.0047e070
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.0047e700
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.0047e810
jmp 0x46ce5a
test esi, esi
jbe 0x46ce5a
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x46ce5c
mov ecx, ebx
call fcn.0047e070
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.0047e700
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x46ce83
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.0047e070
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0047e700
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x46cf20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc8]
cmp edi, 0x40
jbe 0x46cf9b
lea ecx, [esp + 0x60]
call fcn.0047e070
mov edx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x64]
call fcn.0047e700
lea edx, [esp + 0xc]
lea ecx, [esp + 0x60]
call fcn.0047e810
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ch, byte [esp + eax + 0xc]
mov dl, byte [esp + eax + 0xe]
mov cl, byte [esp + eax + 0xd]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esp + eax + 0xb]
shl ecx, 8
or ecx, edx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], ecx
jb 0x46cf6d
jmp 0x46cfd4
xor eax, eax
test edi, edi
jbe 0x46cfd4
push ebp
mov ebp, dword [esp + 0xc8]
mov ecx, eax
mov edx, eax
shr ecx, 2
and edx, 3
lea esi, [esp + ecx*4 + 0x24]
mov ecx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x46cfa9
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x46cfdd
mov ecx, ebx
call fcn.0047e070
push 0x10
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.0047e920
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x46d00b
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.0047e070
push 0x10
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.0047e920
pop edi
pop esi
pop ebx
add esp, 0xb4
ret 8
Function at 0x46d090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 5
call fcn.0047e8d0
lea ecx, [ebp + 0x60]
push 5
lea edx, [esp + 0x54]
call fcn.0047e8d0
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x46d112
mov esi, eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0047e0a0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x60]
call fcn.0047e0a0
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x46d104
dec esi
jne 0x46d0d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x46df20
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa0
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x46df51
lea ecx, [esp + 0x4c]
call fcn.0047e070
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.0047e700
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xb0]
call fcn.0047e810
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x46f180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x46f1a7
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x46f1cf
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x46f1cf
inc edx
cmp edx, ebx
jb 0x46f1c0
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x46f2bb
cmp ecx, 2
jbe 0x46f227
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x46f2ac
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 eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x46f250
add eax, ebp
jmp 0x46f252
shr esi, cl
test esi, esi
je 0x46f1e8
cmp esi, 4
ja 0x46f245
cmp esi, 3
je 0x46f245
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x46f1e8
or esi, 8
shr esi, 1
inc edi
jmp 0x46f1b6
sub eax, ebp
test esi, esi
je 0x46f286
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x46f280
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x46f27e
add eax, ebp
jmp 0x46f280
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x46f1b6
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x46f1b6
pop ebx
cmp ecx, 2
jbe 0x46f2d4
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc

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

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0x48], 4
mov word [ecx + 0x1d], 1
lea esi, [ecx + 0x60]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x470673
pop esi
ret