joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e1c0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x20]
cmp eax, 0x1a0
ja 0x41e308
test cl, 7
jne 0x41e308
shr ecx, 3
mov esi, 0x78dd20
mov dword [ebp + 8], ecx
mov eax, 0x78dc50
push edi
lea edi, [ebx + 0x48]
mov dword [ebp - 0xc], ebx
mov ecx, 0x400
mov dword [ebp - 0x10], 0x12
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
sub eax, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
lea eax, [ecx + 1]
mov edi, dword [ebp - 8]
cmp eax, ebx
sbb esi, esi
and esi, eax
lea eax, [esi + 1]
cmp eax, ebx
sbb ecx, ecx
and ecx, eax
lea eax, [ecx + 1]
cmp eax, ebx
sbb edx, edx
and edx, eax
mov eax, dword [ebp - 4]
movzx edi, byte [edi + eax]
movzx eax, byte [esi + eax]
mov esi, dword [ebp - 4]
shl edi, 8
or edi, eax
shl edi, 8
movzx eax, byte [ecx + esi]
or edi, eax
movzx eax, byte [edx + esi]
shl edi, 8
or edi, eax
lea eax, [edx + 1]
mov edx, dword [ebp - 0xc]
cmp eax, ebx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov eax, dword [eax + edx]
xor eax, edi
mov dword [edx], eax
add edx, 4
sub dword [ebp - 0x10], 1
mov dword [ebp - 0xc], edx
jne 0x41e220
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp + 8], 0
mov dword [ebp - 4], 0
nop dword [eax + eax]
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0041e0a0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebx + esi*4], eax
mov eax, dword [ebp - 4]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
cmp esi, 0x12
jb 0x41e2a0
lea esi, [ebx + 0x4c]
mov dword [ebp - 0x10], 4
mov edi, pe_nt_image_headers32
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea edx, [ebp + 8]
call fcn.0041e0a0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [esi - 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], eax
add esi, 8
sub edi, 1
jne 0x41e2d5
sub dword [ebp - 0x10], 1
jne 0x41e2d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 0xffffffea
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, edx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ecx]
test eax, eax
je 0x41e98c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
sub ecx, ebx
push esi
mov dword [ebp + 0x14], ecx
nop dword [eax]
dec eax
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x41e960
mov edx, dword [ebp + 0xc]
lea esi, [edx + 7]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
lea edx, [ebp - 4]
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
push eax
call fcn.0041e0a0
mov edx, dword [ebp + 0x10]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx + 7], cl
mov ecx, 1
shr eax, 8
sub ecx, dword [ebp + 0xc]
mov byte [edx + 6], al
nop dword [eax]
add byte [esi], 1
jne 0x41e95d
dec esi
lea eax, [ecx + esi]
test eax, eax
jg 0x41e950
mov ecx, dword [ebp + 0x14]
mov al, byte [edi + edx]
inc edi
movzx ecx, byte [ecx + ebx]
and edi, 7
xor al, cl
mov ecx, dword [ebp + 0x14]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41e8a0
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword [eax], edi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ecx], edi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41e9a0
Capabilities:
Encrypt data using camellia

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ecx, dword [edx + 4]
mov eax, ecx
xor ebx, dword [edx]
shr eax, 0x10
movzx eax, al
push esi
movzx esi, byte [eax + 0x78f430]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + 0x78f530]
shl eax, 8
or esi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + 0x78f1d0]
or esi, eax
movzx eax, cl
shl esi, 8
movzx eax, byte [eax + 0x78f330]
or esi, eax
mov eax, ebx
shr eax, 0x10
mov edx, esi
movzx eax, al
rol edx, 8
movzx ecx, byte [eax + 0x78f530]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x78f330]
shl eax, 8
or ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x78f430]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + 0x78f1d0]
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
rol eax, 0x10
xor esi, eax
mov eax, esi
ror eax, 8
xor edx, eax
mov eax, edx
ror eax, 8
xor eax, dword [ecx]
xor eax, esi
xor dword [ecx + 4], edx
pop esi
mov dword [ecx], eax
pop ebx
pop ebp
ret
Function at 0x4245b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x7c], 1
xor esi, esi
test edi, edi
je 0x424625
push ebx
mov ebx, 0xff
nop dword [eax]
mov dword [ebp + esi*4 - 0x78], 1
mov ecx, esi
test esi, esi
je 0x424605
nop
mov eax, dword [ebp + ecx*4 - 0x7c]
xor edx, edx
movzx eax, byte [eax + 0x7cbe30]
add eax, esi
div ebx
movzx eax, byte [edx + 0x7cbf50]
xor eax, dword [ebp + ecx*4 - 0x80]
mov dword [ebp + ecx*4 - 0x7c], eax
sub ecx, 1
jne 0x4245e0
mov eax, dword [ebp - 0x7c]
xor edx, edx
movzx eax, byte [eax + 0x7cbe30]
add eax, esi
inc esi
div ebx
movzx eax, byte [edx + 0x7cbf50]
mov dword [ebp - 0x7c], eax
cmp esi, edi
jb 0x4245d0
pop ebx
lea ecx, [edi - 2]
xor edx, edx
mov eax, ecx
shl eax, 5
sub eax, ecx
lea ecx, [eax + 0x7cbaa0]
nop word [eax + eax]
mov eax, dword [ebp + edx*4 - 0x7c]
mov al, byte [eax + 0x7cbe30]
mov byte [ecx + edx], al
inc edx
cmp edx, edi
jbe 0x424640
mov byte [edi + 0x7cbf2e], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x7c9858], 0
push esi
mov esi, edx
mov dword [ebp - 0xc], ecx
jne 0x4246a7
call fcn.00424560
xorps xmm0, xmm0
mov dword [0x7cbf48], 0
movups xmmword [0x7cbf30], xmm0
mov byte [0x7cbf4c], 0
movq qword [0x7cbf40], xmm0
mov dword [0x7c9858], 1
cmp esi, 0x1e
jbe 0x4246b4
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push esi
push 0
push ebx
call fcn.0050c5b0
add esp, 0xc
cmp byte [esi + 0x7cbf2e], 0
jne 0x4246d5
mov ecx, esi
call fcn.004245b0
lea eax, [esi - 2]
xor edi, edi
mov edx, eax
mov dword [ebp - 8], edi
shl edx, 5
sub edx, eax
add edx, 0x7cbaa0
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], edi
jbe 0x42479e
mov dword [ebp - 0x18], 0xff
nop dword [eax]
mov eax, dword [ebp + 8]
movzx ecx, byte [edi + eax]
movzx eax, byte [ebx]
xor ecx, eax
mov al, byte [ecx + 0x7cbe30]
mov byte [ebp - 1], al
cmp al, 0xff
je 0x42474f
mov ecx, 1
cmp esi, ecx
jbe 0x42474f
movzx eax, al
lea edi, [esi - 1]
mov dword [ebp - 0x14], eax
add edi, edx
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi - 1]
add eax, dword [ebp - 0x14]
xor edx, edx
div dword [ebp - 0x18]
mov al, byte [edx + 0x7cbf50]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jb 0x424730
mov edi, dword [ebp - 8]
lea eax, [esi - 1]
push eax
lea eax, [ebx + 1]
push eax
push ebx
call dword [0x5317b4]
mov cl, byte [ebp - 1]
add esp, 0xc
cmp cl, 0xff
je 0x424789
mov eax, dword [ebp - 0x10]
xor edx, edx
movzx ecx, cl
movzx eax, byte [eax]
add eax, ecx
mov ecx, 0xff
div ecx
mov al, byte [edx + 0x7cbf50]
mov byte [esi + ebx - 1], al
jmp 0x42478e
mov byte [esi + ebx - 1], 0
mov edx, dword [ebp - 0x10]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [ebp - 0xc]
jb 0x424700
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4328d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [str.NNYH]
lea edx, [esp]
push esi
mov dword [esp + 4], eax
mov esi, 4
mov al, byte [0x534884]
push edi
mov edi, dword [esp + 0x18]
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x1c]
sub edi, eax
mov cl, byte [edx]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
lea edx, [edx + 1]
ror cl, 2
mov byte [edi + eax - 1], cl
sub esi, 1
jne 0x432904
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.0050b38b
add esp, 0xc
ret

Function at 0x433120
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eddf
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x4c]
push eax
call dword [0x530420]
mov ecx, eax
mov dword [ebp - 4], 0
call dword [0x530480]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00430620
add esp, 8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call dword [0x5307ac]
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x43320d
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push str.Decrypt_sf_failed
push eax
call dword [0x530400]
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x90]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
push esi
mov ecx, eax
mov byte [ebp - 4], 4
call dword [0x530700]
lea ecx, [ebp - 0x48]
call dword [0x530710]
lea ecx, [ebp - 0x44]
call dword [0x5307a0]
lea ecx, [ebp - 0x28]
call dword [0x5307a0]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.008b8f0b
adc esp, dword [eax + 0x17]
adc sp, word [edx + 0x62]
sbb al, 9
popal
or al, 0x2f
js 0x433228
xchg ebp, eax
or al, 0x69
pushal
or dword [ebx - 0x8744150], esi
mov esi, edi
xor al, 0x95
iretd
Function at 0x4aa3a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524532
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push dword [ebp + 8]
call dword [0x530fd0]
push 0x64
mov dword [ebp - 4], 0
mov dword [edi], vtable.page_model_list.0
mov dword [edi + 8], vtable.page_model_list.1.0
call fcn.0050ae88
add esp, 4
mov dword [edi + 0x18], eax
mov ecx, eax
push edi
call fcn.004acb20
push edi
mov ecx, edi
call dword [0x5305ec]
mov eax, dword [edi + 0x18]
push 7
mov ecx, dword [eax + 0x54]
call dword [0x5312b0]
mov ecx, dword [edi + 0x18]
push 1
mov ecx, dword [ecx + 0x54]
call dword [0x530c48]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push str.Search
push eax
call fcn.004ad890
add esp, 0x10
mov ecx, dword [edi + 0x18]
push eax
mov byte [ebp - 4], 1
mov ecx, dword [ecx + 0x54]
call dword [0x530c44]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call dword [0x5307a0]
push 0x10
push 0x10
lea ecx, [ebp - 0x18]
call dword [0x5305d0]
mov ecx, dword [edi + 0x18]
mov esi, dword [0x530ed8]
push eax
mov ecx, dword [ecx + 0x44]
call esi
push 0x10
push 0x10
lea ecx, [ebp - 0x18]
call dword [0x5305d0]
mov ecx, dword [edi + 0x18]
push eax
mov ecx, dword [ecx + 0x48]
call esi
mov ecx, dword [edi + 0x18]
mov esi, dword [0x530c40]
push 1
mov ecx, dword [ecx + 0x34]
call esi
mov ecx, dword [edi + 0x18]
push 1
mov ecx, dword [ecx + 0x30]
call esi
mov ecx, dword [edi + 0x18]
push 1
mov ecx, dword [ecx + 0x44]
call esi
mov ecx, dword [edi + 0x18]
push 1
mov ecx, dword [ecx + 0x48]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4aebd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
xor eax, eax
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x4aecb9
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push edi
mov edi, dword [esp + 0x24]
cmp esi, 0x20
jb 0x4aec93
lea ecx, [edi - 1]
lea edx, [ebx - 1]
add ecx, esi
add edx, esi
cmp ebx, ecx
ja 0x4aec0c
cmp edx, edi
jae 0x4aec93
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
dec ecx
add ebp, dword [esp + 0x20]
add ecx, esi
add ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ebp
cmp ebx, ecx
ja 0x4aec2b
cmp edx, ebp
jae 0x4aec93
mov ecx, esi
and ecx, 0x8000001f
jns 0x4aec3a
dec ecx
or ecx, 0xffffffe0
inc ecx
mov edx, esi
mov ebp, edi
lea esi, [edi + 0x10]
sub edx, ecx
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov dword [esp + 0x14], esi
sub ebp, ebx
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
nop word [eax + eax]
movups xmm0, xmmword [ecx + ebp]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edi + eax]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
movups xmm1, xmmword [ebx + eax]
movups xmm0, xmmword [edi + eax + 0x10]
add eax, 0x20
pxor xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
cmp eax, edx
jl 0x4aec60
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
cmp eax, esi
jge 0x4aecb6
lea edx, [eax + ebx]
sub edi, ebx
mov ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x1c]
mov cl, byte [ebx + eax]
lea edx, [edx + 1]
xor cl, byte [edx + edi - 1]
inc eax
mov byte [edx - 1], cl
cmp eax, esi
jl 0x4aeca4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret 0x14
Function at 0x4af020
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov ebx, ecx
mov ebp, 0x102b0
push edi
lea ecx, [eax + 0x28]
xor edi, edi
sub ebp, eax
mov dword [esp + 0x14], ecx
nop word [eax + eax]
lea ecx, [eax + ebp]
add ecx, dword [0x7c9100]
lea eax, [eax + 4]
movzx edx, byte [ecx + ebx]
shl edx, 0x18
mov dword [eax - 4], edx
mov ecx, dword [0x7c9100]
lea ecx, [ecx + edi*4]
movzx esi, byte [ecx + ebx + 0x102b1]
shl esi, 0x10
or esi, edx
mov dword [eax - 4], esi
mov ecx, dword [0x7c9100]
lea ecx, [ecx + edi*4]
movzx edx, byte [ecx + ebx + 0x102b2]
shl edx, 8
or edx, esi
mov dword [eax - 4], edx
mov ecx, dword [0x7c9100]
lea ecx, [ecx + edi*4]
movzx ecx, byte [ecx + ebx + 0x102b3]
or ecx, edx
mov edx, dword [esp + 0x14]
mov dword [eax - 4], ecx
mov ecx, dword [0x7c9104]
add ecx, edi
mov cl, byte [ecx + ebx + 0x102b0]
xor cl, 0xff
and cl, 1
mov byte [edx + edi], cl
inc edi
cmp edi, 0xa
jl 0x4af040
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4af0d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc20
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0xc1c], eax
xor eax, eax
mov byte [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0xc2c]
xorps xmm0, xmm0
push esi
push edi
mov word [esp + 0x15], ax
mov edi, ecx
mov ecx, dword [0x7c81bc]
mov byte [esp + 0x17], al
mov byte [esp + 0x41c], al
mov dword [esp + 0x425], eax
mov word [esp + 0x429], ax
mov byte [esp + 0x42b], al
mov byte [esp + 0x13], al
lea eax, [esp + 0x42c]
push eax
movq qword [esp + 0x421], xmm0
call fcn.004a7020
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x42c]
push eax
call fcn.004a7670
test al, al
jne 0x4af162
mov ebx, 0xe002
jmp 0x4af283
push 0x3e8
call dword [0x530340]
add esp, 4
mov ecx, edi
call fcn.004b3ed0
mov ebx, eax
cmp ebx, 0x9000
jne 0x4af283
lea eax, [edi + 0x212f6]
mov ecx, edi
push eax
call fcn.004b4950
mov ebx, eax
cmp ebx, 0x9000
jne 0x4af283
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0x17]
push eax
call fcn.004b4d30
mov ebx, eax
cmp ebx, 0x9000
je 0x4af1c6
mov ebx, 0xe025
jmp 0x4af283
movzx edx, byte [esp + 0x13]
mov ecx, dword [0x7c90fc]
lea eax, [ecx + edx*4]
mov al, byte [eax + edi + 0x102b1]
lea ecx, [ecx + edx*4]
xor byte [esp + 0x15], al
mov al, byte [ecx + edi + 0x102b2]
xor byte [esp + 0x16], al
mov al, byte [ecx + edi + 0x102b3]
xor byte [esp + 0x17], al
xor eax, eax
nop word [eax + eax]
xor edx, edx
lea esi, [esp + 0x17]
cmp eax, 0x10
jge 0x4af221
mov cl, byte [esi]
inc edx
mov byte [esp + eax + 0x41c], cl
dec esi
inc eax
cmp edx, 3
jl 0x4af206
cmp eax, 0x10
jl 0x4af200
mov edx, dword [0x7c910c]
mov esi, 5
add edx, edi
nop
xor ecx, ecx
mov al, byte [edx + ecx + 0x102b0]
xor byte [esp + ecx + 0x41c], al
mov al, byte [edx + ecx + 0x102b1]
xor byte [esp + ecx + 0x41d], al
mov al, byte [edx + ecx + 0x102b2]
xor byte [esp + ecx + 0x41e], al
mov al, byte [edx + ecx + 0x102b3]
xor byte [esp + ecx + 0x41f], al
add ecx, 4
cmp ecx, 0x10
jb 0x4af232
sub esi, 1
jne 0x4af230
movups xmm0, xmmword [esp + 0x41c]
movups xmmword [ebp], xmm0
push 0x3ff
lea eax, [esp + 0x831]
push 0
push eax
call fcn.0050c5b0
push 0x400
lea eax, [esp + 0x43c]
push 0
push eax
call fcn.0050c5b0
add esp, 0x18
mov dword [esp + 0x14], 0
cmp dword [edi + 0x212bc], 2
mov byte [esp + 0x82c], 2
jne 0x4af2d8
push 2
call fcn.00433040
add esp, 4
mov byte [esp + 0x82c], al
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x14]
push 0x384
push eax
push 1
lea eax, [esp + 0x438]
push eax
push 1
lea eax, [esp + 0x840]
push eax
call fcn.004a6b10
cmp dword [edi + 0x212bc], 2
jne 0x4af33f
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4af33f
xor esi, esi
test eax, eax
jle 0x4af33f
nop dword [eax + eax]
movzx eax, byte [esp + esi + 0x42c]
push eax
call fcn.00432f40
mov byte [esp + esi + 0x430], al
add esp, 4
inc esi
cmp esi, dword [esp + 0x14]
jl 0x4af320
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x1c]
push eax
call fcn.004a6f90
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x1c]
push eax
call fcn.004a7670
mov ecx, dword [esp + 0xc2c]
mov eax, ebx
mov dword [edi + 0x212bc], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050b38b
add esp, 0xc20
ret 4
Function at 0x4b0090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
xorps xmm0, xmm0
mov byte [esp + 8], 0
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
movq qword [esp + 0xd], xmm0
mov dword [esp + 0x15], 0
mov word [esp + 0x19], 0
mov byte [esp + 0x1b], 0
call fcn.004b0ff0
cmp eax, 0x9000
jne 0x4b018d
mov eax, dword [ebx + 0x39]
mov ecx, ebx
push esi
mov dword [esp + 0x10], eax
lea esi, [ebx + 0x182b0]
mov eax, dword [ebx + 0x3d]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x39]
push 1
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3d]
push esi
mov dword [esp + 0x28], eax
call fcn.004b3bb0
push 2
push esi
mov ecx, ebx
mov edi, eax
call fcn.004b3bb0
push 3
push esi
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004b3bb0
mov esi, eax
xor bl, bl
mov eax, dword [esp + 0x10]
nop dword [eax + eax]
movzx ecx, bl
mov dl, byte [ecx + eax]
xor dl, byte [ecx + edi]
cmp dl, 0xff
jne 0x4b0147
inc bl
cmp bl, 0x10
jb 0x4b0130
jmp 0x4b014c
cmp bl, 0x10
jb 0x4b01a5
xor dl, dl
nop
movzx eax, dl
mov cl, byte [eax + esi]
xor cl, byte [eax + edi]
cmp cl, 0xaa
jne 0x4b01a0
inc dl
cmp dl, 0x10
jb 0x4b0150
lea eax, [esp + 0x14]
mov edx, 0x10
mov ecx, eax
sub edi, ecx
sub ebp, ecx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + ebp - 1], cl
sub edx, 1
jne 0x4b0174
pop edi
mov eax, 0x9000
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0050b38b
add esp, 0x18
ret 4
cmp dl, 0x10
jae 0x4b0165
mov ecx, dword [esp + 0x24]
mov eax, 0xe029
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050b38b
add esp, 0x18
ret 4
Function at 0x4b4d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xd4
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xd8]
xorps xmm0, xmm0
push ebx
push ebp
mov ebp, dword [esp + 0xe4]
mov ebx, ecx
mov dword [esp + 0x10], eax
xor eax, eax
push esi
xor edx, edx
movq qword [esp + 0x54], xmm0
push edi
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x1d], eax
mov edi, 0x102b0
movups xmmword [esp + 0x48], xmm0
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
mov dword [esp + 0x14], edx
nop dword [eax]
mov ecx, dword [0x7c90e8]
xorps xmm0, xmm0
push pe_nt_image_headers32
push 0
mov byte [esp + 0x2c], 0
lea eax, [ecx + edx*2]
mov word [esp + 0x3d], 0
mov al, byte [eax + ebx + 0x102b0]
mov byte [esp + 0x24], al
lea eax, [ecx + edx*2]
mov al, byte [eax + ebx + 0x102b1]
mov byte [esp + 0x25], al
mov eax, dword [0x7c90e4]
add eax, edi
mov byte [esp + 0x3f], 0
movups xmmword [esp + 0x2d], xmm0
mov eax, dword [eax + ebx]
mov dword [esp + 0x26], eax
lea eax, [esp + 0x68]
push eax
call fcn.0050c5b0
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x1c]
mov ecx, ebx
push 1
push eax
call fcn.004b6ce0
cmp eax, 0x9000
jne 0x4b4ea5
cmp dword [ebx + 0x212bc], 2
mov byte [esp + 0x24], 0x20
jne 0x4b4e2a
push 0x20
call fcn.00433040
add esp, 4
mov byte [esp + 0x24], al
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x10]
push 0x578
push eax
push 0x21
lea eax, [esp + 0x6c]
push eax
push 1
lea eax, [esp + 0x38]
push eax
call fcn.004a6b10
cmp dword [ebx + 0x212bc], 2
mov eax, dword [esp + 0x10]
jne 0x4b4e7f
test eax, eax
jle 0x4b4e7f
xor esi, esi
test eax, eax
jle 0x4b4e7f
movzx eax, byte [esp + esi + 0x60]
push eax
call fcn.00432f40
mov byte [esp + esi + 0x64], al
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4b4e64
cmp eax, 1
je 0x4b4e90
cmp eax, 0x21
je 0x4b4e90
mov eax, 0xe02b
jmp 0x4b4ea5
mov ecx, dword [esp + 0x60]
test cl, cl
je 0x4b4ebf
xor eax, eax
cmp cl, 0xeb
sete al
add eax, 0xe02b
mov edx, dword [esp + 0x14]
add edi, 4
inc edx
mov dword [esp + 0x14], edx
cmp edi, 0x102d8
jl 0x4b4d90
jmp 0x4b4f20
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x44]
movups xmm0, xmmword [esp + 0x61]
mov edx, ecx
lea esi, [eax*4 + 0x102b0]
sub esi, edx
mov edx, 4
add esi, dword [0x7c90fc]
movups xmmword [esp + 0x38], xmm0
add esi, ebx
movups xmm0, xmmword [esp + 0x71]
movups xmmword [esp + 0x48], xmm0
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4b4ef3
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov byte [ecx], al
mov eax, 0x9000
mov cx, word [esp + 0x45]
mov word [ebp], cx
mov cl, byte [esp + 0x47]
mov byte [ebp + 2], cl
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050b38b
add esp, 0xd4
ret 8
Function at 0x4b5a00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, 0xffff
test esi, esi
jle 0x4b5a4b
push edi
mov edi, dword [esp + 0xc]
xor edx, edx
mov byte [esp + 0x11], al
sar eax, 8
mov byte [esp + 0x10], al
movzx eax, byte [edx + edi]
inc edx
xor eax, dword [esp + 0x10]
mov ecx, eax
sar ecx, 4
and ecx, 0xf
xor eax, ecx
mov ecx, eax
shl ecx, 0xc
xor eax, ecx
movzx ecx, al
shl ecx, 5
xor eax, ecx
mov dword [esp + 0x10], ecx
cmp edx, esi
jb 0x4b5a15
pop edi
pop esi
ret 8

Function at 0x4b5a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov al, byte [esp + 8]
push edi
mov edi, ecx
cmp al, 2
jae 0x4b5b42
push ebx
mov ebx, dword [esp + 0xc]
push esi
movzx esi, al
mov eax, esi
sub eax, 0
je 0x4b5a84
sub eax, 1
je 0x4b5a78
xor eax, eax
jmp 0x4b5a8e
push ebx
push 0
push 1
call fcn.004b4470
jmp 0x4b5a8e
push ebx
push 0
push 1
call fcn.004b4340
mov dword [esp + 0x14], eax
mov eax, esi
push ebp
sub eax, 0
je 0x4b5ab1
sub eax, 1
je 0x4b5aa3
xor ebp, ebp
jmp 0x4b5abf
push ebx
push 1
push 1
mov ecx, edi
call fcn.004b4470
jmp 0x4b5abd
push ebx
push 1
push 1
mov ecx, edi
call fcn.004b4340
mov ebp, eax
sub esi, 0
je 0x4b5adb
sub esi, 1
je 0x4b5acd
xor edi, edi
jmp 0x4b5ae9
push ebx
push 2
push 1
mov ecx, edi
call fcn.004b4470
jmp 0x4b5ae7
push ebx
push 2
push 1
mov ecx, edi
call fcn.004b4340
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b5b39
test ebp, ebp
je 0x4b5b39
xor dl, dl
nop word [eax + eax]
movzx esi, dl
mov ecx, 0xff
mov bl, byte [esi + eax]
movzx eax, byte [esi + ebp]
sub ecx, eax
movzx eax, bl
cmp eax, ecx
jne 0x4b5b2c
mov al, byte [esi + edi]
xor al, 0xaa
cmp bl, al
jne 0x4b5b2c
mov eax, dword [esp + 0x18]
inc dl
cmp dl, 0x14
jb 0x4b5b00
pop ebp
pop esi
cmp dl, 0x10
pop ebx
setne al
pop edi
ret 8
pop ebp
pop esi
pop ebx
mov al, 1
pop edi
ret 8
or al, 0xff
pop edi
ret 8