joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460198
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
call fcn.0045fda4
test al, al
jne 0x4601cc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
jmp 0x460260
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x460260
mov eax, dword [ebp - 0x20]
add eax, 0x3c
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x46025a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00409060
test eax, eax
jne 0x460252
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
movsx eax, word [eax + edx*2]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x1c]
add edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x46020c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x462760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [0x46bd0c], eax
xor eax, eax
mov dword [0x46bd10], eax
xor eax, eax
mov dword [0x46bd14], eax
xor eax, eax
mov dword [0x46bd18], eax
xor eax, eax
mov dword [0x46bd1c], eax
xor eax, eax
mov dword [0x46bd20], eax
xor eax, eax
mov dword [0x46bd24], eax
xor eax, eax
mov dword [0x46bd28], eax
push 0xa
push 0x4628a8
mov eax, dword [0x4697f4]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4628a3
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x4697f4]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4628a3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4628a3
mov edx, 0x46bd04
mov eax, dword [ebp - 0xc]
call fcn.0045fdd8
mov dword [0x46bd08], eax
cmp dword [0x46bd08], 0
je 0x46289a
mov edx, 0x4628c0
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd0c], eax
mov edx, 0x4628d0
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd10], eax
mov edx, 0x4628e0
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd14], eax
mov edx, 0x4628ec
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd18], eax
mov edx, 0x4628f8
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd1c], eax
mov edx, 0x462910
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd24], eax
mov edx, 0x462924
mov eax, dword [0x46bd08]
call fcn.00460198
mov dword [0x46bd28], eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeResource
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a18
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 0x402a47
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.00403ec4
jmp 0x402a65
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004029a0
mov edi, eax
test ebx, ebx
je 0x402a65
cmp dword [esi], 0
je 0x402a65
dec ebx
jmp 0x402a4e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x402fb4
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 0x40304c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40302c
xor eax, eax
push ebp
push 0x403025
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 0x403068
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 0x40302c
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 0x403d94
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.004027c8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x539049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403d5c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405f10
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 0x4060c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405f71
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4060e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405fde
xor eax, eax
push ebp
push 0x405fd7
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 0x405fc0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406104
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 0x405fde
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 0x4060bf
cmp byte [ebp - 0xd], 0
jne 0x406020
cmp byte [ebp - 0x12], 0
je 0x4060bf
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406039
dec ebx
cmp byte [ebx], 0x2e
je 0x406048
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406038
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4060bf
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406075
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 0x4060bf
cmp byte [ebp - 0xd], 0
je 0x4060bf
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 0x4060bf
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 0x40661c
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, dword [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x406677
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_WriteFile
dec eax
pop eax
pop ecx
jne 0x406669
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40665e
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x406659
mov eax, 0x65
jmp 0x40666e
call sub.kernel32.dll_GetLastError
call fcn.004028b8
xor eax, eax
jmp 0x406659
mov eax, 0x67
jmp 0x40666e
Function at 0x40c5e0
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 0x40c619
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ec4
jmp 0x40c622
mov eax, ebx
mov edx, esi
call fcn.00403e78
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x4195b8
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

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

Function at 0x41b520
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 0x41b526
ret

Function at 0x41dcc0
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 0x41dd11
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dcf8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dce8
jmp 0x41dd11
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 0x41dcf9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f56c
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f5f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42f5dd
mov eax, dword [0x537ddc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42f5ab
push ebx
push 0x42f604
call fcn.00448780
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 0x42f5d9
lea edx, [ebp - 4]
mov eax, dword [0x537838]
call fcn.00406264
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x408894]
call fcn.0040cd80
call fcn.00403838
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f5fd
lea eax, [ebp - 4]
call fcn.00403de0
ret

Function at 0x42f624
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.0042f56c
xor edx, edx
push ebp
push 0x42f6f6
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 0x42f6c8
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 0x42f6b7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402960
mov eax, dword [ebp - 4]
call fcn.0042f524
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 0x42f6be
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42f728
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.0042f56c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42f79a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42f76e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403f94
jmp 0x42f775
mov eax, ebx
call fcn.00403de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f7a1
cmp dword [ebp - 8], 0
je 0x42f791
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042f540
ret
Function at 0x42f7d0
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 0x42f8ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f56c
xor edx, edx
push ebp
push 0x42f891
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42f85a
mov edx, ebx
mov eax, dword [0x41aff4]
call fcn.0041f638
test al, al
je 0x42f84a
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.0041f50c
call fcn.004038d8
jmp 0x42f898
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42f815
lea edx, [ebp - 8]
mov eax, dword [0x537934]
call fcn.00406264
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x408894]
call fcn.0040cd80
call fcn.00403838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f898
mov eax, dword [ebp - 4]
call fcn.0042f540
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f8b5
lea eax, [ebp - 8]
call fcn.00403de0
ret

