Function at 0x10020f90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d61a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov eax, 0x7fffffff
mov ecx, dword [0x101da43c]
sub eax, ecx
cmp eax, 5
jb 0x100216c5
cmp dword [0x101da440], 0x10
mov eax, 0x101da42c
push 5
cmovae eax, dword [0x101da42c]
push str.0.sys
push ecx
push eax
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.10008d20
mov ecx, dword [0x101da458]
cmp ecx, 0x10
jb 0x1002103a
mov eax, dword [0x101da444]
inc ecx
cmp ecx, 0x1000
jb 0x10021030
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002116a
mov eax, edx
push ecx
push eax
call fcn.1004d7a1
add esp, 8
movups xmm1, xmmword [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, 0x101da444
movq xmm0, qword [ebp - 0x18]
movd eax, xmm1
movups xmmword [0x101da444], xmm1
mov dword [ebp - 0xdc], 0x1008924c
movq qword [0x101da454], xmm0
cmovae esi, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd8]
push 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x74], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x78], 0x60
call fcn.1001e9b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.10022910
mov byte [ebp - 4], 3
cmp dword [ebp - 0x8c], 0
jne 0x10021170
push 0x40
push 2
push esi
call fcn.1007b24d
add esp, 0xc
test eax, eax
je 0x10021170
push 1
push eax
lea ecx, [ebp - 0xd8]
call fcn.10022730
mov eax, dword [ebp - 0xa4]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
call fcn.100229b0
add esp, 4
lea ecx, [ebp - 0xd8]
push eax
call fcn.100225d0
test esi, esi
je 0x1002119b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1002119b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x1002119b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10005890
mov dword [ebp - 4], 5
mov eax, 0x101da444
cmp dword [0x101da458], 0x10
cmovae eax, dword [0x101da444]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, str._SystemInfo_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.space_color__0__0__0
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.local_faction__li_p_grp
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._TexturePanels_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.file__universeheavens_shapes.ini
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Music_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.space__music_doornik_628_space
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.danger__music_doornik_628_danger
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.battle__music_doornik_628_battle
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Ambient_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.color__20__20__20
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Dust_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.spacedust__dust
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Asteroids_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.file__TOW_solar_asteroidskashyyykgryyyl_asteroid_field.ini
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.zone__zone_deep_field
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
add esp, 0x40
lea ecx, [ebp - 0xdc]
mov edx, str._zone_
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.nickname__zone_deep_field
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.ids_name___Unknown_asteroid_field
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.pos__0_0_0
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.shape__SPHERE
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.size__10000
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.property_flags__130
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.visit__1
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._LightSource_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.pos__100000__0__0
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.color__255__255__255
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.range__10000000
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.type__DIRECTIONAL
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.atten_curve__DYNAMIC_DIRECTION
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Object_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.nickname__sun_deep
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
add esp, 0x40
lea ecx, [ebp - 0xdc]
mov edx, str.pos__100000__0__0
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.ambient_color__255__255__255
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.archetype__sun_40000
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.ids_name__0
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.atmosphere_range__80000
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_radius__20000
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_color__109_179_233
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_texture__basic.tga
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_intensity__1
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_glow_intensity__0.2
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.star_glow_scale__2
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str._Object_
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.nickname__planet_test_deep_01
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.pos__0__10000__0
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.archetype__planet_guermassa
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
mov edx, str.ids_name___Deep_Space_Planet
lea ecx, [ebp - 0xdc]
call fcn.10008070
push eax
call fcn.10008320
add esp, 0x40
lea ecx, [ebp - 0xdc]
mov edx, str.atmosphere_range__1300
call fcn.10008070
push eax
call fcn.10008320
add esp, 4
lea ecx, [ebp - 0xd8]
call fcn.10022820
test eax, eax
jne 0x10021638
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10005890
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe0], eax
lea ecx, [ebp - 0xd8]
call fcn.10022450
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - 0x74], vtable.std::ios_base.0
call fcn.1007afd3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d763
mov esp, ebp
pop ebp
ret
call fcn.10002c90
int3