joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0896
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x50f2e8]
je 0x4c08b1
inc edi
cmp edi, 0x17
jb 0x4c08a2
cmp edi, 0x17
jae 0x4c0a31
push ebp
push 3
call fcn.004cf262
cmp eax, 1
pop ecx
je 0x4c09fd
push 3
call fcn.004cf262
test eax, eax
pop ecx
jne 0x4c08e5
cmp dword [0x50f0b4], 1
je 0x4c09fd
cmp ebx, 0xfc
je 0x4c0a30
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x514710
push ebp
call fcn.004bdc24
add esp, 0xc
test eax, eax
je 0x4c091b
push esi
push esi
push esi
push esi
push esi
call fcn.004b9aee
add esp, 0x14
push 0x104
mov esi, 0x514729
push esi
push 0
mov byte [0x51482d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c095f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004bdc24
add esp, 0xc
test eax, eax
je 0x4c095f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004b9aee
add esp, 0x14
push esi
call fcn.004be5a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4c09a4
push esi
call fcn.004be5a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x514a24
push 0x4e882c
sub ecx, eax
push ecx
push eax
call fcn.004bdc89
add esp, 0x14
test eax, eax
je 0x4c09a4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004b9aee
add esp, 0x14
jmp 0x4c09a6
xor esi, esi
push 0x4e8828
push ebx
push ebp
call fcn.004ca35b
add esp, 0xc
test eax, eax
je 0x4c09c6
push esi
push esi
push esi
push esi
push esi
call fcn.004b9aee
add esp, 0x14
push dword [edi*8 + 0x50f2ec]
push ebx
push ebp
call fcn.004ca35b
add esp, 0xc
test eax, eax
je 0x4c09e8
push esi
push esi
push esi
push esi
push esi
call fcn.004b9aee
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004cf0a5
add esp, 0xc
jmp 0x4c0a30
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4c0a30
cmp ebp, 0xffffffff
je 0x4c0a30
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x50f2ec]
push dword [esi]
call fcn.004be5a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4cf0a5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004c145a
xor ebx, ebx
cmp dword [0x515218], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4cf17b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4cf25b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4cf25b
push eax
call fcn.004c13ec
mov dword [esp], 0x4e93e8
push edi
mov dword [0x515218], eax
call esi
push eax
call fcn.004c13ec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x51521c], eax
call esi
push eax
call fcn.004c13ec
mov dword [0x515220], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004b9f8e
test eax, eax
pop ecx
pop ecx
je 0x4cf149
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b9aee
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4cf17b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004c13ec
cmp eax, ebx
pop ecx
mov dword [0x515228], eax
je 0x4cf17b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c13ec
pop ecx
mov dword [0x515224], eax
mov eax, dword [0x515224]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4cf200
cmp dword [0x515228], ecx
je 0x4cf200
push eax
call fcn.004c1463
push dword [0x515228]
mov esi, eax
call fcn.004c1463
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4cf200
cmp edi, ebx
je 0x4cf200
call esi
cmp eax, ebx
je 0x4cf1cd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4cf1cd
test byte [ebp - 0x18], 1
jne 0x4cf200
lea eax, [ebp - 0x10]
push eax
call fcn.004b9fc5
test eax, eax
pop ecx
je 0x4cf1e8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b9aee
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4cf1f7
or dword [ebp + 0x10], 0x200000
jmp 0x4cf23b
or dword [ebp + 0x10], 0x40000
jmp 0x4cf23b
mov eax, dword [0x51521c]
cmp eax, dword [ebp - 8]
je 0x4cf23b
push eax
call fcn.004c1463
cmp eax, ebx
pop ecx
je 0x4cf23b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4cf23b
mov eax, dword [0x515220]
cmp eax, dword [ebp - 8]
je 0x4cf23b
push eax
call fcn.004c1463
cmp eax, ebx
pop ecx
je 0x4cf23b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x515218]
call fcn.004c1463
cmp eax, ebx
pop ecx
je 0x4cf25b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cf25d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a74
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.004045ec
test esi, esi
jne 0x402aaa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004046dc
jmp 0x402ac8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402988
mov edi, eax
test esi, esi
je 0x402ac8
cmp dword [ebx], 0
je 0x402ac8
dec esi
jmp 0x402ab1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4bb00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403788
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403768
xor eax, eax
push ebp
push 0x403761
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 0x4037a4
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 0x403768
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4bb00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4bb00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404470
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4be04c], 0
je 0x4044d1
cmp word [0x4be220], 0xd7b2
jne 0x404499
cmp dword [0x4be228], 0
jbe 0x404499
mov eax, 0x4be21c
call dword [0x4be238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4bb05c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4044f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bb01c], 0
jne 0x4044ed
push 0
push 0x4bb07c
push 0x4bb05c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409028
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a9c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409041
test al, 0x10
jne 0x409045
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c004
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 0x40c03d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046dc
jmp 0x40c046
mov eax, ebx
mov edx, esi
call fcn.00404640
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40d588
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d5ec
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404854
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ce4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d5f3
lea eax, [ebp - 0xc]
call fcn.004045ec
ret

Function at 0x4240ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4bea28
cmp dword [edi], 0
jne 0x424168
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4bea24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bb670
mov ecx, 2
call fcn.00402948
mov edx, 0x4240c4
lea eax, [esi + 5]
call fcn.004240e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004240e4
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 0x42413d
mov dword [0x4bea24], 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 0x4256a4
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 0x4256aa
ret
Function at 0x427df4
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 0x427e45
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427e2c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427e1c
jmp 0x427e45
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 0x427e2d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a1f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x43a3b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.0044a1b8
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x43a399
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x43a257
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004045ec
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x43a328
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x4bd280]
and eax, 0xff
bt dword [edx], eax
jae 0x43a2ea
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0044b188
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43a368
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004047cc
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004047cc
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00404964
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x43a368
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004047cc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004048ac
jmp 0x43a368
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004048a4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404b3c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004048a4
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040d094
cmp al, 2
je 0x43a308
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004048a4
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00404b3c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.004048a4
test eax, eax
jle 0x43a382
push ebp
call fcn.0043a10c
pop ecx
jmp 0x43a399
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.00403a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a3bb
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404610
ret
Function at 0x43e050
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]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43e0c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x43e096
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.004047dc
jmp 0x43e09d
mov eax, ebx
call fcn.004045ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e0c9
cmp dword [ebp - 8], 0
je 0x43e0b9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43e0d0
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43e172
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43e145
mov edx, ebx
mov eax, dword [0x425168]
call fcn.00429658
test al, al
je 0x43e135
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.00429568
call fcn.004040f8
jmp 0x43e179
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x43e100
mov ecx, dword [0x4bce7c]
mov dl, 1
mov eax, dword [0x407c98]
call fcn.0040c86c
call fcn.0040404c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e179
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e180
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43e1d8
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 + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e1df
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x43e1e8
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43e23d
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 + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e244
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43e2b4
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43e329
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043df8c
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.0042962c
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 0x43e313
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 0x43e330
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43e338
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]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x43e3ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0043df8c
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 + 0x60]
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 0x43e397
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 0x43e3b4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x43f0f0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43f03c
call sub.user32.dll_EnumWindows
ret
Function at 0x43f214
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43f291
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043ec60
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43f239
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043e8b8
cmp dword [ebp - 4], 0
je 0x43f27b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a9c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f298
lea eax, [ebp - 4]
call fcn.004045ec
ret

Function at 0x442638
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 - 9]
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
cmp dword [0x4bebb8], 0
je 0x442787
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bd0cc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x442787
mov eax, dword [0x4bebbc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bebb8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442756
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bebb8]
call fcn.0041b188
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44274e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44274e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44274e
mov eax, dword [ebp - 0x14]
call fcn.0044b188
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44274e
push ebp
call fcn.004425f4
pop ecx
test al, al
jne 0x44274e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44270a
mov eax, dword [ebp - 0x14]
call fcn.00449d1c
dec eax
jle 0x44274e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403a7c
cmp byte [ebp - 1], 0
je 0x44274e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44274e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bebbc]
call fcn.00441dbc
inc edi
dec ebx
jne 0x44269d
mov eax, dword [0x4bebbc]
cmp dword [eax + 8], 0
jle 0x44276e
mov eax, dword [0x4bebbc]
call fcn.00441e4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442787
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044245c
pop ecx
test al, al
jne 0x442787
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 0x445d78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x445dc4
mov eax, esi
call fcn.0045be4c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x445dc4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x445dc4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x445f03
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x445e04
cmp eax, 0x108
ja 0x445e04
mov eax, esi
call fcn.0045be4c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x445efa
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x445f03
jmp 0x445efa
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x445ee3
cmp eax, 0x20a
ja 0x445ee3
test byte [esi + 0x50], 0x80
jne 0x445e36
sub eax, 0x203
je 0x445e33
sub eax, 3
je 0x445e33
sub eax, 3
jne 0x445e36
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x445e4a
dec eax
je 0x445e5f
dec eax
je 0x445e7c
dec eax
je 0x445e5f
jmp 0x445e83
mov ecx, ebx
mov eax, dword [0x4bd0cc]
mov eax, dword [eax]
mov edx, esi
call fcn.00465520
jmp 0x445efa
cmp byte [esi + 0x5d], 1
jne 0x445e75
mov eax, esi
mov si, 0xffed
call fcn.00403a7c
jmp 0x445f03
or word [esi + 0x54], 1
jmp 0x445efa
and word [esi + 0x54], 0xfffe
jmp 0x445efa
mov eax, dword [0x4beb74]
cmp byte [eax + 0x20], 0
je 0x445efa
mov eax, dword [0x4beb74]
cmp dword [eax + 0x1c], 0
je 0x445efa
mov eax, dword [ebx]
mov edx, dword [0x4beb74]
cmp eax, dword [edx + 0x1c]
jne 0x445efa
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045bd90
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403a7c
jmp 0x445f03
cmp eax, 0xb00b
jne 0x445efa
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00444698
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret