joyce8/EMBER2024-capa huggingface dataset:
Function at 0x526ad4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test dl, dl
je 0x526ae2
add esp, 0xfffffff0
call fcn.00405464
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00525fb8
push 0x40
lea eax, [esi + 4]
mov ecx, 1
mov edx, dword [0x416298]
call fcn.00408468
add esp, 4
mov eax, esi
test bl, bl
je 0x526b1c
call fcn.004054bc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4e6af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa4000]
push edi
jmp 0x4e6b0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e6b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b00
mov eax, 1
add ebx, ebx
jne 0x4e6b23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e6b34
jne 0x4e6b53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b53
dec eax
add ebx, ebx
jne 0x4e6b40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e6b18
add ebx, ebx
jne 0x4e6b4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e6ba5
xor ecx, ecx
sub eax, 3
jb 0x4e6b6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e6bda
sar eax, 1
mov ebp, eax
jmp 0x4e6b76
add ebx, ebx
jne 0x4e6b76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b44
inc ecx
add ebx, ebx
jne 0x4e6b84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e6b44
add ebx, ebx
jne 0x4e6b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e6b86
jne 0x4e6ba2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e6b86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e6bc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e6bb6
jmp 0x4e6b06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e6bc4
add edi, ecx
jmp 0x4e6b06
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e6be2
cmp byte [edi], 0x11
jne 0x4e6be2
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 al, bl
loop 0x4e6be7
lea edi, [esi + 0xe2000]
mov eax, dword [edi]
or eax, eax
je 0x4e6c5f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11c920]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11ca74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e6c14
mov ecx, edi
jns 0x4e6c43
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11ca78]
or eax, eax
je 0x4e6c59
mov dword [ebx], eax
add ebx, 4
jmp 0x4e6c31
call dword [esi + 0x11ca88]
mov ebp, dword [esi + 0x11ca7c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e6c93
sub esp, 0xffffff80
jmp 0x416310
Function at 0x4027f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004038b0
test esi, esi
jne 0x40282e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004039a0
jmp 0x40284c
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040269c
mov edi, eax
test esi, esi
je 0x40284c
cmp dword [ebx], 0
je 0x40284c
dec esi
jmp 0x402835
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403730
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403791
cmp word [0x40a218], 0xd7b2
jne 0x403759
cmp dword [0x40a220], 0
jbe 0x403759
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4037b8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x409020], 0
jne 0x4037ad
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x403d7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00403a90
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x403db9
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00403acb
loopne 0x403e08
jmp eax
into
cmc
lea eax, [ebp - 0x40]

Function at 0x403e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.00403adb
push eax
push esi
push dword [ebp + 8]
call fcn.00403a90
add esp, 0x10
invalid
test dword [eax - 1], edi
invalid

Function at 0x403efc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
Function at 0x40293c
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 0x40296b
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.00403cec
jmp 0x402989
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004028c4
mov edi, eax
test ebx, ebx
je 0x402989
cmp dword [esi], 0
je 0x402989
dec ebx
jmp 0x402972
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d14
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 0x402dac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d8c
xor eax, eax
push ebp
push 0x402d85
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 0x402dc8
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 0x402d8c
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 0x403bb8
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.0040276c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d9049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403b80
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4057f8
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 0x4059b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405859
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4059d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4058cb
xor eax, eax
push ebp
push 0x4058c4
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.00405650
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4058ad
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4059f0
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 0x4058cb
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 0x4059ac
cmp byte [ebp - 0xd], 0
jne 0x40590d
cmp byte [ebp - 0x12], 0
je 0x4059ac
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405926
dec ebx
cmp byte [ebx], 0x2e
je 0x405935
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405925
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4059ac
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405962
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 0x4059ac
cmp byte [ebp - 0xd], 0
je 0x4059ac
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 0x4059ac
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 0x40b2f0
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 0x40b329
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cec
jmp 0x40b332
mov eax, ebx
mov edx, esi
call fcn.00403c58
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b33c
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 0x40b35d
mov al, byte [esp]
jmp 0x40b35f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

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

Function at 0x419f04
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 0x419f0a
ret

Function at 0x41c72c
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 0x41c77d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41c764
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41c754
jmp 0x41c77d
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 0x41c765
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e860
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42e8b4
mov eax, dword [0x4d8010]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42e88c
push ebx
push 0x42e8bc
call fcn.0044a7e8
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 0x42e8b0
mov ecx, dword [0x4d7d58]
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bba0
call fcn.00403634
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42e8dc
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.0042e860
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e94e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42e922
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403dbc
jmp 0x42e929
mov eax, ebx
call fcn.00403c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e955
cmp dword [ebp - 8], 0
je 0x42e945
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042e834
ret

Function at 0x42e95c
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.0042e860
xor edx, edx
push ebp
push 0x42e9fe
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42e9d1
mov edx, ebx
mov eax, dword [0x4199d8]
call fcn.0041df88
test al, al
je 0x42e9c1
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.0041de98
call fcn.004036d4
jmp 0x42ea05
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42e98c
mov ecx, dword [0x4d7ddc]
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bba0
call fcn.00403634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ea05
mov eax, dword [ebp - 4]
call fcn.0042e834
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42ea0c
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.0042e860
xor eax, eax
push ebp
push 0x42ea64
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 0x42ea6b
mov eax, dword [ebp - 4]
call fcn.0042e834
ret
Function at 0x42ea74
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.0042e860
xor edx, edx
push ebp
push 0x42eac9
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 0x42ead0
mov eax, dword [ebp - 4]
call fcn.0042e834
ret

Function at 0x42eb40
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.0042e860
xor eax, eax
push ebp
push 0x42ebb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e818
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.0041df5c
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 0x42eb9f
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 0x42ebbc
mov eax, dword [ebp - 4]
call fcn.0042e834
ret

Function at 0x42ebc4
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.0042e860
xor eax, eax
push ebp
push 0x42ec39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e818
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 0x42ec23
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 0x42ec40
mov eax, dword [ebp - 4]
call fcn.0042e834
ret
Function at 0x431a44
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 [0x4d9788], 0
sete dl
or al, dl
jne 0x431b84
mov eax, dword [0x4d978c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d9788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x431b53
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4d9788]
call fcn.00410f08
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x431b4b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x431b4b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x431b4b
mov eax, dword [ebp - 0x14]
call fcn.00439e38
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431b4b
push ebp
call fcn.00431a00
pop ecx
test al, al
jne 0x431b4b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x431b07
mov eax, dword [ebp - 0x14]
call fcn.004387a4
dec eax
jle 0x431b4b
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.00403078
cmp byte [ebp - 1], 0
je 0x431b4b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431b4b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d978c]
call fcn.0043124c
inc edi
dec esi
jne 0x431a9a
mov eax, dword [0x4d978c]
cmp dword [eax + 8], 0
jle 0x431b6b
mov eax, dword [0x4d978c]
call fcn.004312dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431b84
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431868
pop ecx
test al, al
jne 0x431b84
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 0x4377b0
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 0x4377e1
je 0x43783b
sub eax, 7
je 0x437802
dec eax
je 0x43782c
sub eax, 0x17
je 0x4378e0
jmp 0x43791e
add eax, 0xffffff00
sub eax, 9
jb 0x4378cc
add eax, 0xffffff09
sub eax, 0xb
jb 0x437894
jmp 0x43791e
mov eax, ebx
call fcn.0044aa10
mov edi, eax
test edi, edi
je 0x43797e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x437987
jmp 0x43797e
test byte [ebx + 0x44], 0x20
jne 0x437987
jmp 0x43797e
mov edx, esi
mov eax, ebx
call fcn.00434d28
cmp dword [esi + 0xc], 0xffffffff
jne 0x437987
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407704
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0043384c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00437688
test eax, eax
je 0x437987
mov dword [esi + 0xc], 1
jmp 0x437987
mov edx, esi
mov eax, ebx
call fcn.0043771c
test al, al
je 0x43797e
cmp dword [esi + 0xc], 0
jne 0x437987
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.00439e38
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x437987
mov eax, ebx
call fcn.004343c4
test al, al
jne 0x437987
jmp 0x43797e
mov eax, ebx
call fcn.00439e38
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43797e
cmp dword [0x4d68a4], 0
je 0x43797e
mov eax, dword [0x4d68a4]
cmp ebx, dword [eax + 0x24]
jne 0x43797e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4d68a4]
call fcn.00434c5c
jmp 0x43797e
mov eax, dword [0x4d9750]
cmp byte [eax + 0x20], 0
je 0x43797e
mov eax, dword [0x4d9750]
cmp dword [eax + 0x1c], 0
je 0x43797e
mov eax, dword [esi]
mov edx, dword [0x4d9750]
cmp eax, dword [edx + 0x1c]
jne 0x43797e
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.0044a954
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.00403078
jmp 0x437987
mov edx, esi
mov eax, ebx
call fcn.00434d28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret