joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c6cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x542d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov eax, dword [esp + 0x254]
mov esi, ecx
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
xor ebx, ebx
push ebx
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
call fcn.0041d8e0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c6ef8
xor edx, edx
push 0x1fe
push edx
lea eax, [esp + 0x46]
push eax
mov word [esp + 0x48], dx
call fcn.00522130
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.clsid
push ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c6ef8
cmp dword [esp + 0x14], ebx
jbe 0x4c6de5
lea eax, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.0041aed0
mov dword [esp + 0x24c], ebx
mov edx, esi
mov ebx, 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.004c6b20
add esp, 4
mov byte [esp + 0xf], bl
test al, al
jne 0x4c6dea
mov byte [esp + 0xf], 0
mov dword [esp + 0x24c], 0xffffffff
test bl, 1
je 0x4c6e03
lea ecx, [esp + 0x10]
call fcn.0041add0
cmp byte [esp + 0xf], 0
je 0x4c6eed
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x4c6eed
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0x200
call fcn.0041adc0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x25c], 1
mov edx, dword [esp + 0x2c]
push str.description
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c6e92
lea eax, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.0041aed0
mov eax, esi
lea esi, [esp + 0x18]
call fcn.0041ae20
lea ecx, [esp + 0x10]
call fcn.0041add0
jmp 0x4c6e9d
mov eax, edi
lea esi, [esp + 0x18]
call fcn.0041ae20
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 8]
call fcn.0041dba0
push 0x10
call fcn.0051e4bd
add esp, 4
test eax, eax
je 0x4c6ed9
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
jmp 0x4c6edb
xor eax, eax
push eax
lea eax, [esi + 0x1c]
call fcn.004d2200
lea ecx, [esp + 0x18]
call fcn.0041add0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0051e437
add esp, 0x244
ret 4
Function at 0x4ef5a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
push ebp
lea eax, [eax + ecx*4]
sub ecx, dword [ebx + 0xc]
cmp dword [ebx + 8], 0xfe
push esi
push edi
jge 0x4ef67e
lea edx, [ecx*4]
jmp 0x4ef5d8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, eax
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
mov ecx, edx
add eax, ecx
mov eax, dword [eax]
mov ecx, eax
mov esi, eax
add edx, 4
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 8]
inc edx
shr eax, 8
and ecx, 0xff00ff
imul ecx, edx
and eax, 0xff00ff
imul eax, edx
shr esi, 8
and esi, 0xffff00ff
imul esi, edx
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor ecx, eax
mov eax, dword [edi]
mov edx, ecx
shr edx, 0x18
mov esi, pe_nt_image_headers32
sub esi, edx
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, esi
mov ebp, edx
and ebp, 0xffff00ff
imul ebp, esi
and edx, 0xff00ff
shr eax, 8
imul edx, esi
xor eax, ebp
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x4ef5d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x18]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x1c], ecx
mov ebx, eax
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
mov eax, edi
shr eax, 0x18
mov esi, ebx
mov edx, pe_nt_image_headers32
sub edx, eax
mov eax, dword [esi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
add dword [esp + 0x1c], 4
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, ebp
and eax, 0xff00ff
xor eax, ecx
add eax, edi
mov dword [esi], eax
mov eax, dword [esp + 0x18]
dec eax
add ebx, 4
mov dword [esp + 0x18], eax
test eax, eax
jg 0x4ef692
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4ef840
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
cmp edi, dword [ebp + 0x74]
mov esi, ecx
jle 0x4ef871
mov dword [ebp + 0x74], edi
mov eax, dword [ebp + 0x6c]
push eax
call fcn.0051ee35
lea ecx, [edi*4]
push ecx
call fcn.0051ef12
add esp, 8
mov dword [ebp + 0x6c], eax
mov ebx, dword [ebp + 0x6c]
push edi
push esi
push ebx
mov eax, ebp
call fcn.004f4350
mov eax, dword [ebp + 0x54]
imul eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x68]
sar eax, 8
cmp eax, 0xfe
lea esi, [edx + esi*4]
jge 0x4ef943
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
jmp 0x4ef8ab
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ebp, esi
mov ecx, eax
add esi, 4
mov dword [esp + 0x1c], esi
mov esi, eax
shr eax, 8
and ecx, 0xff00ff
imul ecx, edx
and eax, 0xff00ff
imul eax, edx
shr esi, 8
and esi, 0xffff00ff
imul esi, edx
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor ecx, eax
mov eax, ecx
shr eax, 0x18
mov esi, pe_nt_image_headers32
sub esi, eax
mov eax, dword [ebp]
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, esi
mov dword [esp + 0x10], ebp
mov ebp, edx
and ebp, 0xffff00ff
imul ebp, esi
and edx, 0xff00ff
imul edx, esi
shr eax, 8
xor eax, ebp
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
dec edi
add ebx, 4
mov dword [ecx], eax
test edi, edi
jg 0x4ef8a3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [ebx]
shr ecx, 0x18
mov eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov edx, pe_nt_image_headers32
sub edx, ecx
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
imul ecx, edx
mov edx, dword [esp + 0x18]
shr eax, 8
xor eax, ebp
and eax, 0xff00ff
xor eax, ecx
add eax, dword [ebx]
dec edi
add esi, 4
add ebx, 4
mov dword [edx], eax
test edi, edi
jg 0x4ef943
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4efae0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x34]
sub esp, 8
cmp eax, 0xff
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea ebx, [edx + ebp*4]
jge 0x4efbb2
inc eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
push ebp
lea edi, [esp + 0x18]
call fcn.0047a330
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, eax
mov edi, eax
shr eax, 8
and eax, 0xff00ff
imul eax, edx
and ecx, 0xff00ff
imul ecx, edx
shr edi, 8
and edi, 0xffff00ff
imul edi, edx
shr ecx, 8
xor ecx, edi
and ecx, 0xff00ff
xor ecx, eax
mov eax, ecx
shr eax, 0x18
mov esi, ebx
mov edi, pe_nt_image_headers32
sub edi, eax
mov eax, dword [esi]
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, edi
mov dword [esp + 0x10], esi
mov esi, edx
and esi, 0xffff00ff
imul esi, edi
and edx, 0xff00ff
shr eax, 8
imul edx, edi
xor eax, esi
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
dec eax
add ebx, 4
inc ebp
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efb05
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esp + 0x1c]
push ebp
lea edi, [esp + 0x18]
call fcn.0047a330
mov eax, dword [eax]
mov dword [esp + 0x20], eax
shr eax, 0x18
mov edi, ebx
mov edx, pe_nt_image_headers32
sub edx, eax
mov eax, dword [edi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov esi, ecx
and esi, 0xffff00ff
imul esi, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, esi
and eax, 0xff00ff
xor eax, ecx
add eax, dword [esp + 0x20]
add ebx, 4
mov dword [edi], eax
mov eax, dword [esp + 0x24]
dec eax
inc ebp
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efbb2
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x4efc30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ebp, [ecx + edx*4]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
call fcn.0047a330
mov ebx, dword [eax]
mov edi, ebp
mov eax, dword [edi]
mov ecx, ebx
shr ecx, 0x18
mov edx, pe_nt_image_headers32
sub edx, ecx
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
inc dword [esp + 0x20]
mov esi, ecx
and esi, 0xffff00ff
imul esi, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, esi
and eax, 0xff00ff
xor eax, ecx
add eax, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x24]
dec eax
add ebp, 4
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efc45
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4efcc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 0x74]
sub esp, 8
cmp eax, 0xff
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
lea ebx, [edx + ebp*4]
jge 0x4efd92
inc eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
push ebp
lea edi, [esp + 0x18]
call fcn.0047a380
mov eax, dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, eax
mov edi, eax
shr eax, 8
and eax, 0xff00ff
imul eax, edx
and ecx, 0xff00ff
imul ecx, edx
shr edi, 8
and edi, 0xffff00ff
imul edi, edx
shr ecx, 8
xor ecx, edi
and ecx, 0xff00ff
xor ecx, eax
mov eax, ecx
shr eax, 0x18
mov esi, ebx
mov edi, pe_nt_image_headers32
sub edi, eax
mov eax, dword [esi]
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, edi
mov dword [esp + 0x10], esi
mov esi, edx
and esi, 0xffff00ff
imul esi, edi
and edx, 0xff00ff
shr eax, 8
imul edx, edi
xor eax, esi
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
dec eax
add ebx, 4
inc ebp
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efce5
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esp + 0x1c]
push ebp
lea edi, [esp + 0x18]
call fcn.0047a380
mov eax, dword [eax]
mov dword [esp + 0x20], eax
shr eax, 0x18
mov edi, ebx
mov edx, pe_nt_image_headers32
sub edx, eax
mov eax, dword [edi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov esi, ecx
and esi, 0xffff00ff
imul esi, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, esi
and eax, 0xff00ff
xor eax, ecx
add eax, dword [esp + 0x20]
add ebx, 4
mov dword [edi], eax
mov eax, dword [esp + 0x24]
dec eax
inc ebp
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efd92
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x4efe10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x74]
mov edx, dword [esp + 8]
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ebp, [ecx + edx*4]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
call fcn.0047a380
mov ebx, dword [eax]
mov edi, ebp
mov eax, dword [edi]
mov ecx, ebx
shr ecx, 0x18
mov edx, pe_nt_image_headers32
sub edx, ecx
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
inc dword [esp + 0x20]
mov esi, ecx
and esi, 0xffff00ff
imul esi, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, esi
and eax, 0xff00ff
xor eax, ecx
add eax, ebx
mov dword [edi], eax
mov eax, dword [esp + 0x24]
dec eax
add ebp, 4
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efe25
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4efea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, eax
cmp esi, 0xff
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x34]
push edi
lea edi, [ecx + ebx*4]
jge 0x4eff80
inc esi
mov dword [esp + 0x20], esi
jmp 0x4efed4
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x18]
call fcn.0047a2e0
mov eax, dword [eax]
mov ecx, eax
mov ebp, eax
shr eax, 8
and eax, 0xff00ff
imul eax, esi
and ecx, 0xff00ff
imul ecx, esi
shr ebp, 8
and ebp, 0xffff00ff
imul ebp, esi
shr ecx, 8
xor ecx, ebp
and ecx, 0xff00ff
xor ecx, eax
mov eax, ecx
shr eax, 0x18
mov edx, edi
mov dword [esp + 0x10], edx
mov esi, pe_nt_image_headers32
sub esi, eax
mov eax, dword [edx]
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, esi
mov ebp, edx
and ebp, 0xffff00ff
imul ebp, esi
and edx, 0xff00ff
shr eax, 8
imul edx, esi
xor eax, ebp
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
dec eax
add edi, 4
inc ebx
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4efed0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x18]
call fcn.0047a2e0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
shr eax, 0x18
mov esi, edi
mov edx, pe_nt_image_headers32
sub edx, eax
mov eax, dword [esi]
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, ebp
and eax, 0xff00ff
xor eax, ecx
add eax, dword [esp + 0x20]
add edi, 4
mov dword [esi], eax
mov eax, dword [esp + 0x24]
dec eax
inc ebx
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4eff80
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x4efff0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x34]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
lea ebx, [ecx + edx*4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x14]
call fcn.0047a2e0
mov edi, dword [eax]
mov esi, ebx
mov eax, dword [esi]
mov ecx, edi
shr ecx, 0x18
mov edx, pe_nt_image_headers32
sub edx, ecx
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
inc dword [esp + 0x1c]
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
shr eax, 8
imul ecx, edx
xor eax, ebp
and eax, 0xff00ff
xor eax, ecx
add eax, edi
mov dword [esi], eax
mov eax, dword [esp + 0x20]
dec eax
add ebx, 4
mov dword [esp + 0x20], eax
test eax, eax
jg 0x4f0003
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x4f0080
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
lea ebp, [ebx + ebx*2]
add ebp, dword [ecx + 0x34]
cmp eax, 0xff
push esi
push edi
jge 0x4f0150
inc eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
push ebx
lea edi, [esp + 0x18]
call fcn.0047a330
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
mov eax, ecx
and eax, 0xff00ff
imul eax, esi
mov edi, ecx
shr edi, 8
and edi, 0xffff00ff
imul edi, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, esi
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor eax, ecx
mov esi, eax
shr esi, 0x18
mov edx, ebp
movzx edi, byte [edx]
mov ecx, pe_nt_image_headers32
sub ecx, esi
movzx esi, byte [edx + 2]
shl esi, 0x10
or esi, edi
movzx edi, byte [edx + 1]
imul esi, ecx
imul edi, ecx
shr esi, 8
and edi, 0xff00
add edi, eax
and esi, 0xff00ff
lea eax, [edi + esi]
mov ecx, eax
mov byte [edx], al
shr eax, 0x10
mov byte [edx + 2], al
mov eax, dword [esp + 0x24]
dec eax
shr ecx, 8
add ebp, 3
inc ebx
mov byte [edx + 1], cl
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4f00a5
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esp + 0x1c]
push ebx
lea edi, [esp + 0x24]
call fcn.0047a330
mov edx, dword [eax]
mov esi, edx
shr esi, 0x18
mov ecx, ebp
movzx edi, byte [ecx]
mov eax, pe_nt_image_headers32
sub eax, esi
movzx esi, byte [ecx + 2]
shl esi, 0x10
or esi, edi
movzx edi, byte [ecx + 1]
imul esi, eax
imul edi, eax
shr esi, 8
and edi, 0xff00
add edi, edx
and esi, 0xff00ff
lea eax, [edi + esi]
mov edx, eax
shr edx, 0x10
mov byte [ecx + 2], dl
mov edx, eax
mov byte [ecx], al
mov eax, dword [esp + 0x24]
dec eax
shr edx, 8
add ebp, 3
inc ebx
mov byte [ecx + 1], dl
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4f0150
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4f0260
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
lea ebp, [ebx + ebx*2]
add ebp, dword [ecx + 0x74]
cmp eax, 0xff
push esi
push edi
jge 0x4f0330
inc eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
push ebx
lea edi, [esp + 0x18]
call fcn.0047a380
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
mov eax, ecx
and eax, 0xff00ff
imul eax, esi
mov edi, ecx
shr edi, 8
and edi, 0xffff00ff
imul edi, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, esi
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor eax, ecx
mov esi, eax
shr esi, 0x18
mov edx, ebp
movzx edi, byte [edx]
mov ecx, pe_nt_image_headers32
sub ecx, esi
movzx esi, byte [edx + 2]
shl esi, 0x10
or esi, edi
movzx edi, byte [edx + 1]
imul esi, ecx
imul edi, ecx
shr esi, 8
and edi, 0xff00
add edi, eax
and esi, 0xff00ff
lea eax, [edi + esi]
mov ecx, eax
mov byte [edx], al
shr eax, 0x10
mov byte [edx + 2], al
mov eax, dword [esp + 0x24]
dec eax
shr ecx, 8
add ebp, 3
inc ebx
mov byte [edx + 1], cl
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4f0285
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov esi, dword [esp + 0x1c]
push ebx
lea edi, [esp + 0x24]
call fcn.0047a380
mov edx, dword [eax]
mov esi, edx
shr esi, 0x18
mov ecx, ebp
movzx edi, byte [ecx]
mov eax, pe_nt_image_headers32
sub eax, esi
movzx esi, byte [ecx + 2]
shl esi, 0x10
or esi, edi
movzx edi, byte [ecx + 1]
imul esi, eax
imul edi, eax
shr esi, 8
and edi, 0xff00
add edi, edx
and esi, 0xff00ff
lea eax, [edi + esi]
mov edx, eax
shr edx, 0x10
mov byte [ecx + 2], dl
mov edx, eax
mov byte [ecx], al
mov eax, dword [esp + 0x24]
dec eax
shr edx, 8
add ebp, 3
inc ebx
mov byte [ecx + 1], dl
mov dword [esp + 0x24], eax
test eax, eax
jg 0x4f0330
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4f0900
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
cmp edi, dword [ebp + 0x74]
mov esi, ecx
jle 0x4f0931
mov dword [ebp + 0x74], edi
mov eax, dword [ebp + 0x6c]
push eax
call fcn.0051ee35
lea ecx, [edi*4]
push ecx
call fcn.0051ef12
add esp, 8
mov dword [ebp + 0x6c], eax
mov ebx, dword [ebp + 0x6c]
push edi
push esi
push ebx
mov eax, ebp
call fcn.004f3f30
mov eax, dword [ebp + 0x54]
imul eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x68]
sar eax, 8
cmp eax, 0xfe
lea esi, [edx + esi*4]
jge 0x4f0a03
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
jmp 0x4f096b
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ebp, esi
mov ecx, eax
add esi, 4
mov dword [esp + 0x1c], esi
mov esi, eax
shr eax, 8
and ecx, 0xff00ff
imul ecx, edx
and eax, 0xff00ff
imul eax, edx
shr esi, 8
and esi, 0xffff00ff
imul esi, edx
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor ecx, eax
mov eax, ecx
shr eax, 0x18
mov esi, pe_nt_image_headers32
sub esi, eax
mov eax, dword [ebp]
mov edx, eax
and eax, 0xff00ff
shr edx, 8
imul eax, esi
mov dword [esp + 0x10], ebp
mov ebp, edx
and ebp, 0xffff00ff
imul ebp, esi
and edx, 0xff00ff
imul edx, esi
shr eax, 8
xor eax, ebp
and eax, 0xff00ff
xor eax, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
dec edi
add ebx, 4
mov dword [ecx], eax
test edi, edi
jg 0x4f0963
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ecx, dword [ebx]
shr ecx, 0x18
mov eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov edx, pe_nt_image_headers32
sub edx, ecx
mov ecx, eax
and eax, 0xff00ff
shr ecx, 8
imul eax, edx
mov ebp, ecx
and ebp, 0xffff00ff
imul ebp, edx
and ecx, 0xff00ff
imul ecx, edx
mov edx, dword [esp + 0x18]
shr eax, 8
xor eax, ebp
and eax, 0xff00ff
xor eax, ecx
add eax, dword [ebx]
dec edi
add esi, 4
add ebx, 4
mov dword [edx], eax
test edi, edi
jg 0x4f0a03
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4f14e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, eax
cmp edi, dword [ebp + 0x74]
mov esi, ecx
jle 0x4f1509
mov dword [ebp + 0x74], edi
mov eax, dword [ebp + 0x6c]
push eax
call fcn.0051ee35
push edi
call fcn.0051ef12
add esp, 8
mov dword [ebp + 0x6c], eax
mov ebx, dword [ebp + 0x6c]
push edi
push esi
push ebx
mov eax, ebp
mov dword [esp + 0x20], ebx
call fcn.004f41e0
mov eax, dword [ebp + 0x54]
imul eax, dword [esp + 0x18]
lea esi, [esi + esi*2]
add esi, dword [ebp + 0x68]
sar eax, 8
cmp eax, 0xfe
jge 0x4f15c0
inc eax
mov dword [esp + 0x18], eax
jmp 0x4f1540
movzx ecx, byte [ebx]
mov eax, ecx
shl eax, 0x10
or eax, ecx
imul eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov edx, esi
movzx ebp, byte [edx]
mov ebx, ecx
shr ebx, 0x18
mov eax, pe_nt_image_headers32
sub eax, ebx
movzx ebx, byte [edx + 2]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [edx + 1]
imul ebx, eax
imul ebp, eax
shr ebx, 8
and ebx, 0xff00ff
and ebp, 0xff00
add ebp, ecx
lea eax, [ebx + ebp]
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov byte [edx], al
shr ecx, 8
shr eax, 0x10
inc ebx
dec edi
add esi, 3
mov byte [edx + 1], cl
mov byte [edx + 2], al
mov dword [esp + 0x14], ebx
test edi, edi
jg 0x4f1540
pop edi
pop esi
pop ebp
pop ebx
ret 8
movzx edx, byte [ebx]
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
mov ecx, esi
movzx ebp, byte [ecx]
mov ebx, eax
shr ebx, 0x18
mov edx, pe_nt_image_headers32
sub edx, ebx
movzx ebx, byte [ecx + 2]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [ecx + 1]
imul ebx, edx
imul ebp, edx
shr ebx, 8
and ebx, 0xff00ff
and ebp, 0xff00
add ebp, eax
lea eax, [ebx + ebp]
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x10
mov byte [ecx + 2], dl
mov edx, eax
shr edx, 8
inc ebx
dec edi
add esi, 3
mov byte [ecx + 1], dl
mov byte [ecx], al
mov dword [esp + 0x14], ebx
test edi, edi
jg 0x4f15c0
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4f1640
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, eax
cmp edi, dword [ebp + 0x74]
mov esi, ecx
jle 0x4f1669
mov dword [ebp + 0x74], edi
mov eax, dword [ebp + 0x6c]
push eax
call fcn.0051ee35
push edi
call fcn.0051ef12
add esp, 8
mov dword [ebp + 0x6c], eax
mov ebx, dword [ebp + 0x6c]
push edi
push esi
push ebx
mov eax, ebp
mov dword [esp + 0x20], ebx
call fcn.004edbe0
mov eax, dword [ebp + 0x54]
imul eax, dword [esp + 0x18]
lea esi, [esi + esi*2]
add esi, dword [ebp + 0x68]
sar eax, 8
cmp eax, 0xfe
jge 0x4f1720
inc eax
mov dword [esp + 0x18], eax
jmp 0x4f16a0
movzx ecx, byte [ebx]
mov eax, ecx
shl eax, 0x10
or eax, ecx
imul eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov edx, esi
movzx ebp, byte [edx]
mov ebx, ecx
shr ebx, 0x18
mov eax, pe_nt_image_headers32
sub eax, ebx
movzx ebx, byte [edx + 2]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [edx + 1]
imul ebx, eax
imul ebp, eax
shr ebx, 8
and ebx, 0xff00ff
and ebp, 0xff00
add ebp, ecx
lea eax, [ebx + ebp]
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov byte [edx], al
shr ecx, 8
shr eax, 0x10
inc ebx
dec edi
add esi, 3
mov byte [edx + 1], cl
mov byte [edx + 2], al
mov dword [esp + 0x14], ebx
test edi, edi
jg 0x4f16a0
pop edi
pop esi
pop ebp
pop ebx
ret 8
movzx edx, byte [ebx]
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
mov ecx, esi
movzx ebp, byte [ecx]
mov ebx, eax
shr ebx, 0x18
mov edx, pe_nt_image_headers32
sub edx, ebx
movzx ebx, byte [ecx + 2]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [ecx + 1]
imul ebx, edx
imul ebp, edx
shr ebx, 8
and ebx, 0xff00ff
and ebp, 0xff00
add ebp, eax
lea eax, [ebx + ebp]
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x10
mov byte [ecx + 2], dl
mov edx, eax
shr edx, 8
inc ebx
dec edi
add esi, 3
mov byte [ecx + 1], dl
mov byte [ecx], al
mov dword [esp + 0x14], ebx
test edi, edi
jg 0x4f1720
pop edi
pop esi
pop ebp
pop ebx
ret 8