Function at 0x40e457
Capabilities:
Terminate process

Disassembly:
mov eax, 0x61210c
call fcn.0044c164
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.0045d7b1
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.0044d458
lea eax, [ebp - 0x188]
push eax
call fcn.0044c220
add esp, 0x1c
cmp eax, esi
jbe 0x40e70d
push dword [ebp + 0x14]
lea eax, [ebp - 0x187]
push eax
call fcn.0059310a
pop ecx
test eax, eax
pop ecx
jne 0x40e70d
push 0xc
push esi
call fcn.0059b47d
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call fcn.005f0629
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005f0850
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.005f05bb
lea eax, [ebp - 0x88]
push 0x40
push eax
push 0x3f
call fcn.0045cd86
add esp, 0xc
lea eax, [ebp - 0x88]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.005932e4
lea eax, [ebp - 0x388]
push eax
call fcn.0047b5c5
add esp, 0x10
mov byte [ebp - 4], 5
call fcn.00593582
mov dword [ebp - 0x30], eax
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
mov ebx, 0x593563
mov dword [eax], ecx
mov dword [ebp - 0x34], ebx
push dword [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.005931d7
pop ecx
mov dword [esi], eax
push str.TAPS32.api
push dword [ebp - 0x14]
call fcn.0044c5e0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d3
push str.HTML2PDF.api
push dword [ebp - 0x14]
call fcn.0044c5e0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d3
push str.PPKLite.api
push dword [ebp - 0x14]
call fcn.0044c5e0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d3
push str.ImageConversion.api
push dword [ebp - 0x14]
call fcn.0044c5e0
pop ecx
cmp eax, edi
pop ecx
je 0x40e5d3
push dword [esi]
call fcn.00410454
pop ecx
jmp 0x40e5db
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x40e5ed
push 0x40000001
call fcn.00593610
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 0x40e60d
push 0x40000001
call fcn.00593610
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 0x40e62e
push 0x40000001
call fcn.00593610
pop ecx
push esi
call fcn.00481aa6
test ax, ax
pop ecx
jne 0x40e645
push 0x40000001
call fcn.00593610
pop ecx
mov byte [ebp - 4], 7
call fcn.00593582
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 0x40e67d
push 0x40000001
call fcn.00593610
pop ecx
push esi
call fcn.00481f0b
test ax, ax
pop ecx
jne 0x40e694
push 0x40000001
call fcn.00593610
pop ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], 1
mov dword [eax], ecx
jmp 0x40e6bf
push dword [ebp + 0xc]
mov dword [ebp - 4], 6
push esi
call dword [ebp + 8]
pop ecx
test ax, ax
pop ecx
jne 0x40e6d7
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.00598ce9
pop ecx
mov ecx, dword [0x6adbfc]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.00431885
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005f05bb
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.005f05bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret