joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a7d0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov eax, 0x101ea31
call fcn.0101caf8
sub esp, 0x224
mov eax, dword [0x1023fb4]
push esi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x21c], esi
push 0xf003f
push 0x10023f0
push 0x80000002
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], esi
call fcn.0100985e
test eax, eax
jne 0x101a95c
cmp dword [ebp + 8], esi
je 0x101a94b
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [0x100113c]
push eax
call dword [0x1001130]
test eax, eax
je 0x101a95c
push ebx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call sub.MFC42u.DLL_CString::CString_2
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 1
call fcn.0101870c
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x220]
inc bl
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop ebx
jne 0x101a95c
push edi
push 0x100483c
lea ecx, [ebp - 0x22c]
call sub.MFC42u.DLL_CString::CString_2
mov esi, eax
push 0x1002c14
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString_2
mov edi, eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString_2
push edi
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_operator
push esi
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
push 0x1004598
push dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
call fcn.01006554
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0
call sub.MFC42u.DLL_CString::CString
pop edi
jmp 0x101a95c
push 0x1004598
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x21c]
call fcn.0100650c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0101bddf
leave
ret 4
Function at 0x101b21c
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push esi
call dword [0x1001154]
push eax
xor esi, esi
push esi
push 0x1f0fff
call dword [0x1001150]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x101b2e5
lea ecx, [ebp - 4]
push ecx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x101b2dc
lea eax, [ebp - 0x14]
push eax
push 0x10048b0
push esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x101b2d4
push esi
push esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x101b2d4
push edi
mov edi, 0x10048a4
push esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], edi
call dword [fcn.0100154c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0101b1e7
cmp eax, 1
jne 0x101b2c1
push esi
push 2
call dword [0x1001530]
cmp dword [ebp - 0x20], esi
mov dword [ebp - 0x34], edi
pop edi
je 0x101b2dc
push dword [ebp - 0x20]
call fcn.0101ce16
jmp 0x101b2dc
push esi
push 0x70
call fcn.01018ad1
push dword [ebp - 8]
call dword [0x10011a0]
pop esi
leave
ret
Function at 0x101ba80
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1023fb4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0x196
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.0101d008
test eax, eax
mov dword [ebp - 0x30], eax
je 0x101bc1b
push 0xa
pop ecx
push dword [ebp - 0x30]
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
call sub.MFC42u.DLL_operatornew
test eax, eax
pop ecx
mov dword [ebp - 0x2c], eax
je 0x101bc1b
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push esi
call fcn.0101cffc
test eax, eax
je 0x101bc12
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1004ae8
push dword [ebp - 0x2c]
call fcn.0101cff0
test eax, eax
je 0x101bb65
cmp dword [ebp - 0x34], 4
jb 0x101bb65
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x28]
push 0x1004ad4
push eax
call dword [0x1001578]
add esp, 0x10
cmp dword [ebp - 0x30], 0x70
jbe 0x101bb60
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x5a], 0
jne 0x101bb60
add eax, 0x4c
push eax
push 0x1023f90
call dword [fcn.0100111c]
test eax, eax
jne 0x101bb60
mov eax, dword [ebp - 0x2c]
push 9
add eax, 0x60
push eax
lea eax, [ebp - 0x16]
push eax
call dword [0x1001120]
jmp 0x101bb65
and word [ebp - 0x16], 0
cmp word [ebp - 0x28], 0
jne 0x101bbc7
mov esi, dword [0x1001118]
push 0x1004ac0
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
mov edi, 0x1004aa8
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
jne 0x101bbd6
push 0x1004a94
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
jne 0x101bbd6
push 0x1004a80
lea eax, [ebp - 0x28]
push eax
call esi
push ebx
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
test eax, eax
je 0x101bc12
jmp 0x101bbd6
push ebx
push 0x1004aa8
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
lea eax, [ebx + 0x40]
push eax
push 0x1004a60
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
lea eax, [ebx + 0x248]
push eax
push 0x1004a48
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
add ebx, 0x450
push ebx
push 0x1004a30
lea eax, [ebp - 0x2c]
push eax
call fcn.0101ba47
push dword [ebp - 0x2c]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0101bddf
leave
ret 8

Function at 0x101ced5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1004da0
push 0x80000000
call dword [entry0]
test eax, eax
jne 0x101cf2d
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004ddc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101cf20
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101cf2f
xor eax, eax
pop esi
leave
ret 4
Function at 0x61a414e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x61a4153d
cmp byte [esi + ebx - 1], 0xa
je 0x61a4150f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov edx, 0x61a450a4
lock xchg dword [edx], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x61a41b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.unk_15
movzx eax, al
bt eax, esi
jae 0x61a41d18
mov edi, dword [0x61a450a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x61a41c38
test byte [0x61a42030], 8
jne 0x61a41cc0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x61a42040], 8
jne 0x61a41c88
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x61a41bda
cmp esi, 3
jbe 0x61a41c40
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x61a41beb
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x61a44130]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym.unk_12
jmp 0x61a41bda
mov dword [esp], 0x61a42040
call sym.unk_15
test al, 8
je 0x61a41bb1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x61a41bb1
mov dword [esp], 0x61a42030
call sym.unk_15
test al, 8
je 0x61a41b9e
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x61a41ba4
mov eax, 0xffffffff
jmp 0x61a41c38
Function at 0x4015f8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e368c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401731
mov byte [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
je 0x4016d3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00401d40
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + ecx + 2]
push edx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00416ca0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00401d40
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x10]
push ecx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x40172b
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp + 8]
call fcn.00401ce0
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 8]
call fcn.00401d40
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00416bb0
add esp, 8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x1c]
push edx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004d82d7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x401a15
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov byte [ebp - 8], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x401a33
mov al, byte [ebp - 8]
jmp 0x401aa4
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x401a9b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x401a9b
cmp dword [ebp - 0xc], 0
je 0x401a9b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401a8d
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d8460
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov byte [ebp - 8], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x401e50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x401e7c
mov ecx, dword [ebp - 4]
and ecx, 0x10
test ecx, ecx
jne 0x401e7c
mov dword [ebp - 8], 1
jmp 0x401e83
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x423f50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423f6a
test al, 0x10
jne 0x423f6a
mov eax, 1
ret
xor eax, eax
ret
Function at 0x426340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x518a4c]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
mov byte [ebp - 4], 1
neg eax
sbb eax, eax
mov dword [ebp - 0x18], eax
jmp 0x42638b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4263fc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
mov ecx, esi
call fcn.004d36bb
lea ecx, [ebp - 0x14]
call fcn.004d1b49
lea ecx, [ebp - 0x14]
call fcn.004d1afd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x426388
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426388
test al, 0x10
jne 0x426388
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.004d8c8a
mov dword [ebp - 4], 1
jmp 0x426388
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004d82d7
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004d82d7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e54fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x4f0ed0
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.004d8345
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.00427230
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], 0x4f2ab4
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x4f2aa0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x426730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x4f2aa0
mov dword [esp + 0x14], 2
call fcn.004267c0
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [eax], 0x4f2ab4
mov eax, dword [eax + 4]
mov byte [esp + 0x14], 3
test eax, eax
je 0x426784
push eax
call fcn.004d94e3
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.004272b0
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d82d7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42dbb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e5ab8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004d4d6b
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x21c], 0
call dword [eax + 0x194]
mov ecx, dword [esi + 0x260]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
test ecx, ecx
je 0x42dc05
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx]
push ebx
push ebp
push eax
call dword [edx + 0x64]
push ebx
push ebp
mov ecx, esi
call fcn.0042bf60
mov edi, eax
test edi, edi
je 0x42dc8d
cmp edi, dword [esi + 0x280]
jne 0x42dc28
push 0
push 0
push edi
mov ecx, esi
call fcn.0042ba60
lea ecx, [esp + 0x10]
call fcn.00471bc0
mov dword [esp + 0x10], 0x4f31fc
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push ebp
mov ecx, edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
call dword [edx + 0x84]
mov edx, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call dword [edx + 0x90]
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.00471c60
mov eax, dword [esi + 0x19c]
mov dword [esi + 0x280], 0
test eax, eax
je 0x42dcc5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x42dce0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x42dce0
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x42dce0
test edi, edi
je 0x42dce0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x68]
test eax, eax
je 0x42dce0
mov eax, dword [edi]
push ebx
push ebp
mov ecx, edi
call dword [eax + 0x88]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc

Function at 0x42eaf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov dword [esp], 3
call fcn.004607a0
mov ecx, eax
call fcn.004607f0
test al, al
je 0x42eb82
lea eax, [esp + 4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42eb93
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42eb6c
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00418584
add esp, 0xc
mov dword [esp], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x90
ret
lea ecx, [esp]
push 0
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp]
add esp, 0x90
ret
Function at 0x4429d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e6c54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [edi], 0x4f3bec
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [esi + 0x18], 0x4f3bec
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
lea ecx, [esi + 0x30]
push 0xa
mov byte [esp + 0x20], 2
call fcn.004d3417
mov eax, dword [0x518a4c]
lea ebp, [esi + 0x50]
mov dword [ebp], eax
mov ecx, ebp
mov byte [esp + 0x1c], 4
mov dword [esi], 0x4f3b7c
call fcn.004d8262
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00443ac0
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x442a67
push eax
call fcn.004d94e3
add esp, 4
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
call fcn.004d345a
mov ecx, ebp
call fcn.004d8262
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x2c], 1
mov dword [esi + 0x4c], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x446350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d7b9e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor edi, edi
lea edx, [esi + 0x5c]
push edi
push edi
push edi
push edi
push edx
mov dword [esp + 0x2c], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esi], method.COleDropTarget.virtual_0
mov dword [esi + 0x8c], 3
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x24], 0xffffffff
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x34], edi
call fcn.0046ad20
mov edx, dword [eax]
push 0x26f4
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x74], eax
call fcn.0046ad20
mov edx, dword [eax]
push 0x254f
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x94], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x88], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x44b750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.COleDropTarget.virtual_0
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x14], 5
test ecx, ecx
je 0x44b78c
call fcn.004e009b
lea ecx, [esi + 0x30]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 6
call fcn.004db532
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 3
call fcn.004d82d7
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call fcn.004d82d7
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.004d82d7
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 0
call fcn.004d82d7
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004d7bb8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret