joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ad60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov esi, esp
call fcn.00408fb0
push eax
mov dword [esi + 0x10], esp
jmp 0x42ad79
call fcn.00408fb0
push eax
mov eax, esp
push eax
mov ebx, esp
push eax
mov dword [esi + 4], esp
push eax
mov dword [esi + 0xc], esp
push eax
mov dword [esi + 0x20], esp
sub esp, 0x18
mov edi, esp
and edi, 0xfffffff8
mov esp, edi
push eax
mov dword [esi + 0x24], esp
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
jmp 0x42ada8
mov byte [eax], 0
jmp 0x42adad
mov dword [esi + 0x14], eax
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x42adcc
mov dword [ebx], eax
jmp 0x42add0
jmp 0x42add2
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, 0
setne al
jmp 0x42adec
test al, 1
jne 0x42adf5
jmp 0x42af2d
sub esp, 4
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
cmp dword [ecx], 0
je 0x42af27
mov eax, dword [esi + 4]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
sub esp, 4
mov dword [esp], eax
call fcn.00408a00
add esp, 4
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
cmp dword [ecx], 0
setne al
test al, 1
jne 0x42ae4d
jmp 0x42af14
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [ecx]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax]
jmp 0x42ae61
jmp 0x42ae63
jmp 0x42ae65
call fcn.00408fb0
mov eax, dword [esi + 0x24]
mov al, byte [eax]
mov byte [esi + 8], al
mov byte [edi], 0x83
mov byte [edi + 1], 0x6d
mov byte [edi + 2], 0x6b
mov byte [edi + 3], 0x73
mov byte [edi + 4], 0x66
mov byte [edi + 5], 0x6a
mov byte [edi + 6], 0x67
mov byte [edi + 7], 0x75
mov byte [edi + 8], 0x6c
mov byte [edi + 9], 0xa7
mov byte [edi + 0xa], 0x7e
mov byte [edi + 0xb], 0x73
mov byte [edi + 0xc], pe_nt_image_headers32
mov byte [edi + 0xd], 0xcd
mov dword [edi + 0x11], 0
mov dword [edi + 0xe], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x15
jae 0x42aef0
jmp 0x42aec6
mov ecx, dword [esi]
mov eax, dword [esi]
movzx edx, byte [edi + eax]
mov eax, ecx
add eax, edx
add ecx, 0x60
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xc0
mov ecx, dword [esi]
mov byte [edi + ecx], al
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, 0x15
jb 0x42aec6
jmp 0x42aef0
jmp 0x42aef2
sub esp, 0xc
mov ecx, dword [esi + 0x18]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
call fcn.004091e0
and al, 1
mov ecx, dword [esi + 0x14]
mov byte [ecx], al
jmp 0x42af14
mov eax, dword [esi + 4]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42af27
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi + 0x14]
mov al, byte [eax]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov ebx, dword [ebp + 8]
push eax
mov dword [esi + 8], esp
sub esp, 0x10
mov dword [esi + 0x14], esp
push eax
mov dword [esi + 0x10], esp
push eax
mov dword [esi + 0xc], esp
movaps xmm0, xmmword [0x43bed0]
movups xmmword [esi + 0x18], xmm0
movsd xmm0, qword [0x43bee0]
movsd qword [esi + 0x28], xmm0
mov dword [esi + 0x30], 0xdbdcddb5
lea eax, [esi + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x37], 0
mov dword [esi], 0
mov eax, dword [esi]
cmp eax, 0x22
ja 0x4310b3
nop word cs:[eax + eax]
mov eax, dword [esi]
mov ecx, dword [esi]
movzx ecx, byte [esi + ecx + 0x18]
mov edi, eax
and edi, 0xc2b4e561
xor eax, 0xc2b4e561
lea edi, [eax + edi*2]
lea eax, [edi + ecx]
and edi, ecx
add edi, edi
sub eax, edi
add al, 0x59
mov ecx, dword [esi]
mov byte [esi + ecx + 0x18], al
inc dword [esi]
mov eax, dword [esi]
cmp eax, 0x23
jb 0x431080
lea edi, [esi + 0x40]
lea edx, [esi + 0x18]
mov eax, edx
mov ecx, 7
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esi + 0x5c]
xor ecx, ecx
mov eax, dword [esi + 4]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, esi
push eax
push 8
push edx
push 0xd
lea eax, [esi + 0x40]
push eax
push 0
call dword [0x446390]
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x443b3c]
mov ecx, 0x1892628b
xor ecx, dword [0x443b44]
add eax, ecx
inc eax
jmp eax
Function at 0x432f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x3a393837
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x432fcf
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x329be887]
lea esi, [eax + 0x87]
and esi, ecx
and edx, esi
add eax, ecx
add eax, 0x329be887
add edx, esi
sub eax, edx
add al, 0x4f
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x432f90
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44739c]
test eax, eax
je 0x433036
xor ecx, ecx
mov edx, dword [0x4473a0]
nop word cs:[eax + eax]
cmp dword [edx + ecx*8], 0xe4aa2089
je 0x433000
inc ecx
cmp eax, ecx
jne 0x432ff0
jmp 0x433036
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x433036
mov ecx, dword [0x4473a4]
sub esp, 0x1c
lea edx, [esp + 0x28]
mov dword [esp + 0x18], edx
movaps xmm0, xmmword [0x43ba00]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00434c20
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x433198
mov dword [esp + 0x20], edi
push dword [esp + 0xc]
call fcn.00432d50
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 0x3a393837
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xa
ja 0x4330d1
nop word cs:[eax + eax]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx + 0x329be887]
lea edi, [ecx + 0x87]
and edi, edx
and esi, edi
add ecx, edx
add ecx, 0x329be887
add esi, edi
sub ecx, esi
add cl, 0x4f
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xb
jb 0x433090
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x44739c]
test ecx, ecx
je 0x43312e
xor edx, edx
mov esi, dword [0x4473a0]
nop word [eax + eax]
cmp dword [esi + edx*8], 0xe4aa2089
je 0x43310a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x4330f0
jmp 0x43312e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x43312e
push 0
push eax
push dword [esp + 0x10]
push 5
push 4
push dword [0x4473a4]
push ecx
call fcn.00434c20
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x43318c
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
mov esi, dword [ecx]
nop dword [eax + eax]
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor esi, esi
nop dword [eax + eax]
movzx ebx, word [edx + esi]
movzx edi, word [eax + esi]
test bx, bx
je 0x433165
add esi, 2
cmp bx, di
je 0x433150
cmp bx, di
je 0x433177
mov esi, dword [ecx]
test esi, esi
jne 0x433140
mov ebx, 0xc0000225
jmp 0x43318c
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x20]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
push dword [esp + 8]
call fcn.00432e70
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x128c8
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 0x128f7
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.00013d4c
jmp 0x12915
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00012850
mov edi, eax
test ebx, ebx
je 0x12915
cmp dword [esi], 0
je 0x12915
dec ebx
jmp 0x128fe
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x12d74
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 0x12e0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x12dec
xor eax, eax
push ebp
push 0x12de5
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 0x12e28
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 0x12dec
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 0x13c18
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.000126f8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0xec049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x13be0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x15d5c
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 0x15f18
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x15dbd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x15f34
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x15e2f
xor eax, eax
push ebp
push 0x15e28
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.00015bb4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x15e11
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x15f54
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 0x15e2f
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 0x15f10
cmp byte [ebp - 0xd], 0
jne 0x15e71
cmp byte [ebp - 0x12], 0
je 0x15f10
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x15e8a
dec ebx
cmp byte [ebx], 0x2e
je 0x15e99
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x15e89
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x15f10
inc ebx
cmp byte [ebp - 0x12], 0
je 0x15ec6
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 0x15f10
cmp byte [ebp - 0xd], 0
je 0x15f10
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 0x15f10
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 0x19444
Capabilities:
Get file attributes

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

Function at 0x196c0
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.00013d4c
add esp, 0x104
pop ebx
ret
Function at 0x19f58
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 0x19f91
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00013d4c
jmp 0x19f9a
mov eax, ebx
mov edx, esi
call fcn.00013cb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x264b8
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 0x264cd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x28c70
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 0x28c76
ret

Function at 0x2b1d8
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 0x2b229
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x2b210
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x2b200
jmp 0x2b229
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 0x2b211
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3709c
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x370f0
mov eax, dword [0xeaf34]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x370c8
push ebx
push 0x370f8
call fcn.0003b658
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 0x370ec
mov ecx, dword [0xeabd4]
mov dl, 1
mov eax, dword [0x182f8]
call fcn.0001a7a8
call fcn.00013694
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x37118
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.0003709c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x3718a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x3715e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00013e1c
jmp 0x37165
mov eax, ebx
call fcn.00013c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37191
cmp dword [ebp - 8], 0
je 0x37181
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.00037070
ret

Function at 0x37198
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.0003709c
xor edx, edx
push ebp
push 0x3723a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x3720d
mov edx, ebx
mov eax, dword [0x28744]
call fcn.0002ca34
test al, al
je 0x371fd
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.0002c944
call fcn.00013734
jmp 0x37241
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x371c8
mov ecx, dword [0xeac6c]
mov dl, 1
mov eax, dword [0x182f8]
call fcn.0001a7a8
call fcn.00013694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37241
mov eax, dword [ebp - 4]
call fcn.00037070
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x37248
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.0003709c
xor eax, eax
push ebp
push 0x372a0
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 0x372a7
mov eax, dword [ebp - 4]
call fcn.00037070
ret
Function at 0x372b0
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.0003709c
xor edx, edx
push ebp
push 0x37305
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 0x3730c
mov eax, dword [ebp - 4]
call fcn.00037070
ret

Function at 0x3737c
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.0003709c
xor eax, eax
push ebp
push 0x373f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00037054
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.0002ca08
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 0x373db
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 0x373f8
mov eax, dword [ebp - 4]
call fcn.00037070
ret

Function at 0x37400
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.0003709c
xor eax, eax
push ebp
push 0x37475
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00037054
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 0x3745f
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 0x3747c
mov eax, dword [ebp - 4]
call fcn.00037070
ret
Function at 0x3b59c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0xec764
cmp dword [edi], 0
jne 0x3b618
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0xec760]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0xe6774
mov ecx, 2
call fcn.00012810
mov edx, 0x3b574
lea eax, [esi + 5]
call fcn.0003b594
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0003b594
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x3b5ed
mov dword [0xec760], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x3b734
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x3b784]
test si, 4
je 0x3b748
or bl, 1
test si, 8
je 0x3b752
or bl, 4
test si, 1
je 0x3b75c
or bl, 8
test si, 2
je 0x3b766
or bl, 0x10
test si, 0x10
je 0x3b770
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x3b77f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x3b788
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x3b7c0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x3b7a1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x3b7b0
or bl, 4
test esi, 0x20000000
je 0x3b7bb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41d10
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x41d22
add esp, 0xfffffff0
call fcn.0001323c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0002653c
mov eax, ebx
call fcn.0004205c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x1db80]
call fcn.00012ecc
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x1db80]
call fcn.00012ecc
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x1db80]
call fcn.00012ecc
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x1db80]
call fcn.00012ecc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x1db80]
call fcn.00012ecc
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x3e800
push eax
push 0
push 0
mov eax, dword [0xeae78]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x28198]
call fcn.000296d0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x28198]
call fcn.000296d0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x28198]
call fcn.000296d0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0004243c
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42358
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42358
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42358
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41e31
call fcn.00013294
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret