Function at 0x448de0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4757cb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
xor ebx, ebx
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.Thunder
mov byte [ecx], bl
call fcn.004141d0
mov ecx, dword [0x4a63f8]
call fcn.00402760
lea eax, [ebp - 0x410]
push str.DatamoviesThunder.bik
push eax
call fcn.00409630
lea ecx, [ebp - 0x410]
push 0x48c09c
push ecx
call fcn.0045cbc7
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x449357
push ebx
push 0x69fe0
push edi
call fcn.0045d25f
push edi
push 1
lea edx, [ebp - 0x434]
push 4
push edx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x438], ebx
call fcn.0045cfbf
add esp, 0x1c
cmp dword [ebp - 0x434], ebx
jle 0x4490d0
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
lea eax, [ebp - 0x45c]
push eax
mov ecx, 0x4a9bf8
mov dword [ebp - 4], ebx
call fcn.00447f80
mov ebx, dword [0x4a9bf8]
mov ecx, dword [0x4a9bfc]
sub ecx, ebx
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
lea esi, [edx + edx*8]
push edi
add esi, esi
push 1
add esi, esi
lea edx, [esi + ebx]
push 1
push edx
call fcn.0045cfbf
mov eax, dword [0x4a9bf8]
push edi
push 1
lea ecx, [esi + eax + 4]
push 4
push ecx
call fcn.0045cfbf
mov edx, dword [0x4a9bf8]
push edi
push 1
lea eax, [esi + edx + 8]
push 4
push eax
call fcn.0045cfbf
mov ecx, dword [0x4a9bf8]
push edi
push 1
lea edx, [esi + ecx + 0xc]
push 4
push edx
call fcn.0045cfbf
mov eax, dword [0x4a9bf8]
add esp, 0x40
push edi
push 1
lea ecx, [esi + eax + 0x10]
push 4
push ecx
call fcn.0045cfbf
push edi
push 1
lea edx, [ebp - 0x42c]
push 4
push edx
call fcn.0045cfbf
mov eax, dword [ebp - 0x42c]
add esp, 0x20
test eax, eax
jle 0x448fb8
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b23e
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + ecx*4]
push edi
add ecx, ecx
push 1
add ecx, ecx
push ecx
push eax
mov dword [ebp - 0x438], eax
call fcn.0045cfbf
add esp, 0x14
jmp 0x449016
mov ecx, dword [0x4a9bfc]
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ecx - 0x24]
push eax
push ecx
add eax, 0x24
push eax
call fcn.004348e0
mov eax, dword [0x4a9bfc]
lea ebx, [eax - 0x24]
add esp, 0x10
mov dword [ebp - 0x430], eax
cmp ebx, eax
je 0x44900e
jmp 0x448ff0
push ebx
push 0x4a9c04
call fcn.00446570
add ebx, 0x24
add esp, 8
cmp ebx, dword [ebp - 0x430]
jne 0x448ff0
mov eax, dword [0x4a9bfc]
sub eax, 0x24
mov dword [0x4a9bfc], eax
cmp dword [ebp - 0x42c], 0
jle 0x44909b
mov ebx, dword [ebp - 0x438]
mov dword [ebp - 0x430], 0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x420], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x418], eax
mov eax, dword [0x4a9bf8]
lea edx, [ebp - 0x424]
mov dword [ebp - 0x414], ecx
push edx
lea ecx, [esi + eax + 0x14]
call fcn.00431910
mov eax, dword [ebp - 0x430]
inc eax
add ebx, 0x14
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x42c]
jl 0x449033
mov ecx, dword [ebp - 0x438]
push ecx
call fcn.0045d4ac
add esp, 4
mov eax, dword [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4490b5
push eax
call fcn.0045b44e
add esp, 4
mov eax, dword [ebp - 0x428]
inc eax
xor ebx, ebx
mov dword [ebp - 0x428], eax
cmp eax, dword [ebp - 0x434]
jl 0x448eb1
push edi
call fcn.0045ca7a
lea edx, [ebp - 0x410]
push edx
call fcn.00408fa0
mov eax, dword [0x4a9bf8]
add esp, 8
cmp eax, dword [0x4a9bfc]
je 0x449357
mov ecx, dword [eax + 0x14]
cmp ecx, dword [eax + 0x18]
je 0x449357
cmp byte [eax], 0
je 0x44910c
mov byte [eax], 0
jmp 0x449114
cmp dword [eax + 8], ebx
jle 0x449119
dec dword [eax + 8]
mov eax, dword [0x4a9bf8]
cmp dword [eax + 8], 2
jl 0x449357
mov edx, dword [eax + 0x14]
mov eax, dword [edx + 0x38]
cmp eax, 0x30
je 0x449137
cmp eax, 0x31
jne 0x449357
sub eax, 0x30
je 0x4491d8
sub eax, 2
jne 0x449357
call fcn.00423d50
call fcn.004164e0
cmp byte [0x4a9184], 0
jne 0x449185
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.BgNight
mov byte [0x4a9184], 1
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
cmp byte [0x4a9188], 0
jne 0x449336
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push 0x48c4a0
mov byte [0x4a9188], 1
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
fild dword [0x49b058]
fsub qword [0x48ce70]
fstp dword [ebp - 0x428]
fld dword [ebp - 0x428]
jmp 0x4492dc
call fcn.00423d50
call fcn.004164e0
cmp byte [0x4a9184], 0
jne 0x449214
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.BgNight
mov byte [0x4a9184], 1
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
cmp byte [0x4a9186], 0
jne 0x44928e
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.TopNightFrontBgA
mov byte [0x4a9186], 1
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
fild dword [0x49b058]
sub esp, 0x24
mov ecx, esp
fmul qword [0x47afd8]
fsub qword [0x48ce78]
fstp dword [ebp - 0x428]
fld dword [ebp - 0x428]
mov dword [ebp - 0x428], esp
fstp dword [esp + 0x20]
fldz
fstp dword [esp + 0x1c]
push str.TopNightFrontBgA
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.00401d70
cmp byte [0x4a9188], 0
jne 0x449336
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push 0x48c4a0
mov byte [0x4a9188], 1
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
fild dword [0x49b058]
fsub qword [0x48ce70]
fstp dword [ebp - 0x428]
fld dword [ebp - 0x428]
sub esp, 0x24
fstp dword [esp + 0x20]
mov ecx, esp
fldz
mov dword [ebp - 0x428], esp
fstp dword [esp + 0x1c]
push 0x48c4a0
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.00401d70
fld1
sub esp, 0x24
fstp dword [esp + 0x20]
fld dword [0x48c2a8]
mov ecx, esp
fstp dword [esp + 0x1c]
mov dword [ebp - 0x428], esp
push 0x48c4a0
call fcn.00414af0
mov ecx, dword [0x4a63f8]
call fcn.00401e50
push ebx
push ebx
push 6
call fcn.004095f0
push 1
push 1
push 7
call fcn.004095f0
mov dword [0x4a9180], 1
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x210]
push 0x48c8e0
push ecx
call fcn.0045bff0
lea eax, [ebp - 0x210]
add esp, 8
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449385
lea edi, [ebp - 0x110]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x449395
fld1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
lea edx, [ebp - 0x110]
fst dword [esp]
push 1
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.Thunder
mov byte [ecx], 0
call fcn.004141d0
mov ecx, dword [0x4a63f8]
call fcn.00402bd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret