joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434c1c
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 0x434c3b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x434c4b
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x434d6d
test ebx, ebx
jl 0x434d6d
test esi, esi
jle 0x434d6d
mov eax, dword [ebp - 8]
call fcn.0040c8a8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040c8a8
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 0x434d0a
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x434d6d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x434cef
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x434cbe
inc dword [ebp - 0x14]
jmp 0x434cce
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x434cce
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x434cd9
or eax, 0xffffffff
jmp 0x434cef
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x434cec
inc eax
jmp 0x434cef
or eax, 0xffffffff
test eax, eax
jl 0x434cf7
cmp esi, eax
jg 0x434cac
cmp esi, eax
jg 0x434d02
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x434d70
inc edx
dec dword [ebp - 0x1c]
jne 0x434ca8
jmp 0x434d6d
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x434d6d
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x434d54
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x434d33
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x434d3e
or eax, 0xffffffff
jmp 0x434d54
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x434d51
inc eax
jmp 0x434d54
or eax, 0xffffffff
test eax, eax
jl 0x434d5c
cmp esi, eax
jg 0x434d1c
cmp esi, eax
jg 0x434d67
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x434d70
inc edx
dec dword [ebp - 0x1c]
jne 0x434d18
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x454698
add esp, 0xfffffff0
call fcn.0040a148
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44e720]
call fcn.0046eb1c
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x4536c0]
call fcn.00470178
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x4536c0]
call fcn.00470178
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 0x4546ed
call fcn.0040a1a0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b0d70
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b0db3
cmp byte [ebx + 0x11], 0
jne 0x4b0db3
cmp byte [ebx + 0x24], 0
jne 0x4b0db3
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 0x4b0dca
mov ecx, dword [0x6bfd80]
mov dl, 1
mov eax, dword [0x4817dc]
call fcn.00431348
call fcn.0040b09c
pop ebx
ret
mov ecx, dword [0x6bfd80]
mov dl, 1
mov eax, dword [0x4817dc]
call fcn.00431348
call fcn.0040b09c
pop ebx
ret

Function at 0x4b14f0
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 0x4b153e
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.004b0c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b1557
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6c7974
cmp dword [edi], 0
jne 0x4b3f14
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6c7970]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6b60dc
mov ecx, 2
call fcn.004078a0
mov edx, 0x4b3e70
lea eax, [esi + 5]
call fcn.004b3e90
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004b3e90
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 0x4b3ee9
mov dword [0x6c7970], 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 0x4bda2c
Capabilities:
Encode data using xor

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

Function at 0x4da1bc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push 0
call sub.kernel32.dll_SetLastError
push esp
push 0
push 0
push 5
push 0
call sub.SHFolder.dll_SHGetFolderPathW_1
test eax, eax
jne 0x4da1ee
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.0040c95c
jmp 0x4da1f5
mov eax, ebx
call fcn.0040b9a4
add esp, 0x20c
pop ebx
ret
Function at 0x4e0f3c
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 0x4e10fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040bddc
mov eax, dword [ebp - 4]
call fcn.004e096c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4e0f8e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040ccc4
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.004e16b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4e106f
xor eax, eax
push ebp
push 0x4e1068
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004e0b28
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004e110c
test al, al
je 0x4e1044
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040bb3c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4e1044
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.0040c8a8
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.004e0a88
test al, al
je 0x4e103e
mov eax, dword [ebp - 8]
call fcn.0040c8a8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040c908
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004e0f3c
dec ebx
cmp ebx, 0xffffffff
jne 0x4e0fed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e106f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004e0b28
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x6c79c8], 0
je 0x4e10af
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004e0b14
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004e0a88
mov ebx, eax
jmp 0x4e10d6
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004e0b14
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004e0a88
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1102
lea eax, [ebp - 0x3c]
call fcn.0040b9a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba04
pop eax
jmp eax
Function at 0x4e117c
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 0x4e1236
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.004e110c
test al, al
je 0x4e1216
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040bb3c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4e1216
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.0040c8a8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040c8a8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040c908
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4e11cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e123d
lea eax, [ebp - 0x2c]
call fcn.0040b9a4
lea eax, [ebp - 4]
call fcn.0040b9a4
pop eax
jmp eax

Function at 0x4e15b0
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.004e0984
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.0040c8a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004e0a88
test al, al
jne 0x4e1618
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6bfb88]
mov dl, 1
mov eax, dword [0x4df1dc]
call fcn.00431384
call fcn.0040b09c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4e1624
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.0040c8a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004e0a88
test al, al
jne 0x4e1685
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6c0228]
mov dl, 1
mov eax, dword [0x4df1dc]
call fcn.00431384
call fcn.0040b09c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004e09b4
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 0x4ead34
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 0x4ead3a
ret
Function at 0x4f1758
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.004f15e8
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x4f179a
lea eax, [ebp - 0x22]
call fcn.004ee968
cmp ax, word [ebp - 0xe]
je 0x4f179f
call fcn.004ed900
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00407318
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x4f18c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x30]
movzx edx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x4f17e5
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x34], 8
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4f1856
call fcn.004ed900
lea eax, [ebp - 0xa0]
push eax
push 0x6c
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_DeleteEnhMetaFile
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4f18aa
call fcn.004ed900
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f18d0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00407334
pop eax
jmp eax
Function at 0x4ff140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4ff192
test eax, edx
je 0x4ff195
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4ff155
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x4ff17b
add ecx, 4
js 0x4ff16b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4ff178
movzx eax, byte [eax + ecx]
movzx edx, byte [edx + ecx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4ff1a1
test edx, edx
jne 0x4ff148
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4ffe70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x446aa0]
call fcn.0040d214
xor eax, eax
push ebp
push 0x4ffff9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6b7138], 0
jne 0x4ffec5
mov ecx, dword [0x6bf50c]
mov dl, 1
mov eax, dword [0x4224d8]
call fcn.00431348
call fcn.0040b09c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00408424
mov eax, ebx
call fcn.0040c628
mov dword [ebp - 0x24], eax
mov esi, 0x500008
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00410b10
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4fff0a
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4fff5f
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4fff58
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.0040c998
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x58]
mov ecx, 0x10
call fcn.0040c95c
mov eax, dword [ebp - 0x60]
pop edx
call fcn.00429628
test eax, eax
jne 0x4fff58
mov ebx, 0x15
jmp 0x4fff64
mov ebx, 0x10
jmp 0x4fff64
mov ebx, 0x15
xor eax, eax
push ebp
push 0x4fffb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6c0168]
movzx eax, word [eax]
or ax, 8
call fcn.00407d28
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [0x6b7138]
call fcn.004ffc34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fffbb
call fcn.00407d18
pop eax
jmp eax

Function at 0x508530
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 + 0x6b88c8]
cmp edx, 4
mov eax, ecx
jl 0x508538
pop ebp
ret
Function at 0x508554
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 + 0x6b8cc8]
cmp edx, 4
mov eax, ecx
jl 0x50855c
pop ebp
ret
Function at 0x516284
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 [0x6c7bb0], 0
je 0x5163c5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6bfd20]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x5163c5
mov eax, dword [0x6c7bb4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6c7bb0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x516394
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6c7bb0]
call fcn.0049f99c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x51638c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x51638c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x51638c
mov eax, dword [ebp - 0x14]
call fcn.00522a34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x51638c
push ebp
call fcn.00516240
pop ecx
test al, al
jne 0x51638c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00409f2c
test al, al
je 0x51638c
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.00409f2c
cmp byte [ebp - 1], 0
je 0x51638c
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00417b14
test al, al
je 0x51638c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6c7bb4]
call fcn.005159c0
inc edi
dec ebx
jne 0x5162e9
mov eax, dword [0x6c7bb4]
cmp dword [eax + 8], 0
jle 0x5163ac
mov eax, dword [0x6c7bb4]
call fcn.00515a74
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5163c5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.005160a8
pop ecx
test al, al
jne 0x5163c5
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 0x51f150
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.00417cf8
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.00518978
test ebx, ebx
jne 0x51f1a3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0051f000
mov ebx, eax
test ebx, ebx
je 0x51f299
cmp esi, ebx
je 0x51f1cc
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 0x51f1e1
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 0x51f219
add eax, 0xffffff5f
sub eax, 2
jb 0x51f231
dec eax
sub eax, 2
jb 0x51f245
dec eax
sub eax, 2
jb 0x51f23b
jmp 0x51f24f
add eax, 0xfffffdff
sub eax, 2
jb 0x51f231
dec eax
sub eax, 2
jb 0x51f245
dec eax
sub eax, 2
jb 0x51f23b
jmp 0x51f24f
mov byte [esp + 0x120], 0
jmp 0x51f257
mov byte [esp + 0x120], 2
jmp 0x51f257
mov byte [esp + 0x120], 1
jmp 0x51f257
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00598630
mov esi, eax
call fcn.00515044
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.0051a478
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x51f29b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x53b1b8
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 + 0x18]
xor edx, edx
push ebp
push 0x53b2a9
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 0x53b279
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 0x53b268
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.004078a0
mov eax, dword [ebp - 4]
call fcn.0053b094
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x53b24f
mov ecx, dword [0x6bf638]
mov dl, 1
mov eax, dword [0x475c3c]
call fcn.00431348
call fcn.0040b09c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b26f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax