Function at 0x414920
Capabilities:
Access peb ldr_data
Create process on windows
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41b1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
push 0x41e710
lea ecx, [esp + 0x14]
call fcn.00404410
push 0x41e710
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00404410
push 0x41e710
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 1
call fcn.00404410
push 0x41e710
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.00404410
lea eax, [esi + 0xd4]
push eax
lea ecx, [esp + 0x1c]
push 0x41f474
push ecx
mov byte [esp + 0x38], 3
call fcn.00406420
push 0x422d40
push eax
lea edx, [esp + 0x28]
mov bl, 4
push edx
mov byte [esp + 0x44], bl
call fcn.00403db0
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00401510
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00413030
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call fcn.00401510
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00403d00
add esp, 0xc
mov ebx, dword [esp + 0x18]
lea edx, [esi + 0x294]
xor eax, eax
mov edi, edx
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov dword [edx], 0x44
mov dword [esi + 0x2c0], 1
mov word [esi + 0x2c4], ax
lea edi, [esi + 0x2d8]
push edi
push edx
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push eax
push eax
push 0x10
push eax
push eax
push eax
push ebx
push eax
mov byte [esp + 0x54], 7
mov dword [ecx + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x414b07
push str.Sorry_that_Ghostscript_doesnt_work.
lea ecx, [esp + 0x18]
call fcn.00404410
mov eax, dword [esp + 0x34]
test eax, eax
je 0x414ad6
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x14]
push 0x10
push str.PDFill_PDF_and_Image_Writer
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x2dc]
push edx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call edi
mov ecx, esi
call fcn.00413770
cmp dword [esi + 0x184], 1
jne 0x414b61
push 0xfa
call edi
mov esi, dword [esi + 0x114]
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebx
jg 0x414b83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ba6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414bc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414bec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x24
ret 4