Function at 0x43fea6
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x44c247
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x45e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp + 0x60], esi
mov eax, dword [ebp + 0x70]
lea ecx, [ebp]
xor ebx, ebx
mov byte [eax], 1
call fcn.00433236
lea ecx, [ebp + 0x28]
call fcn.00431026
mov edi, dword [ebp + 0x6c]
lea ecx, [ebp]
push ebx
mov dword [ebp - 4], ebx
push dword [edi]
call fcn.00433257
test al, al
je 0x440133
cmp dword [esi + 0x48], 2
je 0x4401ae
cmp dword [esi + 0x48], ebx
jne 0x44001b
mov ecx, edi
call fcn.00430580
push edi
inc eax
lea ecx, [ebp + 0x38]
push eax
call fcn.0043099f
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x44]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
call fcn.00430915
mov byte [ebp - 4], 3
push dword [ebp + 0x38]
call fcn.00419063
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x5c]
pop ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x60]
mov edx, dword [esi + 0x50]
add eax, 0xd8
mov dword [ebp + 0x58], ecx
xor ecx, ecx
cmp byte [edi + 0x3b], cl
mov esi, dword [edx]
cmovne ecx, eax
push ecx
xor ecx, ecx
mov eax, edi
add eax, 0xc0
cmp byte [edi + 0xcb], cl
cmovne ecx, eax
mov eax, edi
push ecx
push dword [eax + 0x74]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x44]
push edx
call dword [esi + 0x14]
mov edi, dword [ebp + 0x6c]
test eax, eax
je 0x43ffae
mov ebx, eax
jmp 0x43fff2
mov eax, dword [ebp + 0x5c]
sub eax, ebx
je 0x44000c
sub eax, 1
je 0x440000
sub eax, 1
je 0x43fff2
sub eax, 1
je 0x43ffe8
sub eax, 1
je 0x43ffdc
sub eax, 1
je 0x43ffd5
mov ebx, 0x80004005
jmp 0x43fff2
mov ebx, 0x80004004
jmp 0x43fff2
mov esi, dword [ebp + 0x60]
mov dword [esi + 0x48], 3
jmp 0x44000f
mov eax, dword [ebp + 0x60]
mov dword [eax + 0x48], 2
push dword [ebp + 0x44]
call fcn.00419063
pop ecx
jmp 0x4401ae
mov esi, dword [ebp + 0x60]
mov dword [esi + 0x48], 1
jmp 0x44000f
mov esi, dword [ebp + 0x60]
mov byte [ebp - 4], bl
push dword [ebp + 0x44]
call fcn.00419063
pop ecx
cmp dword [esi + 0x48], 3
jne 0x440059
mov ecx, edi
call fcn.0043b593
test al, al
jne 0x44004d
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.004406eb
mov ebx, eax
test ebx, ebx
jne 0x4401ae
mov ebx, 0x80004005
jmp 0x4401ae
mov byte [esi + 0x174], 1
jmp 0x4401a9
cmp dword [esi + 0x48], 4
jne 0x4400d2
push edi
lea ecx, [ebp + 0x50]
call fcn.004310b1
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 4
call fcn.0043b593
test al, al
jne 0x440091
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.004406eb
test eax, eax
mov ebx, 0x80004005
cmovne ebx, eax
jmp 0x4400bd
mov edx, dword [ebp + 0x50]
mov ecx, dword [edi]
call fcn.00432a0f
test al, al
jne 0x4400c5
call fcn.00433b0e
push edi
lea ecx, [ebp + 0x50]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.004405b1
mov ebx, eax
test ebx, ebx
jne 0x4400bd
mov ebx, 0x80004005
push dword [ebp + 0x50]
jmp 0x43fff5
push dword [ebp + 0x50]
call fcn.00419063
jmp 0x4401a8
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
shr eax, 4
test al, 1
je 0x4400f3
call fcn.00432a7b
test al, al
jne 0x4401a9
push edi
push str.Cannot_delete_output_folder
jmp 0x440124
call fcn.0043372a
test al, al
je 0x4401a9
mov ecx, dword [edi]
call fcn.00432777
test al, al
jne 0x4401a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4401a9
push edi
push str.Cannot_delete_output_file
mov ecx, esi
call fcn.00440655
test eax, eax
je 0x4401ae
mov ebx, eax
jmp 0x4401ae
mov ecx, dword [edi]
call fcn.00434141
mov esi, eax
test esi, esi
js 0x4401a9
cmp word [ecx + esi*2 + 2], bx
je 0x4401a9
push edi
lea ecx, [ebp + 0x44]
call fcn.004310b1
mov byte [ebp - 4], 5
mov edi, dword [ebp + 0x44]
cmp esi, dword [ebp + 0x48]
jae 0x440165
xor eax, eax
mov dword [ebp + 0x48], esi
mov word [edi + esi*2], ax
lea ecx, [ebp - 0x44]
call fcn.00433236
lea ecx, [ebp - 0x1c]
call fcn.00431026
push ebx
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00433257
test al, al
je 0x440199
mov edx, dword [ebp - 0x24]
test dl, 1
je 0x440199
and edx, 0xfffffffe
mov ecx, edi
call fcn.00432adc
push dword [ebp - 0x1c]
call fcn.00419063
push edi
call fcn.00419063
pop ecx
pop ecx
mov eax, dword [ebp + 0x70]
mov byte [eax], bl
push dword [ebp + 0x28]
call fcn.00419063
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 8