Function at 0x44a063
Capabilities:
Check if file exists
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x486084]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
lea esi, [ecx + 0x70]
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
push edi
jb 0x44a091
mov eax, dword [esi]
jmp 0x44a093
mov eax, esi
xor ecx, ecx
mov word [eax], cx
call fcn.004450da
call dword [eax + 0x78]
and dword [esp + 0x38], 0
mov edi, eax
call fcn.004450da
lea ecx, [esp + 0x38]
push ecx
push edi
call dword [eax + 0x18c]
mov ebx, eax
test ebx, ebx
je 0x44ab21
xor edi, edi
inc edi
cmp dword [esp + 0x38], edi
jle 0x44a915
push dword [0x487894]
push dword [ebx + edi*4]
call fcn.004149ac
pop ecx
pop ecx
test eax, eax
je 0x44a0ef
inc edi
cmp edi, dword [esp + 0x38]
jl 0x44a0cf
jmp 0x44a915
fld qword [0x480ae8]
fstp qword [esp + 0x28]
fld qword [0x480a40]
fstp qword [esp + 0x20]
fld qword [0x480958]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x44a18e
fld qword [esp + 0x18]
fmul qword [0x480908]
fmul qword [esp + 0x20]
fmul qword [0x4809d8]
fmul qword [esp + 0x18]
fld qword [esp + 0x18]
fld qword [0x480920]
fmul st(1), st(0)
fld qword [esp + 0x18]
faddp st(2)
fxch st(2)
faddp st(1)
fsub qword [esp + 0x18]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fld qword [esp + 0x18]
fld qword [0x480990]
fsub st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [0x480ac0]
fsub qword [esp + 0x28]
faddp st(2)
fld qword [esp + 0x18]
fmul qword [esp + 0x20]
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x28]
fadd qword [esp + 0x18]
fstp qword [esp + 0x20]
lea eax, [edi + 1]
cmp eax, dword [esp + 0x38]
jge 0x44a1af
mov eax, dword [ebx + edi*4 + 4]
push eax
mov dword [esp + 0x14], eax
call fcn.00413f23
pop ecx
mov ecx, dword [esp + 0x10]
call fcn.00406250
lea eax, [edi + 4]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x38]
jge 0x44a8d1
fld qword [0x4808e0]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
fstp qword [esp + 0x18]
fld qword [0x480a48]
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fsub qword [esp + 0x20]
fsub qword [esp + 0x20]
fadd qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [0x4809d8]
faddp st(1)
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [0x480a58]
fadd qword [esp + 0x18]
fadd qword [esp + 0x18]
fld qword [0x480a18]
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fsub qword [0x480a40]
fadd qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x480a38]
fsubp st(1)
fld qword [0x480948]
fsub st(1), st(0)
fld qword [esp + 0x20]
fsubp st(2)
fld qword [esp + 0x18]
faddp st(2)
fld qword [esp + 0x20]
fsubp st(2)
fld qword [esp + 0x20]
fsubp st(2)
fxch st(1)
faddp st(2)
fld qword [esp + 0x20]
fsubp st(2)
fld qword [0x480a30]
fsub st(2), st(0)
fld qword [esp + 0x20]
faddp st(3)
fxch st(2)
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fmul qword [esp + 0x18]
fsub qword [0x480a28]
fadd qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
fstp qword [esp + 0x20]
fmul qword [esp + 0x18]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fld qword [esp + 0x20]
fmulp st(2)
fld qword [esp + 0x20]
fmulp st(2)
fsubrp st(1)
fsub qword [0x480a00]
fld qword [esp + 0x20]
fmul qword [esp + 0x18]
faddp st(1)
fld qword [esp + 0x18]
fmul qword [0x480a20]
faddp st(1)
fsub qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [0x480908]
faddp st(1)
fadd qword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
push dword [0x487898]
fstp qword [esp + 0x20]
push dword [ebx + edi*4 + 8]
call fcn.00414b00
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push dword [0x48789c]
push dword [ebx + edi*4 + 0xc]
call fcn.00414b00
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push dword [0x48789c]
mov eax, dword [esp + 0x18]
push dword [ebx + eax*4]
call fcn.00414b00
xor eax, eax
add esp, 0xc
cmp dword [esp + 0x44], eax
je 0x44a7f4
cmp dword [esp + 0x3c], eax
je 0x44a7f4
cmp dword [esp + 0x40], eax
je 0x44a7f4
fld qword [0x4809f8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [0x4809f0]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x4809e8]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [0x4809e0]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [0x4809d8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [esp + 0x10]
fld qword [esp + 0x10]
fldz
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [esp + 0x10]
fsubp st(1)
fadd qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fadd qword [0x4809c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [0x4809c0]
fadd qword [esp + 0x10]
fsubrp st(1)
fld qword [esp + 0x10]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x4809b0]
fsubp st(1)
fsub qword [0x4809a8]
fadd qword [esp + 0x10]
fadd qword [0x4809a0]
fsub qword [esp + 0x10]
push dword [esp + 0x44]
fstp qword [esp + 0x14]
call fcn.0044708f
fld qword [0x480ae0]
mov edi, eax
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
test edi, edi
je 0x44a7f4
push 0x488fac
call fcn.00446b99
push eax
push dword [esp + 0x44]
push edi
call fcn.0044706e
fld qword [0x480ab8]
fstp qword [esp + 0x28]
fld qword [0x480ab0]
fstp qword [esp + 0x30]
fld qword [0x480aa8]
fstp qword [esp + 0x20]
fld qword [0x480aa0]
fstp qword [esp + 0x18]
fld qword [0x480a98]
fstp qword [esp + 0x10]
fld qword [0x480a90]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [0x480a20]
fadd qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [0x480a88]
faddp st(1)
fsub qword [0x4808e8]
fadd qword [esp + 0x30]
fsub qword [0x4809d8]
fld qword [esp + 0x18]
fmul qword [esp + 0x28]
faddp st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x44a50b
fld qword [esp + 0x10]
fmul qword [esp + 0x28]
fstp qword [esp + 0x30]
fld qword [esp + 0x20]
push 0x488fb0
fsub qword [0x4809e0]
fsub qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x480a38]
faddp st(1)
fadd qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [esp + 0x24]
fmul qword [0x480a80]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fadd qword [0x4808f8]
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fadd qword [0x480988]
fstp qword [esp + 0x1c]
call fcn.00446b99
push eax
push dword [esp + 0x48]
push edi
call fcn.0044706e
fld qword [0x480ae0]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fadd qword [esp + 0x28]
cmp dword [esi + 0x14], 8
fstp qword [esp + 0x28]
jb 0x44a58a
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a742
push 0x206
push eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push eax
call fcn.00414750
fld qword [0x480a18]
fstp qword [esp + 0x34]
add esp, 0xc
fld qword [0x4809b0]
lea eax, [esp + 0x48]
fst qword [esp + 0x28]
push eax
fld qword [0x480a10]
push edi
fst qword [esp + 0x30]
fld qword [0x480a08]
fstp qword [esp + 0x38]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [0x480a00]
fsub qword [esp + 0x30]
faddp st(1)
fadd qword [esp + 0x30]
fstp qword [esp + 0x38]
call fcn.004450f5
cmp word [esp + 0x48], 0
je 0x44a742
fld qword [0x480ab8]
fstp qword [esp + 0x30]
fld qword [0x480ab0]
fstp qword [esp + 0x28]
fld qword [0x480aa8]
fstp qword [esp + 0x20]
fld qword [0x480aa0]
fstp qword [esp + 0x18]
fld qword [0x480a98]
fstp qword [esp + 0x10]
fld qword [0x480a90]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x480a20]
fadd qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [0x480a88]
faddp st(1)
fsub qword [0x4808e8]
fadd qword [esp + 0x28]
fsub qword [0x4809d8]
fld qword [esp + 0x18]
fmul qword [esp + 0x30]
faddp st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x44a69d
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fstp qword [esp + 0x28]
fld qword [esp + 0x20]
lea eax, [esp + 0x48]
fsub qword [0x4809e0]
push eax
fsub qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x480a38]
faddp st(1)
fadd qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [esp + 0x24]
fmul qword [0x480a80]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fadd qword [0x4808f8]
fstp qword [esp + 0x24]
fld qword [esp + 0x34]
fadd qword [0x480988]
fstp qword [esp + 0x1c]
call fcn.004459ee
fld qword [0x480a18]
lea eax, [esp + 0x48]
fstp qword [esp + 0x28]
push eax
fld qword [0x4809b0]
fst qword [esp + 0x2c]
fld qword [0x480a10]
fst qword [esp + 0x2c]
fld qword [0x480a08]
fstp qword [esp + 0x34]
fstp qword [esp + 0x2c]
fld qword [esp + 0x34]
fadd qword [0x480a00]
fsub qword [esp + 0x2c]
faddp st(1)
fadd qword [esp + 0x2c]
fstp qword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
fld qword [0x480950]
push edi
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fmul qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x4808f0]
faddp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [0x480ae8]
fsub st(1), st(0)
fld qword [esp + 0x14]
faddp st(2)
fxch st(1)
fadd qword [0x480908]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [0x480ad8]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x480a68]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x480ad0]
fadd qword [esp + 0x14]
fsub qword [0x480ac8]
fld qword [esp + 0x14]
fdiv qword [0x480980]
fsubp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fsubr qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00446f5b
fld qword [0x480ab8]
fstp qword [esp + 0x30]
fld qword [0x480ab0]
fstp qword [esp + 0x28]
fld qword [0x480aa8]
fstp qword [esp + 0x20]
fld qword [0x480aa0]
fstp qword [esp + 0x18]
fld qword [0x480a98]
fstp qword [esp + 0x10]
fld qword [0x480a90]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x480a20]
fadd qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [0x480a88]
faddp st(1)
fsub qword [0x4808e8]
fadd qword [esp + 0x28]
fsub qword [0x4809d8]
fld qword [esp + 0x18]
fmul qword [esp + 0x30]
faddp st(1)
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fld qword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x44a885
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fstp qword [esp + 0x28]
fld qword [esp + 0x20]
fsub qword [0x4809e0]
fsub qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x480a38]
faddp st(1)
fadd qword [esp + 0x18]
fstp qword [esp + 0x10]
fld qword [esp + 0x20]
fmul qword [0x480a80]
fstp qword [esp + 0x18]
fld qword [esp + 0x10]
fadd qword [0x4808f8]
fstp qword [esp + 0x20]
fld qword [esp + 0x30]
fadd qword [0x480988]
fstp qword [esp + 0x18]
fld qword [0x480a18]
fstp qword [esp + 0x28]
fld qword [0x4809b0]
fst qword [esp + 0x28]
fld qword [0x480a10]
fst qword [esp + 0x28]
fld qword [0x480a08]
fstp qword [esp + 0x30]
fstp qword [esp + 0x28]
fld qword [esp + 0x30]
fadd qword [0x480a00]
fsub qword [esp + 0x28]
faddp st(1)
fadd qword [esp + 0x28]
fstp qword [esp + 0x30]
fld qword [0x4808e0]
push ebx
fstp qword [esp + 0x1c]
fld qword [0x480a48]
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
fsub qword [esp + 0x24]
fadd qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [0x4809d8]
faddp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [0x480a58]
fadd qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fld qword [0x480a18]
fadd st(1), st(0)
fxch st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x1c]
fsub qword [0x480a40]
fadd qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x480a38]
fsubp st(1)
fld qword [0x480948]
fsub st(1), st(0)
fld qword [esp + 0x24]
fsubp st(2)
fld qword [esp + 0x1c]
faddp st(2)
fld qword [esp + 0x24]
fsubp st(2)
fld qword [esp + 0x24]
fsubp st(2)
fxch st(1)
faddp st(2)
fld qword [esp + 0x24]
fsubp st(2)
fld qword [0x480a30]
fsub st(2), st(0)
fld qword [esp + 0x24]
faddp st(3)
fxch st(2)
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fmul qword [esp + 0x1c]
fsub qword [0x480a28]
fadd qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fstp qword [esp + 0x24]
fmul qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x24]
fld qword [esp + 0x24]
fmulp st(2)
fld qword [esp + 0x24]
fmulp st(2)
fsubrp st(1)
fsub qword [0x480a00]
fld qword [esp + 0x24]
fmul qword [esp + 0x1c]
faddp st(1)
fld qword [esp + 0x1c]
fmul qword [0x480a20]
faddp st(1)
fsub qword [esp + 0x24]
fld qword [esp + 0x24]
fmul qword [0x480908]
faddp st(1)
fadd qword [esp + 0x24]
fstp qword [esp + 0x1c]
call fcn.004465fd
fld qword [0x4809f8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [0x4809f0]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x4809e8]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [0x4809e0]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [0x4809d8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fadd qword [esp + 0x10]
fld qword [esp + 0x10]
fldz
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [esp + 0x10]
fsubp st(1)
fadd qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fadd qword [0x4809c8]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fsub qword [0x4809c0]
fadd qword [esp + 0x10]
fsubrp st(1)
fld qword [esp + 0x10]
fmul qword [0x4809b8]
faddp st(1)
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x4809b0]
fsubp st(1)
fsub qword [0x4809a8]
fadd qword [esp + 0x10]
fadd qword [0x4809a0]
fsub qword [esp + 0x10]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00412683
mov esp, ebp
pop ebp
ret