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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476edb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4ab000]
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.00416c80
mov ecx, dword [0x4ac6d8]
call fcn.00402d30
lea eax, [ebp - 0x410]
push str.DatamoviesThunder.bik
push eax
call fcn.00409dc0
lea ecx, [ebp - 0x410]
push 0x492904
push ecx
call fcn.0045e277
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x44b457
push ebx
push 0x69fe0
push edi
call fcn.0045e90f
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.0045e66f
add esp, 0x1c
cmp dword [ebp - 0x434], ebx
jle 0x44b280
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, 0x4aff3c
mov dword [ebp - 4], ebx
call fcn.0044a0d0
mov ebx, dword [0x4aff3c]
mov ecx, dword [0x4aff40]
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.0045e66f
mov eax, dword [0x4aff3c]
push edi
push 1
lea ecx, [esi + eax + 4]
push 4
push ecx
call fcn.0045e66f
mov edx, dword [0x4aff3c]
push edi
push 1
lea eax, [esi + edx + 8]
push 4
push eax
call fcn.0045e66f
mov ecx, dword [0x4aff3c]
push edi
push 1
lea edx, [esi + ecx + 0xc]
push 4
push edx
call fcn.0045e66f
mov eax, dword [0x4aff3c]
add esp, 0x40
push edi
push 1
lea ecx, [esi + eax + 0x10]
push 4
push ecx
call fcn.0045e66f
push edi
push 1
lea edx, [ebp - 0x42c]
push 4
push edx
call fcn.0045e66f
mov eax, dword [ebp - 0x42c]
add esp, 0x20
test eax, eax
jle 0x44b168
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045c8ee
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.0045e66f
add esp, 0x14
jmp 0x44b1c6
mov ecx, dword [0x4aff40]
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ecx - 0x24]
push eax
push ecx
add eax, 0x24
push eax
call fcn.00435780
mov eax, dword [0x4aff40]
lea ebx, [eax - 0x24]
add esp, 0x10
mov dword [ebp - 0x430], eax
cmp ebx, eax
je 0x44b1be
jmp 0x44b1a0
push ebx
push 0x4aff48
call fcn.00448690
add ebx, 0x24
add esp, 8
cmp ebx, dword [ebp - 0x430]
jne 0x44b1a0
mov eax, dword [0x4aff40]
sub eax, 0x24
mov dword [0x4aff40], eax
cmp dword [ebp - 0x42c], 0
jle 0x44b24b
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 [0x4aff3c]
lea edx, [ebp - 0x424]
mov dword [ebp - 0x414], ecx
push edx
lea ecx, [eax + esi + 0x14]
call fcn.00432eb0
mov eax, dword [ebp - 0x430]
inc eax
add ebx, 0x14
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x42c]
jl 0x44b1e3
mov ecx, dword [ebp - 0x438]
push ecx
call fcn.0045eb5c
add esp, 4
mov eax, dword [ebp - 0x448]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x44b265
push eax
call fcn.0045cafe
add esp, 4
mov eax, dword [ebp - 0x428]
inc eax
xor ebx, ebx
mov dword [ebp - 0x428], eax
cmp eax, dword [ebp - 0x434]
jl 0x44b061
push edi
call fcn.0045e12a
lea edx, [ebp - 0x410]
push edx
call fcn.00409690
mov eax, dword [0x4aff3c]
add esp, 8
cmp eax, dword [0x4aff40]
je 0x44b457
mov ecx, dword [eax + 0x14]
cmp ecx, dword [eax + 0x18]
je 0x44b457
cmp byte [eax], 0
je 0x44b2bc
mov byte [eax], 0
jmp 0x44b2c4
cmp dword [eax + 8], ebx
jle 0x44b2c9
dec dword [eax + 8]
mov eax, dword [0x4aff3c]
mov edx, dword [eax + 0x14]
cmp dword [edx + 0x10], 0x30
jne 0x44b457
call fcn.00418b70
cmp byte [0x4acb53], 0
jne 0x44b353
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.BGNight
mov byte [0x4acb53], 1
call fcn.00417780
mov ecx, dword [0x4ac6d8]
call fcn.00401dc0
fld dword [0x493570]
sub esp, 0x24
fstp dword [esp + 0x20]
mov ecx, esp
fild dword [0x4a1054]
fdiv qword [0x493568]
fstp dword [ebp - 0x428]
fld dword [ebp - 0x428]
fstp dword [esp + 0x1c]
mov dword [ebp - 0x428], esp
push str.BGNight
call fcn.00417780
mov ecx, dword [0x4ac6d8]
call fcn.00402380
mov eax, dword [0x4be824]
cmp byte [eax + 0xf4], 0
jne 0x44b368
mov byte [eax + 0xf4], 1
cmp byte [0x4af46e], 0
jne 0x44b3dc
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.BottomBgA
mov byte [0x4af46e], 1
call fcn.00417780
mov ecx, dword [0x4ac6d8]
call fcn.00401dc0
fild dword [0x4a1058]
sub esp, 0x24
mov ecx, esp
fsub qword [0x493560]
fstp dword [ebp - 0x428]
fld dword [ebp - 0x428]
mov dword [ebp - 0x428], esp
fstp dword [esp + 0x20]
fldz
fstp dword [esp + 0x1c]
push str.BottomBgA
call fcn.00417780
mov ecx, dword [0x4ac6d8]
call fcn.00402290
mov eax, dword [0x4aff3c]
cmp dword [eax + 8], ebx
jne 0x44b436
cmp byte [0x4af47a], 0
mov dword [0x4af718], ebx
jne 0x44b436
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
push str.GoldEagleA
mov byte [0x4af47a], 1
call fcn.00417780
mov ecx, dword [0x4ac6d8]
call fcn.00401dc0
push 1
push 1
push 0x20
call fcn.00409d80
push ebx
push 1
push 0x1f
call fcn.00409d80
add esp, 0x18
push ebx
push ebx
push 5
call fcn.00409d80
push 1
push 1
push 6
call fcn.00409d80
add esp, 0x18
mov dword [0x4af468], 1
lea ecx, [ebp - 0x110]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x210]
push 0x493030
push edx
call fcn.0045d6a0
lea eax, [ebp - 0x210]
add esp, 8
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b485
lea edi, [ebp - 0x110]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44b495
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 eax, [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 eax
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.00416c80
mov ecx, dword [0x4ac6d8]
call fcn.00403240
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.0045d691
mov esp, ebp
pop ebp
ret