Function at 0x43d2fe
Capabilities:
Check if file exists

Disassembly:
push 0xa0
mov eax, 0x458bae
call fcn.004537e6
mov ebx, ecx
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43d319
mov ecx, dword [ebx]
test ecx, ecx
je 0x43d32a
cmp eax, 8
jb 0x43d326
mov eax, dword [ebx]
jmp 0x43d32f
mov eax, ebx
jmp 0x43d32f
mov eax, dword [0x47e8a0]
push eax
lea eax, [ebp - 0x84]
call fcn.00405149
and dword [ebp - 4], 0
push 0xfde9
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0xa0]
call fcn.0044da7a
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x43d362
mov eax, dword [eax]
push eax
push dword [0x47e244]
push dword [0x47e13c]
push 0
call fcn.0043f0da
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0xa0]
call fcn.00404cde
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x84]
call fcn.00405022
push ebx
lea esi, [ebp - 0x30]
call fcn.00409603
push 2
pop edx
mov dword [ebp - 4], edx
fld qword [0x4778f0]
fst qword [ebp - 0xac]
push 8
fld qword [ebp - 0xac]
pop edi
fmul qword [ebp - 0xac]
fsub qword [0x4778e8]
fadd qword [ebp - 0xac]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fsub qword [ebp - 0xac]
fadd qword [0x477878]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x4778e0]
fsub qword [ebp - 0xac]
fadd qword [0x4778d8]
fld qword [ebp - 0xac]
fmul qword [0x4778d0]
fdiv qword [0x477888]
faddp st(1)
fsub qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x4778c8]
faddp st(1)
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fdivr qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xac]
fsubp st(1)
fadd qword [0x4778c0]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xac]
fld qword [ebp - 0xac]
fsub qword [ebp - 0xac]
faddp st(1)
fadd qword [ebp - 0xac]
mov eax, dword [ebp - 0x30]
fstp qword [ebp - 0xac]
cmp dword [ebp - 0x1c], edi
jae 0x43d4a1
mov eax, esi
mov ecx, dword [ebp - 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x43d4c2
lea eax, [ebp - 0x30]
jmp 0x43d4c2
cmp word [eax], 0x2f
jne 0x43d4c0
push 0x5c
pop esi
mov word [eax], si
add eax, edx
cmp eax, ecx
jne 0x43d4b4
cmp byte [ebp + 8], 0
je 0x43d5d5
lea esi, [ebp - 0x30]
call fcn.004087c8
fld qword [0x4778f0]
fst qword [ebp - 0xac]
lea ecx, [eax + 1]
fld qword [ebp - 0xac]
neg ecx
fmul qword [ebp - 0xac]
sbb ecx, ecx
and ecx, eax
or eax, 0xffffffff
fsub qword [0x4778e8]
fadd qword [ebp - 0xac]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fsub qword [ebp - 0xac]
fadd qword [0x477878]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x4778e0]
fsub qword [ebp - 0xac]
fadd qword [0x4778d8]
fld qword [ebp - 0xac]
fmul qword [0x4778d0]
fdiv qword [0x477888]
faddp st(1)
fsub qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x4778c8]
faddp st(1)
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
fdivr qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xac]
fsubp st(1)
fadd qword [0x4778c0]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xac]
fld qword [ebp - 0xac]
fsub qword [ebp - 0xac]
faddp st(1)
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xac]
call fcn.00404d93
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x43d5f2
mov bl, 1
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.00405022
mov al, bl
call fcn.00453869
ret
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x43d5fd
lea eax, [ebp - 0x30]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x43d611
push 0x5c
lea eax, [ebp - 0x30]
call fcn.0040878e
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x43d61c
lea eax, [ebp - 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x43d62d
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
cmp dword [ebp - 0xa8], eax
je 0x43d6c1
mov eax, dword [ebp - 0xa8]
cmp word [eax], 0x5c
jne 0x43d6b2
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x43d656
lea eax, [ebp - 0x30]
push dword [ebp - 0xa8]
and dword [ebp - 0x3c], 0
push dword [ebp - 0xa8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
call fcn.00409050
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x43d688
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
neg ebx
sbb bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x4c]
call fcn.00405022
inc bl
je 0x43d6b2
call fcn.0043f96e
call dword [eax + 0x40]
cmp eax, 5
jne 0x43d6c1
add dword [ebp - 0xa8], 2
push 8
pop edi
jmp 0x43d622
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43d6cd
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xa8]
cmp ecx, eax
je 0x43d5dc
cmp word [ecx], 0x5c
jne 0x43d74a
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43d6f3
lea eax, [ebp - 0x30]
push dword [ebp - 0xa8]
and dword [ebp - 0x58], 0
push ecx
push eax
lea eax, [ebp - 0x68]
xor edx, edx
push eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], dx
call fcn.00409050
mov byte [ebp - 4], 3
cmp dword [ebp - 0x54], 8
mov esi, dword [ebp - 0x68]
jae 0x43d725
lea esi, [ebp - 0x68]
call fcn.0043f96e
push 0
push esi
call dword [eax + 0x64]
mov ebx, eax
neg ebx
sbb bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00405022
inc bl
jne 0x43d756
add dword [ebp - 0xa8], 2
jmp 0x43d6c1
xor bl, bl
jmp 0x43d5de