Function at 0x418c70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41b658
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call sub.MFC70U.DLL_Ordinal_978
xor edi, edi
cmp eax, edi
je 0x418ca6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov dword [esp + 0x10], eax
jmp 0x418caa
mov dword [esp + 0x10], edi
call sub.MFC70U.DLL_Ordinal_972
mov ebp, dword [eax + 4]
push edi
lea ecx, [ebx + 0xe18]
call sub.MFC70U.DLL_Ordinal_2003
lea esi, [ebx + 0xe78]
push edi
mov ecx, esi
call sub.MFC70U.DLL_Ordinal_2003
lea ecx, [ebx + 0x198]
mov dword [ebx + 0xf28], 1
call fcn.0040b650
lea ecx, [ebx + 0x274]
call fcn.0040a5c0
lea ecx, [ebx + 0x44c]
call fcn.00408050
lea ecx, [ebx + 0x528]
call fcn.0040cd60
lea ecx, [ebx + 0x658]
call fcn.0040d220
lea ecx, [ebx + 0x7dc]
call fcn.0040bdc0
lea ecx, [ebx + 0x8b8]
call fcn.00408f00
lea ecx, [ebx + 0xc88]
call fcn.0040c3b0
mov eax, dword [ebp + 0x198]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x25c]
sub eax, 0x10
push eax
call fcn.004012c0
add esp, 4
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00415fa0
cmp eax, 2
jne 0x418da4
inc edi
cmp edi, 0x64
jl 0x418d55
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp + 0x198]
jne 0x418d91
mov eax, dword [ebp + 0x25c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.MSVCR70.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x418ded
mov eax, dword [ebp + 0x198]
test eax, eax
mov ecx, ebx
jne 0x418ddd
call fcn.00418750
jmp 0x418ded
cmp eax, 1
je 0x418d6c
push 1
mov ecx, esi
mov dword [ebx + 0xf28], 0
call sub.MFC70U.DLL_Ordinal_2003
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4190ab
call fcn.004188c0
lea ecx, [ebx + 0x8b8]
call fcn.00408760
mov esi, dword [ebp + 0x108]
push ecx
mov dword [esp + 0x20], esp
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
mov dword [esp + 0x1c], esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x418e22
cmp eax, dword [esi]
jne 0x418e22
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x418e57
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x418e37
jmp fcn.00401230
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
lea edx, [esp + 0x20]
mov dword [ecx], eax
push edx
mov ecx, ebp
call fcn.00414c30
mov eax, dword [eax]
mov esi, dword [ebp + 0x108]
lea edi, [ebp + 0x108]
lea ecx, [eax - 0x10]
sub esi, 0x10
cmp ecx, esi
mov byte [esp + 0x28], 1
je 0x418ecb
mov edx, dword [esi + 0xc]
test edx, edx
jge 0x418e9e
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00401470
jmp 0x418ecb
push ecx
call fcn.004012c0
mov dword [esp + 0x1c], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418ec2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp + 0x10c]
push edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403d00
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [ebp + 0x104]
lea edi, [ebp + 0x104]
lea ecx, [eax - 0x10]
sub esi, 0x10
cmp ecx, esi
mov byte [esp + 0x28], 2
je 0x418f62
mov edx, dword [esi + 0xc]
test edx, edx
jge 0x418f35
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00401470
jmp 0x418f62
push ecx
call fcn.004012c0
mov dword [esp + 0x20], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418f59
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x198]
test eax, eax
jne 0x418f9d
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00413b40
jmp 0x418fa9
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00414920
mov eax, dword [ebp + 0x10c]
push eax
push str.LastSavePath
push 0x41d0b0
mov ecx, ebp
call sub.MFC70U.DLL_Ordinal_6013
mov edx, dword [ebp + 0x198]
push edx
push str.LASTPDFORIMAGE
push str.OutputOption
mov ecx, ebp
call sub.MFC70U.DLL_Ordinal_6012
mov ecx, ebp
call fcn.004157f0
mov ecx, ebp
call fcn.0040df40
lea ecx, [ebx + 0xec]
call dword [sym.imp.CommandBars1300vc70U.dll_public:_int___thiscall_CXTPTabManager::GetCurSel_void_const]
push eax
push 0x42389c
push 0x41d0b0
mov ecx, ebp
call sub.MFC70U.DLL_Ordinal_6012
mov eax, dword [ebp + 0x138]
mov esi, 1
cmp eax, esi
jne 0x41906f
mov eax, dword [edi]
push 0x5c
push eax
call dword [sym.imp.MSVCR70.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x41902b
or eax, 0xffffffff
jmp 0x41902f
sub eax, dword [edi]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00401e40
mov edi, dword [esp + 0x1c]
push 5
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41906f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x198]
test eax, eax
mov dword [ebp + 0x150], esi
jne 0x419086
mov ecx, ebx
call fcn.00418bc0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret