joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441130
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b020c]
cmp dword [eax + 0x30], 0
je 0x4411da
cmp dword [ebx + 0x94], 0
jne 0x4411d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4410c0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4411d4
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x44119a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4411d4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00475984
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4411a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x441cb8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x441ced
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00491e10
jmp 0x441cfa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00491d74
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x443078
Capabilities:
Inspect section memory permissions

Disassembly:
jne 0x443083
cmp dword [eax + 0xc], ebx
je 0x443126
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00442ade
pop esp
push cs
mov dword [ebx + 0x750c5d39], 0x95ff5712
dec eax
invalid
call fcn.00442ade
loop 0x443193
stosd dword es:[edi], eax
or ecx, dword [ebx + 0xa087]
add byte [ebx], bh
ret
pop ebp
or al, 0xeb
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4431b5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4431d3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x443231
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x443218
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x443221
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44322b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44320d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x443197
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44327e
dec eax
je 0x443275
sub eax, 3
je 0x44326c
mov dword [ebp - 4], 0x40
jmp 0x44329b
mov dword [ebp - 4], 4
jmp 0x443281
mov dword [ebp - 4], 0x20
jmp 0x443281
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4432cd
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44324d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00442ade
cmp al, 0xf0
pushfd
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a9c4
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 [0x4b02b0], 0
je 0x44ab13
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ac740]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44ab13
mov eax, dword [0x4b02b4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4b02b0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44aae2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4b02b0]
call fcn.00475984
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44aada
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44aada
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44aada
mov eax, dword [ebp - 0x14]
call fcn.0045359c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44aada
push ebp
call fcn.0044a980
pop ecx
test al, al
jne 0x44aada
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44aa96
mov eax, dword [ebp - 0x14]
call fcn.00452130
dec eax
jle 0x44aada
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.004913d0
cmp byte [ebp - 1], 0
je 0x44aada
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44aada
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4b02b4]
call fcn.0044a148
inc edi
dec ebx
jne 0x44aa29
mov eax, dword [0x4b02b4]
cmp dword [eax + 8], 0
jle 0x44aafa
mov eax, dword [0x4b02b4]
call fcn.0044a1d8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44ab13
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044a7e8
pop ecx
test al, al
jne 0x44ab13
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 0x44e104
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 0x44e150
mov eax, esi
call fcn.004391dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44e150
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44e150
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 0x44e28f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44e190
cmp eax, 0x108
ja 0x44e190
mov eax, esi
call fcn.004391dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44e286
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x44e28f
jmp 0x44e286
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44e26f
cmp eax, 0x20a
ja 0x44e26f
test byte [esi + 0x50], 0x80
jne 0x44e1c2
sub eax, 0x203
je 0x44e1bf
sub eax, 3
je 0x44e1bf
sub eax, 3
jne 0x44e1c2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44e1d6
dec eax
je 0x44e1eb
dec eax
je 0x44e208
dec eax
je 0x44e1eb
jmp 0x44e20f
mov ecx, ebx
mov eax, dword [0x4ac740]
mov eax, dword [eax]
mov edx, esi
call fcn.00442c68
jmp 0x44e286
cmp byte [esi + 0x5d], 1
jne 0x44e201
mov eax, esi
mov si, 0xffed
call fcn.004913d0
jmp 0x44e28f
or word [esi + 0x54], 1
jmp 0x44e286
and word [esi + 0x54], 0xfffe
jmp 0x44e286
mov eax, dword [0x4b026c]
cmp byte [eax + 0x20], 0
je 0x44e286
mov eax, dword [0x4b026c]
cmp dword [eax + 0x1c], 0
je 0x44e286
mov eax, dword [ebx]
mov edx, dword [0x4b026c]
cmp eax, dword [edx + 0x1c]
jne 0x44e286
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.00439120
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.004913d0
jmp 0x44e28f
cmp eax, 0xb00b
jne 0x44e286
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044ca24
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
Function at 0x4517cc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4517e8
cmp dword [esi + 4], 0
je 0x451815
test byte [ebx + 0x55], 1
jne 0x451807
mov eax, ebx
call fcn.0045039c
test eax, eax
jne 0x451807
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x451925
mov edx, esi
mov eax, ebx
call fcn.004512ec
jmp 0x451925
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45191e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045359c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044e038
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004517cc
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045359c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451925
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457e04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ac9ac]
cmp byte [eax + 0xc], 0
je 0x457f71
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457f6a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b02c0], 0
jne 0x457e58
push 0x457f78
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x457f80
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02c0], eax
cmp dword [0x4a86e8], 0
jne 0x457f53
push 0x457f90
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4a86e8], eax
cmp dword [0x4a86e8], 0
je 0x457f53
push 0x457f9c
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02c4], eax
push 0x457fac
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02c8], eax
push 0x457fc0
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02cc], eax
push 0x457fd8
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02d0], eax
push 0x457ff0
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02d4], eax
push 0x458004
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02d8], eax
push 0x45801c
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02dc], eax
push 0x458034
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02e0], eax
push 0x458050
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02e4], eax
push 0x45805c
mov eax, dword [0x4a86e8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b02e8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457f71
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45cbb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45cc90
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b02fc], 0
jne 0x45cc74
lea eax, [ebp - 4]
mov edx, 0x45cca8
call fcn.00491db8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004921d0
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45cc74
mov eax, ebx
call fcn.004902b4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45cc6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x45cc57
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45ccb8
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x45cc57
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4b02fc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc74
mov eax, dword [ebp - 0xc]
call fcn.004902d4
ret
mov ebx, dword [0x4b02fc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cc97
lea eax, [ebp - 4]
call fcn.00491d20
ret

Function at 0x46cd5c
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 0x46cdce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x46cda2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00491f10
jmp 0x46cda9
mov eax, ebx
call fcn.00491d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cdd5
cmp dword [ebp - 8], 0
je 0x46cdc5
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 0x46cddc
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 0x46ce7e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x46ce51
mov edx, ebx
mov eax, dword [0x42d084]
call fcn.004318c8
test al, al
je 0x46ce41
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.004317d8
call fcn.00491a2c
jmp 0x46ce85
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x46ce0c
mov ecx, dword [0x4acbc4]
mov dl, 1
mov eax, dword [0x4807d8]
call fcn.00484004
call fcn.00491980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ce85
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 0x46ce8c
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 0x46cee4
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 0x46ceeb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x46cef4
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 0x46cf49
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 0x46cf50
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x46cfc0
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 0x46d035
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046cc98
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.0043189c
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 0x46d01f
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 0x46d03c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x46d044
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 0x46d0b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0046cc98
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 0x46d0a3
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 0x46d0c0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x47e7c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b045c
cmp dword [edi], 0
jne 0x47e844
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4b0458]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a8910
mov ecx, 2
call fcn.00490518
mov edx, 0x47e7a0
lea eax, [esi + 5]
call fcn.0047e7c0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0047e7c0
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 0x47e819
mov dword [0x4b0458], 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 0x47fbf8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00490a90
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4ac9ac]
cmp byte [edx + 0xc], 0
je 0x47fc5c
mov edx, dword [0x4ac998]
cmp dword [edx], 2
jne 0x47fc5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x47fc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47fd18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047fbf8
test al, al
je 0x47fcfa
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00491e10
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x47fcfa
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004921d0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.004921d0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00491f10
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47fcb3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fd1f
lea eax, [ebp - 0x2c]
call fcn.00491d20
lea eax, [ebp - 0xc]
call fcn.00491d20
ret

Function at 0x47feac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0047f978
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004921d0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x47ff0a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ac978]
mov dl, 1
mov eax, dword [0x47f870]
call fcn.00484040
call fcn.00491980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8