joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71201129
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x71202008]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x7120115d
sub eax, ecx
mov ecx, edi
mov esi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x7120116d
sub ecx, edx
lea eax, [ecx + esi + 2]
mov ebx, 0x104
cmp eax, ebx
jbe 0x7120118b
push 0x57
pop eax
jmp 0x7120121f
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push dword [ebp - 0x210]
mov edi, 0x712010cc
lea eax, [ebp - 0x108]
push edi
push eax
call esi
mov eax, dword [ebp - 0x214]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x712011b3
sub eax, ecx
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x210], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x712011cb
mov eax, dword [ebp - 0x210]
sub ecx, edx
lea eax, [ecx + eax + 2]
cmp eax, ebx
ja 0x71201183
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x214]
push edi
push eax
call esi
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x71201219
xor eax, eax
jmp 0x7120121f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.71201914
leave
ret 0xc
Function at 0x712014af
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x71202008]
push esi
xor esi, esi
push esi
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], esi
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeA]
cmp eax, esi
je 0x712014f1
xor eax, eax
jmp 0x7120160f
push ebx
push edi
push 4
pop ebx
mov edi, 0x712010f8
cmp eax, esi
jne 0x7120158d
push esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
push 0xa
push dword [ebp - 0x10c]
mov dword [ebp - 0x114], 0x104
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Registry_PropertyA]
push esi
lea eax, [ebp - 0x11c]
push eax
push 1
push esi
push 0xf003f
push dword [ebp - 0x10c]
call dword [sym.imp.SETUPAPI.dll_CM_Open_DevNode_Key]
test eax, eax
jne 0x7120158d
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push esi
push esi
push edi
push dword [ebp - 0x11c]
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x71201581
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp + 8]
je 0x7120161c
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebp - 0x10c]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Child]
cmp eax, esi
jne 0x712015b3
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
jmp 0x712015ff
push esi
push dword [ebp - 0x10c]
jmp 0x712015e2
push esi
push dword [ebp - 0x10c]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
cmp eax, esi
jne 0x712015f5
mov eax, dword [ebp - 0x110]
push esi
mov dword [ebp - 0x10c], eax
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Sibling]
cmp eax, esi
jne 0x712015bc
jmp 0x712015a5
mov dword [ebp - 0x120], 1
cmp dword [ebp - 0x120], esi
je 0x712014fb
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.71201914
leave
ret 8
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
push ebx
push esi
push edi
push dword [ebp - 0x11c]
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10c]
jmp 0x7120160d
Function at 0x401080
Capabilities:
Packed with generic packer

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x6c
push ebx
push esi
push edi
lea edi, [ebp - 3]
mov esi, section..rdata
pushal
popal
push 3
pop ecx
rep movsb byte es:[edi], byte [esi]
xor ebx, ebx
mov eax, ebx
movsx eax, al
add eax, 0x41
mov byte [ebp - 3], al
lea eax, [ebp - 3]
push eax
call dword [int.00416704]
mov dword [ebp + ebx*4 - 0x6c], eax
add ebx, 1
cmp ebx, 0x1a
jl 0x40109a
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x6c]
nop
push 0x1a
nop
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4010d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x21c
push esi
push edi
lea edi, [ebp - 0x1fe]
mov esi, 0x40c003
push eax
pop eax
push 0x3f
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xff]
mov esi, 0x40c102
nop
push 0x3f
nop
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x214], 0xff
lea edi, [ebp - 0x208]
mov esi, 0x40c201
mov ecx, 2
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x209]
mov esi, 0x40c20b
pushfd
xor ecx, ecx
inc ecx
popfd
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x21c]
mov esi, 0x40c20c
push ebx
pop ebx
push 8
pop ecx
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1fe]
push eax
lea eax, [ebp - 0x209]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [0x4166dc]
cmp eax, 0x20
jbe 0x4011e4
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [0x41669c]
test eax, eax
jne 0x4011e4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xff]
push eax
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x210]
push eax
call dword [0x4166a0]
test eax, eax
jne 0x4011e4
push 0xa
lea eax, [ebp - 0x1fe]
push eax
lea eax, [ebp - 0xff]
push eax
call fcn.00403730
add esp, 0xc
test eax, eax
jne 0x4011e4
mov eax, dword [ebp - 0x210]
push eax
call dword [0x4166a4]
pushfd
xor eax, eax
inc eax
popfd
jmp 0x4011f3
mov eax, dword [ebp - 0x210]
push eax
call dword [0x4166a4]
sub eax, eax
pop edi
pop esi
push ebp
pop esp
pop ebp
ret
Function at 0x401200
Capabilities:
Persist via run registry key

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x3c
push esi
push edi
lea edi, [ebp - 0x32]
mov esi, 0x40c214
push 0xb
pop ecx
nop
nop
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x3a]
mov esi, 0x40c242
push 8
pop ecx
nop
nop
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 4]
push eax
push 2
push 0
lea eax, [ebp - 0x32]
push eax
push 0x80000002
call dword [0x41669c]
or eax, eax
jne 0x401279
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
push 0
lea eax, [ebp - 0x3a]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [0x4166a8]
test eax, eax
jne 0x40126f
mov eax, dword [ebp - 4]
push eax
call dword [0x4166a4]
sub eax, eax
jmp 0x40127e
mov eax, dword [ebp - 4]
push eax
call dword [0x4166a4]
nop
nop
push 1
pop eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401290
Capabilities:
Persist via run registry key

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x40
push esi
push edi
lea edi, [ebp - 0x36]
mov esi, 0x40c24a
nop
nop
push 0xb
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x3e]
mov esi, str.mssrv32
nop
push 8
nop
pop ecx
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 4]
push eax
push 0x80000002
mov eax, dword [ebp + 0x10]
push eax
call dword [0x4166ac]
or eax, eax
jne 0x40131f
lea eax, [ebp - 8]
push eax
push 2
push 0
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [0x41669c]
or eax, eax
jne 0x401329
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push 1
push 0
lea eax, [ebp - 0x3e]
push eax
mov eax, dword [ebp - 8]
push eax
call dword [0x4166a8]
test eax, eax
jne 0x401329
mov eax, dword [ebp - 4]
push eax
call dword [0x4166a4]
mov eax, dword [ebp - 8]
push eax
call dword [0x4166a4]
xor eax, eax
jmp 0x401338
mov eax, dword [ebp - 4]
push eax
call dword [0x4166a4]
mov eax, dword [ebp - 8]
push eax
call dword [0x4166a4]
pushfd
xor eax, eax
inc eax
popfd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409e80
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00404b60
add esp, 8
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409ea4
or eax, 0xffffffff
jmp 0x409fbd
cmp ebx, 1
je 0x409fbb
test ebx, ebx
je 0x409ecb
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00404b60
add esp, 8
mov eax, dword [ebp + 8]
push eax
call ebx
pop ecx
jmp 0x409fbb
mov eax, dword [ebp + 8]
cmp eax, 2
jl 0x409f3c
cmp eax, 0xb
jg 0x409ee3
jmp dword [eax*4 + 0x412438]
cmp dword [ebp + 8], 0xf
je 0x409f30
jmp 0x409f3c
mov dword [ebp - 4], str.termination_request
jmp 0x409f90
lea eax, [ebp - 5]
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0xa
pop ecx
pushal
popal
cdq
idiv ecx
lea eax, [edx + 0x30]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
mov eax, dword [ebp + 8]
push eax
mov edx, 0x66666667
imul edx
pop eax
shr eax, 0x1f
sar edx, 2
add eax, edx
mov dword [ebp + 8], eax
test eax, eax
jne 0x409f46
push 0x415e54
push str.signal_
call fcn.0040af40
add esp, 8
push 0x415e54
mov eax, dword [ebp - 4]
push eax
call fcn.0040af40
add esp, 8
push 0x415e54
push str.____terminating_n
call fcn.0040af40
add esp, 8
push 1
call fcn.00404bd0
pop ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4063e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x40643c
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x40642e
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x406423
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x40641e
mov eax, 0x64
jmp 0x406433
call sub.kernel32.dll_GetLastError
call fcn.00402874
xor eax, eax
jmp 0x40641e
mov eax, 0x67
jmp 0x406433

Function at 0x406444
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x40649f
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x406491
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x406486
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x406481
mov eax, 0x65
jmp 0x406496
call sub.kernel32.dll_GetLastError
call fcn.00402874
xor eax, eax
jmp 0x406481
mov eax, 0x67
jmp 0x406496

Function at 0x4064e4
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x406527
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40651e
push eax
push 1
push 0
push 0
push dword [ebx]
call sub.kernel32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x40651e
pop edx
cmp eax, edx
setae al
pop ebx
ret
call fcn.00402884
mov al, 1
jmp 0x40651c
mov eax, 0x67
call fcn.00402874
mov al, 0xff
jmp 0x40651c

Function at 0x4065b0
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x4065e0
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x4065d6
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.00402884
or eax, 0xffffffff
jmp 0x4065d4
mov eax, 0x67
call fcn.00402874
or eax, 0xffffffff
jmp 0x4065d4

Function at 0x4094b8
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404028
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x4094cc
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404028
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4094ee
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4096b4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403ccc
add esp, 0x104
pop ebx
ret
Function at 0x40b994
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_1
test eax, eax
jle 0x40b9cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ccc
jmp 0x40b9d6
mov eax, ebx
mov edx, esi
call fcn.00403c38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b9e0
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_1
test eax, eax
jle 0x40ba01
mov al, byte [esp]
jmp 0x40ba03
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417a78
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 0x417a7e
ret

Function at 0x41a2bc
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 0x41a30d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41a2f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41a2e4
jmp 0x41a30d
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 0x41a2f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c95c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42c9b0
mov eax, dword [0x4cf264]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42c988
push ebx
push 0x42c9b8
call fcn.00447ae8
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 0x42c9ac
mov ecx, dword [0x4cefe8]
mov dl, 1
mov eax, dword [0x408294]
call fcn.0040c1f0
call fcn.004036b4
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42c9d8
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]
call fcn.0042c95c
xor edx, edx
push ebp
push 0x42caaa
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 0x42ca7c
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 0x42ca6b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402908
mov eax, dword [ebp - 4]
call fcn.0042c914
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ca72
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42cabc
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.0042c95c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42cb2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42cb02
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d9c
jmp 0x42cb09
mov eax, ebx
call fcn.00403be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cb35
cmp dword [ebp - 8], 0
je 0x42cb25
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042c930
ret
Function at 0x42cb64
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.0042c95c
xor edx, edx
push ebp
push 0x42cc06
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42cbd9
mov edx, ebx
mov eax, dword [0x4174ac]
call fcn.0041bd2c
test al, al
je 0x42cbc9
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.0041bc3c
call fcn.00403754
jmp 0x42cc0d
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42cb94
mov ecx, dword [0x4cf05c]
mov dl, 1
mov eax, dword [0x408294]
call fcn.0040c1f0
call fcn.004036b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42cc0d
mov eax, dword [ebp - 4]
call fcn.0042c930
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42cc14
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.0042c95c
xor eax, eax
push ebp
push 0x42cc6c
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 0x42cc73
mov eax, dword [ebp - 4]
call fcn.0042c930
ret

Function at 0x42cc7c
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.0042c95c
xor edx, edx
push ebp
push 0x42ccd1
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 0x42ccd8
mov eax, dword [ebp - 4]
call fcn.0042c930
ret

Function at 0x42cd48
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.0042c95c
xor eax, eax
push ebp
push 0x42cdbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c914
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.0041bd00
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 0x42cda7
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 0x42cdc4
mov eax, dword [ebp - 4]
call fcn.0042c930
ret
Function at 0x42cdcc
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.0042c95c
xor eax, eax
push ebp
push 0x42ce41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042c914
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 0x42ce2b
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 0x42ce48
mov eax, dword [ebp - 4]
call fcn.0042c930
ret

Function at 0x42fbbc
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 [0x4d0784], 0
sete dl
or al, dl
jne 0x42fcfc
mov eax, dword [0x4d0788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d0784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42fccb
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0784]
call fcn.00410eac
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42fcc3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42fcc3
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42fcc3
mov eax, dword [ebp - 0x14]
call fcn.00437f14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42fcc3
push ebp
call fcn.0042fb78
pop ecx
test al, al
jne 0x42fcc3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42fc7f
mov eax, dword [ebp - 0x14]
call fcn.00436868
dec eax
jle 0x42fcc3
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.00403138
cmp byte [ebp - 1], 0
je 0x42fcc3
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42fcc3
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d0788]
call fcn.0042f3c4
inc edi
dec esi
jne 0x42fc12
mov eax, dword [0x4d0788]
cmp dword [eax + 8], 0
jle 0x42fce3
mov eax, dword [0x4d0788]
call fcn.0042f454
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42fcfc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f9e0
pop ecx
test al, al
jne 0x42fcfc
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