Function at 0x42f8bc
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.0042f56c
xor eax, eax
push ebp
push 0x42f914
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 0x42f91b
mov eax, dword [ebp - 4]
call fcn.0042f540
ret

Function at 0x42f924
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.0042f56c
xor edx, edx
push ebp
push 0x42f979
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 0x42f980
mov eax, dword [ebp - 4]
call fcn.0042f540
ret
Function at 0x42f9f0
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.0042f56c
xor eax, eax
push ebp
push 0x42fa65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f524
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.0041f60c
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 0x42fa4f
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 0x42fa6c
mov eax, dword [ebp - 4]
call fcn.0042f540
ret

Function at 0x42fa74
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.0042f56c
xor eax, eax
push ebp
push 0x42fae9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042f524
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 0x42fad3
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 0x42faf0
mov eax, dword [ebp - 4]
call fcn.0042f540
ret
Function at 0x432878
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 [0x539768], 0
sete dl
or al, dl
jne 0x4329bc
mov eax, dword [0x53976c]
mov bx, 0xffff
call fcn.00403328
mov eax, dword [0x539768]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x43298b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x539768]
call fcn.004123b4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x432983
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x432983
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432983
mov eax, dword [ebp - 0x10]
call fcn.0043a738
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432983
push ebp
call fcn.00432834
pop ecx
test al, al
jne 0x432983
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x43293f
mov eax, dword [ebp - 0x10]
call fcn.0043907c
dec eax
jle 0x432983
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.00403328
cmp byte [ebp - 0x15], 0
je 0x432983
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432983
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53976c]
call fcn.004320e4
inc edi
dec esi
jne 0x4328d2
mov eax, dword [0x53976c]
cmp dword [eax + 8], 0
jle 0x4329a3
mov eax, dword [0x53976c]
call fcn.00432174
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4329bc
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004326ec
pop ecx
test al, al
jne 0x4329bc
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
Function at 0x438208
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 0x438239
je 0x438293
sub eax, 7
je 0x43825a
dec eax
je 0x438284
sub eax, 0x17
je 0x438314
jmp 0x438352
add eax, 0xffffff00
sub eax, 9
jb 0x438300
add eax, 0xffffff09
sub eax, 0xb
jb 0x4382ea
jmp 0x438352
mov eax, ebx
call fcn.004489e0
mov edi, eax
test edi, edi
je 0x4383b2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x4383bb
jmp 0x4383b2
test byte [ebx + 0x44], 0x20
jne 0x4383bb
jmp 0x4383b2
mov edx, esi
mov eax, ebx
call fcn.00435af4
cmp dword [esi + 0xc], 0xffffffff
jne 0x4383bb
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040838c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0043459c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004380b8
test eax, eax
je 0x4383bb
mov dword [esi + 0xc], 1
jmp 0x4383bb
mov edx, esi
mov eax, ebx
call fcn.0043817c
test al, al
jne 0x4383bb
jmp 0x4383b2
mov eax, ebx
call fcn.0043516c
test al, al
jne 0x4383bb
jmp 0x4383b2
mov eax, ebx
call fcn.0043a738
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4383b2
cmp dword [0x53488c], 0
je 0x4383b2
mov eax, dword [0x53488c]
cmp ebx, dword [eax + 0x24]
jne 0x4383b2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x53488c]
call fcn.00435a10
jmp 0x4383b2
mov eax, dword [0x539730]
cmp byte [eax + 0x20], 0
je 0x4383b2
mov eax, dword [0x539730]
cmp dword [eax + 0x1c], 0
je 0x4383b2
mov eax, dword [esi]
mov edx, dword [0x539730]
cmp eax, dword [edx + 0x1c]
jne 0x4383b2
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.004488f4
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, 0xffb9
call fcn.00403328
jmp 0x4383bb
mov edx, esi
mov eax, ebx
call fcn.00435af4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret