Function at 0x44e440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465edf
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x6c]
mov byte [eax], 1
call fcn.00402130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
mov ebx, dword [ebp + 8]
push 0
push dword [ebx]
call fcn.00439160
test al, al
je 0x44e7f9
mov eax, dword [edi + 0x48]
cmp eax, 2
je 0x44e87b
test eax, eax
jne 0x44e598
mov ecx, ebx
call fcn.00434330
inc eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004042f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00434920
mov byte [ebp - 4], 3
push dword [ebp - 0x30]
call fcn.0041bebc
mov eax, dword [ebp - 0x54]
add esp, 4
mov ecx, dword [edi + 0x50]
xor edx, edx
cmp byte [edi + 0x3b], dl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xd8]
cmove eax, edx
cmp byte [edi + 0xcb], dl
push eax
lea eax, [edi + 0xc0]
cmove eax, edx
push eax
push dword [edi + 0x74]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x44e5d1
mov eax, dword [ebp + 8]
cmp eax, 5
ja case.default.0x44e541
jmp dword [eax*4 + 0x44e8ac]
mov eax, dword [ebp - 0x24]
mov esi, 0x80004004
push eax
call fcn.0041bebc
add esp, 4
jmp 0x44e87d
mov dword [edi + 0x48], 2
mov eax, dword [ebp - 0x24]
xor esi, esi
push eax
call fcn.0041bebc
add esp, 4
jmp 0x44e87d
mov dword [edi + 0x48], 1
jmp case.0x44e541.0
mov dword [edi + 0x48], 3
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041bebc
add esp, 4
mov eax, dword [edi + 0x48]
cmp eax, 3
jne 0x44e5ee
mov ecx, ebx
call fcn.00446710
test al, al
jne 0x44e5e2
push ebx
push str.Cannot_create_file_with_auto_name
mov ecx, edi
call fcn.0044f1a0
mov esi, eax
test esi, esi
jne 0x44e87d
mov esi, 0x80004005
jmp 0x44e87d
mov esi, 0x80004005
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041bebc
add esp, 4
jmp 0x44e87d
mov byte [edi + 0x174], 1
jmp 0x44e875
cmp eax, 4
jne 0x44e791
push ebx
lea ecx, [ebp - 0x24]
call fcn.00435820
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00446710
mov esi, dword [ebp - 0x24]
test al, al
jne 0x44e63a
push ebx
push str.Cannot_create_file_with_auto_name
mov ecx, edi
call fcn.0044f1a0
push dword [ebp - 0x24]
test eax, eax
mov esi, 0x80004005
cmovne esi, eax
call fcn.0041bebc
add esp, 4
jmp 0x44e87d
mov ecx, dword [ebx]
mov edx, esi
call fcn.00438490
test al, al
jne 0x44e783
call fcn.0043a040
push str.Cannot_rename_existing_file
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.00434800
mov byte [ebp - 4], 5
test edi, edi
je 0x44e6c2
push 0x46e2e8
lea ecx, [ebp - 0x18]
call fcn.004343f0
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.004379a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
push dword [ebp - 0x2c]
call fcn.00434b00
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
lea ecx, [eax + esi*2]
mov eax, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x30]
push ecx
call fcn.0041f8c0
add esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
push dword [ebp - 0x30]
mov dword [ebp - 0x14], esi
call fcn.0041bebc
mov esi, dword [ebp - 0x24]
add esp, 0x10
push 0x46e2e8
lea ecx, [ebp - 0x18]
call fcn.004343f0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push edi
call fcn.00434b00
lea eax, [edi*2 + 2]
push eax
mov eax, dword [ebp - 0x18]
push esi
mov esi, dword [ebp - 0x14]
lea eax, [eax + esi*2]
push eax
call fcn.0041f8c0
add esp, 0xc
lea ecx, [ebp - 0x18]
add esi, edi
mov dword [ebp - 0x14], esi
push 0x46e2e8
call fcn.004343f0
push dword [ebx + 4]
lea ecx, [ebp - 0x18]
call fcn.00434b00
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
lea eax, [edi + esi*2]
push eax
call fcn.0041f8c0
mov eax, dword [ebp - 0x34]
add esp, 0xc
add esi, dword [ebx + 4]
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 0x50]
push edi
mov ecx, dword [eax]
cmp ecx, vtable.CExtractCallbackImp.4.0
jne 0x44e89e
mov ecx, dword [eax + 0x44]
add ecx, 0x168
mov byte [eax + 0x4c], 1
call fcn.00461640
xor esi, esi
push edi
call fcn.0041bebc
add esp, 4
test esi, esi
jne 0x44e773
mov esi, 0x80004005
push dword [ebp - 0x24]
call fcn.0041bebc
add esp, 4
jmp 0x44e87d
push esi
call fcn.0041bebc
add esp, 4
jmp 0x44e875
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebx]
shr eax, 4
test al, 1
je 0x44e7c6
call fcn.00438550
test al, al
jne 0x44e875
push ebx
push str.Cannot_delete_output_folder
mov ecx, edi
call fcn.0044f060
mov esi, eax
test esi, esi
jne 0x44e87d
jmp 0x44e87b
call fcn.00439940
test al, al
je 0x44e875
mov ecx, dword [ebx]
call fcn.00437f10
test al, al
jne 0x44e875
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x44e875
push ebx
push str.Cannot_delete_output_file
jmp 0x44e7b0
mov esi, dword [ebx]
mov ecx, esi
call fcn.0043aa00
mov edi, eax
test edi, edi
js 0x44e875
cmp word [esi + edi*2 + 2], 0
je 0x44e875
push ebx
lea ecx, [ebp - 0x24]
call fcn.00435820
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x24]
cmp edi, dword [ebp - 0x20]
jae 0x44e82e
xor eax, eax
mov dword [ebp - 0x20], edi
mov word [esi + edi*2], ax
lea ecx, [ebp - 0xa4]
call fcn.00402130
push 0
push esi
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 8
call fcn.00439160
test al, al
je 0x44e864
mov edx, dword [ebp - 0x84]
test dl, 1
je 0x44e864
and edx, 0xfffffffe
mov ecx, esi
call fcn.00438610
push dword [ebp - 0x7c]
call fcn.0041bebc
push esi
call fcn.0041bebc
add esp, 8
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
xor esi, esi
push dword [ebp - 0x44]
call fcn.0041bebc
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [ecx + 0x1c]
mov esi, eax
jmp 0x44e761