joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x74]
sub edi, eax
mov edx, dword [ebx + 0x6c]
sub edi, edx
jmp 0x42f875
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
mov edx, dword [ebx + 0x6c]
cmp eax, edx
ja 0x42f8fe
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0042d6b0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x44]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x42f8c8
mov cx, word [esp]
sub cx, si
jmp 0x42f8ca
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42f8af
mov eax, esi
mov edx, eax
add edx, edx
mov ecx, dword [ebx + 0x40]
add edx, ecx
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
mov ecx, dword [esp]
cmp esi, ecx
ja 0x42f8f4
mov cx, word [esp]
sub cx, si
jmp 0x42f8f6
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x42f8db
add edi, esi
mov ebp, dword [ebx]
mov eax, dword [ebp + 4]
test eax, eax
je 0x42f9eb
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
add edx, ecx
mov eax, dword [ebx + 0x74]
add edx, eax
mov ecx, edi
mov eax, ebp
call fcn.0042f5a8
add dword [ebx + 0x74], eax
mov edx, dword [ebx + 0x74]
cmp edx, 3
jb 0x42f953
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
mov edx, dword [ebx + 0x54]
and eax, edx
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x74]
cmp eax, 0x106
jae 0x42f96a
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x42f84a
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
cmp ecx, edx
jbe 0x42f9eb
mov esi, dword [ebx + 0x6c]
add esi, eax
cmp esi, edx
jbe 0x42f9ac
mov edi, ecx
sub edi, esi
cmp edi, 0x102
jbe 0x42f991
mov edi, 0x102
push edi
push 0
mov eax, dword [ebx + 0x38]
add eax, esi
push eax
call fcn.0042d6d0
add esp, 0xc
add edi, esi
mov dword [ebx + 0x16c0], edi
jmp 0x42f9eb
lea edx, [esi + 0x102]
mov eax, dword [ebx + 0x16c0]
cmp edx, eax
jbe 0x42f9eb
mov edi, edx
mov edx, dword [ebx + 0x3c]
sub edx, eax
sub edi, eax
cmp edi, edx
jbe 0x42f9d4
mov edi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x16c0]
sub edi, edx
push edi
push 0
mov ecx, dword [ebx + 0x38]
add ecx, eax
push ecx
call fcn.0042d6d0
add esp, 0xc
add dword [ebx + 0x16c0], edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x435b40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x11], 0
je 0x435b63
mov eax, dword [ebp - 8]
call fcn.004072c8
push eax
call sub.kernel32.dll_OutputDebugStringW
pop ecx
pop ecx
pop ebp
ret
Function at 0x43f7b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x43f7e5
cmp dword [ebp - 0x108], 2
jne 0x43f7e5
cmp dword [ebp - 0x114], 6
jae 0x43f7e9
xor eax, eax
jmp 0x43f7eb
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x43f960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x49]
mov edx, 0x3c
call fcn.0042a710
mov dword [ebp - 0x49], 0x3c
xor eax, eax
mov dword [ebp - 0x45], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x41], eax
mov eax, dword [ebp - 0xc]
call fcn.004072c8
mov dword [ebp - 0x39], eax
mov eax, dword [ebp + 0xc]
call fcn.004072c8
mov dword [ebp - 0x35], eax
mov eax, dword [ebp + 8]
call fcn.004072c8
mov dword [ebp - 0x31], eax
mov dword [ebp - 0x2d], 1
mov eax, dword [ebp - 4]
call fcn.004072c8
mov dword [ebp - 0x3d], eax
lea eax, [ebp - 0x49]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 8

Function at 0x440600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00425fd0
test al, al
je 0x44063e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004405b0
lea eax, [ebp - 0xc]
call fcn.00440510
jmp 0x440646
mov eax, dword [ebp - 8]
call fcn.004065f8
mov esp, ebp
pop ebp
ret
Function at 0x440950
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x440b1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406a04
cmp dword [ebp - 4], 0
je 0x440993
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x440993
xor eax, eax
jmp 0x440995
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4409b0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004076d0
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.00440da0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x440a90
xor edx, edx
push ebp
push 0x440a89
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004416d0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00440e50
test al, al
je 0x440a67
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406764
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x440a67
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004072c8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x440a61
mov eax, dword [ebp - 8]
call fcn.004072c8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407320
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00440950
dec ebx
cmp ebx, 0xffffffff
jne 0x440a0f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440a90
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004416d0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x58f9d0], 0
je 0x440ad2
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00440b90
push eax
call dword [0x58f9d0]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x440afa
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00440b90
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440b24
lea eax, [ebp - 0x3c]
call fcn.004065f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406658
ret
Function at 0x440bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x440c7a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov esi, ebx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.004072c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
jne 0x440c32
lea eax, [ebp - 0xc]
mov ecx, edi
mov edx, 0x440c98
call fcn.004074b8
mov edx, dword [ebp - 0xc]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x440cc8
call fcn.004356a0
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x440c3f
mov al, 1
jmp 0x440c5f
cmp dword [ebp - 8], 2
jne 0x440c49
mov al, 2
jmp 0x440c5f
cmp dword [ebp - 8], 4
jne 0x440c53
mov al, 3
jmp 0x440c5f
cmp dword [ebp - 8], 3
jne 0x440c5d
mov al, 4
jmp 0x440c5f
xor eax, eax
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440c81
lea eax, [ebp - 0xc]
call fcn.004065f8
ret

