joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x433040]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
call edx
test eax, eax
je 0x41cc89
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.0040cbf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esi, 0x10a0
push esi
lea edx, [esp + 8]
push edx
push str.LastFolderUsed
push 0x42ee20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0040800a
add esp, 0x20c
ret

Function at 0x41cca0
Capabilities:
Read .ini file
Set current directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x433040]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
call edx
test eax, eax
je 0x41cd0b
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.0040cbf0
add esp, 0xc
add esi, 0x10a0
push esi
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x42edd0
push 0x42edf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.0040800a
add esp, 0x20c
ret

Function at 0x41d0a0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x10a0]
push edi
push 1
push 0x42e824
push 0x42e838
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x104
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
push eax
push 0x42e848
push 0x42e8b4
push 0x42e8c4
call ebp
push edi
push 0x104
lea ecx, [esi + 0x214]
push ecx
push 0x42e8d4
push 0x42e8d8
push 0x42e8e8
call ebp
push edi
push 1
push 0x42e8f8
push 0x42e908
call ebx
push edi
push 0
push 0x42e918
push 0x42e930
mov dword [esi + 0x41c], eax
call ebx
push edi
push 0x104
lea edx, [esi + 0x424]
push edx
push 0x42e940
push 0x42e954
push 0x42e96c
mov dword [esi + 0x420], eax
call ebp
push edi
push 0
push 0x42e97c
push 0x42e998
call ebx
push edi
push 0
push 0x42e9a8
push 0x42e9bc
mov dword [esi + 0x62c], eax
call ebx
push edi
push 0
push 0x42e9cc
push 0x42e9e8
mov dword [esi + 0x630], eax
call ebx
push edi
push 0
push 0x42e9f8
push 0x42ea18
mov dword [esi + 0x634], eax
call ebx
push edi
push 0
push 0x42ea28
push 0x42ea40
mov dword [esi + 0x638], eax
call ebx
mov dword [esi + 0x63c], eax
push edi
push 0
push 0x42ea50
push 0x42ea78
call ebx
push edi
push 0
push 0x42ea88
push 0x42ea9c
mov dword [esi + 0x640], eax
call ebx
push edi
push 1
push 0x42eaac
push 0x42eacc
mov dword [esi + 0x644], eax
call ebx
push edi
push 1
push 0x42eadc
push 0x42eafc
mov dword [esi + 0x648], eax
call ebx
pop edi
mov dword [esi + 0x64c], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x423420
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x433040]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov esi, ecx
mov word [esp + 0x10], 0
call fcn.0040cbf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp dword [esi + 4], 0
lea edx, [esp + 4]
mov dword [esi + 0x34], edx
je 0x423482
lea eax, [esi + 8]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
jne 0x423490
cmp dword [esi + 4], eax
jne 0x4234a9
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x4234a9
mov eax, dword [esi + 0x24]
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0040800a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040800a
add esp, 0x20c
ret

Function at 0x426220
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
test eax, eax
push ebp
mov ebp, dword [esp + 8]
je 0x426238
test ebp, ebp
je 0x426238
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42623c
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426247
push esi
sub eax, edx
push edi
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x426279
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
xor eax, eax
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
push ebp
push ebx
call fcn.0040cc70
add esp, 0xc
push esi
mov word [edi + ebx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
Function at 0x4028d0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028ff
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_2
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b6c
jmp 0x40291d
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402858
mov edi, eax
test ebx, ebx
je 0x40291d
cmp dword [esi], 0
je 0x40291d
dec ebx
jmp 0x402906
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c34
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 0x402ccc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x402cac
xor eax, eax
push ebp
push 0x402ca5
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 0x402ce8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402cac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
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 0x405454
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_2
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405610
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
je 0x4054b5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40562c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x405527
xor eax, eax
push ebp
push 0x405520
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004052ac
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x405509
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40564c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405527
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA_1
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405608
cmp byte [ebp - 0xd], 0
jne 0x405569
cmp byte [ebp - 0x12], 0
je 0x405608
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405582
dec ebx
cmp byte [ebx], 0x2e
je 0x405591
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405581
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405608
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4055be
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405608
cmp byte [ebp - 0xd], 0
je 0x405608
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405608
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405bf8
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x405c3b
push 0
push dword [ebx]
call sub.KERNEL32.DLL_GetFileSize
cmp eax, 0xffffffff
je 0x405c32
push eax
push 1
push 0
push 0
push dword [ebx]
call sub.KERNEL32.DLL_SetFilePointer_1
cmp eax, 0xffffffff
je 0x405c32
pop edx
cmp eax, edx
setae al
pop ebx
ret
call fcn.004027f4
mov al, 1
jmp 0x405c30
mov eax, 0x67
call fcn.004027e4
mov al, 0xff
jmp 0x405c30
Function at 0x405c4c
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
mov ecx, dword [ebx + 4]
sub ecx, 0xd7b1
je 0x405c5f
sub ecx, 2
jne 0x405c88
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.KERNEL32.DLL_ReadFile_1
pop edx
dec eax
jne 0x405c7c
cmp edx, dword [ebx + 8]
jne 0x405c8f
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError_1
call fcn.004027e4
jmp 0x405c7a
mov eax, 0x67
jmp 0x405c81
mov eax, 0x64
jmp 0x405c81

Function at 0x405e20
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x405e5b
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.KERNEL32.DLL_WriteFile_1
pop edx
dec eax
jne 0x405e4f
cmp edx, dword [ebx + 8]
jne 0x405e62
mov eax, ebx
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError_1
call fcn.004027e4
jmp 0x405e4b
mov eax, 5
jmp 0x405e54
mov eax, 0x65
jmp 0x405e54

Function at 0x40ad64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40ad9d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b6c
jmp 0x40ada6
mov eax, ebx
mov edx, esi
call fcn.00403ad8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40adb0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40add1
mov al, byte [esp]
jmp 0x40add3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4190dc
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 0x4190e2
ret

Function at 0x41b9d8
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 0x41ba29
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ba10
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ba00
jmp 0x41ba29
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 0x41ba11
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428064
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x4280b8
mov eax, dword [0x482194]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x428090
push ebx
push 0x4280c0
call fcn.004436b0
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x4280b4
mov ecx, dword [0x481f64]
mov dl, 1
mov eax, dword [0x4077e4]
call fcn.0040b5b4
call fcn.00403554
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x4280e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x428152
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x428126
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403c3c
jmp 0x42812d
mov eax, ebx
call fcn.00403a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428159
cmp dword [ebp - 8], 0
je 0x428149
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00428038
ret

Function at 0x428160
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
xor edx, edx
push ebp
push 0x428202
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4281d5
mov edx, ebx
mov eax, dword [0x418bb0]
call fcn.0041d124
test al, al
je 0x4281c5
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041d034
call fcn.004035f4
jmp 0x428209
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x428190
mov ecx, dword [0x481fcc]
mov dl, 1
mov eax, dword [0x4077e4]
call fcn.0040b5b4
call fcn.00403554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428209
mov eax, dword [ebp - 4]
call fcn.00428038
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x428210
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
xor eax, eax
push ebp
push 0x428268
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42826f
mov eax, dword [ebp - 4]
call fcn.00428038
ret
Function at 0x428278
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
xor edx, edx
push ebp
push 0x4282cd
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4282d4
mov eax, dword [ebp - 4]
call fcn.00428038
ret

Function at 0x428344
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
xor eax, eax
push ebp
push 0x4283b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042801c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041d0f8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4283a3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4283c0
mov eax, dword [ebp - 4]
call fcn.00428038
ret

Function at 0x4283c8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00428064
xor eax, eax
push ebp
push 0x42843d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042801c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x428427
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428444
mov eax, dword [ebp - 4]
call fcn.00428038
ret
Function at 0x42b774
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x483784], 0
sete dl
or al, dl
jne 0x42b8b4
mov eax, dword [0x483788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x483784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42b883
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x483784]
call fcn.00410730
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b87b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42b87b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42b87b
mov eax, dword [ebp - 0x14]
call fcn.00433a8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b87b
push ebp
call fcn.0042b730
pop ecx
test al, al
jne 0x42b87b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42b837
mov eax, dword [ebp - 0x14]
call fcn.00432418
dec eax
jle 0x42b87b
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 bx, 0xffc1
call fcn.00402f98
cmp byte [ebp - 1], 0
je 0x42b87b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b87b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x483788]
call fcn.0042af7c
inc edi
dec esi
jne 0x42b7ca
mov eax, dword [0x483788]
cmp dword [eax + 8], 0
jle 0x42b89b
mov eax, dword [0x483788]
call fcn.0042b00c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b8b4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042b598
pop ecx
test al, al
jne 0x42b8b4
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 0x431424
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x431455
je 0x4314af
sub eax, 7
je 0x431476
dec eax
je 0x4314a0
sub eax, 0x17
je 0x431554
jmp 0x431592
add eax, 0xffffff00
sub eax, 9
jb 0x431540
add eax, 0xffffff09
sub eax, 0xb
jb 0x431508
jmp 0x431592
mov eax, ebx
call fcn.004438d8
mov edi, eax
test edi, edi
je 0x4315f2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4315fb
jmp 0x4315f2
test byte [ebx + 0x44], 0x20
jne 0x4315fb
jmp 0x4315f2
mov edx, esi
mov eax, ebx
call fcn.0042ea24
cmp dword [esi + 0xc], 0xffffffff
jne 0x4315fb
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407324
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042d550
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004312fc
test eax, eax
je 0x4315fb
mov dword [esi + 0xc], 1
jmp 0x4315fb
mov edx, esi
mov eax, ebx
call fcn.00431390
test al, al
je 0x4315f2
cmp dword [esi + 0xc], 0
jne 0x4315fb
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00433a8c
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x4315fb
mov eax, ebx
call fcn.0042e0c0
test al, al
jne 0x4315fb
jmp 0x4315f2
mov eax, ebx
call fcn.00433a8c
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4315f2
cmp dword [0x4817d4], 0
je 0x4315f2
mov eax, dword [0x4817d4]
cmp ebx, dword [eax + 0x24]
jne 0x4315f2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4817d4]
call fcn.0042e958
jmp 0x4315f2
mov eax, dword [0x48374c]
cmp byte [eax + 0x20], 0
je 0x4315f2
mov eax, dword [0x48374c]
cmp dword [eax + 0x1c], 0
je 0x4315f2
mov eax, dword [esi]
mov edx, dword [0x48374c]
cmp eax, dword [edx + 0x1c]
jne 0x4315f2
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0044381c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402f98
jmp 0x4315fb
mov edx, esi
mov eax, ebx
call fcn.0042ea24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret