joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4748b6
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x47d204
call fcn.0047003b
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x4748d8
xor eax, eax
jmp 0x474a4b
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x474906
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x474906
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x474a4b
cmp dword [esi + 0x54], ebx
je 0x474a46
mov ecx, esi
call fcn.004738d1
cmp dword [esi + 0x44], ebx
jne 0x474936
push dword [esi + 0x54]
push edi
call fcn.00473d71
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x474a4b
jmp 0x474a46
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0047457d
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4749f3
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
xor ebx, ebx
inc ebx
test eax, eax
js 0x474a3b
cmp eax, ebx
jg 0x4749fb
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4749a5
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x4749ca
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4749b8
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push ebx
push eax
call fcn.0045f579
add esp, 0x10
cmp edi, eax
jne 0x474a3b
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], bl
cmp dword [ebp - 0x38], eax
jne 0x474a2a
test edi, edi
jne 0x474957
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x474a40
push 8
call fcn.004744cf
jmp 0x474957
mov edx, dword [ebp - 0x2c]
jmp 0x474969
cmp eax, 3
jne 0x474a3b
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.00473d71
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x474a1a
mov esi, 0xffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00473aed
mov ax, si
jmp 0x474a4b
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00473aed
mov ax, word [ebp + 8]
jmp 0x474a4b
push 0
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00473aed
mov eax, 0xffff
call fcn.00470085
ret 4
Function at 0x105b6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105b61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105b607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105b606a
add dl, dl
jne 0x105b6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105b60dc
xor eax, eax
add dl, dl
jne 0x105b6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105b617d
add dl, dl
jne 0x105b60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105b60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105b60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105b60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105b60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105b6075
mov eax, 1
add dl, dl
jne 0x105b60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105b60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105b60e1
sub eax, ebx
mov ebx, 1
jne 0x105b6128
mov ecx, 1
add dl, dl
jne 0x105b610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105b6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105b6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105b6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105b613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105b614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105b6136
cmp eax, 0x7d00
jae 0x105b616d
cmp eax, 0x500
jb 0x105b6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105b6075
cmp eax, 0x7f
ja 0x105b6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105b6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105b619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105b6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x402914
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 0x402943
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ce0
jmp 0x402961
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040289c
mov edi, eax
test ebx, ebx
je 0x402961
cmp dword [esi], 0
je 0x402961
dec ebx
jmp 0x40294a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
imul edx, dword [0x53e044], 0x8088405
inc edx
mov dword [0x53e044], edx
mul edx
mov eax, edx
ret

Function at 0x402d24
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 0x402dbc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d9c
xor eax, eax
push ebp
push 0x402d95
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 0x402dd8
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 0x402d9c
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 0x403bac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402744
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x53e049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403b74
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a84
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
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c40
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405ae5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c5c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405b57
xor eax, eax
push ebp
push 0x405b50
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.004058dc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b39
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405c7c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b57
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405c38
cmp byte [ebp - 0xd], 0
jne 0x405b99
cmp byte [ebp - 0x12], 0
je 0x405c38
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405bb2
dec ebx
cmp byte [ebx], 0x2e
je 0x405bc1
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405bb1
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405c38
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405bee
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c38
cmp byte [ebp - 0xd], 0
je 0x405c38
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c38
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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 0x409330
Capabilities:
Get file attributes

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

Function at 0x409344
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.0040403c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409366
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40bc28
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 0x40bc61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ce0
jmp 0x40bc6a
mov eax, ebx
mov edx, esi
call fcn.00403c4c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc74
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 0x40bc95
mov al, byte [esp]
jmp 0x40bc97
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x418d58
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x418d6d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41ad7c
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 0x41ad82
ret

Function at 0x41d640
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 0x41d691
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d678
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d668
jmp 0x41d691
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 0x41d679
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e93c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42e990
mov eax, dword [0x53d0f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42e968
push ebx
push 0x42e998
call fcn.00449704
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 0x42e98c
mov ecx, dword [0x53cacc]
mov dl, 1
mov eax, dword [0x407e40]
call fcn.0040c4d8
call fcn.00403644
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42e9b8
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.0042e93c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ea2a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42e9fe
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403db0
jmp 0x42ea05
mov eax, ebx
call fcn.00403bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ea31
cmp dword [ebp - 8], 0
je 0x42ea21
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042e910
ret

Function at 0x42ea38
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.0042e93c
xor edx, edx
push ebp
push 0x42eada
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42eaad
mov edx, ebx
mov eax, dword [0x41a850]
call fcn.0041ee9c
test al, al
je 0x42ea9d
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.0041edac
call fcn.004036e4
jmp 0x42eae1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42ea68
mov ecx, dword [0x53cbf0]
mov dl, 1
mov eax, dword [0x407e40]
call fcn.0040c4d8
call fcn.00403644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eae1
mov eax, dword [ebp - 4]
call fcn.0042e910
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42eae8
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.0042e93c
xor eax, eax
push ebp
push 0x42eb40
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 0x42eb47
mov eax, dword [ebp - 4]
call fcn.0042e910
ret
Function at 0x42eb50
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.0042e93c
xor edx, edx
push ebp
push 0x42eba5
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 0x42ebac
mov eax, dword [ebp - 4]
call fcn.0042e910
ret

Function at 0x42ec1c
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.0042e93c
xor eax, eax
push ebp
push 0x42ec91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e8f4
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.0041ee70
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 0x42ec7b
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 0x42ec98
mov eax, dword [ebp - 4]
call fcn.0042e910
ret

Function at 0x42eca0
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.0042e93c
xor eax, eax
push ebp
push 0x42ed15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e8f4
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 0x42ecff
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 0x42ed1c
mov eax, dword [ebp - 4]
call fcn.0042e910
ret
Function at 0x431a90
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 [0x53e788], 0
sete dl
or al, dl
jne 0x431bd0
mov eax, dword [0x53e78c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53e788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x431b9f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x53e788]
call fcn.00411b18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x431b97
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x431b97
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x431b97
mov eax, dword [ebp - 0x14]
call fcn.00439da0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431b97
push ebp
call fcn.00431a4c
pop ecx
test al, al
jne 0x431b97
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x431b53
mov eax, dword [ebp - 0x14]
call fcn.0043872c
dec eax
jle 0x431b97
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.00403088
cmp byte [ebp - 1], 0
je 0x431b97
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431b97
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53e78c]
call fcn.00431298
inc edi
dec esi
jne 0x431ae6
mov eax, dword [0x53e78c]
cmp dword [eax + 8], 0
jle 0x431bb7
mov eax, dword [0x53e78c]
call fcn.00431328
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431bd0
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004318b4
pop ecx
test al, al
jne 0x431bd0
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 0x437738
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 0x437769
je 0x4377c3
sub eax, 7
je 0x43778a
dec eax
je 0x4377b4
sub eax, 0x17
je 0x437868
jmp 0x4378a6
add eax, 0xffffff00
sub eax, 9
jb 0x437854
add eax, 0xffffff09
sub eax, 0xb
jb 0x43781c
jmp 0x4378a6
mov eax, ebx
call fcn.0044992c
mov edi, eax
test edi, edi
je 0x437906
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43790f
jmp 0x437906
test byte [ebx + 0x44], 0x20
jne 0x43790f
jmp 0x437906
mov edx, esi
mov eax, ebx
call fcn.00434d38
cmp dword [esi + 0xc], 0xffffffff
jne 0x43790f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407948
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0043386c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00437610
test eax, eax
je 0x43790f
mov dword [esi + 0xc], 1
jmp 0x43790f
mov edx, esi
mov eax, ebx
call fcn.004376a4
test al, al
je 0x437906
cmp dword [esi + 0xc], 0
jne 0x43790f
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.00439da0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x43790f
mov eax, ebx
call fcn.004343d4
test al, al
jne 0x43790f
jmp 0x437906
mov eax, ebx
call fcn.00439da0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x437906
cmp dword [0x50b8a0], 0
je 0x437906
mov eax, dword [0x50b8a0]
cmp ebx, dword [eax + 0x24]
jne 0x437906
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x50b8a0]
call fcn.00434c6c
jmp 0x437906
mov eax, dword [0x53e750]
cmp byte [eax + 0x20], 0
je 0x437906
mov eax, dword [0x53e750]
cmp dword [eax + 0x1c], 0
je 0x437906
mov eax, dword [esi]
mov edx, dword [0x53e750]
cmp eax, dword [edx + 0x1c]
jne 0x437906
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.00449870
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.00403088
jmp 0x43790f
mov edx, esi
mov eax, ebx
call fcn.00434d38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret