Function at 0x442630
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x461c79
call fcn.0045c832
mov ebx, ecx
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x44264b
mov ecx, dword [ebx]
test ecx, ecx
je 0x44265c
cmp eax, 8
jb 0x442658
mov eax, dword [ebx]
jmp 0x442661
mov eax, ebx
jmp 0x442661
mov eax, dword [0x4878c0]
push eax
lea eax, [ebp - 0x84]
call fcn.004062cb
and dword [ebp - 4], 0
lea eax, [ebp - 0x84]
push eax
mov ecx, 0xfde9
lea edx, [ebp - 0xa0]
call fcn.00455921
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x442695
mov eax, dword [eax]
push eax
push dword [0x487244]
push dword [0x48713c]
push 0
call fcn.00444761
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0xa0]
call fcn.00405e60
or dword [ebp - 4], 0xffffffff
push 1
lea esi, [ebp - 0x84]
call fcn.004061a4
push ebx
lea esi, [ebp - 0x30]
call fcn.0040aca7
push 2
pop edx
push 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
pop edi
cmp dword [ebp - 0x1c], edi
jae 0x4426e8
mov eax, esi
mov ecx, dword [ebp - 0x20]
lea ecx, [eax + ecx*2]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x442709
lea eax, [ebp - 0x30]
jmp 0x442709
cmp word [eax], 0x2f
jne 0x442707
push 0x5c
pop esi
mov word [eax], si
add eax, edx
cmp eax, ecx
jne 0x4426fb
cmp byte [ebp + 8], 0
fld qword [0x480920]
fstp qword [ebp - 0xb4]
fld qword [0x480918]
fstp qword [ebp - 0xc4]
fld qword [0x480910]
fstp qword [ebp - 0xac]
fld qword [0x480908]
fstp qword [ebp - 0xbc]
fld qword [0x480900]
fstp qword [ebp - 0xbc]
fld qword [0x4808f8]
fstp qword [ebp - 0xbc]
fld qword [ebp - 0xb4]
fadd qword [ebp - 0xb4]
fsub qword [0x4808f0]
fld qword [ebp - 0xbc]
fdiv qword [0x4808e8]
faddp st(1)
fld qword [ebp - 0xc4]
fmul qword [0x4808e0]
faddp st(1)
fld qword [ebp - 0xac]
fmul qword [ebp - 0xac]
fsubp st(1)
fstp qword [ebp - 0xbc]
je 0x44293c
lea esi, [ebp - 0x30]
call fcn.0040a07b
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
or eax, 0xffffffff
call fcn.00405f15
fld qword [0x4808e0]
fstp qword [ebp - 0xb4]
fld qword [0x480a48]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xb4]
fsub qword [ebp - 0xac]
fsub qword [ebp - 0xac]
fadd qword [ebp - 0xb4]
fld qword [ebp - 0xac]
fmul qword [0x4809d8]
faddp st(1)
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xac]
fmul qword [0x480a58]
fadd qword [ebp - 0xb4]
fadd qword [ebp - 0xb4]
fld qword [0x480a18]
fadd st(1), st(0)
fxch st(1)
fstp qword [ebp - 0xac]
fld qword [ebp - 0xb4]
fsub qword [0x480a40]
fadd qword [ebp - 0xb4]
fld qword [ebp - 0xb4]
fmul qword [0x480a38]
fsubp st(1)
fld qword [0x480948]
fsub st(1), st(0)
fld qword [ebp - 0xac]
fsubp st(2)
fld qword [ebp - 0xb4]
faddp st(2)
fld qword [ebp - 0xac]
fsubp st(2)
fld qword [ebp - 0xac]
fsubp st(2)
fxch st(1)
faddp st(2)
fld qword [ebp - 0xac]
fsubp st(2)
fld qword [0x480a30]
fsub st(2), st(0)
fld qword [ebp - 0xac]
faddp st(3)
fxch st(2)
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xb4]
fsub qword [0x480a28]
fadd qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xb4]
fmul qword [ebp - 0xb4]
fstp qword [ebp - 0xac]
fmul qword [ebp - 0xb4]
fadd qword [ebp - 0xb4]
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmulp st(2)
fld qword [ebp - 0xac]
fmulp st(2)
fsubrp st(1)
fsub qword [0x480a00]
fld qword [ebp - 0xac]
fmul qword [ebp - 0xb4]
faddp st(1)
fld qword [ebp - 0xb4]
fmul qword [0x480a20]
faddp st(1)
fsub qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0x480908]
faddp st(1)
fadd qword [ebp - 0xac]
fstp qword [ebp - 0xb4]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x442959
mov bl, 1
push 1
xor edi, edi
lea esi, [ebp - 0x30]
call fcn.004061a4
mov al, bl
call fcn.0045c8b5
ret
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x442964
lea eax, [ebp - 0x30]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x442978
push 0x5c
lea eax, [ebp - 0x30]
call fcn.0040a041
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x442983
lea eax, [ebp - 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x442994
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
cmp dword [ebp - 0xa8], eax
je 0x442a28
mov eax, dword [ebp - 0xa8]
cmp word [eax], 0x5c
jne 0x442a19
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x4429bd
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.0040a903
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x4429ef
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.004061a4
inc bl
je 0x442a19
call fcn.004450da
call dword [eax + 0x3c]
cmp eax, 5
jne 0x442a28
add dword [ebp - 0xa8], 2
push 8
pop edi
jmp 0x442989
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x442a34
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xa8]
cmp ecx, eax
je 0x442943
cmp word [ecx], 0x5c
jne 0x442ab1
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x442a5a
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.0040a903
mov byte [ebp - 4], 3
cmp dword [ebp - 0x54], 8
mov esi, dword [ebp - 0x68]
jae 0x442a8c
lea esi, [ebp - 0x68]
call fcn.004450da
push 0
push esi
call dword [eax + 0x60]
mov ebx, eax
neg ebx
sbb bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004061a4
inc bl
jne 0x442abd
add dword [ebp - 0xa8], 2
jmp 0x442a28
xor bl, bl
jmp 0x442945