joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a6ac
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x43a6ef
mov eax, dword [ebp - 0x10c]
mov dword [0x8da584], eax
mov eax, 0x8da588
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040bf80
mov eax, 0x8da58c
call fcn.0040b054
xor eax, eax
mov dword [0x8da590], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x8da448], 0xa
jl 0x43a845
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x43a850
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x43a845
xor eax, eax
push ebp
push 0x43a83e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x43a8ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x43a79e
cmp dword [ebp - 8], 2
jle 0x43a79e
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x43a771
adc edx, 0
mov eax, 0x8da58c
call fcn.0040c058
lea eax, [ebp - 8]
push eax
mov eax, dword [0x8da58c]
call fcn.0040becc
push eax
push 0
push 0
push 0x43a8ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x43a7f8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x43a8cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x43a7f8
cmp dword [ebp - 8], 2
jle 0x43a7f8
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x43a7cd
adc edx, 0
mov eax, 0x8da58c
call fcn.0040c058
lea eax, [ebp - 8]
push eax
mov eax, dword [0x8da58c]
call fcn.0040becc
push eax
push 0
push 0
push 0x43a8cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x8da590
push 0
push 0
push 0x43a8e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x43a825
xor eax, eax
mov dword [0x8da590], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a845
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x843890], 1
mov esp, ebp
pop ebp
ret
Function at 0x43a988
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43aa62
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b48c
lea eax, [ebp - 4]
call fcn.0040b630
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040becc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43aa4a
mov eax, ebx
call fcn.00407108
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43aa43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040becc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x43aa2b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x43aa74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43aa2b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aa4a
mov eax, dword [ebp - 0x10]
call fcn.00407124
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aa69
lea eax, [ebp - 4]
call fcn.0040b054
pop eax
jmp eax

Function at 0x43baf4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040b570
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411d78
mov edi, eax
cmp edi, 0x104
jbe 0x43ba9f
mov eax, edi
add eax, eax
call fcn.00407108
mov esi, eax
jmp 0x43baa1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00411d78
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x43bada
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x43bac4
mov eax, esp
cmp esi, eax
je 0x43bae7
mov eax, esi
call fcn.00407124
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x43bb20
cmp bl, 0
je 0x43bb1c
cmp bl, 0x41
jl 0x43bb17
cmp bl, 0x5a
jg 0x43bb17
or bl, 0x20
xor al, bl
inc esi
jmp 0x43bafb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x43ba60

Function at 0x43c454
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040bf80
add esp, 0x800
pop ebx
ret
Function at 0x43d2b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43d2d6
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43d2ee
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43d2e9
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x43d2f3
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x43d361
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43d3aa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43d31f
inc dword [ebp - 0xc]
jmp 0x43d337
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43d337
cmp dword [ebp - 0xc], 0
jle 0x43d337
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x43d359
xor eax, eax
jmp 0x43d355
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43d354
mov eax, esi
jmp 0x43d3ad
inc eax
cmp eax, ecx
jle 0x43d341
inc esi
cmp esi, dword [ebp - 8]
jl 0x43d30b
jmp 0x43d3aa
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43d3aa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43d382
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x43d3a4
xor eax, eax
jmp 0x43d3a0
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43d39f
mov eax, esi
jmp 0x43d3ad
inc eax
cmp eax, ecx
jle 0x43d38c
inc esi
cmp esi, dword [ebp - 8]
jl 0x43d36a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43d868
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x43d885
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43d893
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x43d9b5
test ebx, ebx
jl 0x43d9b5
test esi, esi
jle 0x43d9b5
mov eax, dword [ebp - 8]
call fcn.0040becc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040becc
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x43d952
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x43d9b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43d937
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43d906
inc dword [ebp - 0x14]
jmp 0x43d916
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x43d916
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x43d921
or eax, 0xffffffff
jmp 0x43d937
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43d934
inc eax
jmp 0x43d937
or eax, 0xffffffff
test eax, eax
jl 0x43d93f
cmp esi, eax
jg 0x43d8f4
cmp esi, eax
jg 0x43d94a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43d9b8
inc edx
dec dword [ebp - 0x1c]
jne 0x43d8f0
jmp 0x43d9b5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x43d9b5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43d99c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43d97b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x43d986
or eax, 0xffffffff
jmp 0x43d99c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43d999
inc eax
jmp 0x43d99c
or eax, 0xffffffff
test eax, eax
jl 0x43d9a4
cmp esi, eax
jg 0x43d964
cmp esi, eax
jg 0x43d9af
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43d9b8
inc edx
dec dword [ebp - 0x1c]
jne 0x43d960
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d5dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x44d5e4
mov eax, edx
pop esi
pop ebx
ret
Function at 0x452bf8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x452c0f
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x452bff
mov eax, ecx
pop ebx
ret

Function at 0x466948
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x46695c
add esp, 0xfffffff0
call fcn.00409790
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4608cc]
call fcn.0048268c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x465918]
call fcn.00483da8
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x465918]
call fcn.00483da8
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x4669b1
call fcn.004097e8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c8aec
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c8b2f
cmp byte [ebx + 0x11], 0
jne 0x4c8b2f
cmp byte [ebx + 0x24], 0
jne 0x4c8b2f
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c8b46
mov ecx, dword [0x8cd1f8]
mov dl, 1
mov eax, dword [0x49588c]
call fcn.004395e4
call fcn.0040a700
pop ebx
ret
mov ecx, dword [0x8cd1f8]
mov dl, 1
mov eax, dword [0x49588c]
call fcn.004395e4
call fcn.0040a700
pop ebx
ret

Function at 0x4c91b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c91fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c8998
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c9217
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cbc40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x8dd554
cmp dword [edi], 0
jne 0x4cbcbc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x8dd550]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x8451f4
mov ecx, 2
call fcn.004076a0
mov edx, 0x4cbc18
lea eax, [esi + 5]
call fcn.004cbc38
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cbc38
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4cbc91
mov dword [0x8dd550], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4de2e8
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x4de34d
mov eax, dword [esp]
call fcn.004de5d0
test al, al
je 0x4de34d
mov eax, dword [esp]
call fcn.004de3a4
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x4de330
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x4de34d
cmp ax, 0x5a
ja 0x4de34d
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4e7d2c
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 - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e7de6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004e7cbc
test al, al
je 0x4e7dc6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040b1ec
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4e7dc6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040becc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040becc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040bf2c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4e7d7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7ded
lea eax, [ebp - 0x2c]
call fcn.0040b054
lea eax, [ebp - 4]
call fcn.0040b054
pop eax
jmp eax
Function at 0x4e7fa0
Capabilities:
Query or enumerate registry value

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 - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e805a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004e7cbc
test al, al
je 0x4e803a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040b1ec
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4e803a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040becc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040becc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040bf2c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4e7ff3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8061
lea eax, [ebp - 0x2c]
call fcn.0040b054
lea eax, [ebp - 4]
call fcn.0040b054
pop eax
jmp eax

Function at 0x4e8534
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
movzx eax, byte [ebp + 8]
call fcn.004e7590
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.0040becc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004e77e4
test al, al
jne 0x4e859c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x8cd03c]
mov dl, 1
mov eax, dword [0x4e5c2c]
call fcn.00439620
call fcn.0040a700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4e85a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040becc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004e77e4
test al, al
jne 0x4e8609
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x8cd688]
mov dl, 1
mov eax, dword [0x4e5c2c]
call fcn.00439620
call fcn.0040a700
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e75f8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f48cc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4f48d2
ret
Function at 0x527fe4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x8478c0]
cmp edx, 4
mov eax, ecx
jl 0x527fec
pop ebp
ret

Function at 0x528008
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x847cc0]
cmp edx, 4
mov eax, ecx
jl 0x528010
pop ebp
ret
Function at 0x54c5b4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
xor edx, edx
push ebp
push 0x54c6a2
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x54c672
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x54c661
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004076a0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [ebp - 8]
push eax
push esi
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x54c648
mov ecx, dword [0x8ccaf4]
mov dl, 1
mov eax, dword [0x488f70]
call fcn.004395e4
call fcn.0040a700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c668
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax

Function at 0x54c6d8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54c74c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x54c71e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0040bf2c
jmp 0x54c725
mov eax, ebx
call fcn.0040b054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c753
cmp dword [ebp - 8], 0
je 0x54c741
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
pop eax
jmp eax

Function at 0x54c78c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x1c]
xor eax, eax
push ebp
push 0x54c82b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test ebx, ebx
je 0x54c7fc
mov edx, ebx
mov eax, dword [0x4f02fc]
call fcn.004fa658
test al, al
je 0x54c7f0
push ebx
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004fa550
call fcn.0040a7f4
jmp 0x54c832
push ebx
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test ebx, ebx
jne 0x54c7bd
mov ecx, dword [0x8ccbe4]
mov dl, 1
mov eax, dword [0x54c398]
call fcn.004395e4
call fcn.0040a700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c832
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
pop eax
jmp eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret