Function at 0x40e459
Capabilities:
Terminate process

Disassembly:
mov eax, 0x61759c
call fcn.0044c384
sub esp, 0x48c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
pop esi
push 0x56
mov dword [ebp - 4], esi
call fcn.0045d9d1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x48]
push eax
xor edi, edi
push dword [ebp + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], edi
call fcn.0044d668
lea eax, [ebp - 0x188]
push eax
call fcn.0044c440
add esp, 0x1c
cmp eax, esi
jbe 0x40e70f
push dword [ebp + 0x14]
lea eax, [ebp - 0x187]
push eax
call fcn.00598578
pop ecx
test eax, eax
pop ecx
jne 0x40e70f
push 0xc
push esi
call fcn.005a0894
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call fcn.005f5ab9
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005f5ce0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005f5a4b
lea eax, [ebp - 0x88]
push 0x40
push eax
push 0x3f
call fcn.0045cfa6
add esp, 0xc
lea eax, [ebp - 0x88]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.00598752
lea eax, [ebp - 0x388]
push eax
call fcn.0047bad2
add esp, 0x10
mov byte [ebp - 4], 5
call fcn.005989f0
mov dword [ebp - 0x30], eax
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
mov ebx, 0x5989d1
mov dword [eax], ecx
mov dword [ebp - 0x34], ebx
push dword [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.00598645
pop ecx
mov dword [esi], eax
push str.TAPS32.api
push dword [ebp - 0x14]
call fcn.0044c7f0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d5
push str.HTML2PDF.api
push dword [ebp - 0x14]
call fcn.0044c7f0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d5
push str.PPKLite.api
push dword [ebp - 0x14]
call fcn.0044c7f0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d5
push str.ImageConversion.api
push dword [ebp - 0x14]
call fcn.0044c7f0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d5
push dword [esi]
call fcn.00410476
pop ecx
jmp 0x40e5dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x40e5ef
push 0x40000001
call fcn.00598a7e
pop ecx
push str.PlugInMain
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [esi + 8], eax
jne 0x40e60f
push 0x40000001
call fcn.00598a7e
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xa
push str.API_DIGITAL_CERTIFICATE
push dword [esi + 4]
call edi
test eax, eax
jne 0x40e630
push 0x40000001
call fcn.00598a7e
pop ecx
push esi
call fcn.00481fd9
test ax, ax
pop ecx
jne 0x40e647
push 0x40000001
call fcn.00598a7e
pop ecx
mov byte [ebp - 4], 7
call fcn.005989f0
mov dword [ebp - 0x3c], eax
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
mov dword [eax], ecx
mov dword [ebp - 0x40], ebx
push 0xa
push str.T405_DIGITAL_CERTIFICATE
push dword [esi + 4]
mov byte [ebp - 4], 8
call edi
test eax, eax
jne 0x40e67f
push 0x40000001
call fcn.00598a7e
pop ecx
push esi
call fcn.0048243e
test ax, ax
pop ecx
jne 0x40e696
push 0x40000001
call fcn.00598a7e
pop ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], 1
mov dword [eax], ecx
jmp 0x40e6c1
push dword [ebp + 0xc]
mov dword [ebp - 4], 6
push esi
call dword [ebp + 8]
pop ecx
test ax, ax
pop ecx
jne 0x40e6d9
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
push dword [ebp + 0x10]
mov dword [ebp - 4], 4
call fcn.0059e157
pop ecx
mov ecx, dword [0x6b50cc]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.00431ab6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005f5a4b
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.005f5a4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.005f5a4b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret