Function at 0x43ee79
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x64
push 0xffffffffffffffff
push 0x44b1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x45d040]
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.0043218a
lea ecx, [ebp + 0x28]
call fcn.0042ff79
mov edi, dword [ebp + 0x6c]
lea ecx, [ebp]
push ebx
mov dword [ebp - 4], ebx
push dword [edi]
call fcn.004321ab
test al, al
je 0x43f106
cmp dword [esi + 0x48], 2
je 0x43f181
cmp dword [esi + 0x48], ebx
jne 0x43efee
mov ecx, edi
call fcn.0042f4e8
push edi
inc eax
lea ecx, [ebp + 0x38]
push eax
call fcn.0042f8fb
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.0042f871
mov byte [ebp - 4], 3
push dword [ebp + 0x38]
call fcn.00417f53
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 0x43ef81
mov ebx, eax
jmp 0x43efc5
mov eax, dword [ebp + 0x5c]
sub eax, ebx
je 0x43efdf
sub eax, 1
je 0x43efd3
sub eax, 1
je 0x43efc5
sub eax, 1
je 0x43efbb
sub eax, 1
je 0x43efaf
sub eax, 1
je 0x43efa8
mov ebx, 0x80004005
jmp 0x43efc5
mov ebx, 0x80004004
jmp 0x43efc5
mov esi, dword [ebp + 0x60]
mov dword [esi + 0x48], 3
jmp 0x43efe2
mov eax, dword [ebp + 0x60]
mov dword [eax + 0x48], 2
push dword [ebp + 0x44]
call fcn.00417f53
pop ecx
jmp 0x43f181
mov esi, dword [ebp + 0x60]
mov dword [esi + 0x48], 1
jmp 0x43efe2
mov esi, dword [ebp + 0x60]
mov byte [ebp - 4], bl
push dword [ebp + 0x44]
call fcn.00417f53
pop ecx
cmp dword [esi + 0x48], 3
jne 0x43f02c
mov ecx, edi
call fcn.0043a52d
test al, al
jne 0x43f020
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.0043f6cb
mov ebx, eax
test ebx, ebx
jne 0x43f181
mov ebx, 0x80004005
jmp 0x43f181
mov byte [esi + 0x174], 1
jmp 0x43f17c
cmp dword [esi + 0x48], 4
jne 0x43f0a5
push edi
lea ecx, [ebp + 0x50]
call fcn.00430001
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 4
call fcn.0043a52d
test al, al
jne 0x43f064
push edi
push str.Cannot_create_file_with_auto_name
mov ecx, esi
call fcn.0043f6cb
test eax, eax
mov ebx, 0x80004005
cmovne ebx, eax
jmp 0x43f090
mov edx, dword [ebp + 0x50]
mov ecx, dword [edi]
call fcn.00431966
test al, al
jne 0x43f098
call fcn.00432a62
push edi
lea ecx, [ebp + 0x50]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.0043f591
mov ebx, eax
test ebx, ebx
jne 0x43f090
mov ebx, 0x80004005
push dword [ebp + 0x50]
jmp 0x43efc8
push dword [ebp + 0x50]
call fcn.00417f53
jmp 0x43f17b
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
shr eax, 4
test al, 1
je 0x43f0c6
call fcn.004319d2
test al, al
jne 0x43f17c
push edi
push str.Cannot_delete_output_folder
jmp 0x43f0f7
call fcn.0043267e
test al, al
je 0x43f17c
mov ecx, dword [edi]
call fcn.004316ce
test al, al
jne 0x43f17c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43f17c
push edi
push str.Cannot_delete_output_file
mov ecx, esi
call fcn.0043f635
test eax, eax
je 0x43f181
mov ebx, eax
jmp 0x43f181
mov ecx, dword [edi]
call fcn.0043309d
mov esi, eax
test esi, esi
js 0x43f17c
cmp word [ecx + esi*2 + 2], bx
je 0x43f17c
push edi
lea ecx, [ebp + 0x44]
call fcn.00430001
mov byte [ebp - 4], 5
mov edi, dword [ebp + 0x44]
cmp esi, dword [ebp + 0x48]
jae 0x43f138
xor eax, eax
mov dword [ebp + 0x48], esi
mov word [edi + esi*2], ax
lea ecx, [ebp - 0x44]
call fcn.0043218a
lea ecx, [ebp - 0x1c]
call fcn.0042ff79
push ebx
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004321ab
test al, al
je 0x43f16c
mov edx, dword [ebp - 0x24]
test dl, 1
je 0x43f16c
and edx, 0xfffffffe
mov ecx, edi
call fcn.00431a33
push dword [ebp - 0x1c]
call fcn.00417f53
push edi
call fcn.00417f53
pop ecx
pop ecx
mov eax, dword [ebp + 0x70]
mov byte [eax], bl
push dword [ebp + 0x28]
call fcn.00417f53
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