Function at 0x444999
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [ebp + 8]
and dword [eax + 0x80], 0
add eax, 0x70
cmp dword [eax + 0x14], 8
push ebx
push esi
push edi
mov dword [esp + 0x28], eax
jb 0x4449cf
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
call fcn.0043fdb6
and dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0xc
mov esi, eax
mov eax, dword [esp + 0x10]
cdq
push 0x28
pop ecx
idiv ecx
push 0x2a
pop ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
add ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x12
lea eax, [eax + ecx - 1]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0043ff64
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [eax + 0x198]
mov ebx, eax
test ebx, ebx
je 0x444ddc
xor edi, edi
inc edi
cmp dword [esp + 0x1c], edi
jle 0x444d4d
mov dword [esp + 0x10], 0x28
add dword [esp + 0x10], 0x62
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x10]
cdq
push 0x54
pop esi
idiv esi
push 0x2c
add ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
sub ecx, 0x11
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cdq
pop ecx
idiv ecx
push 0x34
pop ecx
cdq
idiv ecx
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x3d
sub ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
imul eax, eax, 9
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
push dword [0x47e88c]
imul eax, eax, 0x59
push dword [ebx + edi*4]
mov dword [esp + 0x18], eax
call fcn.0041386c
pop ecx
pop ecx
test eax, eax
je 0x444b05
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x444a6b
jmp 0x444d4d
lea eax, [edi + 1]
cmp eax, dword [esp + 0x1c]
jge 0x444b24
mov esi, dword [ebx + edi*4 + 4]
push esi
call fcn.00412dc7
pop ecx
mov ecx, esi
mov esi, dword [esp + 0x28]
call fcn.00405741
lea esi, [edi + 4]
cmp esi, dword [esp + 0x1c]
jge 0x444d4d
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push dword [0x47e890]
push dword [ebx + edi*4 + 8]
call fcn.004139c0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
push dword [0x47e894]
push dword [ebx + edi*4 + 0xc]
call fcn.004139c0
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push dword [0x47e894]
push dword [ebx + esi*4]
call fcn.004139c0
xor edi, edi
add esp, 0xc
cmp dword [esp + 0x34], edi
je 0x444d4d
cmp dword [esp + 0x3c], edi
je 0x444d4d
cmp dword [esp + 0x38], edi
je 0x444d4d
push dword [esp + 0x34]
call fcn.00441c26
mov esi, eax
cmp esi, edi
je 0x444d4d
push 0x47ffac
call fcn.0043fd3b
push eax
push dword [esp + 0x44]
push esi
call fcn.00441c05
push 0x47ffb0
call fcn.0043fd3b
push eax
push dword [esp + 0x40]
push esi
call fcn.00441c05
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x14], 8
jb 0x444bec
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444d1a
push 0x206
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push edi
push eax
call fcn.00413610
fld qword [0x477970]
fstp qword [esp + 0x34]
add esp, 0xc
fld qword [0x477968]
lea eax, [esp + 0x40]
fstp qword [esp + 0x20]
push eax
fld qword [0x477960]
push esi
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fadd qword [esp + 0x30]
fstp qword [esp + 0x28]
call fcn.0043ff7f
cmp word [esp + 0x40], di
je 0x444d1a
lea eax, [esp + 0x40]
push eax
call fcn.0043f896
lea eax, [esp + 0x40]
push eax
call fcn.0043fcf4
mov dword [esp + 0x10], 0x10
mov dword [esp + 0x18], 0x51
mov dword [esp + 0x14], 0x1e
mov eax, dword [esp + 0x10]
add eax, 0xb
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul ecx, ecx, 0x50
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x444d1a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax - 0x2e]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x33
mov edx, dword [esp + 0x10]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx + 0x58]
mov dword [esp + 0x14], eax
fld qword [0x477970]
fstp qword [esp + 0x28]
fld qword [0x477968]
fstp qword [esp + 0x20]
fld qword [0x477960]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x28]
fstp qword [esp + 0x20]
call fcn.0043ff64
push esi
call dword [eax + 0x38]
mov dword [esp + 0x20], 0x3e
push 0x4d
pop eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0x5c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x1d
mov eax, dword [esp + 0x10]
imul eax, eax, 7
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, ecx
sub eax, 0x62
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, 0x2b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea eax, [ecx + eax + 0x5b]
push ebx
mov dword [esp + 0x24], eax
call fcn.004411ac
mov dword [esp + 0x10], 0x28
add dword [esp + 0x10], 0x62
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
imul ecx, eax
mov eax, dword [esp + 0x10]
cdq
push 0x54
pop esi
idiv esi
push 0x2c
add ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
sub ecx, 0x11
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cdq
pop ecx
idiv ecx
push 0x34
pop ecx
pop edi
pop esi
pop ebx
cdq
idiv ecx
add eax, dword [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
imul eax, eax, 0x3d
sub ecx, eax
mov eax, dword [esp + 4]
sub ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
imul eax, eax, 9
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
imul eax, eax, 0x59
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00411527
mov esp, ebp
pop ebp
ret 4