joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a64
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4cd4a4
mov esi, 0x4cd038
mov edi, 0x4cd03c
cmp byte [ebx + 0x24], 0
jne 0x403a93
cmp dword [edi], 0
je 0x403a93
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403a82
cmp dword [0x4cd040], 0
je 0x403ada
call fcn.004039e0
cmp byte [0x4cd048], 0
je 0x403ac0
mov edx, 0x4ca02c
mov eax, 0x4cd21c
call fcn.00406400
call fcn.00406383
jmp 0x403ad3
push 0
push 0x4ca04c
push 0x4ca02c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x4cd040], eax
cmp byte [ebx + 0x24], 2
jne 0x403aea
cmp dword [esi], 0
jne 0x403aea
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004038b4
cmp byte [ebx + 0x24], 1
jbe 0x403afa
cmp dword [esi], 0
je 0x403b17
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403b17
call fcn.00405dd8
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403b17
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.0040388c
cmp byte [ebx + 0x24], 1
jne 0x403b25
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403b30
call fcn.00403a30
cmp dword [ebx], 0
jne 0x403b3d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403ada

Function at 0x4041f8
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.004041bc
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.004041bc
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x4041a4
ret

Function at 0x4042a0
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040283c
test ecx, ecx
je fcn.004041bc
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x4041a4
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404368
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4043a7
cmp al, 0xb
je 0x4043a7
cmp al, 0xc
je 0x4043b1
cmp al, 0xd
je 0x4043c4
cmp al, 0xe
je 0x4043e2
cmp al, 0xf
je 0x4043a7
cmp al, 0x11
je 0x4043a7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4043a7
jmp 0x4043f6
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4043b1
jmp 0x4043f6
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404368
dec edi
jg 0x4043c7
pop ebp
jmp 0x4043f6
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040433c
dec edi
jg 0x4043e5
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4043fc
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404368
Function at 0x404434
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40447b
cmp al, 0xb
je 0x404495
cmp al, 0xc
je 0x4044ac
cmp al, 0xd
je 0x4044bb
cmp al, 0xe
je 0x4044d9
cmp al, 0xf
je 0x4044ef
cmp al, 0x11
je 0x4044fe
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040283c
cmp ecx, 1
mov eax, ebx
jg 0x40448c
call fcn.00403b94
jmp 0x40450d
mov edx, ecx
call fcn.00403bb8
jmp 0x40450d
cmp ecx, 1
mov eax, ebx
jg 0x4044a3
call fcn.004041bc
jmp 0x40450d
mov edx, ecx
call fcn.004041d4
jmp 0x40450d
mov eax, ebx
add ebx, 0x10
call fcn.00405184
dec edi
jg 0x4044ac
jmp 0x40450d
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404434
dec edi
jg 0x4044be
pop ebp
jmp 0x40450d
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404408
dec edi
jg 0x4044dc
pop ebp
jmp 0x40450d
mov eax, ebx
add ebx, 4
call fcn.00405ea0
dec edi
jg 0x4044ef
jmp 0x40450d
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00405a34
dec edi
jg 0x4044fe
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404514
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404434

Function at 0x404520
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x40454c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.0040290c
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40458b
cmp cl, 0xb
je 0x40459c
cmp cl, 0xc
je 0x4045ad
cmp cl, 0xd
je 0x4045be
cmp cl, 0xe
je 0x4045de
cmp cl, 0xf
je 0x4045f7
cmp cl, 0x11
je 0x404608
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403be8
mov eax, 4
jmp 0x404619
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004041f8
mov eax, 4
jmp 0x404619
lea edx, [esi + eax]
add eax, ebx
call fcn.004048e4
mov eax, 0x10
jmp 0x404619
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.0040463c
pop eax
jmp 0x404619
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404520
pop eax
jmp 0x404619
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405eb8
mov eax, 4
jmp 0x404619
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405a70
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40453a
pop ecx
sub ecx, eax
jle 0x404635
lea edx, [ebx + eax]
add eax, esi
call fcn.0040290c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40463c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404682
cmp cl, 0xb
je 0x404699
cmp cl, 0xc
je 0x4046ad
cmp cl, 0xd
je 0x4046c1
cmp cl, 0xe
je 0x4046e2
cmp cl, 0xf
je 0x4046ff
cmp cl, 0x11
je 0x404713
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov eax, ebx
mov edx, dword [esi]
call fcn.00403be8
add ebx, 4
add esi, 4
dec ebp
jne 0x404682
jmp 0x404727
mov eax, ebx
mov edx, dword [esi]
call fcn.004041f8
add ebx, 4
add esi, 4
dec ebp
jne 0x404699
jmp 0x404727
mov eax, ebx
mov edx, esi
call fcn.004048e4
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4046ad
jmp 0x404727
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.0040463c
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x4046ca
jmp 0x404727
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404520
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x4046e2
jmp 0x404727
mov eax, ebx
mov edx, dword [esi]
call fcn.00405eb8
add ebx, 4
add esi, 4
dec ebp
jne 0x4046ff
jmp 0x404727
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00405a70
add ebx, 4
add esi, 4
dec ebp
jne 0x404713
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4048e4
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040283c
cmp eax, edx
je 0x40497b
cmp word [eax], 8
jb 0x40491c
push eax
push edx
cmp word [eax], 0x100
je 0x404912
cmp word [eax], 0x101
je 0x40490a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40491a
call dword [0x4cd3e8]
jmp 0x40491a
add eax, 8
call fcn.00403b94
pop edx
pop eax
cmp word [edx], 8
jae 0x404933
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x40494e
cmp word [edx], 0x101
jne 0x404967
push eax
call 0x404922
pop eax
jmp dword [0x4cd3f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x40495e
mov ecx, dword [edx - 8]
inc ecx
jle 0x40495e
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404898
ret

Function at 0x404d7c
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x404d8a
mov edx, dword [edx + 8]
jmp fcn.004041f8
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404af4
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.004041ac
add esp, 0x10
pop ebx
ret
Function at 0x404f0c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.0040518c
xor eax, eax
push ebp
push 0x404efe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x4cd3ec]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f05
lea eax, [ebp - 0x10]
call fcn.00405184
ret
cmp word [edx], 0x101
je 0x404ea8
cmp word [edx], 0x100
jne fcn.004048e4
cmp word [eax], 8
jb 0x404f31
push eax
push edx
call fcn.004048a0
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.004042c4

Function at 0x405074
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x40509a
cmp eax, 0x100
jne 0x4050c9
mov eax, 8
cmp edx, 0x11
jbe 0x4050ac
cmp edx, 0x100
jne case.default.0x4050c0
mov edx, 8
mov al, byte [eax + 0x4ca064]
mov dl, byte [edx + 0x4ca064]
movzx ecx, byte [edx + eax*8 + 0x4ca078]
jmp dword [ecx*4 + 0x4050db]
mov eax, edx
cmp eax, 0x101
jne case.0x4050c0.0
pop edi
pop esi
call fcn.00404fe0
push eax
popf
ret
pop edi
pop esi
jmp 0x404898
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404be8
xchg edi, eax
call fcn.00404be8
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404c88
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404c88
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00404ce4
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404ce4
fld xword [esp]
add esp, 0xc
jmp 0x405133
mov eax, edi
mov edx, esi
call fcn.00404f78
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404c54
xchg edi, eax
call fcn.00404c54
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x405af4
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 0x405cac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b55
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405cc8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405bc2
xor eax, eax
push ebp
push 0x405bbb
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ba4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405ce8
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 0x405bc2
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 0x405ca3
cmp byte [ebp - 0xd], 0
jne 0x405c04
cmp byte [ebp - 0x12], 0
je 0x405ca3
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405c1d
dec ebx
cmp byte [ebx], 0x2e
je 0x405c2c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405c1c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405ca3
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c59
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 0x405ca3
cmp byte [ebp - 0xd], 0
je 0x405ca3
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 0x405ca3
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 0x405ed4
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00405ea0
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x405eee
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x405efd
mov al, 0x17
jmp fcn.0040283c
ret
Function at 0x40b69c
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 0x40b6d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c78
jmp 0x40b6de
mov eax, ebx
mov edx, esi
call fcn.00403c2c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x419a84
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 0x419a8a
ret

Function at 0x41c1d4
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 0x41c225
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41c20c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41c1fc
jmp 0x41c225
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 0x41c20d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d1ac
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42d236
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42d21d
mov eax, dword [0x4cc6b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42d1eb
push ebx
push 0x42d244
call fcn.004464cc
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 0x42d219
lea edx, [ebp - 4]
mov eax, dword [0x4cc24c]
call fcn.00405e48
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x407ce8]
call fcn.0040be3c
call fcn.0040368c
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d23d
lea eax, [ebp - 4]
call fcn.00403b94
ret

Function at 0x42d264
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.0042d1ac
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42d2d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42d2aa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d48
jmp 0x42d2b1
mov eax, ebx
call fcn.00403b94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d2dd
cmp dword [ebp - 8], 0
je 0x42d2cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042d180
ret

Function at 0x42d2e4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42d3c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d1ac
xor edx, edx
push ebp
push 0x42d3a5
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42d36e
mov edx, ebx
mov eax, dword [0x4194b8]
call fcn.0041d8ec
test al, al
je 0x42d35e
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.0041d7c0
call fcn.0040372c
jmp 0x42d3ac
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42d329
lea edx, [ebp - 8]
mov eax, dword [0x4cc33c]
call fcn.00405e48
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x407ce8]
call fcn.0040be3c
call fcn.0040368c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d3ac
mov eax, dword [ebp - 4]
call fcn.0042d180
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d3c9
lea eax, [ebp - 8]
call fcn.00403b94
ret
Function at 0x42d3d0
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.0042d1ac
xor eax, eax
push ebp
push 0x42d428
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 0x42d42f
mov eax, dword [ebp - 4]
call fcn.0042d180
ret

Function at 0x42d438
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.0042d1ac
xor edx, edx
push ebp
push 0x42d48d
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 0x42d494
mov eax, dword [ebp - 4]
call fcn.0042d180
ret

Function at 0x42d504
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.0042d1ac
xor eax, eax
push ebp
push 0x42d579
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d164
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.0041d8c0
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 0x42d563
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 0x42d580
mov eax, dword [ebp - 4]
call fcn.0042d180
ret

Function at 0x42d588
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.0042d1ac
xor eax, eax
push ebp
push 0x42d5fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042d164
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 0x42d5e7
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 0x42d604
mov eax, dword [ebp - 4]
call fcn.0042d180
ret
Function at 0x4302d4
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x4cd764], 0
sete dl
or al, dl
jne 0x430418
mov eax, dword [0x4cd768]
mov bx, 0xffff
call fcn.0040317c
mov eax, dword [0x4cd764]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4303e7
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4cd764]
call fcn.00410f74
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x4303df
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x4303df
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4303df
mov eax, dword [ebp - 0x10]
call fcn.00438260
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4303df
push ebp
call fcn.00430290
pop ecx
test al, al
jne 0x4303df
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x43039b
mov eax, dword [ebp - 0x10]
call fcn.00436ba4
dec eax
jle 0x4303df
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.0040317c
cmp byte [ebp - 0x15], 0
je 0x4303df
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4303df
mov edx, dword [ebp - 0x10]
mov eax, dword [0x4cd768]
call fcn.0042fb40
inc edi
dec esi
jne 0x43032e
mov eax, dword [0x4cd768]
cmp dword [eax + 8], 0
jle 0x4303ff
mov eax, dword [0x4cd768]
call fcn.0042fbd0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430418
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00430148
pop ecx
test al, al
jne 0x430418
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret