joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
lea eax, [ebp - 0x404]
mov esi, ecx
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.OFDRunningHelper.exe
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push dword [esi]
lea eax, [ebp - 0x404]
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret

Function at 0x4181c0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x20000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4181f5
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push esi
push 0x35
push str.masterPDF_Server
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x418253
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str._enableServer
lea ecx, [ebp - 0x24]
call fcn.00406540
lea ecx, [ebp - 0x24]
call fcn.00418120
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418241
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x41828c
cmp dword [ebp - 0x1c], 1
jne 0x41828c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x41828c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x1c], 4
pop esi
sete al
xor ecx, ebp
pop edi
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x4182c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047dd50
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4182df
lea esi, [eax + 1]
jmp 0x4182fc
push dword [ebp - 4]
push 1
push str.Activate
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x418317
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0046d700
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
test eax, eax
jne 0x41916f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
cmp dword [ebp - 0x11c], 6
jb 0x419180
test edi, edi
jne 0x419180
xor esi, esi
jmp 0x419193
push ecx
lea ecx, [ebx + 0x2c]
call fcn.00419770
lea ecx, [ebx + 0x2c]
call fcn.004199b0
mov esi, eax
mov eax, str.fail
test esi, esi
mov ecx, 0x633200
push 0x631864
cmove ecx, eax
push ecx
push str.plugin_load
call fcn.0046d7f0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret

Function at 0x419880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi], 0
je 0x419998
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419998
lea ecx, [ebp - 0x20c]
call fcn.0046e240
test eax, eax
je 0x419998
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x419998
push dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419998
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push ecx
push 1
call eax
mov esi, eax
mov dword [ebp - 0x214], esi
test esi, esi
je 0x419998
push dword [edi + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
mov edx, dword [ecx]
cmp edx, eax
je 0x419975
cmp dword [edx], esi
je 0x419971
add edx, 4
cmp edx, eax
jne 0x419966
cmp edx, eax
jne 0x419981
lea eax, [ebp - 0x214]
push eax
call fcn.0041a080
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret 4
Function at 0x41a3a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0x4c0], eax
test ebx, ebx
je 0x41a4bf
test eax, eax
je 0x41a4bf
push esi
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41a468
xor esi, esi
cmp word [ebp - 0x4bc], si
je 0x41a468
lea eax, [ebp - 0x4bc]
xor ecx, ecx
nop dword [eax]
movzx eax, word [eax]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41a454
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0xd4]
push edi
push eax
push ebx
call fcn.005b4ee1
add esp, 0xc
test eax, eax
je 0x41a47b
add esi, 4
lea eax, [ebp - 0x4bc]
lea ecx, [esi + esi]
add eax, ecx
cmp word [eax], 0
jne 0x41a400
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push SysReAllocString
lea eax, [ebp - 0xc]
mov edx, 0x104
push eax
push ecx
mov ecx, dword [ebp - 0x4c0]
call fcn.0041a350
mov ecx, dword [ebp - 0x4c0]
lea eax, [ebx + edi*2]
push eax
mov edx, 0x104
call fcn.0041a2a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x41a4d0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0058cd70
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, edx
test edi, edi
je 0x41a634
push esi
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41a517
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push ebx
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ebx, eax
test ebx, ebx
je 0x41a5f0
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005a4c30
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.005a498e
add esp, 0x14
test eax, eax
je 0x41a5c3
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x41a5c3
lea eax, [ebp - 0x1004]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.0041a270
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.0041a270
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x41a61a
push ecx
mov edx, edi
lea ecx, [ebp - 0x804]
call fcn.0041a3a0
add esp, 4
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x41a650
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d8
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x6d8], ebx
cmp dword [ebx + 4], 0
jne 0x41a68e
call fcn.0041a7f0
cmp dword [ebx + 4], 0
jne 0x41a68e
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x41a6d9
push 0x228
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a6eb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x294
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6cc]
push 0
push eax
call fcn.005a4c30
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0xc
mov dword [ebp - 0x6d0], 0
push esi
nop
mov esi, dword [ebp - 0x430]
cmp dword [ebp - 0x6d4], esi
je 0x41a7a6
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a4c30
add esp, 8
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.0041a4d0
add esp, 4
test eax, eax
je 0x41a7a6
push 0x638414
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41a7a6
push str.LDSBox.exe
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41a7c4
mov eax, dword [ebp - 0x6d8]
lea edx, [ebp - 0x6cc]
push edx
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov dword [ebp - 0x6d0], esi
test esi, esi
jne 0x41a7c9
jmp 0x41a7ac
mov esi, dword [ebp - 0x6d0]
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a720
jmp 0x41a7c9
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x41b250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], 0
call fcn.00480c90
cmp dword [0x68208c], 0
mov ecx, 0x100
mov eax, 0x200
cmovne eax, ecx
lea ecx, [ebp - 0x228]
push ecx
or eax, 1
push eax
push 0
push str..pdfShellEx8895b1c6_b41f_4c1c_a562_0d564250836f
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41b3a4
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005a4c30
add esp, 0xc
mov dword [ebp - 0x22c], 0x208
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x228]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41b3a4
push str.3D3B1846_CC43_42AE_BFF9_F914083C2BA3
lea ecx, [ebp - 0x224]
call fcn.00406760
cmp word [ebp - 0x20c], 0
mov esi, eax
jne 0x41b336
xor ecx, ecx
jmp 0x41b34f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b340
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x14], 8
lea edx, [esi + 0x10]
jb 0x41b35a
mov esi, dword [esi]
mov edx, dword [edx]
lea eax, [ebp - 0x20c]
push ecx
push eax
mov ecx, esi
call fcn.0041cac0
mov ecx, dword [ebp - 0x210]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 8
jb 0x41b392
inc ecx
push ecx
push dword [ebp - 0x224]
lea ecx, [ebp - 0x224]
call fcn.00408200
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x41b3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x682ca8]
cmp eax, dword [ecx + 4]
jle 0x41b431
push 0x682ca8
call fcn.0058bdbd
add esp, 4
cmp dword [0x682ca8], 0xffffffff
jne 0x41b431
call fcn.00402c20
mov ecx, eax
test ecx, ecx
je 0x41b4cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x5dc8c0
mov dword [0x682ca4], eax
call fcn.0058c29d
push 0x682ca8
call fcn.0058bd7e
add esp, 8
mov eax, dword [0x682ca4]
cmp dword [eax - 0xc], 0
jne 0x41b4b6
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.full.data
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b490
sub ecx, edx
lea eax, [ebp - 0x404]
sar ecx, 1
push ecx
push eax
mov ecx, 0x682ca4
call fcn.00407470
mov eax, dword [0x682ca4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024f0
int3

Function at 0x41b4e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0058cd70
mov eax, dword [0x6679c4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041b3c0
test eax, eax
je 0x41b54f
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005a4c30
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x800
push 0x800
push eax
call fcn.004024a0
push dword [eax + 4]
push dword [eax]
call fcn.005ad024
add esp, 0x20
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bc6a
mov esp, ebp
pop ebp
ret
Function at 0x41b8f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x2711
jne 0x41b95d
push 0x631864
push str.none
push str.speedup_run
call fcn.0046d8c0
add esp, 0xc
push 0x2711
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x668ba0]
push 0
cmp eax, 1
jne 0x41b939
push 0x927c0
jmp 0x41b940
imul eax, eax, 0x36ee80
push eax
push 0x2711
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
inc dword [0x668ba0]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2719
jne 0x41b9d0
lea ecx, [ebp + 0xc]
call fcn.0047d720
push 1
push 0
push str._checkDownPdfPreview
push dword [ebp + 0xc]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x2719
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x6ddd00
push 0x2719
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bae7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2712
jne 0x41ba4f
mov eax, dword [0x682bdc]
mov ecx, eax
inc eax
mov dword [0x682bdc], eax
cmp ecx, 1
jne 0x41ba15
push 0x2712
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x2c]
test eax, eax
jle 0x41ba15
imul eax, eax, 0xea60
push 0
push eax
push 0x2712
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x638678
call fcn.0041b4e0
add esp, 4
call fcn.0041c330
test eax, eax
je 0x41ba39
call fcn.0041bb30
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x6386f0
call fcn.0041b4e0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2717
jne 0x41ba71
call fcn.0041c3f0
test eax, eax
je 0x41bae7
call fcn.0041bbf0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2718
jne 0x41ba8f
call fcn.0041c390
test eax, eax
je 0x41bae7
call fcn.0041bc40
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2713
jne 0x41bab0
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.0041bc90
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x2716
jne 0x41bae7
call fcn.0041b250
test eax, eax
jne 0x41bae7
lea ecx, [ebp + 0xc]
call fcn.0047d720
sub esp, 0xc
mov dword [ebp - 4], 0xffffffff
push str._setPdfPreviewtrue
push dword [ebp + 0xc]
call fcn.0046d280
lea ecx, [ebp + 0xc]
call fcn.00406520
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41bbf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00474c80
test eax, eax
jne 0x41bc39
lea ecx, [ebp - 4]
call fcn.0047d720
push 1
push 0
push str._setCajDefaulttrue
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bc39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret
Function at 0x41bc40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00474ba0
test eax, eax
jne 0x41bc89
lea ecx, [ebp - 4]
call fcn.0047d720
push 1
push 0
push str._setOfdDefaulttrue
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bc89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x41c1f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047dd50
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c20f
lea esi, [eax + 1]
jmp 0x41c22c
push dword [ebp - 4]
push 1
push str.OpenRecommend
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41c247
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c330
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047dd50
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c363
push dword [ebp - 4]
push 1
push str.AutoDetectPdfAssoc
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c368
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c383
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c390
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047dd50
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c3c3
push dword [ebp - 4]
push 1
push str.AutoDetectOfdAssoc
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c3c8
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c3e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c3f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047dd50
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c423
push dword [ebp - 4]
push 1
push str.AutoDetectCajAssoc
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c428
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c443
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4202a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3ee6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6679c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x4202e7
push 0x80004005
call fcn.004024f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x42030e
push 0x80004005
call fcn.004024f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041f090
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
call fcn.0042ccf0
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x420900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret