joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, ecx
push eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.0040b730
mov ecx, dword [ebx + 0x98]
mov eax, dword [eax]
test ecx, ecx
mov dword [esp + 0xc], eax
jne 0x40cb09
push eax
mov ecx, ebx
call fcn.0040b7d0
test eax, eax
jne 0x40cc1e
mov eax, dword [0x73d8d0]
push esi
mov esi, dword [sym.imp.USER32.dll_SetCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, 4
jne 0x40cb43
mov dword [0x73d8d0], 3
call fcn.0063df58
call fcn.0063df58
mov eax, dword [eax + 0xc]
push 0x84
push eax
call edi
push eax
call esi
mov eax, dword [0x73d8e8]
cmp eax, 3
jne 0x40cba5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
je 0x40cb92
mov dword [0x73d8d0], 2
call fcn.0063df58
call fcn.0063df58
mov eax, dword [eax + 0xc]
push 0x87
push eax
call edi
push eax
call esi
mov eax, dword [0x73d8d0]
cmp eax, 1
jne 0x40cbe4
mov ecx, ebx
call fcn.00408e70
jmp 0x40cbf0
mov ecx, ebx
mov dword [0x73d8d0], 1
call fcn.00408e70
jmp 0x40cbf0
cmp eax, 4
jne 0x40cb7f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor edx, edx
mov dl, ah
test dl, dl
je 0x40cbd8
mov dword [0x73d8d0], 1
call fcn.0063df58
call fcn.0063df58
mov eax, dword [eax + 0xc]
push 0x86
jmp 0x40cb79
mov dword [0x73d8d0], 2
jmp 0x40cbe9
cmp eax, 2
jne 0x40cbf0
mov ecx, ebx
call fcn.00408ec0
mov eax, dword [esp + 0x14]
xor ecx, ecx
pop edi
cmp eax, ecx
mov dword [ebx + 0x98], ecx
pop esi
je 0x40cc18
push eax
mov ecx, ebx
mov dword [ebx + 0x94], 1
call fcn.0040b5b0
pop ebx
ret 0xc
mov dword [ebx + 0x94], ecx
pop ebx
ret 0xc

Function at 0x40ef10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64e5cb
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], 0x66d594
mov ecx, ebx
call fcn.0061e823
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], 0x66d4d4
mov dword [esi + 4], eax
call fcn.0061efb2
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 [0x73d8d0]
push esi
mov dword [esi + 0x40], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
call fcn.00559ae0
mov ecx, eax
call fcn.00559ba0
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 0x40ef29
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64e5cb
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], 0x66d594
mov ecx, ebx
call fcn.0061e823
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], 0x66d4d4
mov dword [esi + 4], eax
call fcn.0061efb2
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 [0x73d8d0]
push esi
mov dword [esi + 0x40], edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
call fcn.00559ae0
mov ecx, eax
call fcn.00559ba0
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 0x4131e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64ec38
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.00413100
test eax, eax
je 0x4132ee
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.006289c6
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call fcn.006283de
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 + 0x110]
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.00628a1d
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call fcn.00628a1d
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.00627dd9
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 2
push ecx
lea ecx, [esp + 0xc]
call fcn.00627e90
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x110]
lea ecx, [esp + 8]
call fcn.00627ec7
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00627f0e
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x414320
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 0x41433e
mov ecx, dword [0x73d81c]
mov eax, 0xe8cd
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0xbc], eax
test ecx, ecx
mov ebp, 0x40002810
je 0x414356
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.0063eb14
test eax, eax
jne 0x41438f
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.006289b1
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, 0x6e0be0
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.00628a1d
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.006289c6
test esi, esi
je 0x41440d
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 0x415300
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x64ef9e
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.0062f721
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 0x415486
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 0x73d670
push eax
call edi
test eax, eax
jne 0x415486
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x415486
push eax
call fcn.0061f973
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 0x73d670
push eax
call edi
test eax, eax
jne 0x415486
cmp esi, ebx
je 0x415486
push 0x400
lea ecx, [esp + 0x24]
call fcn.0062ff2d
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xdc], 1
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00630113
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.00628d78
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 2
push ecx
lea ecx, [esp + 0x4c]
call fcn.0062f815
lea ecx, [esp + 0x90]
mov dword [esp + 0x18], 1
mov byte [esp + 0xdc], 1
call fcn.00628e54
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], bl
call fcn.0062ffb5
mov edi, dword [esp + 0xe4]
lea edx, [esp + 0x48]
push edx
push edi
mov ecx, ebp
call fcn.004152b0
test eax, eax
je 0x415482
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
push edi
call fcn.004156f0
jmp 0x415486
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x415495
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x4154a2
push esi
call fcn.0061f99c
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0xdc], 0xffffffff
call fcn.0062f7b4
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 0x4154e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64efd9
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.0062f721
mov ebp, dword [esp + 0xe0]
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov dword [esp + 0xdc], 0
call fcn.0062faaa
lea ecx, [esp + 0x44]
push ecx
push ebp
mov ecx, ebx
call fcn.00415850
push 0x400
lea ecx, [esp + 0x20]
call fcn.0062ff2d
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.00628d78
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 2
push ecx
lea ecx, [esp + 0x48]
call fcn.0062f815
lea ecx, [esp + 0x8c]
call fcn.00629089
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x24]
call dword [edx + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0062456c
mov esi, eax
push esi
call fcn.0061f973
add esp, 4
mov edi, eax
lea ecx, [esp + 0x1c]
push esi
push edi
call fcn.006300d2
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 0x41560f
mov ecx, dword [esp + 0x18]
push esi
push edi
push 3
push eax
push 0x73d670
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41560f
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41561e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41562b
push edi
call fcn.0061f99c
add esp, 4
test ebp, ebp
je 0x415639
push ebp
mov ecx, ebx
call fcn.004158e0
jmp 0x41563e
mov eax, 1
mov edx, dword [0x6e3700]
mov dword [esp + 0x10], edx
push eax
lea eax, [esp + 0x14]
push 0x6e0c34
push eax
mov byte [esp + 0xe4], 3
call fcn.0061c222
add esp, 0xc
call fcn.0063df58
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
push str.Bars
push str.DockState_PRO
mov ecx, eax
call fcn.0062c0a8
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 2
call fcn.006239d3
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 1
call fcn.00628e54
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0
call fcn.0062ffb5
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0062f7b4
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 0x418c70
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x64f348
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 0x418ceb
test eax, eax
je 0x418d21
mov edi, 0x6e0d2c
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 0x418d51
test eax, eax
je 0x418d21
mov edi, 0x6e0d00
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], 0x6e04c8
jmp 0x418d51
mov edi, 0x6e0ccc
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.00466a47
add esp, 8
test eax, eax
je 0x418d77
mov byte [eax], 0
inc eax
push 0x7c
push eax
call fcn.00466a47
add esp, 8
test eax, eax
jne 0x418d64
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 0x418db4
mov edi, dword [0x73d69c]
mov ecx, 0x5dc
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x73d69c]
mov dword [ebx + 0x78], eax
jmp 0x418e22
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx - 8]
test eax, eax
je 0x418e29
mov edi, dword [0x73d69c]
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.00623e03
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 [0x73d69c]
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.00623e52
mov ecx, dword [0x73d69c]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x418e3a
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.006239d3
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 0x419d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64f4d0
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 0x419f39
mov edi, dword [ecx + 0x250]
xor esi, esi
cmp edi, esi
je 0x419f39
mov dword [esp + 0x10], vtable.CMenu.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
call fcn.0063df58
mov eax, dword [eax + 0xc]
push 0x33c
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x14]
call fcn.00624e3e
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00624e0b
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.00628610
call fcn.0063df58
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push 0x33c
push ecx
push eax
call fcn.00407020
mov bl, byte [esp + 0x4c]
add esp, 0xc
test bl, 1
je 0x419e91
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 0x419ef6
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
test bl, 0x20
je 0x419ea9
mov eax, dword [esi + 4]
push 8
push 0x816a
push eax
call edi
test bl, 0x10
je 0x419ebb
mov ecx, dword [esi + 4]
push 8
push 0x8169
push ecx
call edi
test bl, 2
je 0x419ecd
mov edx, dword [esi + 4]
push 8
push 0x8165
push edx
call edi
test bl, 4
je 0x419edf
mov eax, dword [esi + 4]
push 8
push 0x8167
push eax
call edi
test bl, 8
je 0x419ef1
mov ecx, dword [esi + 4]
push 8
push 0x8166
push ecx
call edi
test bl, 0x40
je 0x419f03
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.00620a89
mov dword [esp + 0x10], vtable.CMenu.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.00624e95
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x41cdbd
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x64f841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x6e3700]
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 [0x6e3700]
lea ebx, [esi + 0x1c]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ebx], edx
mov eax, dword [0x6e3700]
lea ebp, [esi + 0x44]
mov dword [ebp], eax
push 0x73d670
mov byte [esp + 0x20], 2
call fcn.00623b5c
push 0x73d670
mov ecx, ebx
call fcn.00623b5c
push 0x73d670
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.00623b5c
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 0x41d850
Capabilities:
Delete registry value

Disassembly:
push ecx
push str.FoxitReader.Document
push 0x73d670
push 0x6e04c8
push SysReAllocStringLen
call fcn.0042f9c0
push str.application_pdf
push str.Content_Type
push 0x6e04c8
push SysReAllocStringLen
call fcn.0042f9c0
push 0x6e1a04
push str.BrowseInPlace
push str.FoxitReader.Document
push SysReAllocStringLen
call fcn.0042f9c0
push str.14E8BBD8_1D1C_4D56_A4DA_D20B75EB814E
push str.CLSID
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocStringLen
call fcn.0042f9c0
add esp, 0x40
push 0x6e04c8
push str.Extension
push str.MIMEDatabaseContent_Type_application_pdf
push SysReAllocStringLen
call fcn.0042f9c0
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 0x41d901
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.0042f9c0
call fcn.0041d930
add esp, 0x14
ret
Function at 0x41daf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x64f98b
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.0061f973
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 0x41db78
push ebp
call fcn.0061f99c
add esp, 4
xor eax, eax
jmp 0x41dd01
mov edx, dword [esp + 0x24]
xor edi, edi
test edx, edx
mov dword [esp + 0x20], 0
jbe 0x41dbd8
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 0x41dbb9
test cl, cl
je 0x41dbb5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41dbb9
add eax, 2
add esi, 2
test cl, cl
jne 0x41db95
xor eax, eax
jmp 0x41dbbe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dbcc
inc edi
add ebp, 0x28
cmp edi, edx
jb 0x41db8d
jmp 0x41dbd4
mov dword [esp + 0x20], 1
mov ebp, dword [esp + 0x14]
push ebp
call fcn.0061f99c
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.0061f973
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 0x41dc34
push esi
call fcn.0061f99c
add esp, 4
xor eax, eax
jmp 0x41dd01
mov edx, dword [esp + 0x1c]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], edi
test edx, edx
jbe 0x41dc8d
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 0x41dc71
test cl, cl
je 0x41dc6d
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41dc71
add eax, 2
add esi, 2
test cl, cl
jne 0x41dc4d
xor eax, eax
jmp 0x41dc76
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dc88
inc ebp
add edi, 4
cmp ebp, edx
jb 0x41dc46
mov edi, dword [esp + 0x14]
jmp 0x41dc8d
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.00623a41
push str._vpr_mon.dll
lea ecx, [esp + 0x1c]
mov dword [esp + 0x138], 0
call fcn.00623daf
test edi, edi
jne 0x41dce8
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41dce8
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.006239d3
xor eax, eax
jmp 0x41dd01
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], 0xffffffff
call fcn.006239d3
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