joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453e74
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.00404400
xor eax, eax
push ebp
push 0x453fa2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x453f75
xor eax, eax
push ebp
push 0x453f6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404210
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x453f43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x453f32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404210
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404410
mov edx, ebx
pop ecx
call fcn.004028d8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453f39
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x48d430]
mov dl, 1
mov eax, dword [0x406efc]
call fcn.0040b518
call fcn.00403904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453fa9
lea eax, [ebp - 4]
call fcn.00403f50
ret
Function at 0x453fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x454161
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404600
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x454178
call fcn.0040425c
mov eax, ebx
call fcn.0041aa28
mov edi, eax
dec edi
test edi, edi
jl 0x454068
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a9fc
mov edx, dword [0x42a924]
call fcn.00403304
test al, al
je 0x454064
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a9fc
lea edx, [ebp - 0x14]
call fcn.00431c68
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404600
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042d0
inc esi
dec edi
jne 0x454016
mov al, byte [0x45417c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x454188
mov eax, dword [ebp - 0xc]
call fcn.0040c8e4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403fe8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00431c68
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x454178
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00431c68
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x454178
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x454178
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x454194
call fcn.00408bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454168
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f74
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f74
lea eax, [ebp - 0x14]
call fcn.00403f50
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f74
ret
Function at 0x4575bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov edi, edx
mov ebx, eax
mov edx, esp
mov eax, ebx
call fcn.00457514
test al, al
jne 0x4575e2
mov eax, esi
call fcn.00403f50
jmp 0x457674
mov dword [esp + 4], 1
lea eax, [esp + 8]
push eax
push 0
lea eax, [esp + 0xc]
push eax
push 0
mov eax, edi
call fcn.00404410
mov ebp, eax
push ebp
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x457622
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, esi
call fcn.00403f50
jmp 0x457674
mov dword [esp + 4], 1
mov eax, dword [esp + 8]
inc eax
call fcn.004026dc
mov ebx, eax
lea eax, [esp + 8]
push eax
push ebx
lea eax, [esp + 0xc]
push eax
push 0
push ebp
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x45765b
mov eax, esi
call fcn.00403f50
jmp 0x457664
mov eax, esi
mov edx, ebx
call fcn.00404148
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
call fcn.004026fc
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45767c
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 ebx, edx
mov esi, eax
lea edx, [ebp - 4]
mov eax, esi
call fcn.00457514
test al, al
jne 0x45769d
xor ebx, ebx
jmp 0x457708
mov dword [ebp - 8], 3
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, ebx
call fcn.00404410
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4576cf
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
je 0x4576dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
xor ebx, ebx
jmp 0x457708
mov dword [ebp - 8], 3
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete al
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45c428
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
mov esi, dword [eax + 4]
imul esi, dword [eax + 8]
call fcn.0045c148
mov ecx, eax
test esi, esi
jle 0x45c488
mov ebx, dword [ecx]
mov eax, ebx
and eax, 0xff
imul eax, eax, 0xb
mov edx, ebx
shr edx, 8
and edx, 0xff
imul edx, edx, 0x3b
add eax, edx
mov edx, ebx
shr edx, 0x10
and edx, 0xff
imul edx, edx, 0x1e
add eax, edx
mov edi, 0x64
cdq
idiv edi
and ebx, 0xffffff
shl eax, 0x18
or ebx, eax
mov dword [ecx], ebx
dec esi
lea eax, [ecx + 4]
mov ecx, eax
test esi, esi
jg 0x45c43d
pop edi
pop esi
pop ebx
ret
Function at 0x45cc10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x45cc4e
mov eax, dword [esi + 0x30]
call fcn.00421180
mov esi, eax
mov eax, dword [ebx + 0x30]
call fcn.00421180
cmp esi, eax
jne 0x45cc4e
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x30]
call fcn.00421198
mov esi, eax
mov eax, dword [ebx + 0x30]
call fcn.00421198
cmp esi, eax
je 0x45cc5b
mov eax, dword [ebx + 0x34]
call fcn.0045c428
jmp 0x45cd02
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 8]
push edx
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x45be58]
call fcn.0045beb4
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ccfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call fcn.0041e894
cmp byte [ebx + 0x54], 0
jne 0x45ccc4
mov eax, dword [ebx + 0x34]
call fcn.0045c148
push eax
mov eax, dword [ebp - 4]
call fcn.0045c148
mov esi, dword [ebx + 0x34]
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
pop edx
call fcn.0045cbe0
jmp 0x45cce5
mov eax, dword [ebx + 0x34]
call fcn.0045c148
push eax
mov eax, dword [ebp - 4]
call fcn.0045c148
mov esi, dword [ebx + 0x34]
mov ecx, dword [esi + 4]
imul ecx, dword [esi + 8]
pop edx
call fcn.0045cbf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cd02
mov eax, dword [ebp - 4]
call fcn.00403178
ret
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x46ba14
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46ba42
mov eax, ebx
call fcn.0046c4c8
cmp dword [ebx + 0x40], 0
je 0x46ba3b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46bab3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46baa5
cmp dword [ebx + 8], 0
je 0x46ba64
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46ba76
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46baa5
cmp dword [ebx + 8], 0
je 0x46ba57
cmp eax, 3
je 0x46ba89
dec eax
jne 0x46ba57
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46ba57
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46ba57
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46bad1
cmp dword [ebx + 0x14], 0xcc
je 0x46bad1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046badc
pop ebx
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x682f15
Capabilities:
Encode data using xor

Disassembly:
pop word [esp]
mov word [esp], dx
jmp 0x682f67
push esp
lea esp, [esp + 2]
Function at 0x40fb08
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 0x40fbde
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405610
lea eax, [ebp - 4]
call fcn.00405e8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405648
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40fbc8
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40fbc1
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.00405648
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40fbab
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40fbf0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40fbab
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 0x40fbc8
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fbe5
lea eax, [ebp - 4]
call fcn.004055ac
ret

Function at 0x410bf4
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.004050c4
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x410b9e
mov eax, edi
add eax, eax
call fcn.00402f9c
mov esi, eax
jmp 0x410ba0
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x410bd9
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 0x410bc3
mov eax, esp
cmp esi, eax
je 0x410be6
mov eax, esi
call fcn.00402fb8
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 0x410c20
cmp bl, 0
je 0x410c1c
cmp bl, 0x41
jl 0x410c17
cmp bl, 0x5a
jg 0x410c17
or bl, 0x20
xor al, bl
inc esi
jmp 0x410bfb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x410b60

Function at 0x420f28
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00420c2c
dec esi
jne 0x420f4a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4220f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48ce5c
cmp dword [edi], 0
jne 0x422170
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48ce58]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x485c34
mov ecx, 2
call fcn.00403154
mov edx, 0x4220cc
lea eax, [esi + 5]
call fcn.004220ec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004220ec
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 0x422145
mov dword [0x48ce58], 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 0x425094
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.00405648
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x4250ec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487998]
mov dl, 1
mov eax, dword [0x424b1c]
call fcn.0040f03c
call fcn.0040462c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424ca4
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 0x426388
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 0x42638e
ret
Function at 0x43c344
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004055a4
xor eax, eax
push ebp
push 0x43c4d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43c4a7
xor edx, edx
push ebp
push 0x43c4a0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405610
mov eax, dword [ebp - 8]
test eax, eax
je 0x43c3b3
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x43c3b3
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00404f98
test eax, eax
je 0x43c3bc
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x43c475
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x43c464
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405610
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43c41e
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x43c41e
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00404f98
test eax, eax
je 0x43c427
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00405648
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00403154
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c46b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x487558]
mov dl, 1
mov eax, dword [0x408d78]
call fcn.0040f000
call fcn.0040462c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c4e0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055b4
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004055bc
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x43ec43
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405774
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x44405c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444195
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x424b90]
call fcn.00424ccc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x44416b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00424d6c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00405774
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4441b0
call fcn.00405948
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00424dd0
test al, al
je 0x444155
lea ecx, [ebp - 4]
mov edx, 0x444224
mov eax, dword [ebp - 0xc]
call fcn.0042501c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004113c8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x44414e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x44423c
mov eax, dword [ebp - 8]
push eax
call fcn.00407ab4
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x486850]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444155
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444172
mov eax, dword [ebp - 0xc]
call fcn.00403c38
ret

Function at 0x4442a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4442e7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4442ca
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4442db
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4442e7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x449dc4
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 [0x48d15c], 0
je 0x449f05
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x487800]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x449f05
mov eax, dword [0x48d160]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48d15c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x449ed4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48d15c]
call fcn.00419908
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x449ecc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x449ecc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x449ecc
mov eax, dword [ebp - 0x14]
call fcn.00454fbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x449ecc
push ebp
call fcn.00449d80
pop ecx
test al, al
jne 0x449ecc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403e48
test al, al
je 0x449ecc
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, 0xffbc
call fcn.00403e48
cmp byte [ebp - 1], 0
je 0x449ecc
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040778c
test al, al
je 0x449ecc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48d160]
call fcn.004494f8
inc edi
dec ebx
jne 0x449e29
mov eax, dword [0x48d160]
cmp dword [eax + 8], 0
jle 0x449eec
mov eax, dword [0x48d160]
call fcn.004495b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x449f05
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00449be4
pop ecx
test al, al
jne 0x449f05
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