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

Disassembly:
push 0xffffffffffffffff
push 0x6433db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 0x14]
mov dword [esi], 0x6614f8
mov ecx, ebx
call fcn.00613663
mov dword [ebx], method.CPtrArray.virtual_0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
xor edi, edi
push 0xffffffffffffffff
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x10], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x30], edi
mov dword [esi], 0x66143c
mov dword [esi + 4], eax
call fcn.006136c3
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov edx, dword [0x730758]
push esi
mov dword [esi + 0x40], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
call fcn.0054d600
mov ecx, eax
call fcn.0054d6c0
mov eax, edi
mov ecx, edi
mov dword [esi + 0x48], eax
mov edx, edi
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x50], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x412b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x643a48
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
push esi
call fcn.00412a80
test eax, eax
je 0x412c6e
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CRgn.0
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
sub eax, ebx
sub ecx, edx
push eax
push ecx
push 0
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x10]
call fcn.0061d806
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.0061d21e
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
neg ecx
push 0
push ecx
neg edx
push edx
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10c]
mov ecx, dword [edi + 4]
push 0
push 0
push 0
push ecx
call ebx
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 0xcc0020
mov ecx, dword [esi]
push 0
push 0
push edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x48]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0xc]
call fcn.0061d85d
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call fcn.0061d85d
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 8]
call fcn.0061cc19
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 2
push ecx
lea ecx, [esp + 0xc]
call fcn.0061ccd0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x10c]
lea ecx, [esp + 8]
call fcn.0061cd07
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0061cd4e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x413c00
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x3c
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
jne 0x413c1e
mov ecx, dword [0x7306a4]
mov eax, 0xe8cd
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0xbc], eax
test ecx, ecx
mov ebp, 0x40002810
je 0x413c36
mov ebp, 0x50002810
push eax
xor ecx, ecx
sub esp, 0x10
xor edx, edx
mov eax, esp
xor esi, esi
push ebp
push 0x8800
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
xor edi, edi
push ecx
mov dword [eax + 4], edx
mov ecx, ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
call fcn.00633954
test eax, eax
jne 0x413c6f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
mov edx, dword [ebx + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push edx
call ebp
push eax
call fcn.0061d7f1
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, str.Tahoma
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 0xd
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]
lea esi, [ebx + 0xa8]
mov ecx, esi
call fcn.0061d85d
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.0061d806
test esi, esi
je 0x413ced
mov esi, dword [esi + 4]
mov edx, dword [ebx + 0x1c]
push 1
push esi
push 0x30
push edx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x414be0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x643dae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call fcn.0062455c
lea eax, [esp + 0x10]
mov dword [esp + 0xdc], ebx
push eax
push 1
push ebx
push str.SoftwareFoxit_SoftwareFoxit_ReaderDockState_PRO
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414d66
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push ebx
push edx
push ebx
push 0x730500
push eax
call edi
test eax, eax
jne 0x414d66
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x414d66
push eax
call fcn.006147b3
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push esi
push edx
push ebx
push 0x730500
push eax
call edi
test eax, eax
jne 0x414d66
cmp esi, ebx
je 0x414d66
push 0x400
lea ecx, [esp + 0x24]
call fcn.00624d68
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xdc], 1
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00624f4e
mov edx, dword [esp + 0x20]
push ebx
push ebx
lea ecx, [esp + 0x28]
call dword [edx + 0x28]
push ebx
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0xa0]
call fcn.0061dbb8
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 2
push ecx
lea ecx, [esp + 0x4c]
call fcn.00624650
lea ecx, [esp + 0x90]
mov dword [esp + 0x18], 1
mov byte [esp + 0xdc], 1
call fcn.0061dc94
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], bl
call fcn.00624df0
mov edi, dword [esp + 0xe4]
lea edx, [esp + 0x48]
push edx
push edi
mov ecx, ebp
call fcn.00414b90
test eax, eax
je 0x414d62
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
push edi
call fcn.00414fd0
jmp 0x414d66
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x414d75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x414d82
push esi
call fcn.006147dc
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0xdc], 0xffffffff
call fcn.006245ef
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 4
Function at 0x414dc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x643de9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.0062455c
mov ebp, dword [esp + 0xe0]
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov dword [esp + 0xdc], 0
call fcn.006248e5
lea ecx, [esp + 0x44]
push ecx
push ebp
mov ecx, ebx
call fcn.00415130
push 0x400
lea ecx, [esp + 0x20]
call fcn.00624d68
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 1
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x9c]
call fcn.0061dbb8
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 2
push ecx
lea ecx, [esp + 0x48]
call fcn.00624650
lea ecx, [esp + 0x8c]
call fcn.0061dec9
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x24]
call dword [edx + 0x28]
lea ecx, [esp + 0x1c]
call fcn.006193a9
mov esi, eax
push esi
call fcn.006147b3
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push esi
push edi
call fcn.00624f0d
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 2
push 0
push str.SoftwareFoxit_SoftwareFoxit_ReaderDockState_PRO
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414eef
mov ecx, dword [esp + 0x18]
push esi
push edi
push 3
push eax
push 0x730500
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x414eef
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x414efe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x414f0b
push edi
call fcn.006147dc
add esp, 4
test ebp, ebp
je 0x414f19
push ebp
mov ecx, ebx
call fcn.004151c0
jmp 0x414f1e
mov eax, 1
mov edx, dword [0x6d6700]
mov dword [esp + 0x10], edx
push eax
lea eax, [esp + 0x14]
push 0x6d3c34
push eax
mov byte [esp + 0xe4], 3
call fcn.00611062
add esp, 0xc
call fcn.00632d98
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
push str.Bars
push str.DockState_PRO
mov ecx, eax
call fcn.00620ee8
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 2
call fcn.00618810
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 1
call fcn.0061dc94
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0
call fcn.00624df0
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 0xffffffff
call fcn.006245ef
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 4
Function at 0x418530
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x644158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov ebx, dword [esp + 0x120]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x118], 0
test eax, eax
mov eax, dword [esp + 0x128]
je 0x4185ab
test eax, eax
je 0x4185e1
mov edi, 0x6d3d2c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
jmp 0x418611
test eax, eax
je 0x4185e1
mov edi, 0x6d3d00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov dword [ebx + 0x98], 0x6d34c8
jmp 0x418611
mov edi, 0x6d3ccc
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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]
mov dword [ebx + 0x98], str..fdf
lea ecx, [esp + 0xc]
push 0x7c
push ecx
call fcn.00465b27
add esp, 8
test eax, eax
je 0x418637
mov byte [eax], 0
inc eax
push 0x7c
push eax
call fcn.00465b27
add esp, 8
test eax, eax
jne 0x418624
mov ecx, dword [ebx + 0x90]
mov eax, dword [esp + 0x130]
lea edx, [esp + 0xc]
or ecx, 0x1206
test eax, eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x90], ecx
je 0x418674
mov edi, dword [0x730524]
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x730524]
mov dword [ebx + 0x78], eax
jmp 0x4186e2
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4186e9
mov edi, dword [0x730524]
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x124]
lea ecx, [esp + 0x124]
mov eax, dword [edx - 8]
push eax
call fcn.00618c40
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [0x730524]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x128]
call fcn.00618c8f
mov ecx, dword [0x730524]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4186fa
mov dword [ebx + 0x5c], 0x58
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xb8]
lea ecx, [esp + 0x124]
mov esi, eax
mov dword [esp + 0x118], 0xffffffff
call fcn.00618810
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x110
ret
Function at 0x419630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6442e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, 0x8164
jne 0x4197f9
mov edi, dword [ecx + 0x250]
xor esi, esi
cmp edi, esi
je 0x4197f9
mov dword [esp + 0x10], vtable.CMenu.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
call fcn.00632d98
mov eax, dword [eax + 0xc]
push 0x33c
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x14]
call fcn.00619c7b
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00619c48
mov edx, dword [edi + 0x1c]
mov esi, eax
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
push 0x433
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0061d450
call fcn.00632d98
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push 0x33c
push ecx
push eax
call fcn.00406b90
mov bl, byte [esp + 0x4c]
add esp, 0xc
test bl, 1
je 0x419751
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push 0x816b
push edx
call edi
mov eax, dword [esi + 4]
push 8
push 0x816a
push eax
call edi
mov ecx, dword [esi + 4]
push 8
push 0x8169
push ecx
call edi
mov edx, dword [esi + 4]
push 8
push 0x8165
push edx
call edi
mov eax, dword [esi + 4]
push 8
push 0x8167
push eax
call edi
mov ecx, dword [esi + 4]
push 8
push 0x8166
push ecx
call edi
jmp 0x4197b6
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
test bl, 0x20
je 0x419769
mov eax, dword [esi + 4]
push 8
push 0x816a
push eax
call edi
test bl, 0x10
je 0x41977b
mov ecx, dword [esi + 4]
push 8
push 0x8169
push ecx
call edi
test bl, 2
je 0x41978d
mov edx, dword [esi + 4]
push 8
push 0x8165
push edx
call edi
test bl, 4
je 0x41979f
mov eax, dword [esi + 4]
push 8
push 0x8167
push eax
call edi
test bl, 8
je 0x4197b1
mov ecx, dword [esi + 4]
push 8
push 0x8166
push ecx
call edi
test bl, 0x40
je 0x4197c3
mov edx, dword [esi + 4]
push 8
push 0x8168
push edx
call edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push 0x40
mov ecx, esi
call fcn.006158c9
mov dword [esp + 0x10], vtable.CMenu.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.00619cd2
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x41c5fd
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x644651
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6d6700]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov edx, dword [0x6d6700]
lea ebx, [esi + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edx
mov eax, dword [0x6d6700]
lea ebp, [esi + 0x44]
mov dword [ebp], eax
push 0x730500
mov byte [esp + 0x20], 2
call fcn.00618999
push 0x730500
mov ecx, ebx
call fcn.00618999
push 0x730500
mov ecx, ebp
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], 0x4e
mov dword [esi + 0xc], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
call fcn.00618999
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41d090
Capabilities:
Delete registry value

Disassembly:
push ecx
push str.FoxitReader.Document
push 0x730500
push 0x6d34c8
push SysReAllocStringLen
call fcn.0042ee20
push str.application_pdf
push str.Content_Type
push 0x6d34c8
push SysReAllocStringLen
call fcn.0042ee20
push 0x6d4a04
push str.BrowseInPlace
push str.FoxitReader.Document
push SysReAllocStringLen
call fcn.0042ee20
push str.14E8BBD8_1D1C_4D56_A4DA_D20B75EB814E
push str.CLSID
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocStringLen
call fcn.0042ee20
add esp, 0x40
push 0x6d34c8
push str.Extension
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocStringLen
call fcn.0042ee20
add esp, 0x10
lea eax, [esp]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d141
mov ecx, dword [esp]
push str.Application
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.FoxitReader.Document
push str.Progid
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push SysReAllocStringLen
call fcn.0042ee20
call fcn.0041d170
add esp, 0x14
ret
Function at 0x41d330
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x64479b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 3
push str.Windows_NT_x86
push 0
mov dword [esp + 0x2c], 0
call sub.WINSPOOL.DRV_EnumPrinterDriversA
mov edx, dword [esp + 0x10]
push edx
call fcn.006147b3
mov edx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push ebp
push 3
push str.Windows_NT_x86
push 0
mov dword [esp + 0x30], ebp
call sub.WINSPOOL.DRV_EnumPrinterDriversA
test eax, eax
jne 0x41d3b8
push ebp
call fcn.006147dc
add esp, 4
xor eax, eax
jmp 0x41d541
mov edx, dword [esp + 0x24]
xor edi, edi
test edx, edx
mov dword [esp + 0x20], 0
jbe 0x41d418
add ebp, 4
mov eax, dword [ebp]
mov esi, str.Foxit_PDF_Printer_Driver
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41d3f9
test cl, cl
je 0x41d3f5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41d3f9
add eax, 2
add esi, 2
test cl, cl
jne 0x41d3d5
xor eax, eax
jmp 0x41d3fe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d40c
inc edi
add ebp, 0x28
cmp edi, edx
jb 0x41d3cd
jmp 0x41d414
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x14]
push ebp
call fcn.006147dc
add esp, 4
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 2
push 0
call sub.WINSPOOL.DRV_EnumMonitorsA
mov edx, dword [esp + 0x10]
push edx
call fcn.006147b3
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push esi
push 2
push 0
call sub.WINSPOOL.DRV_EnumMonitorsA
test eax, eax
jne 0x41d474
push esi
call fcn.006147dc
add esp, 4
xor eax, eax
jmp 0x41d541
mov edx, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], edi
test edx, edx
jbe 0x41d4cd
mov edi, esi
mov eax, dword [edi]
mov esi, str.Foxit_PDF_Monitor
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41d4b1
test cl, cl
je 0x41d4ad
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41d4b1
add eax, 2
add esi, 2
test cl, cl
jne 0x41d48d
xor eax, eax
jmp 0x41d4b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d4c8
inc ebp
add edi, 4
cmp ebp, edx
jb 0x41d486
mov edi, dword [esp + 0x14]
jmp 0x41d4cd
mov edi, 1
lea eax, [esp + 0x28]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0061887e
push str._vpr_mon.dll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x138], 0
call fcn.00618bec
test edi, edi
jne 0x41d528
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41d528
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.00618810
xor eax, eax
jmp 0x41d541
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.00618810
mov eax, 1
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x422190
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x645208
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 0x20]
mov esi, dword [eax - 8]
add esi, 0x20
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
test ebp, ebp
rep stosb byte es:[edi], al
jne 0x422216
push ebp
push ebp
push 0x6d4f4c
call fcn.00620d2e
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00618810
xor eax, eax
jmp 0x422283
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
call fcn.00618c40
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
call fcn.00618c8f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00618810
mov eax, 1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x422990
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x645320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.0048ae20
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x6d34c8
mov byte [esp + 0x24], 1
call fcn.0061887e
lea eax, [esp + 0x28]
push eax
call fcn.004745d0
mov esi, dword [esi + 0x3c]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0xe8]
call fcn.0040fa90
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
lea ecx, [esp + 8]
sete bl
call fcn.00618810
test bl, bl
je 0x422a1c
call fcn.0042aca0
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004fb8a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00618810
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4