joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e67c
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 0x42e756
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a6a4
lea eax, [ebp - 4]
call fcn.0040a7c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040accc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42e73e
mov eax, ebx
call fcn.00406e3c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42e737
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.0040accc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42e71f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42e768
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42e71f
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 0x42e73e
mov eax, dword [ebp - 0x10]
call fcn.00406e58
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e75d
lea eax, [ebp - 4]
call fcn.0040a26c
pop eax
jmp eax

Function at 0x42f6c0
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.0040a74c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004105dc
mov edi, eax
cmp edi, 0x104
jbe 0x42f66b
mov eax, edi
add eax, eax
call fcn.00406e3c
mov esi, eax
jmp 0x42f66d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004105dc
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42f6a6
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 0x42f690
mov eax, esp
cmp esi, eax
je 0x42f6b3
mov eax, esi
call fcn.00406e58
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 0x42f6ec
cmp bl, 0
je 0x42f6e8
cmp bl, 0x41
jl 0x42f6e3
cmp bl, 0x5a
jg 0x42f6e3
or bl, 0x20
xor al, bl
inc esi
jmp 0x42f6c7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42f62c

Function at 0x430028
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.0040ad68
add esp, 0x800
pop ebx
ret
Function at 0x43285c
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 0x43287a
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x432892
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43288d
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x432897
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x432905
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43294e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x4328c3
inc dword [ebp - 0xc]
jmp 0x4328db
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x4328db
cmp dword [ebp - 0xc], 0
jle 0x4328db
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x4328fd
xor eax, eax
jmp 0x4328f9
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x4328f8
mov eax, esi
jmp 0x432951
inc eax
cmp eax, ecx
jle 0x4328e5
inc esi
cmp esi, dword [ebp - 8]
jl 0x4328af
jmp 0x43294e
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43294e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x432926
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x432948
xor eax, eax
jmp 0x432944
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x432943
mov eax, esi
jmp 0x432951
inc eax
cmp eax, ecx
jle 0x432930
inc esi
cmp esi, dword [ebp - 8]
jl 0x43290e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x432b60
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 0x432b7d
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x432b8b
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x432cad
test ebx, ebx
jl 0x432cad
test esi, esi
jle 0x432cad
mov eax, dword [ebp - 8]
call fcn.0040accc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040accc
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 0x432c4a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x432cad
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x432c2f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x432bfe
inc dword [ebp - 0x14]
jmp 0x432c0e
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x432c0e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x432c19
or eax, 0xffffffff
jmp 0x432c2f
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x432c2c
inc eax
jmp 0x432c2f
or eax, 0xffffffff
test eax, eax
jl 0x432c37
cmp esi, eax
jg 0x432bec
cmp esi, eax
jg 0x432c42
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x432cb0
inc edx
dec dword [ebp - 0x1c]
jne 0x432be8
jmp 0x432cad
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x432cad
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x432c94
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x432c73
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x432c7e
or eax, 0xffffffff
jmp 0x432c94
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x432c91
inc eax
jmp 0x432c94
or eax, 0xffffffff
test eax, eax
jl 0x432c9c
cmp esi, eax
jg 0x432c5c
cmp esi, eax
jg 0x432ca7
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x432cb0
inc edx
dec dword [ebp - 0x1c]
jne 0x432c58
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x45738c
add esp, 0xfffffff0
call fcn.00408a84
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4512a0]
call fcn.00475a90
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x456348]
call fcn.00478844
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x456348]
call fcn.00478844
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 0x4573e1
call fcn.00408adc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c56d4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c5717
cmp byte [ebx + 0x11], 0
jne 0x4c5717
cmp byte [ebx + 0x24], 0
jne 0x4c5717
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 0x4c572e
mov ecx, dword [0x5f28c4]
mov dl, 1
mov eax, dword [0x491004]
call fcn.0042cfa0
call fcn.00409954
pop ebx
ret
mov ecx, dword [0x5f28c4]
mov dl, 1
mov eax, dword [0x491004]
call fcn.0042cfa0
call fcn.00409954
pop ebx
ret

Function at 0x4c609c
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 0x4c60ea
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.004c5580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c6103
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c610c
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.004c5580
dec esi
jne 0x4c612e
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4c8ee8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5f98c4
cmp dword [edi], 0
jne 0x4c8f64
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x5f98c0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5f065c
mov ecx, 2
call fcn.00407240
mov edx, 0x4c8ec0
lea eax, [esi + 5]
call fcn.004c8ee0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c8ee0
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 0x4c8f39
mov dword [0x5f98c0], 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 0x4e2674
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4e268b
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4e267b
mov eax, ecx
pop ebx
ret
Function at 0x5024d0
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 0x50268f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a6a4
mov eax, dword [ebp - 4]
call fcn.00501db0
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x502522
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040b0d0
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.00503454
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x502603
xor eax, eax
push ebp
push 0x5025fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005020bc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.005026c4
test al, al
je 0x5025d8
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a404
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x5025d8
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.0040accc
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.0050201c
test al, al
je 0x5025d2
mov eax, dword [ebp - 8]
call fcn.0040accc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040ad2c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.005024d0
dec ebx
cmp ebx, 0xffffffff
jne 0x502581
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502603
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005020bc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x5f9918], 0
je 0x502643
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040accc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005020a8
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050201c
mov ebx, eax
jmp 0x50266a
mov eax, dword [ebp - 4]
call fcn.0040accc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005020a8
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0050201c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502696
lea eax, [ebp - 0x3c]
call fcn.0040a26c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a2cc
pop eax
jmp eax
Function at 0x503330
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.00501dc8
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.0040accc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0050201c
test al, al
jne 0x503398
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f27c0]
mov dl, 1
mov eax, dword [0x5009d8]
call fcn.0042d074
call fcn.00409954
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5033a4
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.0040accc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0050201c
test al, al
jne 0x503405
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f2b4c]
mov dl, 1
mov eax, dword [0x5009d8]
call fcn.0042d074
call fcn.00409954
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00501e30
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 0x503a1c
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 0x503b48
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.005020bc
xor eax, eax
push ebp
push 0x503b21
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.005026c4
test al, al
je 0x503b03
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005038f4
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a404
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x503b03
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.0040accc
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.0050201c
test al, al
je 0x503aff
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040accc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040ad2c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005038f4
pop ecx
inc edi
dec ebx
jne 0x503aa7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503b28
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005020bc
pop eax
jmp eax
Function at 0x503b58
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 0x503db0
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.005020bc
xor eax, eax
push ebp
push 0x503d84
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.005026c4
test al, al
je 0x503d66
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a404
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x503d66
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.0040accc
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.0050201c
test al, al
je 0x503d5a
mov eax, dword [ebp - 4]
call fcn.0040accc
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040ad2c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00503454
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x503d5a
xor eax, eax
push ebp
push 0x503d53
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.005020bc
xor eax, eax
push ebp
push 0x503d33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040accc
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040ad2c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005020c0
mov eax, dword [ebp - 4]
call fcn.0040accc
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040ad2c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00503454
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x503d0e
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.00503a1c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00503b58
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503d15
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 0x503be3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503d8b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005020bc
pop eax
jmp eax
Function at 0x50fe6c
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 0x50fe72
ret
Function at 0x535cf8
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 [0x5f9ae0], 0
je 0x535e3c
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5f2894]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x535e3c
mov eax, dword [0x5f9ae4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5f9ae0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x535e0b
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5f9ae0]
call fcn.004b060c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x535e03
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x225], 0
je 0x535e03
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x535e03
mov eax, dword [ebp - 0x14]
call fcn.00542ed0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x535e03
push ebp
call fcn.00535cb4
pop ecx
test al, al
jne 0x535e03
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00408868
test al, al
je 0x535e03
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.00408868
cmp byte [ebp - 1], 0
je 0x535e03
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.004136c0
test al, al
je 0x535e03
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5f9ae4]
call fcn.00535434
inc edi
dec ebx
jne 0x535d5d
mov eax, dword [0x5f9ae4]
cmp dword [eax + 8], 0
jle 0x535e23
mov eax, dword [0x5f9ae4]
call fcn.005354e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x535e3c
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00535b1c
pop ecx
test al, al
jne 0x535e3c
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
Function at 0x53f368
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00413bb0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00538440
test ebx, ebx
jne 0x53f3bb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0053f218
mov ebx, eax
test ebx, ebx
je 0x53f4b1
cmp esi, ebx
je 0x53f3e4
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x53f3f9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x53f431
add eax, 0xffffff5f
sub eax, 2
jb 0x53f449
dec eax
sub eax, 2
jb 0x53f45d
dec eax
sub eax, 2
jb 0x53f453
jmp 0x53f467
add eax, 0xfffffdff
sub eax, 2
jb 0x53f449
dec eax
sub eax, 2
jb 0x53f45d
dec eax
sub eax, 2
jb 0x53f453
jmp 0x53f467
mov byte [esp + 0x120], 0
jmp 0x53f46f
mov byte [esp + 0x120], 2
jmp 0x53f46f
mov byte [esp + 0x120], 1
jmp 0x53f46f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005c486c
mov esi, eax
call fcn.00534b00
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0053a1b4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x53f4b3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret