joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4147eb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x414836
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00414986
test al, al
jne 0x414830
sub edx, 2
cmp edx, edi
jne 0x414816
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x414858
lea eax, [edi + 2]
cmp edx, eax
je 0x414858
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00414737
add esp, 0x10
jmp 0x414952
push esi
lea ecx, [ebp - 0x255]
call fcn.00414986
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41489b
push dword [ebp - 0x25c]
jmp 0x414848
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4148d8
cmp word [ebp - 0x226], 0
je 0x4148f9
cmp word [ebp - 0x226], ax
jne 0x4148d8
cmp word [ebp - 0x224], 0
je 0x4148f9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00414737
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x414945
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4148b2
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41492d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x414952
push 0x414567
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00419500
add esp, 0x10
jmp 0x414922
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a3db
leave
ret
Function at 0x41c640
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c66d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c66d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040f060
mov eax, dword [0x415044]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push edx
call fcn.004045b9
add esp, 0xc
push 0
mov word [ebp + eax - 0x1004], 0xa0d
add eax, 2
lea ecx, [ebp - 0x1008]
push ecx
push eax
lea edx, [ebp - 0x1004]
mov byte [ebp + eax - 0x1004], 0
mov eax, dword [0x416be4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004044d5
mov esp, ebp
pop ebp
ret
Function at 0x4013c0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push esi
push edi
push str.TEMP
mov dword [esp + 0x14], 0x3b6
mov dword [esp + 0x10], 0x12c
call fcn.004048d1
push eax
push str.uipos.ini
push 0x416fd8
call fcn.004047c6
push 0x413280
push 0x416fd8
call fcn.00404a07
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40142b
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push str._d__d
push esi
call fcn.00404b18
push esi
call fcn.00404ba5
add esp, 0x14
push 0x2c
lea edx, [esp + 0x38]
push 0
push edx
call fcn.0040abe0
add esp, 0xc
push 0
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x3c], 0x404310
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x5c], 0x41328c
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0x4b
push 0x5a
push ecx
push edx
push 0x80000
push str._HorviG
push 0x41328c
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
push ecx
push eax
mov dword [0x416bec], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x416bec
push 0
push 0x401e90
call fcn.00404ce0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
add esp, 0xc
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
call esi
test eax, eax
je 0x4014f8
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
call esi
test eax, eax
jne 0x4014e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4044d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415044]
jne 0x4044df
repz ret
jmp fcn.00405a93
Function at 0x40ebe6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040946b
and dword [ebp - 0x14], 0
cmp dword [0x416b74], 0
mov dword [ebp - 0x18], eax
jne 0x40ec99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ed41
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ed41
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x416b74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x416b78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x416b7c], eax
call edi
push eax
call esi
mov dword [0x416b84], eax
test eax, eax
je 0x40ec99
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x416b80], eax
mov eax, dword [0x416b80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ecf2
cmp dword [0x416b84], ecx
je 0x40ecf2
push eax
call esi
push dword [0x416b84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ecf2
test ebx, ebx
je 0x40ecf2
call edi
test eax, eax
je 0x40ece9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ece9
test byte [ebp - 8], 1
jne 0x40ecf2
or dword [ebp + 0x10], 0x200000
jmp 0x40ed25
mov eax, dword [0x416b78]
cmp eax, dword [ebp - 0x18]
je 0x40ed25
push eax
call esi
test eax, eax
je 0x40ed25
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ed25
mov eax, dword [0x416b7c]
cmp eax, dword [ebp - 0x18]
je 0x40ed25
push eax
call esi
test eax, eax
je 0x40ed25
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x416b74]
call esi
test eax, eax
je 0x40ed41
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ed43
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004044d5
leave
ret
Function at 0x401f43
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push ebx
mov esi, dword [ebp + 8]
mov edi, esi
mov eax, edi
shl eax, 0x18
mov ebx, eax
mov eax, esi
and eax, ebx
add eax, 0x256025
mov ecx, 0x1d400b
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
sub edx, 0xf2
add edx, ebx
mov ebx, edx
mov ecx, ebx
sub ecx, edi
add ecx, 0xec17b40f
mov eax, 0x2b695f
add eax, ecx
mov dword [ebp - 8], eax
mov eax, esi
or eax, edi
add eax, 0xffffffec
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0xc], eax
mov edx, esi
and edx, ebx
add edx, 0x7c2f
mov dword [ebp - 0x10], edx
mov edx, ebx
sub edx, edi
sub edx, 0x13ffff18
cmp dword [ebp - 0x10], edx
je 0x402035
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov word [ebp - 0x18], dx
mov edx, dword [ebp - 0x14]
shr edx, 2
mov word [ebp - 0x1c], dx
movzx edx, word [ebp - 0x18]
xor edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
mov eax, dword [ebp - 0xc]
mov byte [eax], cl
movzx edx, word [ebp - 0x1c]
movzx ecx, word [ebp - 0x18]
add edx, ecx
sub edx, 0x18
mov eax, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
imul eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
movzx edx, word [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
sub edx, 0xfffffe74
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0x1c]
and eax, ecx
sub eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x20], cl
jmp 0x401fa9
mov esi, dword [ebp + 8]
mov eax, esi
add eax, ebx
add eax, 0xec17b3e7
mov edx, 0x2b695f
add edx, eax
mov dword [ebp - 8], edx
mov ecx, ebx
or ecx, 0x3288
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, ebx
shr eax, 1
mov byte [ebp - 0x28], al
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x405825
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x431d48
cmp edx, dword [eax]
je 0x405847
add eax, 8
inc ecx
cmp eax, 0x431dd8
jl 0x405838
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x431d48]
jne 0x405975
mov eax, dword [0x48f8cc]
cmp eax, 1
je 0x40594f
test eax, eax
jne 0x405878
cmp dword [0x431c94], 1
je 0x40594f
cmp edx, 0xfc
je 0x405975
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4058af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405ee0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4058f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405ee0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x429884
push edi
call fcn.00407290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406520
lea eax, [ebp - 0xa0]
push 0x429864
push eax
call fcn.00406520
push dword [esi + 0x431d4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406520
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004071fe
add esp, 0x2c
pop edi
jmp 0x405975
lea eax, [ebp + 8]
lea esi, [esi + 0x431d4c]
push 0
push eax
push dword [esi]
call fcn.00405ee0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

Function at 0x401000
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
push 0
push str.D:124.png
push str.https:__s.cctry.com_images_eagle2.png
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 4], eax
or eax, eax
jne 0x401037
push 0
push 0x402049
push 0x40204e
push 0
call fcn.0040105a
jmp 0x40104a
push 0
push 0x402049
push 0x402057
push 0
call fcn.0040105a
xor eax, eax
leave
ret
Function at 0x4029e0
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 0x402a0f
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.00403db4
jmp 0x402a2d
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402968
mov edi, eax
test ebx, ebx
je 0x402a2d
cmp dword [esi], 0
je 0x402a2d
dec ebx
jmp 0x402a16
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x402df4
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 0x402e8c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e6c
xor eax, eax
push ebp
push 0x402e65
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 0x402ea8
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 0x402e6c
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 0x403c80
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.004027a4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50c049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403c48
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x42ff90
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42ffe4
mov eax, dword [0x50b418]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ffbc
push ebx
push 0x42ffec
call fcn.0044b470
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 0x42ffe0
mov ecx, dword [0x50b18c]
mov dl, 1
mov eax, dword [0x408484]
call fcn.0040c52c
call fcn.00403718
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x43000c
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.0042ff90
xor edx, edx
push ebp
push 0x4300de
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 0x4300b0
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 0x43009f
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402928
mov eax, dword [ebp - 4]
call fcn.0042ff48
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 0x4300a6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x4300f0
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.0042ff90
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x430162
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x430136
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403e84
jmp 0x43013d
mov eax, ebx
call fcn.00403ccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430169
cmp dword [ebp - 8], 0
je 0x430159
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret
Function at 0x430198
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.0042ff90
xor edx, edx
push ebp
push 0x43023a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43020d
mov edx, ebx
mov eax, dword [0x41a6a0]
call fcn.0041ef20
test al, al
je 0x4301fd
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.0041ee30
call fcn.004037b8
jmp 0x430241
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4301c8
mov ecx, dword [0x50b200]
mov dl, 1
mov eax, dword [0x408484]
call fcn.0040c52c
call fcn.00403718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430241
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x430248
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.0042ff90
xor eax, eax
push ebp
push 0x4302a0
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 0x4302a7
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret

Function at 0x4302b0
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.0042ff90
xor edx, edx
push ebp
push 0x430305
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 0x43030c
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret

Function at 0x43037c
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.0042ff90
xor eax, eax
push ebp
push 0x4303f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ff48
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.0041eef4
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 0x4303db
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 0x4303f8
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret
Function at 0x430400
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.0042ff90
xor eax, eax
push ebp
push 0x430475
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ff48
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 0x43045f
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 0x43047c
mov eax, dword [ebp - 4]
call fcn.0042ff64
ret

Function at 0x4331f0
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 [0x50c788], 0
sete dl
or al, dl
jne 0x433330
mov eax, dword [0x50c78c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x50c788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4332ff
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x50c788]
call fcn.00411c20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4332f7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4332f7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4332f7
mov eax, dword [ebp - 0x14]
call fcn.0043b548
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4332f7
push ebp
call fcn.004331ac
pop ecx
test al, al
jne 0x4332f7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x4332b3
mov eax, dword [ebp - 0x14]
call fcn.00439e9c
dec eax
jle 0x4332f7
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.0040315c
cmp byte [ebp - 1], 0
je 0x4332f7
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4332f7
mov edx, dword [ebp - 0x14]
mov eax, dword [0x50c78c]
call fcn.004329f8
inc edi
dec esi
jne 0x433246
mov eax, dword [0x50c78c]
cmp dword [eax + 8], 0
jle 0x433317
mov eax, dword [0x50c78c]
call fcn.00432a88
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x433330
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433014
pop ecx
test al, al
jne 0x433330
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