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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x4ec034
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x18]
xor eax, eax
lea ecx, [ebp - 0x100]
xor ebx, ebx
mov bl, byte [ecx]
movzx ebx, byte [ebx + 0x4ec034]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x4ec234]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x48f405
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x4ec134
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x17]
xor eax, eax
lea ecx, [ebp - 0x100]
xor ebx, ebx
mov bl, byte [ecx]
movzx ebx, byte [ebx + 0x4ec034]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x4ec634]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x400], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x48f454
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x4ec034
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x16]
xor eax, eax
lea ecx, [ebp - 0x100]
xor ebx, ebx
mov bl, byte [ecx]
movzx ebx, byte [ebx + 0x4ec134]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x4eca34]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x800], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x48f4a7
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x4ec134
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x15]
xor eax, eax
lea ecx, [ebp - 0x100]
xor ebx, ebx
mov bl, byte [ecx]
movzx ebx, byte [ebx + 0x4ec134]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x4ece34]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0xc00], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x48f4fa
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f52c
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x4ec134
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x18]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x14]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x4ec034]
xor esi, ecx
movzx esi, byte [esi + 0x4ec034]
xor esi, edx
mov esi, dword [esi*4 + 0x4ec234]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x48f566
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x4ec134
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x17]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x13]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x4ec134]
xor esi, ecx
movzx esi, byte [esi + 0x4ec034]
xor esi, edx
mov esi, dword [esi*4 + 0x4ec634]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x400], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x48f5c5
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x4ec034
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x16]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x12]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x4ec034]
xor esi, ecx
movzx esi, byte [esi + 0x4ec134]
xor esi, edx
mov esi, dword [esi*4 + 0x4eca34]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x800], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x48f628
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x4ec034
lea eax, [ebp - 0x100]
call fcn.0048f3b0
mov eax, dword [ebp + 8]
xor edx, edx
mov dl, byte [eax - 0x15]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [eax - 0x11]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x4ec134]
xor esi, ecx
movzx esi, byte [esi + 0x4ec134]
xor esi, edx
mov esi, dword [esi*4 + 0x4ece34]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0xc00], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x48f68b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ff10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x16]
lea eax, [ebp - 4]
mov ecx, 4
call fcn.00402e08
lea edx, [ebp - 0x12]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.00402e08
mov ebx, dword [0x502a24]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x16]
mov ecx, 2
call ebx
mov byte [ebp - 0xd], 8
mov dword [ebp - 0x24], 0x4ed434
lea ebx, [ebp - 0x1e]
push ebp
xor edx, edx
mov dl, byte [ebp - 0x16]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
call fcn.0048fed0
pop ecx
mov byte [ebx], al
mov byte [ebp - 0xe], 7
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
lea edi, [ebp - 0x15]
push ebp
xor edx, edx
mov dl, byte [edi]
xor eax, eax
mov al, byte [esi]
call fcn.0048fed0
pop ecx
xor byte [ebx], al
inc edi
inc esi
dec byte [ebp - 0xe]
jne 0x48ff87
inc ebx
add dword [ebp - 0x24], 8
dec byte [ebp - 0xd]
jne 0x48ff66
xor eax, eax
mov al, byte [ebp - 0x1e]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov byte [ebp - 0xd], 7
lea eax, [ebp - 0x1d]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
shl edx, 8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
shr ecx, 0x18
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shl edx, 8
xor ecx, ecx
mov cl, byte [eax]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
inc eax
dec byte [ebp - 0xd]
jne 0x48ffc2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48fffc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, 0x4ed474
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 5
mov ebx, dword [edx]
xor dword [ecx], ebx
mov ebx, dword [edx + 4]
xor dword [ecx + 4], ebx
add edx, 8
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1800]
mov ebx, dword [ecx]
mov edi, ebx
shr edi, 0x17
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, ebx
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3000]
mov edi, ebx
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3800]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
or esi, 1
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1800]
mov edi, dword [ecx]
shr edi, 0x17
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, dword [ecx]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x3000]
add ebx, ebx
and ebx, 0x1fe
or ebx, 1
xor esi, dword [eax + ebx*4 + 0x3800]
mov dword [ecx + 4], esi
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
dec dword [ebp - 0x10]
jne 0x49001e
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [ecx + 4], eax
add edx, 8
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x4ed234]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x4ed234]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x4ed234]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x4ed234]
xor ebx, eax
mov dword [ecx], ebx
mov eax, dword [ecx + 4]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x4ed234]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x4ed234]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x4ed234]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x4ed234]
xor ebx, eax
mov dword [ecx + 4], ebx
mov eax, dword [edx]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x490d12
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp edx, dword [eax]
jne 0x490d0e
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x490d69
xor eax, eax
push ebp
push 0x490d62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d69
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x496810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, 0x4fdb10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00402e08
add dword [ebp - 4], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x40]
shl ebx, 2
sub ebx, 5
test ebx, ebx
jl 0x4968d1
inc ebx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
mov eax, esi
shr eax, 8
and eax, 0xff
mov eax, dword [edi + eax*4]
mov edx, 8
call fcn.0047b7b0
and esi, 0xff
xor eax, dword [edi + esi*4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [edi + eax*4]
mov edx, 0x10
call fcn.0047b7b0
pop edx
xor edx, eax
push edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [edi + eax*4]
mov edx, 0x18
call fcn.0047b7b0
pop edx
xor edx, eax
mov eax, dword [ebp - 4]
mov dword [eax], edx
add dword [ebp - 4], 4
dec ebx
jne 0x496869
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49738c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov dword [ebp - 4], edx
lea eax, [ebp - 0x100]
xor ecx, ecx
mov edx, 0x80
call fcn.00403278
mov dword [ebp - 8], 0x38
mov eax, 0x4fe010
lea edx, [ebp - 0x48]
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
mov esi, 0x80
shr esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4973e0
mov byte [edx], 1
jmp 0x4973e3
mov byte [edx], 0
inc edx
inc eax
dec dword [ebp - 8]
jne 0x4973bb
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 0x4fe998
cmp byte [ebp + 8], 0
je 0x497409
mov eax, 0xf
sub eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0xc], eax
jmp 0x497411
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
lea edx, [ebp - 0x80]
xor ecx, ecx
mov cl, byte [esi]
add ecx, eax
cmp ecx, 0x1c
jae 0x497430
mov cl, byte [ebp + ecx - 0x48]
mov byte [edx], cl
jmp 0x497436
mov cl, byte [ebp + ecx - 0x64]
mov byte [edx], cl
inc eax
inc edx
cmp eax, 0x1c
jne 0x49741d
mov eax, 0x1c
lea edx, [ebp - 0x64]
xor ecx, ecx
mov cl, byte [esi]
add ecx, eax
cmp ecx, 0x38
jae 0x497458
mov cl, byte [ebp + ecx - 0x48]
mov byte [edx], cl
jmp 0x49745e
mov cl, byte [ebp + ecx - 0x64]
mov byte [edx], cl
inc eax
inc edx
cmp eax, 0x38
jne 0x497445
mov ecx, 0x1000000
mov eax, 0x18
mov edx, 0x4fe048
shr ecx, 1
xor ebx, ebx
mov bl, byte [edx]
cmp byte [ebp + ebx - 0x80], 0
je 0x49748b
mov ebx, dword [ebp - 0xc]
or dword [ebp + ebx*4 - 0x100], ecx
xor ebx, ebx
mov bl, byte [edx + 0x18]
cmp byte [ebp + ebx - 0x80], 0
je 0x4974a1
mov ebx, dword [ebp - 0x10]
or dword [ebp + ebx*4 - 0x100], ecx
inc edx
dec eax
jne 0x497474
inc dword [ebp - 8]
inc esi
cmp dword [ebp - 8], 0x10
jne 0x4973f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x100]
mov ecx, eax
and ecx, 0xfc0000
shl ecx, 6
and eax, 0xfc0
shl eax, 0xa
or ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + eax*4 - 0x100]
mov eax, edx
and eax, 0xfc0000
shr eax, 0xa
or ecx, eax
and edx, 0xfc0
shr edx, 6
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x100]
mov ecx, eax
and ecx, 0x3f000
shl ecx, 0xc
and eax, 0x3f
shl eax, 0x10
or ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + eax*4 - 0x100]
mov eax, edx
and eax, 0x3f000
shr eax, 4
or ecx, eax
and edx, 0x3f
or ecx, edx
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
add dword [ebp + 0xc], 4
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jne 0x4974b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x497e94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, eax
mov dword [ebp + 0xc], eax
lea edx, [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048b784
shr dword [ebp + 0xc], 1
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00403278
lea edx, [ebp - 0xc]
mov eax, ebx
mov ecx, dword [ebp + 0xc]
call fcn.00402e08
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 8
call fcn.00403278
lea edx, [ebp - 0x14]
mov eax, esi
mov ecx, dword [ebp + 0xc]
call fcn.00402e08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
push 0
lea edx, [ebp - 0xc]
mov ecx, 7
mov eax, dword [ebp - 4]
call fcn.0049738c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
add eax, 0x80
push eax
push 1
lea edx, [ebp - 0xc]
mov ecx, 7
mov eax, dword [ebp - 4]
call fcn.0049738c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
lea edx, [eax + 0x100]
lea eax, [ebp - 0x14]
mov ecx, 8
call fcn.00402e08
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 8
call fcn.00403278
mov edi, 8
lea esi, [ebp - 0xc]
mov bl, byte [ebp - 0x1c]
xor bl, byte [ebp - 0x1b]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1b]
mov ecx, 7
call fcn.00402e08
xor eax, eax
mov al, bl
mov al, byte [eax + 0x4fe9a8]
xor al, byte [esi]
mov byte [ebp - 0x15], al
inc esi
dec edi
jne 0x497f59
mov edi, 8
lea esi, [ebp - 0x14]
mov bl, byte [ebp - 0x1c]
xor bl, byte [ebp - 0x1b]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1b]
mov ecx, 7
call fcn.00402e08
xor eax, eax
mov al, bl
mov al, byte [eax + 0x4fe9a8]
xor al, byte [esi]
mov byte [ebp - 0x15], al
inc esi
dec edi
jne 0x497f8a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
lea edx, [eax + 0x108]
lea eax, [ebp - 0x1c]
mov ecx, 8
call fcn.00402e08
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x498024
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, 0x4fe878
mov esi, 8
mov bl, byte [eax]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 4], bl
inc edx
mov bl, byte [eax + 1]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 5], bl
inc edx
mov bl, byte [eax + 2]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 6], bl
inc edx
mov bl, byte [eax + 3]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 7], bl
inc edx
mov bl, byte [eax + 4]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 1], bl
inc edx
mov bl, byte [eax + 5]
xor bl, byte [eax + 4]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 2], bl
mov bl, byte [eax + 6]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 3], bl
inc edx
mov bl, byte [eax + 7]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax], bl
inc edx
dec esi
jne 0x498030
mov bl, byte [eax]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 4], bl
inc edx
mov bl, byte [eax + 1]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 5], bl
inc edx
mov bl, byte [eax + 2]
xor bl, byte [edx]
and ebx, 0xff
mov bl, byte [ecx + ebx]
xor byte [eax + 6], bl
inc edx
mov bl, byte [eax + 3]
xor bl, byte [edx]
xor edx, edx
mov dl, bl
mov dl, byte [ecx + edx]
xor byte [eax + 7], dl
pop esi
pop ebx
ret
Function at 0x49b43c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x49b46b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x49b4ea
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00499fdc
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49b4b8
mov cx, word [esp]
sub cx, si
jmp 0x49b4ba
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49b4a1
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49b4e0
mov cx, word [esp]
sub cx, si
jmp 0x49b4e2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49b4c9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x49b5cb
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0049b1b0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x49b536
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x49b54c
mov edx, dword [ebx]
cmp dword [edx + 4], 0
jne 0x49b446
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x49b5cb
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x49b58e
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x49b573
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.00499fc4
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x49b5cb
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x49b5cb
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x49b5b4
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x16c0]
push edi
push 0
mov edx, dword [ebx + 0x38]
add edx, eax
push edx
call fcn.00499fc4
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4aa28c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], eax
xor eax, eax
push ebp
push 0x4aa358
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x4aa368]
mov byte [ebp - 1], al
push 0xc8
lea eax, [ebp - 0xc9]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
xor ebx, ebx
mov esi, 0x502324
lea eax, [ebp - 0xd4]
lea edx, [ebp - 0xc9]
mov ecx, 0xc8
call fcn.00404994
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0xd0]
call fcn.0040e04c
lea eax, [ebp - 0xd0]
mov edx, dword [esi]
call fcn.004049ec
mov eax, dword [ebp - 0xd0]
call fcn.00409900
test al, al
je 0x4aa331
mov edx, ebx
lea eax, [ebp - 0xd8]
mov cl, 1
call fcn.0040339c
mov al, byte [ebp - 0xd8]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
inc ebx
add esi, 4
cmp bl, 3
jne 0x4aa2d3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa35f
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.00404748
ret
Function at 0x4cf9dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4cf9e4
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4cfb80
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x4cfb98
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404778
lea ecx, [ebp - 0xc]
mov edx, 0x4cfbac
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404778
lea ecx, [ebp - 0x10]
mov edx, 0x4cfbc4
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404778
lea ecx, [ebp - 0x14]
mov edx, 0x4cfbe0
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404778
lea ecx, [ebp - 0x18]
mov edx, 0x4cfbfc
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404778
lea ecx, [ebp - 0x20]
mov edx, 0x4cfc14
mov eax, esi
call fcn.004cd5e4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408fc8
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00409508
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x4cfc2c
mov eax, esi
call fcn.004cd5e4
mov eax, dword [ebp - 0x24]
call fcn.00476fb8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x4cfc3c
mov eax, esi
call fcn.004cd5e4
mov eax, dword [ebp - 0x28]
call fcn.00476fb8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x4cfc54
mov eax, esi
call fcn.004cd5e4
mov eax, dword [ebp - 4]
call fcn.00476b6c
test al, al
je 0x4cfb37
mov eax, dword [ebp - 4]
call fcn.004094cc
mov edi, eax
test edi, edi
jl 0x4cfb2d
call fcn.0040b4d4
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x4cfc5c]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x4cfb43
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x4cfb43
mov eax, dword [ebp - 4]
call fcn.00476fb8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4cfc68
mov eax, esi
call fcn.004cd5e4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfb87
lea eax, [ebp - 0x30]
call fcn.00404724
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404748
ret

Function at 0x4d6dd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4d6e2a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004d6dc0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00475a6c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047566c
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6e31
lea eax, [ebp - 4]
call fcn.00404724
ret