joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434378
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 0x434395
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x4343a3
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x4344c5
test ebx, ebx
jl 0x4344c5
test esi, esi
jle 0x4344c5
mov eax, dword [ebp - 8]
call fcn.0040b7c0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040b7c0
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 0x434462
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x4344c5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x434447
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x434416
inc dword [ebp - 0x14]
jmp 0x434426
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x434426
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x434431
or eax, 0xffffffff
jmp 0x434447
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x434444
inc eax
jmp 0x434447
or eax, 0xffffffff
test eax, eax
jl 0x43444f
cmp esi, eax
jg 0x434404
cmp esi, eax
jg 0x43445a
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4344c8
inc edx
dec dword [ebp - 0x1c]
jne 0x434400
jmp 0x4344c5
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x4344c5
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x4344ac
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43448b
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x434496
or eax, 0xffffffff
jmp 0x4344ac
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x4344a9
inc eax
jmp 0x4344ac
or eax, 0xffffffff
test eax, eax
jl 0x4344b4
cmp esi, eax
jg 0x434474
cmp esi, eax
jg 0x4344bf
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x4344c8
inc edx
dec dword [ebp - 0x1c]
jne 0x434470
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44551c
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 0x445524
mov eax, edx
pop esi
pop ebx
ret

Function at 0x448198
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4481af
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x44819f
mov eax, ecx
pop ebx
ret
Function at 0x45da74
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x45da88
add esp, 0xfffffff0
call fcn.00409484
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4579f8]
call fcn.0047c18c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x45ca44]
call fcn.0047ef40
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x45ca44]
call fcn.0047ef40
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 0x45dadd
call fcn.004094dc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cc124
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4cc167
cmp byte [ebx + 0x11], 0
jne 0x4cc167
cmp byte [ebx + 0x24], 0
jne 0x4cc167
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 0x4cc17e
mov ecx, dword [0x6a7794]
mov dl, 1
mov eax, dword [0x497878]
call fcn.0042e638
call fcn.0040a354
pop ebx
ret
mov ecx, dword [0x6a7794]
mov dl, 1
mov eax, dword [0x497878]
call fcn.0042e638
call fcn.0040a354
pop ebx
ret

Function at 0x4ccaec
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 0x4ccb3a
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.004cbfd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ccb53
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6ae8d4
cmp dword [edi], 0
jne 0x4cf9b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6ae8d0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x69dd44
mov ecx, 2
call fcn.004072a0
mov edx, 0x4cf910
lea eax, [esi + 5]
call fcn.004cf930
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cf930
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 0x4cf989
mov dword [0x6ae8d0], 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 0x4f440c
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 0x4f45cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b124
mov eax, dword [ebp - 4]
call fcn.004f3cec
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4f445e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040bbdc
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.004f5390
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f453f
xor eax, eax
push ebp
push 0x4f4538
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004f3ff8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004f4600
test al, al
je 0x4f4514
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040ae84
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4f4514
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.0040b7c0
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.004f3f58
test al, al
je 0x4f450e
mov eax, dword [ebp - 8]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040b820
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004f440c
dec ebx
cmp ebx, 0xffffffff
jne 0x4f44bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f453f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004f3ff8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x6ae910], 0
je 0x4f457f
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040b7c0
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f3fe4
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f3f58
mov ebx, eax
jmp 0x4f45a6
mov eax, dword [ebp - 4]
call fcn.0040b7c0
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f3fe4
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f3f58
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f45d2
lea eax, [ebp - 0x3c]
call fcn.0040acec
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ad4c
pop eax
jmp eax
Function at 0x4f4670
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 0x4f472a
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.004f4600
test al, al
je 0x4f470a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040ae84
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4f470a
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.0040b7c0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040b820
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4f46c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4731
lea eax, [ebp - 0x2c]
call fcn.0040acec
lea eax, [ebp - 4]
call fcn.0040acec
pop eax
jmp eax

Function at 0x4f526c
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.004f3d04
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.0040b7c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004f3f58
test al, al
jne 0x4f52d4
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6a755c]
mov dl, 1
mov eax, dword [0x4f2914]
call fcn.0042e70c
call fcn.0040a354
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f52e0
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.0040b7c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004f3f58
test al, al
jne 0x4f5341
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6a7c54]
mov dl, 1
mov eax, dword [0x4f2914]
call fcn.0042e70c
call fcn.0040a354
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004f3d6c
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 0x4f5958
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 0x4f5a84
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.004f3ff8
xor eax, eax
push ebp
push 0x4f5a5d
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.004f4600
test al, al
je 0x4f5a3f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f5830
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040ae84
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4f5a3f
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.0040b7c0
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.004f3f58
test al, al
je 0x4f5a3b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040b820
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f5830
pop ecx
inc edi
dec ebx
jne 0x4f59e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5a64
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004f3ff8
pop eax
jmp eax
Function at 0x4f5a94
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 0x4f5cec
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.004f3ff8
xor eax, eax
push ebp
push 0x4f5cc0
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.004f4600
test al, al
je 0x4f5ca2
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040ae84
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4f5ca2
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.0040b7c0
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.004f3f58
test al, al
je 0x4f5c96
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040b820
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f5390
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f5c96
xor eax, eax
push ebp
push 0x4f5c8f
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.004f3ff8
xor eax, eax
push ebp
push 0x4f5c6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040b820
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f3ffc
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040b820
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f5390
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4f5c4a
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.004f5958
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004f5a94
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5c51
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 0x4f5b1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5cc7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004f3ff8
pop eax
jmp eax
Function at 0x501da8
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 0x501dae
ret
Function at 0x53a290
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 + 0x6a0384]
cmp edx, 4
mov eax, ecx
jl 0x53a298
pop ebp
ret

Function at 0x53a2b4
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 + 0x6a0784]
cmp edx, 4
mov eax, ecx
jl 0x53a2bc
pop ebp
ret
Function at 0x5528f4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040ade0
xor eax, eax
push ebp
push 0x552a33
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x552a04
xor edx, edx
push ebp
push 0x5529fd
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x55293f
mov eax, dword [eax - 4]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5529d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x5529bf
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x552980
mov ebx, dword [ebx - 4]
mov eax, dword [ebp - 4]
call fcn.0040b7c0
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.004072a0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5529c6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x6a6eec]
mov dl, 1
mov eax, dword [0x41ed6c]
call fcn.0042e638
call fcn.0040a354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552a3a
lea eax, [ebp - 4]
call fcn.0040acec
pop eax
jmp eax

Function at 0x557bbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x557bd2
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x557be2
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x557bf2
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x57a074
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.0040ae84
test ebx, ebx
je 0x57a0c6
mov eax, dword [esi]
call fcn.0040b7c0
push eax
lea eax, [ebx + 1]
push eax
push 0xd
push edi
call sub.user32.dll_SendMessageW
sub ebx, eax
test ebx, ebx
jle 0x57a0c6
mov eax, dword [esi]
test eax, eax
je 0x57a0bb
mov eax, dword [eax - 4]
mov edx, eax
sub edx, ebx
mov eax, esi
call fcn.0040b94c
pop edi
pop esi
pop ebx
ret
Function at 0x583d90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00583e58
test eax, eax
je 0x583de2
mov edi, dword [ebx + 8]
test edi, edi
je 0x583dbe
test edi, edi
je 0x583dbe
mov edx, esi
mov eax, edi
call fcn.005e06b8
jmp 0x583df0
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00583e58
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040ae84
jmp 0x583df0
mov ecx, esi
mov edx, 0x583e10
mov eax, ebx
call fcn.00583d18
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040b0dc
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x5a0a44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5a0a65
test edi, 0x40000
je 0x5a0a7f
test bl, bl
jne 0x5a0b00
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5a0b00
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5a0ab2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5a0ac7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5a0ad6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5a0ae7
cmp byte [esp + 2], 0
je 0x5a0b00
cmp byte [esp + 2], 0
je 0x5a0af8
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5a0b00
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5a0da4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5a0dca
mov eax, esp
push eax
push 0x5a0d6c
call sub.user32.dll_EnumWindows
jmp 0x5a0ddd
mov eax, esp
push eax
push 0x5a0d4c
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5a0ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x5a0eb2
or si, 1
test bl, 8
je 0x5a0ebb
or si, 4
test bl, 1
je 0x5a0ec4
or si, 8
test bl, 2
je 0x5a0ecd
or si, 0x10
test bl, 0x10
je 0x5a0ed6
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0ee6
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5a0eec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0f05
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0f15
or bx, 4
test esi, 0x20000000
je 0x5a0f21
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret