joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432588
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 0x432662
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040be14
lea eax, [ebp - 4]
call fcn.0040bfb8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c850
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43264a
mov eax, ebx
call fcn.00406e94
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x432643
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.0040c850
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x43262b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x432674
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x43262b
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 0x43264a
mov eax, dword [ebp - 0x10]
call fcn.00406eb0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432669
lea eax, [ebp - 4]
call fcn.0040b9dc
pop eax
jmp eax

Function at 0x43389c
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.0040bef8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00412578
mov edi, eax
cmp edi, 0x104
jbe 0x433847
mov eax, edi
add eax, eax
call fcn.00406e94
mov esi, eax
jmp 0x433849
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00412578
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x433882
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 0x43386c
mov eax, esp
cmp esi, eax
je 0x43388f
mov eax, esi
call fcn.00406eb0
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 0x4338c8
cmp bl, 0
je 0x4338c4
cmp bl, 0x41
jl 0x4338bf
cmp bl, 0x5a
jg 0x4338bf
or bl, 0x20
xor al, bl
inc esi
jmp 0x4338a3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x433808

Function at 0x434204
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.0040c8ec
add esp, 0x800
pop ebx
ret
Function at 0x436a60
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 0x436a7e
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x436a96
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x436a91
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x436a9b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x436b09
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x436b52
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x436ac7
inc dword [ebp - 0xc]
jmp 0x436adf
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x436adf
cmp dword [ebp - 0xc], 0
jle 0x436adf
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x436b01
xor eax, eax
jmp 0x436afd
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x436afc
mov eax, esi
jmp 0x436b55
inc eax
cmp eax, ecx
jle 0x436ae9
inc esi
cmp esi, dword [ebp - 8]
jl 0x436ab3
jmp 0x436b52
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x436b52
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x436b2a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x436b4c
xor eax, eax
jmp 0x436b48
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x436b47
mov eax, esi
jmp 0x436b55
inc eax
cmp eax, ecx
jle 0x436b34
inc esi
cmp esi, dword [ebp - 8]
jl 0x436b12
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x436d8c
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 0x436da9
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x436db7
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x436ed9
test ebx, ebx
jl 0x436ed9
test esi, esi
jle 0x436ed9
mov eax, dword [ebp - 8]
call fcn.0040c850
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040c850
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 0x436e76
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x436ed9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x436e5b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x436e2a
inc dword [ebp - 0x14]
jmp 0x436e3a
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x436e3a
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x436e45
or eax, 0xffffffff
jmp 0x436e5b
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x436e58
inc eax
jmp 0x436e5b
or eax, 0xffffffff
test eax, eax
jl 0x436e63
cmp esi, eax
jg 0x436e18
cmp esi, eax
jg 0x436e6e
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x436edc
inc edx
dec dword [ebp - 0x1c]
jne 0x436e14
jmp 0x436ed9
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x436ed9
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x436ec0
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x436e9f
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x436eaa
or eax, 0xffffffff
jmp 0x436ec0
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x436ebd
inc eax
jmp 0x436ec0
or eax, 0xffffffff
test eax, eax
jl 0x436ec8
cmp esi, eax
jg 0x436e88
cmp esi, eax
jg 0x436ed3
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x436edc
inc edx
dec dword [ebp - 0x1c]
jne 0x436e84
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x447858
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 0x447860
mov eax, edx
pop esi
pop ebx
ret
Function at 0x45b524
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x45b538
add esp, 0xfffffff0
call fcn.0040a1b8
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x45544c]
call fcn.00479c3c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x45a4f4]
call fcn.0047c9f0
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x45a4f4]
call fcn.0047c9f0
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 0x45b58d
call fcn.0040a210
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca418
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4ca45b
cmp byte [ebx + 0x11], 0
jne 0x4ca45b
cmp byte [ebx + 0x24], 0
jne 0x4ca45b
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 0x4ca472
mov ecx, dword [0x75d2c4]
mov dl, 1
mov eax, dword [0x495790]
call fcn.00430eac
call fcn.0040b088
pop ebx
ret
mov ecx, dword [0x75d2c4]
mov dl, 1
mov eax, dword [0x495790]
call fcn.00430eac
call fcn.0040b088
pop ebx
ret

Function at 0x4cade0
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 0x4cae2e
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.004ca2c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cae47
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cae50
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004ca2c4
dec esi
jne 0x4cae72
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4cdc2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7648c4
cmp dword [edi], 0
jne 0x4cdca8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x7648c0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x74f79c
mov ecx, 2
call fcn.004073b0
mov edx, 0x4cdc04
lea eax, [esi + 5]
call fcn.004cdc24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cdc24
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 0x4cdc7d
mov dword [0x7648c0], 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 0x4e73b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4e73cf
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4e73bf
mov eax, ecx
pop ebx
ret
Function at 0x50d580
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 - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50d73f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040be14
mov eax, dword [ebp - 4]
call fcn.0050ce60
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x50d5d2
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040cc54
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0050e504
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x50d6b3
xor eax, eax
push ebp
push 0x50d6ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0050d16c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0050d774
test al, al
je 0x50d688
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040bb74
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x50d688
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040c850
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050d0cc
test al, al
je 0x50d682
mov eax, dword [ebp - 8]
call fcn.0040c850
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040c8b0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0050d580
dec ebx
cmp ebx, 0xffffffff
jne 0x50d631
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50d6b3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0050d16c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x764918], 0
je 0x50d6f3
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040c850
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0050d158
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050d0cc
mov ebx, eax
jmp 0x50d71a
mov eax, dword [ebp - 4]
call fcn.0040c850
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0050d158
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050d0cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50d746
lea eax, [ebp - 0x3c]
call fcn.0040b9dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba3c
pop eax
jmp eax
Function at 0x50e3e0
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.0050ce78
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.0040c850
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0050d0cc
test al, al
jne 0x50e448
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x75d128]
mov dl, 1
mov eax, dword [0x50ba88]
call fcn.00430f80
call fcn.0040b088
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x50e454
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.0040c850
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0050d0cc
test al, al
jne 0x50e4b5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x75d74c]
mov dl, 1
mov eax, dword [0x50ba88]
call fcn.00430f80
call fcn.0040b088
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0050cee0
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 0x50eacc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x50ebf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0050d16c
xor eax, eax
push ebp
push 0x50ebd1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d774
test al, al
je 0x50ebb3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0050e9a4
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040bb74
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x50ebb3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
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.0040c850
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d0cc
test al, al
je 0x50ebaf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c850
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040c8b0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0050e9a4
pop ecx
inc edi
dec ebx
jne 0x50eb57
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ebd8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0050d16c
pop eax
jmp eax
Function at 0x50ec08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50ee60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0050d16c
xor eax, eax
push ebp
push 0x50ee34
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d774
test al, al
je 0x50ee16
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040bb74
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x50ee16
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c850
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d0cc
test al, al
je 0x50ee0a
mov eax, dword [ebp - 4]
call fcn.0040c850
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040c8b0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e504
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x50ee0a
xor eax, eax
push ebp
push 0x50ee03
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0050d16c
xor eax, eax
push ebp
push 0x50ede3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c850
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040c8b0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050d170
mov eax, dword [ebp - 4]
call fcn.0040c850
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040c8b0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0050e504
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x50edbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0050eacc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0050ec08
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50edc5
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x50ec93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ee3b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0050d16c
pop eax
jmp eax
Function at 0x51af24
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 0x51af2a
ret
Function at 0x53956c
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 + 0x752d8c]
cmp edx, 4
mov eax, ecx
jl 0x539574
pop ebp
ret

Function at 0x539590
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 + 0x75318c]
cmp edx, 4
mov eax, ecx
jl 0x539598
pop ebp
ret
Function at 0x54a6c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x764ae0], 0
je 0x54a80c
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x75d270]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x54a80c
mov eax, dword [0x764ae4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x764ae0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x54a7db
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x764ae0]
call fcn.004b4db4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x54a7d3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x225], 0
je 0x54a7d3
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x54a7d3
mov eax, dword [ebp - 0x14]
call fcn.005578a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x54a7d3
push ebp
call fcn.0054a684
pop ecx
test al, al
jne 0x54a7d3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00409f9c
test al, al
je 0x54a7d3
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00409f9c
cmp byte [ebp - 1], 0
je 0x54a7d3
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0041565c
test al, al
je 0x54a7d3
mov edx, dword [ebp - 0x14]
mov eax, dword [0x764ae4]
call fcn.00549e04
inc edi
dec ebx
jne 0x54a72d
mov eax, dword [0x764ae4]
cmp dword [eax + 8], 0
jle 0x54a7f3
mov eax, dword [0x764ae4]
call fcn.00549eb8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x54a80c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0054a4ec
pop ecx
test al, al
jne 0x54a80c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret