Function at 0x424d29
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x4952bc
call fcn.0045d9f7
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
mov byte [eax], 1
call fcn.0042f664
lea ecx, [ebp - 0x48]
call fcn.0042d3ca
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x70]
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
push dword [edi]
call fcn.0042f84d
test al, al
je 0x424fab
cmp dword [esi + 0x68], 2
je 0x425039
cmp dword [esi + 0x68], ebx
jne 0x424e81
mov ecx, edi
call fcn.0042dc15
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00426183
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042d592
push dword [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0045daff
mov eax, dword [ebp - 0x58]
add esp, 0x10
mov edi, dword [ebp - 0x10]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 0x38]
add eax, 0xe8
cmp byte [edi + 0xf0], cl
cmovne ecx, eax
mov eax, edi
mov edx, dword [esi]
add eax, 0xc8
push ecx
xor ecx, ecx
cmp byte [edi + 0xd3], cl
cmovne ecx, eax
mov eax, edi
push ecx
push dword [eax + 0x70]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
push esi
call dword [edx + 0x14]
mov edi, dword [ebp + 8]
test eax, eax
je 0x424e14
mov ebx, eax
jmp 0x424e58
mov eax, dword [ebp - 0x20]
sub eax, ebx
je 0x424e72
sub eax, 1
je 0x424e66
sub eax, 1
je 0x424e58
sub eax, 1
je 0x424e4e
sub eax, 1
je 0x424e42
sub eax, 1
je 0x424e3b
mov ebx, 0x80004005
jmp 0x424e58
mov ebx, 0x80004004
jmp 0x424e58
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x68], 3
jmp 0x424e75
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 2
push dword [ebp - 0x2c]
call fcn.0045daff
pop ecx
jmp 0x425039
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x68], 1
jmp 0x424e75
mov esi, dword [ebp - 0x10]
push dword [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0045daff
pop ecx
cmp dword [esi + 0x68], 3
jne 0x424ebf
push edi
call fcn.00420a2a
pop ecx
test al, al
jne 0x424eb3
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.004267c9
mov ebx, eax
test ebx, ebx
jne 0x425039
mov ebx, 0x80004005
jmp 0x425039
mov byte [esi + 0x194], 1
jmp 0x425034
cmp dword [esi + 0x68], 4
jne 0x424f40
push edi
lea ecx, [ebp - 0x1c]
call fcn.0042d2f3
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
call fcn.00420a2a
pop ecx
test al, al
jne 0x424ef9
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.004267c9
test eax, eax
mov ebx, 0x80004005
cmovne ebx, eax
jmp 0x424f2b
push dword [ebp - 0x1c]
push dword [edi]
call fcn.0042f54d
pop ecx
pop ecx
test al, al
jne 0x424f33
call fcn.00420c86
push edi
lea ecx, [ebp - 0x1c]
push ecx
push str.Cannot_rename_existing_file
push eax
mov ecx, esi
call fcn.00426735
mov ebx, eax
test ebx, ebx
jne 0x424f2b
mov ebx, 0x80004005
push dword [ebp - 0x1c]
jmp 0x424e5b
push dword [ebp - 0x1c]
call fcn.0045daff
jmp 0x425033
mov eax, dword [ebp - 0x50]
push dword [edi]
shr eax, 4
test al, 1
je 0x424f62
call fcn.0042f563
pop ecx
test al, al
jne 0x425034
push edi
push str.Cannot_delete_output_folder
jmp 0x424f95
call fcn.0042f74c
pop ecx
test al, al
je 0x425034
push dword [edi]
call fcn.0042f474
pop ecx
test al, al
jne 0x425034
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x425034
push edi
push str.Cannot_delete_output_file
mov ecx, esi
call fcn.00426815
test eax, eax
je 0x425039
mov ebx, eax
jmp 0x425039
push dword [edi]
call fcn.00430ace
mov esi, eax
pop ecx
test esi, esi
js 0x425034
mov ecx, dword [edi]
cmp word [ecx + esi*2 + 2], bx
je 0x425034
push edi
lea ecx, [ebp - 0x1c]
call fcn.0042d2f3
mov byte [ebp - 4], 5
cmp esi, dword [ebp - 0x18]
jae 0x424fe0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xa8]
call fcn.0042f664
lea ecx, [ebp - 0x80]
call fcn.0042d3ca
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.0042f84d
test al, al
je 0x425022
mov eax, dword [ebp - 0x88]
test al, 1
je 0x425022
and eax, 0xfffffffe
push eax
push dword [ebp - 0x1c]
call fcn.0042f5bf
pop ecx
pop ecx
push dword [ebp - 0x80]
call fcn.0045daff
push dword [ebp - 0x1c]
call fcn.0045daff
pop ecx
pop ecx
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
push dword [ebp - 0x48]
call fcn.0045daff
pop ecx
mov eax, ebx
call fcn.0045d9c0
ret 8