joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54cf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0xc8]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x447ef6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xc4]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0xd4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x447ea2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xc8]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xc8]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xc4]
sub ecx, edi
test edx, edx
je 0x447f17
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.005482c8
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x44b320
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x54d3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
call fcn.0044b3f0
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CBrush::CBrush
mov esi, dword [esi + 0x11c]
lea eax, [esp + 0xc]
push esi
push esi
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CDC::Draw3dRect
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 8]
lea eax, [esp + 4]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0xc]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 4], 0x558628
lea ecx, [esp + 4]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x44bf70
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x54d545
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x12c], 1
stosb byte es:[edi], al
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x20]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x44c0a1
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x44c0a1
push edi
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x44c0a1
mov ecx, dword [esp + 0x14]
push esi
push edi
lea edx, [esp + 0x28]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x44c098
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x577438
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44c098
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [eax + 0x14]
mov ecx, dword [eax + 0x14]
push edx
xor edx, edx
mov dx, word [eax + 0x10]
mov eax, dword [eax + 0x10]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x1c]
push str._u._u_u_u
push ecx
call sub.MFC42.DLL_CString::Format
mov al, byte [esp + 0x150]
add esp, 0x18
cmp al, bl
je 0x44c098
mov edx, dword [esp + 0x10]
test byte [edx + 0x1c], 2
je 0x44c098
push str._Beta
lea ecx, [esp + 0x10]
call fcn.00548178
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x134]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x124]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x49c040
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x49c081
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
je 0x49c09f
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x49c09f
cmp dword [esp + 0xc], 5
jb 0x49c09f
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x9c
ret

Function at 0x49dc40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49dcb4
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 0x49dca9
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret

Function at 0x49e710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x551e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x55a808
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x49e7a0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x49e767
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x49e791
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x49e7a6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x49e7a6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x558628
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x558614
mov dword [esp + 0x1c], 0xffffffff
call fcn.005480e2
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a8240
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4a82a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x4a84b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4a85a2
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.004a8240
test eax, eax
jne 0x4a85a2
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.004a8240
test eax, eax
jne 0x4a85a2
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x10]
push str.__1_
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8573
lea eax, [esp + 0x10]
push 0x58da10
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8573
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4a8576
mov byte [esi], 0
push 0x574f5c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4b3600
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 0x104
push eax
mov dword [esp + 0x10], 0
xor esi, esi
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 8
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareRocscienceSwedgeSettings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4b36a2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push eax
push 1
push esi
push str.CurDir
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4b3697
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x10c
ret
Function at 0x4b53b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4b53c3
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4b53c3
jmp fcn.004b4050
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x552f81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_4
xor eax, eax
mov ecx, 0x55870c
mov dword [esp + 0x10], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
mov ecx, 1
mov byte [esp + 0x10], 2
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov ecx, esi
mov dword [esi], 0x55c4a0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.004b6170
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b6170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, ecx
push 0x12
call edi
push 0x12
mov dword [esi + 0x60], eax
call edi
push 0xf
mov dword [esi + 0x5c], eax
call edi
push 0x14
mov dword [esi + 0x64], eax
call edi
push 0x10
mov dword [esi + 0x68], eax
call edi
push 0x15
mov dword [esi + 0x6c], eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [esi + 0x70], eax
call edi
push 8
mov dword [esi + 0x50], eax
call edi
push 4
mov dword [esi + 0x54], eax
call edi
mov dword [esi + 0x58], eax
xor edi, edi
lea eax, [esp + 0x20]
push edi
push eax
push 0x154
push 0x29
mov dword [esp + 0x30], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
dec ecx
add edx, 0xfffffffe
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x55870c
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea eax, [esp + 0x138]
push eax
mov dword [esp + 0x180], edi
call ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
cmp eax, edi
je 0x4b62b0
push ebp
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebx
mov cx, word [0x598550]
lea edx, [esp + 0x1c]
mov ebp, eax
push edx
lea eax, [esp + 0x1e]
push 2
push eax
push edi
mov word [esp + 0x2a], cx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 3]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x4b6293
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
push ebp
push edi
call ebx
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
pop ebp
lea edi, [esi + 0x38]
test edi, edi
je 0x4b62c5
mov eax, dword [edi + 4]
test eax, eax
je 0x4b62c5
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
add esi, 0x30
test esi, esi
je 0x4b62da
mov eax, dword [esi + 4]
test eax, eax
je 0x4b62da
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edx, [esp + 0x38]
mov dword [esp + 0x48], 0x190
push edx
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x38]
mov dword [esp + 0x48], 0x258
push eax
call ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0xc], 0x558628
lea ecx, [esp + 0xc]
mov dword [esp + 0x17c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret
Function at 0x4c1750
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x553a18
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push edi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4c1832
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x4c182b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4c182b
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c182b
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4c182b
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x4c182b
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
je 0x4c183e
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x4c6e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x553e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0040ced0
mov dword [esp + 0xc], 0x55863c
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CDC::CDC
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
mov byte [esp + 0x50], 2
and eax, ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
sub eax, ebp
sub ecx, edi
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
sub edx, eax
lea eax, [esp + 0x34]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, esi
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
je 0x4c6fc8
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x28]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::Detach
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], 1
call fcn.005480e2
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
call fcn.005482c8
mov dword [esp + 0xc], 0x558628
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x4d0480
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [0x5c57b8]
sub esp, 0x118
mov ecx, dword [eax - 8]
push ebx
push esi
xor esi, esi
cmp ecx, esi
je 0x4d0558
mov ebx, dword [esp + 0x124]
cmp ebx, esi
je 0x4d0558
lea ecx, [esp + 8]
mov dword [esp + 8], esi
push ecx
push 0xf003f
push esi
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d0558
push edi
lea edx, [esp + 0x14]
mov ecx, 0x41
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], al
push edx
mov edx, dword [esp + 0x10]
push esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x2c]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], 0x105
call edi
test eax, eax
jne 0x4d054c
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x20]
push eax
push 0
push 0x143
push ecx
call ebp
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x34], 0x105
call edi
test eax, eax
je 0x4d050f
pop ebp
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x118
ret 4

Function at 0x4d3dd0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x554938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ecx + 0xc]
lea edx, [esp]
push edx
push 2
push 0
push eax
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d3e4b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4d3e4b
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x10
ret 4