Function at 0x440cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00404c74
mov ebp, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, edi
call fcn.004072c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [esp], 1
jne 0x440d3d
mov al, 1
jmp 0x440d5d
cmp dword [esp], 2
jne 0x440d47
mov al, 2
jmp 0x440d5d
cmp dword [esp], 4
jne 0x440d51
mov al, 3
jmp 0x440d5d
cmp dword [esp], 3
jne 0x440d5b
mov al, 4
jmp 0x440d5d
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x440ec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x440f80
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0042bf20
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00440e50
test al, al
je 0x440f65
mov ecx, dword [ebp - 0x2c]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406764
mov ebx, dword [ebp - 0x30]
dec ebx
test ebx, ebx
jl 0x440f65
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004072c8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407320
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042be80
inc esi
dec ebx
jne 0x440f17
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440f87
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406658
ret

Function at 0x440f90
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x441050
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0042bf20
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00440e50
test al, al
je 0x441035
mov ecx, dword [ebp - 0x24]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406764
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x441035
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004072c8
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407320
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042be80
inc esi
dec ebx
jne 0x440fe7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441057
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406658
ret
Function at 0x441500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4415c1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44153a
dec al
je 0x441541
dec al
je 0x441548
dec al
je 0x44154f
jmp 0x441556
mov eax, 1
jmp 0x441558
mov eax, 2
jmp 0x441558
mov eax, 4
jmp 0x441558
mov eax, 3
jmp 0x441558
xor eax, eax
mov esi, eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004072c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
test bl, bl
jne 0x4415ab
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4415e0
call fcn.004074b8
mov edx, dword [ebp - 0xc]
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov ecx, 0x441600
call fcn.004356a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4415c8
lea eax, [ebp - 0xc]
call fcn.004065f8
ret

Function at 0x443fe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x40
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
call fcn.004072c8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.004072c8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.004072c8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
call fcn.004072c8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x4c]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00443f70
push eax
mov eax, dword [ebp + 0x10]
call fcn.00443f70
push eax
mov eax, dword [ebp - 0xc]
call fcn.004072c8
push eax
mov eax, dword [ebp - 8]
call fcn.004072c8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00425fd0
test al, al
je 0x44423e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004441b0
lea eax, [ebp - 0xc]
call fcn.00444110
jmp 0x444246
mov eax, dword [ebp - 8]
call fcn.004065f8
mov esp, ebp
pop ebp
ret

Function at 0x44c500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov esi, eax
mov byte [esp], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44c537
and ax, 0x3ff
xor ax, 0xdc00
mov word [ebp], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [esp], 1
jmp 0x44c669
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0044dba0
test al, al
je 0x44c669
cmp byte [esp + 1], 0x80
jae 0x44c568
movzx eax, byte [esp + 1]
mov word [ebp], ax
mov byte [esp], 1
jmp 0x44c669
mov edi, 1
movzx eax, byte [esp + 1]
mov dword [esi + 0x40034], eax
movzx eax, byte [esp + 1]
mov byte [esp + 2], al
mov bl, 0x40
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0xc0
jne 0x44c669
jmp 0x44c60b
lea edx, [esp + 1]
mov ecx, 1
mov eax, esi
call fcn.0044dba0
test al, al
jne 0x44c5b9
mov edx, 0x44c680
mov eax, esi
call fcn.0044dc80
jmp 0x44c669
movzx eax, byte [esp + 1]
and al, 0xc0
cmp al, 0x80
je 0x44c5d5
mov edx, 0x44c680
mov eax, esi
call fcn.0044dc80
jmp 0x44c669
movzx eax, byte [esp + 1]
and al, 0x3f
movzx eax, al
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x44c604
mov edx, 0x44c680
mov eax, esi
call fcn.0044dc80
jmp 0x44c669
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [esp + 2], bl
jne 0x44c594
mov eax, dword [edi*4 + 0x58fcc8]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x44c640
mov eax, dword [edi*4 + 0x58fcc4]
cmp eax, dword [esi + 0x40034]
jb 0x44c640
mov edx, 0x44c680
mov eax, esi
call fcn.0044dc80
jmp 0x44c669
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44c65a
shr eax, 0xa
add ax, 0xd7c0
mov word [ebp], ax
jmp 0x44c665
movzx eax, word [esi + 0x40034]
mov word [ebp], ax
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4501b0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004065f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x450209
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.00407374
mov esp, ebp
pop ebp
ret
Function at 0x4504f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x59b090], 0
jne 0x4505a5
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x59b08c]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x58fdc4
mov ecx, 2
call fcn.00404860
mov edx, 0x4504a0
mov eax, dword [ebp - 4]
add eax, 5
call fcn.004504c0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.004504c0
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x59b090]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x59b090], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x45055e
mov eax, dword [ebp - 4]
mov dword [0x59b08c], eax
mov eax, dword [0x59b090]
mov dword [ebp - 0x10], eax
mov eax, dword [0x59b090]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x59b090], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x452c90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 0xc]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x452d8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x452d7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00404860
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x452d21
push 0x452dbc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov dl, 2
call fcn.00435400
call fcn.00405de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452da6
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x452d61
push 0x452dbc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x590ea0]
mov eax, dword [eax]
mov dl, 2
call fcn.00435400
call fcn.00405de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x452da6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452d84
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret