Function at 0x40cb40
Capabilities:
Create thread

Disassembly:
jmp 0x40c910
push 0xffffffffffffffff
push 0x48c4f6
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x4b37f8]
xor eax, esp
mov dword [esp + 0xa44], eax
push esi
push edi
mov eax, dword [0x4b37f8]
xor eax, esp
push eax
lea eax, [esp + 0xa54]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa64]
mov eax, dword [esi]
cmp eax, 0x484c6f67
ja 0x40cc9a
je 0x40cc15
cmp eax, 0x45756c61
ja 0x40cb8e
je 0x40cadb
cmp eax, 0x43535052
je 0x40ca85
cmp eax, 0x44697374
je 0x40ca73
cmp eax, 0x45727221
jne 0x40d0bb
mov edx, dword [esi + 8]
test edx, edx
je 0x40c9fb
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c9a1
sub eax, edi
sar eax, 1
je 0x40c9fb
push 0x80
push edx
push 0x4b5a54
call fcn.00444bcc
mov eax, dword [esi + 8]
mov ecx, dword [0x4b576c]
push eax
push ecx
call fcn.0040115e
mov edx, dword [0x4b576c]
push 0xffffffffffffffff
push edx
call fcn.0040115e
mov eax, dword [0x4b5a28]
add esp, 0x1c
push 0
push 0x1b58
push 0x9006
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x4976e0
mov ecx, 0x4b5a28
call fcn.004014ba
push 0
mov ecx, 0x4b5a28
call fcn.0040122b
mov eax, dword [0x4b576c]
test eax, eax
je 0x40d0bb
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x144
push 0xc9
push eax
call esi
mov ecx, dword [0x4b576c]
push 0
push 0
push 0x146
push 0xc9
push ecx
call esi
test eax, eax
jne 0x40d0bb
mov edx, dword [0x4b576c]
push eax
push 2
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40d0bb
push 0x12c
call fcn.004014ec
add esp, 4
jmp 0x40d0bd
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREAdobeAcrobat_Distiller10.0PrinterJobControl_
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d0bb
mov edx, dword [esi + 4]
push 0xa
lea ecx, [esp + 0x84c]
push ecx
push edx
call fcn.00445378
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x848]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d0bb
cmp dword [0x4b5784], 1
je 0x40cb84
cmp dword [0x4b5780], 0
ja 0x40cb5b
mov esi, dword [esi + 8]
xor edi, edi
test esi, esi
je 0x40cafe
mov esi, dword [esi]
jmp 0x40cb06
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp dword [0x4b577c], edi
jg 0x40cb3f
mov eax, dword [0x4b5a28]
push 0
push 0x15f90
push 0x9009
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4b577c], 0xffffffff
mov dword [0x4b5788], 1
mov edi, 1
push esi
push 0
push 0x401352
call fcn.00444f75
mov dword [0x4b5780], eax
add esp, 0xc
mov eax, edi
jmp 0x40d0bd
mov eax, dword [0x4b577c]
cmp eax, 0xffffffff
jne 0x40cb76
xor eax, eax
cmp dword [0x4b5788], 1
sete al
jmp 0x40d0bd
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x40d0bd
mov eax, 1
jmp 0x40d0bd
cmp eax, 0x47504446
je 0x40cc04
cmp eax, 0x48456e64
je 0x40cbdb
cmp eax, 0x484c6b76
jne 0x40d0bb
call fcn.00401136
test al, al
je 0x40cc15
cmp dword [esi + 4], 0x20c
jne 0x40cc15
mov eax, dword [esi + 8]
test eax, eax
je 0x40cc15
lea edx, [eax + 0x108]
push edx
mov edx, dword [eax]
lea ecx, [eax + 4]
push ecx
push edx
call fcn.004011c7
add esp, 0xc
jmp 0x40d0bd
cmp dword [0x4b5760], 0
jne 0x40d0bb
call fcn.00401136
test al, al
je 0x40d0bb
push 0
call fcn.00401145
add esp, 4
jmp 0x40d0bb
mov eax, dword [esi + 8]
push eax
call fcn.004013c5
add esp, 4
jmp 0x40d0bd
call fcn.00401136
test al, al
jne 0x40cc2d
mov ecx, dword [0x4b5778]
push ecx
call fcn.00401082
add esp, 4
call fcn.00401136
test al, al
je 0x40d0bb
cmp dword [esi + 4], 0x104
jbe 0x40cc78
mov esi, dword [esi + 8]
test esi, esi
je 0x40cc78
mov edx, dword [esi + 0xc4]
mov eax, dword [esi + 0xc8]
push edx
push eax
lea ecx, [esi + 0xcc]
push ecx
lea edx, [esi + 0x82]
push edx
lea eax, [esi + 0x41]
push eax
push esi
call fcn.004011a9
add esp, 0x18
jmp 0x40d0bd
push 0
push 0
push 0
push str.Invalid_Data
push str.HeadLight
push str.CreatePDF
call fcn.004011a9
add esp, 0x18
jmp 0x40d0bb
cmp eax, 0x53686f77
ja 0x40ceaa
je 0x40ce9b
cmp eax, 0x4d61696c
je 0x40ce3f
cmp eax, 0x53446c67
je 0x40cd4f
cmp eax, 0x53504446
jne 0x40d0bb
lea ecx, [esp + 0xc]
push ecx
push str.SOFTWAREAdobeAcrobat_Distiller10.0PrinterJobControl_
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, eax
test edi, edi
jne 0x40cd48
mov esi, dword [esi + 8]
mov eax, dword [esi + 0x410]
push 0xa
lea edx, [esp + 0x84c]
push edx
push eax
call fcn.00445378
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x40cd10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cd10
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0xc]
push ecx
push esi
push 1
push 0
lea edx, [esp + 0x858]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40d0bd
push 0x2001f
push 0
push SysFreeString
lea ecx, [esp + 0x1c]
call fcn.004010be
mov dword [esp + 0xa5c], 0
push 1
push str.AcroTrayShowStatus
lea ecx, [esp + 0x18]
call fcn.00401320
test al, al
je 0x40ce26
mov eax, dword [esi + 4]
cmp eax, 0x830
jne 0x40cd9a
mov edx, dword [esi + 8]
push edx
jmp 0x40ce1e
cmp eax, 0x41c
jne 0x40ce26
mov esi, dword [esi + 8]
push 0x82c
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.00442c50
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0x208
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x434]
push ecx
mov dword [esp + 0x848], edx
mov eax, dword [esi]
push 0x208
lea edx, [esi + 0x214]
push edx
push 1
push 0
mov dword [esp + 0x30], eax
call edi
push 0x208
lea eax, [esp + 0x24]
push eax
push 0x208
add esi, 0xc
push esi
push 1
push 0
call edi
lea ecx, [esp + 0x18]
push ecx
call fcn.00401154
add esp, 4
mov dword [esp + 0xa5c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011bd
jmp 0x40d0bb
lea edx, [esp + 0x10]
push edx
push str.SoftwareAdobeAcrobat_DistillerEmailJobs
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d0bb
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push ecx
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x4b5a28]
push 0
push 0x1388
push 0x9003
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40d0bb
mov ecx, 0x4b5a28
call fcn.004010f5
jmp 0x40d0bb
cmp eax, 0x54456e64
je 0x40cf5e
cmp eax, 0x546f6f6c
je 0x40cf37
cmp eax, 0x56696577
jne 0x40d0bb
mov edi, dword [esi + 8]
test edi, edi
je 0x40d0bb
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x852]
push edx
mov word [esp + 0x854], cx
call fcn.00442c50
lea eax, [esp + 0x854]
push eax
push 0
push 0
push 0
push edi
call fcn.004456cd
lea ecx, [esp + 0x868]
push str..pdf
push ecx
call fcn.00444d27
add esp, 0x28
test eax, eax
jne 0x40d0bb
mov edx, dword [esi + 8]
mov eax, dword [0x4b5a28]
push edx
push eax
call fcn.00401505
add esp, 8
jmp 0x40d0bb
mov ecx, dword [esi + 8]
push ecx
mov ecx, 0x4b5a28
call fcn.004014ba
mov edx, dword [0x4b576c]
push 0x4b5a54
push edx
call fcn.0040115e
add esp, 8
jmp 0x40d0bb
mov eax, dword [esi + 8]
push 0x104
push eax
push 0x4b57b0
call fcn.00444bcc
add esp, 0xc
push 0x4b57b0
mov ecx, 0x4b5a28
call fcn.00401433
mov ecx, dword [0x4b576c]
push 0x4b57b0
push ecx
call fcn.0040115e
add esp, 8
test eax, eax
je 0x40d009
mov edx, dword [0x4b576c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40d009
push 0x2001f
push 0
push SysFreeString
lea ecx, [esp + 0x1c]
call fcn.004010be
mov dword [esp + 0xa5c], 1
push 1
push str.AcroTrayDisplayPDFCreation
lea ecx, [esp + 0x18]
call fcn.00401320
test al, al
je 0x40ce26
push 0x4b57b0
mov ecx, 0x4b5a28
call fcn.0040110e
mov dword [esp + 0xa5c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004011bd
jmp 0x40d013
mov ecx, 0x4b5a28
call fcn.00401091
mov eax, dword [0x4b576c]
test eax, eax
je 0x40d0bb
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40d0bb
mov eax, dword [0x4b576c]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 0
push 0x150
push 0xc9
push eax
call esi
test eax, eax
je 0x40d0bb
cmp eax, 0xffffffff
je 0x40d064
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x4b576c]
push 0
push 0
push 0x144
push 0xc9
push ecx
call esi
mov edx, dword [0x4b576c]
push 0
push 0
push 0x146
push 0xc9
push edx
call esi
push 0
test eax, eax
jne 0x40d0a6
mov eax, dword [0x4b576c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40d0bb
mov ecx, dword [0x4b576c]
push 0
push 0x14e
push 0xc9
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0xa54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa44]
xor ecx, esp
call fcn.00442c3a
add esp, 0xa54
ret