joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403098
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x4030db
xor eax, eax
mov al, byte [ebp - 1]
add eax, 0x41
dec eax
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x214]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [ebp - 0x110]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
cmp byte [ebp - 1], 0
je 0x4030fe
lea eax, [ebp - 0x214]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404b14
mov esp, ebp
pop ebp
ret

Function at 0x4032b8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x403315
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 0xc]
call fcn.004031ec
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004031ec
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4032ff
inc dword [ebp - 4]
jmp 0x4032e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40331c
lea eax, [ebp - 0xc]
call fcn.004048bc
ret

Function at 0x403324
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40335e
push 0x105
lea eax, [ebp - 0x111]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, dword [ebp - 8]
call fcn.004049a4
jmp 0x403387
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004031ec
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x403387
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x403387
dec dword [ebp - 4]
jmp 0x403366
mov esp, ebp
pop ebp
ret

Function at 0x4035e8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x580044], 0x8088405
inc edx
mov dword [0x580044], edx
mul edx
mov eax, edx
ret
Function at 0x403850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4038e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4038c8
xor eax, eax
push ebp
push 0x4038c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403904
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4038c8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x404848
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 8
call fcn.00402f24
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov byte [0x580049], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, 0x404810
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406a84
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x125]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x406c5c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406ae3
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x406c78
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406b57
xor eax, eax
push ebp
push 0x406b50
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push ebp
lea eax, [ebp - 0x125]
call fcn.0040689c
pop ecx
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406b39
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push 0x406c98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b57
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0x11]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor eax, eax
mov dword [ebp - 8], eax
cmp byte [ebp - 0x125], 0
je 0x406c55
cmp byte [ebp - 0x11], 0
jne 0x406b9c
cmp byte [ebp - 0x16], 0
je 0x406c55
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_lstrlenA
lea edx, [ebp - 0x125]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x406bb8
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x2e
je 0x406bcb
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
jne 0x406bb5
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
je 0x406c55
inc dword [ebp - 0x20]
cmp byte [ebp - 0x16], 0
je 0x406bff
lea eax, [ebp - 0x16]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406c55
cmp byte [ebp - 0x11], 0
je 0x406c55
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406c55
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40a754
Capabilities:
Read file 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
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x40a785
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40a78c
Capabilities:
Write file 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
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x40a7bd
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40a984
Capabilities:
Set file attributes

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
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a9b3
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x40ab28
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_DeleteFileA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x40ab50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_MoveFileA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x40b174
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA_1
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004049a4
mov esp, ebp
pop ebp
ret

Function at 0x40b1a8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_CreateDirectoryA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x40da38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40da80
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.004049a4
jmp 0x40da8b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00404910
mov esp, ebp
pop ebp
ret 4

Function at 0x40da94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40dac2
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40dac8
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret

Function at 0x417ea4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x417eda
push ebp
call fcn.00417e34
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x417f00
push ebp
call fcn.00417e34
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.004178ec
mov esp, ebp
pop ebp
ret 4

Function at 0x41ef60
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
pop ecx
pop ebp
ret

Function at 0x41ef80
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x41ef9f
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
pop ecx
pop ebp
ret

Function at 0x421658
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 0x42165e
ret
Function at 0x4249c4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x424a15
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4249fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4249ec
jmp 0x424a15
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4249fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438d40
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x438db2
mov eax, dword [0x57f120]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x438d84
mov eax, dword [ebp - 4]
push eax
push 0x438dbc
call fcn.0045a1c8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x438dab
mov ecx, dword [0x57eda0]
mov dl, 1
mov eax, dword [0x40925c]
call fcn.0040e4d8
call fcn.00404208
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
inc dword [eax + 4]
pop ecx
pop ebp
ret

Function at 0x438df4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x438e68
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x438e3b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00404a9c
jmp 0x438e43
mov eax, dword [ebp - 8]
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438e6f
cmp dword [ebp - 0xc], 0
je 0x438e5f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret

Function at 0x438e74
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
xor eax, eax
push ebp
push 0x438f2d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov word [ebp - 0xe], ax
cmp word [ebp - 0xe], 0
je 0x438f00
mov dx, word [ebp - 0xe]
mov eax, dword [0x42111c]
call fcn.004265d0
test al, al
je 0x438eeb
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0xe]
mov eax, dword [ebp - 8]
call fcn.004264b0
call fcn.004042a8
jmp 0x438f34
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_EnumClipboardFormats
mov word [ebp - 0xe], ax
cmp word [ebp - 0xe], 0
jne 0x438ea8
mov ecx, dword [0x57ee44]
mov dl, 1
mov eax, dword [0x40925c]
call fcn.0040e4d8
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438f34
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret
mov esp, ebp
pop ebp
ret
Function at 0x438f38
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
xor eax, eax
push ebp
push 0x438f98
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438f9f
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret

Function at 0x438fa4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
xor eax, eax
push ebp
push 0x439004
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 3
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43900b
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret

Function at 0x439088
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
xor eax, eax
push ebp
push 0x4390fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00438cd0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
call fcn.00426598
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x4390e8
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439105
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret

Function at 0x43910c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00438d40
xor eax, eax
push ebp
push 0x439183
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00438cd0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x43916d
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43918a
mov eax, dword [ebp - 4]
call fcn.00438cfc
ret
Function at 0x43c384
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne byte [ebp - 0x1d]
cmp dword [0x580788], 0
sete al
or al, byte [ebp - 0x1d]
jne 0x43c4d3
mov eax, dword [0x58078c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x580788]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x43c4a2
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x580788]
call fcn.004147d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43c496
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x43c496
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x43c496
mov eax, dword [ebp - 0x14]
call fcn.00447144
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43c496
push ebp
call fcn.0043c338
pop ecx
test al, al
jne 0x43c496
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x43c452
mov eax, dword [ebp - 0x14]
call fcn.004452a4
dec eax
jle 0x43c496
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403c18
cmp byte [ebp - 1], 0
je 0x43c496
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43c496
mov edx, dword [ebp - 0x14]
mov eax, dword [0x58078c]
call fcn.0043b8ac
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x43c3e4
mov eax, dword [0x58078c]
cmp dword [eax + 8], 0
jle 0x43c4ba
mov eax, dword [0x58078c]
call fcn.0043b958
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43c4d3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043c174
pop ecx
test al, al
jne 0x43c4d3
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