Function at 0x44dc70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc11f
mov eax, dword fs:[0]
push eax
mov eax, 0x1854
call fcn.004b61e0
mov eax, dword [0x587614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x1860]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x58cfe8
lea eax, [ebp - 0xa28]
mov dword [ebp - 4], 0
push str._stemp_
push eax
call fcn.00427d70
lea eax, [ebp - 0xa28]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 0x14
test eax, eax
je 0x44dcf3
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
add esp, 4
mov eax, dword [0x58cfd8]
mov dword [ebp - 0x1854], eax
test eax, eax
je 0x44e640
lea edi, [eax + 4]
mov dword [ebp - 0x184c], edi
test edi, edi
je 0x44e640
mov ecx, dword [edi + 4]
lea esi, [edi + 4]
lea edx, [ebp - 0x820]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x44dd23
cmp dword [0x58a53c], 0
je 0x44e16d
call sub.mfc140u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc140u.dll_CCmdTarget::BeginWaitCursor
cmp dword [0x58a570], 0
mov byte [ebp - 4], 1
je 0x44dd8e
push ecx
mov ecx, esp
push str.Prepare_print
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov ecx, dword [0x58a570]
call fcn.00474c00
mov ecx, dword [0x58a570]
push 0
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
cmp dword [edi + 0x38], 0
je 0x44df78
mov esi, dword [ebp - 0x1854]
cmp dword [esi + 0x85c], 5
jne 0x44df78
push 0x3d0
call sub.mfc140u.dll_operator_2
add esp, 4
mov dword [ebp - 0x1848], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x44ddd3
push 0
mov ecx, eax
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::constructor_unsigned_int_
mov edi, eax
jmp 0x44ddd5
xor edi, edi
push 3
lea eax, [ebp - 0x1848]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0xc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
push dword [eax]
mov esi, dword [esi + 0xc]
mov byte [ebp - 4], 3
call sub.Imagelib17u.dll_public:_static_unsigned_int___cdecl_CxImage::GetTypeIdFromName_wchar_t_const__
add esp, 4
mov ecx, edi
push eax
push esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Load_wchar_t_const___unsigned_int_
lea ecx, [ebp - 0x1848]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, edi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::AlphaIsValid_void_
test al, al
je 0x44df29
push 0x3d0
call sub.mfc140u.dll_operator_2
add esp, 4
mov dword [ebp - 0x1848], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x44de4c
push 0
mov ecx, eax
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::constructor_unsigned_int_
mov esi, eax
jmp 0x44de4e
xor esi, esi
push 0x58cfe8
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 1
push str._stemp_tiff_alpha.tif
push eax
call fcn.00427d70
add esp, 0xc
mov ecx, edi
push esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::AlphaSplit_class_CxImage__
push 6
push 5
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::SetCodecOption_unsigned_int__unsigned_int_
push 6
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Save_wchar_t_const___unsigned_int_
test esi, esi
je 0x44de9a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push 0x58cfe8
lea eax, [ebp - 0x618]
push str._stemp_tiff_alpha.ps
push eax
call fcn.00427d70
push 0x58cfe8
lea eax, [ebp - 0x410]
push str._sTifcnvt2.exe
push eax
call fcn.00427d70
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0xe10]
push str.__1__s__z__p__O___s____s_
push eax
call fcn.00427d70
lea eax, [ebp - 0xe10]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043d040
add esp, 0x30
xor ecx, ecx
nop dword [eax]
movzx eax, word [ebp + ecx - 0x618]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x822], ax
test ax, ax
jne 0x44df00
lea eax, [ebp - 0x210]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
call eax
add esp, 4
test edi, edi
je 0x44df35
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov edi, dword [ebp - 0x184c]
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44df64
push 0x64
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
mov ecx, dword [0x58a570]
call fcn.00474840
lea ecx, [ebp - 0x184d]
mov byte [ebp - 4], 0
call fcn.0043c0a0
jmp 0x44e351
push 0x3d0
call sub.mfc140u.dll_operator_2
add esp, 4
mov dword [ebp - 0x1848], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x44dfa0
push 0
mov ecx, eax
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::constructor_unsigned_int_
mov esi, eax
jmp 0x44dfa2
xor esi, esi
push 0
push dword [edi + 8]
mov ecx, esi
mov byte [ebp - 4], 1
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Load_wchar_t_const___unsigned_int_
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::IsValid_void_const
test al, al
je 0x44df3b
push 0x58cfe8
lea eax, [ebp - 0x210]
push str._stemp_temptiff.tif
push eax
call fcn.00427d70
add esp, 0xc
mov ecx, esi
push 0x18
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::IncreaseBpp_unsigned_int_
mov ecx, edi
call fcn.0042fef0
test eax, eax
je 0x44e000
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::AlphaIsValid_void_
test al, al
je 0x44e000
mov ecx, esi
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::AlphaDelete_void_
lea eax, [ebp - 0x184c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1848]
push eax
call fcn.0043dbf0
push dword [ebp - 0x1848]
mov ecx, esi
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::SetXDPI_int_
push dword [ebp - 0x184c]
mov ecx, esi
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::SetYDPI_int_
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44e06b
push 0x32
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44e06b
push 0x46
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
push esi
mov ecx, ebx
call fcn.00442610
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44e091
push 0x5a
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
push 6
push 5
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::SetCodecOption_unsigned_int__unsigned_int_
push 6
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Save_wchar_t_const___unsigned_int_
test esi, esi
je 0x44e0b8
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44e0d6
push 0x64
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
push 0x58cfe8
lea eax, [ebp - 0x410]
push str._stempTemp0001.ps
push eax
call fcn.00427d70
push 0x58cfe8
lea eax, [ebp - 0x610]
push str._sTifcnvt2.exe
push eax
call fcn.00427d70
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0xe10]
push str.__1__s__z__p__O___s____s_
push eax
call fcn.00427d70
lea eax, [ebp - 0xe10]
push eax
lea eax, [ebp - 0x610]
push eax
call fcn.0043d040
lea eax, [ebp - 0x210]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
call eax
add esp, 0x34
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x410]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x822], ax
test ax, ax
jne 0x44e150
jmp 0x44df3b
mov ecx, edi
call fcn.0042fd00
test eax, eax
je 0x44e351
push ecx
mov ecx, esp
push esi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
call fcn.0043ee10
add esp, 4
test eax, eax
je 0x44e351
push 0x58cfe8
lea eax, [ebp - 0x210]
push str._stemp_temptiff.tif
push eax
call fcn.00427d70
push 0x58cfe8
lea eax, [ebp - 0xc30]
push str._stempTemp0001.png
push eax
call fcn.00427d70
add esp, 0x18
cmp dword [0x58a570], 0
je 0x44e201
push ecx
mov ecx, esp
push str.Prepare_print
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
mov ecx, dword [0x58a570]
call fcn.00474c00
mov ecx, dword [0x58a570]
push 0
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
push ecx
lea eax, [ebp - 0xc30]
mov dword [ebp - 0x1848], esp
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push esi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.0043d4c0
push 0x3d0
call sub.mfc140u.dll_operator_2
add esp, 4
mov dword [ebp - 0x1848], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x44e258
push 0
mov ecx, eax
call sub.Imagelib17u.dll_public:_void___thiscall_CxImage::constructor_unsigned_int_
mov esi, eax
jmp 0x44e25a
xor esi, esi
push 4
lea eax, [ebp - 0xc30]
mov byte [ebp - 4], 0
push eax
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Load_wchar_t_const___unsigned_int_
push 6
push 5
mov ecx, esi
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::SetCodecOption_unsigned_int__unsigned_int_
push 6
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call sub.Imagelib17u.dll_public:_bool___thiscall_CxImage::Save_wchar_t_const___unsigned_int_
test esi, esi
je 0x44e295
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push 0x58cfe8
lea eax, [ebp - 0x410]
push str._stempTemp0002.ps
push eax
call fcn.00427d70
push 0x58cfe8
lea eax, [ebp - 0x610]
push str._sTifcnvt2.exe
push eax
call fcn.00427d70
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x13f8]
push str.__1__s__z__p__O___s____s_
push eax
call fcn.00427d70
lea eax, [ebp - 0x13f8]
push eax
lea eax, [ebp - 0x610]
push eax
call fcn.0043d040
lea eax, [ebp - 0x210]
push eax
mov eax, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
call eax
add esp, 0x34
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x410]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x822], ax
test ax, ax
jne 0x44e310
mov ecx, dword [0x58a570]
test ecx, ecx
je 0x44e351
push 0x64
call fcn.00474ad0
mov ecx, dword [0x58a570]
push 1
call fcn.00474980
mov ecx, dword [0x58a570]
call fcn.00474840
lea eax, [ebp - 0x820]
mov dword [ebx + 0xf04], 1
push eax
mov dword [0x58cfe0], 0
call fcn.00421000
test eax, eax
jne 0x44e3d0
call fcn.00420850
lea ecx, [ebp - 0x184c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x184c]
push str.__s_not_found____
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
add esp, 0xc
push 0
push 0
push dword [ebp - 0x184c]
call sub.mfc140u.dll_AfxMessageBox_1
lea ecx, [ebp - 0x184c]
mov dword [ebx + 0xf10], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x44e640
lea eax, [ebp - 0x1410]
push eax
call fcn.00420c40
lea eax, [ebp - 0x185c]
mov dword [ebp - 0x1844], 0
push eax
lea eax, [ebp - 0x1858]
mov ecx, ebx
push eax
call fcn.0043dbf0
mov esi, dword [ebp - 0x1854]
mov eax, dword [esi + 0x11c]
movsd xmm1, qword [esi + 0xd0]
subsd xmm1, qword [esi + 0xc0]
movd xmm0, eax
dec eax
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esi + 0x130]
addsd xmm1, xmm0
movd xmm0, dword [ebp - 0x1858]
cvtdq2pd xmm0, xmm0
divsd xmm1, qword [0x58d200]
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x1840], xmm0
mov eax, dword [esi + 0x120]
movsd xmm1, qword [esi + 0xd8]
subsd xmm1, qword [esi + 0xc8]
movd xmm0, eax
dec eax
cvtdq2pd xmm0, xmm0
xor ecx, ecx
mulsd xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [esi + 0x138]
mov dword [ebp - 0x1830], 0x18
mov dword [ebp - 0x1838], 0x48
mov dword [ebp - 0x1834], 0x48
mov dword [ebp - 0x182c], 4
addsd xmm1, xmm0
mov dword [ebp - 0x1828], 4
movd xmm0, dword [ebp - 0x185c]
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0x1824], 0x64
divsd xmm1, qword [0x58d200]
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x183c], xmm0
movzx eax, word [ebp + ecx - 0x820]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1822], ax
test ax, ax
jne 0x44e4f5
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0xa28]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x161a], ax
test ax, ax
jne 0x44e510
push 1
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x1844]
push eax
call fcn.00420870
test eax, eax
jne 0x44e55b
mov dword [ebx + 0xf04], eax
call fcn.00420850
mov dword [ebx + 0xf10], 1
jmp 0x44e640
call fcn.00420850
xor ecx, ecx
mov dword [ebx + 0xf04], 0
cmp dword [0x58a584], ecx
mov eax, dword [0x58cfd8]
setne cl
lea ecx, [ecx*2 + 2]
mov dword [eax + 0x1c], ecx
cmp dword [0x58a53c], 0
jne 0x44e596
cmp dword [esi + 0x850], 0
je 0x44e602
lea eax, [ebp - 0x1848]
mov ecx, edi
push eax
call fcn.0042f920
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
push dword [eax]
call ebx
add esp, 4
lea ecx, [ebp - 0x1848]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x1848]
mov ecx, edi
push eax
call fcn.0042f840
push dword [eax]
call ebx
add esp, 4
lea ecx, [ebp - 0x1848]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x58cfe8
lea eax, [ebp - 0xc30]
push str._stemp_tiff_alpha.ps
push eax
call fcn.00427d70
lea eax, [ebp - 0xc30]
push eax
call ebx
add esp, 0x10
jmp 0x44e608
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wunlink]
push 0x58cfe8
lea eax, [ebp - 0x1010]
push str._stempTemp0001.ps
push eax
call fcn.00427d70
lea eax, [ebp - 0x1010]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
add esp, 0x14
test eax, eax
jne 0x44e640
lea eax, [ebp - 0x1010]
push eax
call ebx
add esp, 4
lea ecx, [ebp - 0x1860]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b61c2
mov esp, ebp
pop ebp
ret