joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46322c
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 - 0x14]
mov edx, 0x494868
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x494868]
xor edi, edx
mov edi, dword [edi*4 + 0x494a68]
mov dword [esi + ebx*4], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x463262
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x494968
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 8
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x494868]
xor edi, edx
mov edi, dword [edi*4 + 0x494e68]
mov dword [esi + ebx*4 + 4], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x4632bb
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x494868
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x10
and edx, 0xff
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x494968]
xor edi, edx
mov edi, dword [edi*4 + 0x495268]
mov dword [esi + ebx*4 + 0x800], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x463315
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x494968
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x18
xor eax, eax
lea ecx, [ebp - 0x100]
mov ebx, eax
add ebx, ebx
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x494968]
xor edi, edx
mov edi, dword [edi*4 + 0x495668]
mov dword [esi + ebx*4 + 0x804], edi
inc eax
inc ecx
cmp eax, 0x100
jne 0x46336c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4633a0
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, 0x494968
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x494868]
xor esi, ecx
movzx esi, byte [esi + 0x494868]
xor esi, edx
mov esi, dword [esi*4 + 0x494a68]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x4633e2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x494968
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 8
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 4]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x494968]
xor esi, ecx
movzx esi, byte [esi + 0x494868]
xor esi, edx
mov esi, dword [esi*4 + 0x494e68]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x463457
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x494868
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
and ecx, 0xff
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 0x800]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x494868]
xor esi, ecx
movzx esi, byte [esi + 0x494968]
xor esi, edx
mov esi, dword [esi*4 + 0x495268]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x4634cd
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x494868
lea eax, [ebp - 0x100]
call fcn.00463208
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x18]
shr edx, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
xor eax, eax
lea ebx, [ebp - 0x100]
mov esi, eax
add esi, esi
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
lea esi, [edi + esi*4 + 0x804]
push esi
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x494968]
xor esi, ecx
movzx esi, byte [esi + 0x494968]
xor esi, edx
mov esi, dword [esi*4 + 0x495668]
pop edi
mov dword [edi], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x46353a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463de0
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.00402824
lea edx, [ebp - 0x12]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.00402824
mov ebx, dword [0x4a1130]
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], 0x495c68
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.00463da0
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.00463da0
pop ecx
xor byte [ebx], al
inc edi
inc esi
dec byte [ebp - 0xe]
jne 0x463e57
inc ebx
add dword [ebp - 0x24], 8
dec byte [ebp - 0xd]
jne 0x463e36
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 0x463e92
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463ecc
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, 0x495ca8
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 0x463eee
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 + 0x495a68]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x495a68]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x495a68]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x495a68]
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 + 0x495a68]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x495a68]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x495a68]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x495a68]
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 0x464e34
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.00402b88
mov dword [ebp - 8], 0x38
mov eax, 0x49dca8
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 0x464e88
mov byte [edx], 1
jmp 0x464e8b
mov byte [edx], 0
inc edx
inc eax
dec dword [ebp - 8]
jne 0x464e63
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 0x4a0c34
cmp byte [ebp + 8], 0
je 0x464eb1
mov eax, 0xf
sub eax, dword [ebp - 8]
add eax, eax
mov dword [ebp - 0xc], eax
jmp 0x464eb9
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 0x464ed8
mov cl, byte [ebp + ecx - 0x48]
mov byte [edx], cl
jmp 0x464ede
mov cl, byte [ebp + ecx - 0x64]
mov byte [edx], cl
inc eax
inc edx
cmp eax, 0x1c
jne 0x464ec5
mov eax, 0x1c
lea edx, [ebp - 0x64]
xor ecx, ecx
mov cl, byte [esi]
add ecx, eax
cmp ecx, 0x38
jae 0x464f00
mov cl, byte [ebp + ecx - 0x48]
mov byte [edx], cl
jmp 0x464f06
mov cl, byte [ebp + ecx - 0x64]
mov byte [edx], cl
inc eax
inc edx
cmp eax, 0x38
jne 0x464eed
mov ecx, 0x1000000
mov eax, 0x18
mov edx, 0x49dce0
shr ecx, 1
xor ebx, ebx
mov bl, byte [edx]
cmp byte [ebp + ebx - 0x80], 0
je 0x464f33
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 0x464f49
mov ebx, dword [ebp - 0x10]
or dword [ebp + ebx*4 - 0x100], ecx
inc edx
dec eax
jne 0x464f1c
inc dword [ebp - 8]
inc esi
cmp dword [ebp - 8], 0x10
jne 0x464e9c
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
mov ebx, dword [ebp - 0xc]
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
mov eax, dword [ebp - 0x10]
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
mov ebx, dword [ebp - 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
mov eax, dword [ebp - 0x10]
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 0x464f60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x465924
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.0045aff8
shr dword [ebp + 0xc], 1
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b88
lea edx, [ebp - 0xc]
mov eax, ebx
mov ecx, dword [ebp + 0xc]
call fcn.00402824
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 8
call fcn.00402b88
lea edx, [ebp - 0x14]
mov eax, esi
mov ecx, dword [ebp + 0xc]
call fcn.00402824
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
push 0
lea edx, [ebp - 0xc]
mov ecx, 7
mov eax, dword [ebp - 4]
call fcn.00464e34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add eax, 0x80
push eax
push 1
lea edx, [ebp - 0xc]
mov ecx, 7
mov eax, dword [ebp - 4]
call fcn.00464e34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
lea edx, [eax + 0x100]
lea eax, [ebp - 0x14]
mov ecx, 8
call fcn.00402824
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov edx, 8
call fcn.00402b88
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.00402824
xor eax, eax
mov al, bl
mov al, byte [eax + 0x4a0c44]
xor al, byte [esi]
mov byte [ebp - 0x15], al
inc esi
dec edi
jne 0x4659e9
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.00402824
xor eax, eax
mov al, bl
mov al, byte [eax + 0x4a0c44]
xor al, byte [esi]
mov byte [ebp - 0x15], al
inc esi
dec edi
jne 0x465a1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
lea edx, [eax + 0x108]
lea eax, [ebp - 0x1c]
mov ecx, 8
call fcn.00402824
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0045b0e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x465ab4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, 0x49e510
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 0x465ac0
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 0x46978c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4698f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c2c
mov eax, dword [ebp - 0x10]
call fcn.00469440
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4697de
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040405c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00469ac8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4698b3
xor eax, eax
push ebp
push 0x4698ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00469588
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00469904
test al, al
je 0x46988a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c7c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46988a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fd8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x469884
mov eax, dword [ebp - 0x14]
call fcn.00403fd8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d4c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046978c
dec ebx
cmp ebx, 0xffffffff
jne 0x46983d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698b3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00469588
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403fd8
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00469574
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698fc
lea eax, [ebp - 0x3c]
call fcn.00403b94
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403bb8
ret
Function at 0x4698b3
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4698f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403c2c
mov eax, dword [ebp - 0x10]
call fcn.00469440
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4697de
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0040405c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00469ac8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4698b3
xor eax, eax
push ebp
push 0x4698ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00469588
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00469904
test al, al
je 0x46988a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403c7c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46988a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403fd8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x469884
mov eax, dword [ebp - 0x14]
call fcn.00403fd8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403d4c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046978c
dec ebx
cmp ebx, 0xffffffff
jne 0x46983d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698b3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00469588
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403fd8
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00469574
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698fc
lea eax, [ebp - 0x3c]
call fcn.00403b94
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403bb8
ret

Function at 0x469904
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b88
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a1334]
cmp byte [edx + 8], 0
je 0x469968
mov edx, dword [0x4a132c]
cmp dword [edx], 2
jne 0x469968
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x46996c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x469a24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00469904
test al, al
je 0x469a06
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403c7c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x469a06
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403fd8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403fd8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403d4c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x4699bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469a2b
lea eax, [ebp - 0x2c]
call fcn.00403b94
lea eax, [ebp - 0xc]
call fcn.00403b94
ret

Function at 0x469a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00469454
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403fd8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x469abe
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a1178]
mov dl, 1
mov eax, dword [0x469378]
call fcn.0040a9b4
call fcn.004035e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8