Function at 0x41bc90
Capabilities:
Get memory capacity
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6080aa
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.005faa73
mov ecx, dword [ebx + 0x1d8]
add esp, 4
mov edi, 1
push str.Screen_Size
push edi
call fcn.004be550
mov ecx, 0x400
cmp eax, ecx
jg 0x41bd22
je 0x41bd0a
cmp eax, 0x280
je 0x41bcee
cmp eax, 0x320
jne 0x41bd3b
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x8f4], 0x320
mov ecx, dword [ebx + 0x28]
mov dword [ecx + 0x8fc], 0x258
jmp 0x41bd3b
mov edx, dword [ebx + 0x28]
mov dword [edx + 0x8f4], ecx
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x8fc], 0x300
jmp 0x41bd3b
cmp eax, 0x500
jne 0x41bd3b
mov edx, dword [ebx + 0x28]
mov dword [edx + 0x8f4], eax
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x8fc], ecx
mov ecx, dword [ebx + 0x1d8]
push str.Graphics_Detail_Level
push edi
call fcn.004be550
cmp eax, 0xffffffff
je 0x41bd5b
push eax
mov ecx, ebx
call fcn.00421f70
jmp 0x41bdcf
mov ecx, dword [ebx + 0x1d8]
push str.Processor_Speed
push 0
call fcn.004be550
mov esi, eax
cmp esi, 0xffffffff
jne 0x41bd93
call fcn.004bdd00
call fcn.005faa4c
mov ecx, dword [ebx + 0x1d8]
mov esi, eax
push esi
push str.Processor_Speed
push 0
call fcn.004be420
cmp esi, 0xd2
jge 0x41bd9e
push edi
jmp 0x41bdac
cmp esi, 0x136
jge 0x41bdaa
push 2
jmp 0x41bdac
push 3
mov ecx, ebx
call fcn.00421f70
mov ecx, dword [ebx + 0x28]
movsx edx, word [ecx + 0x8f8]
mov ecx, dword [ebx + 0x1d8]
push edx
push str.Graphics_Detail_Level
push edi
call fcn.004be420
mov ecx, dword [ebx + 0x1d8]
push str.Rollover_Text
push edi
call fcn.004be550
mov esi, 2
cmp eax, esi
jne 0x41bdf5
mov dword [ebx + 0xb4c], 0
jmp 0x41bdfb
mov dword [ebx + 0xb4c], edi
mov ecx, dword [ebx + 0x1d8]
push str.Mouse_Style
push edi
call fcn.004be550
cmp eax, esi
jne 0x41be1c
mov eax, dword [ebx + 0x28]
mov word [eax + 0x8e0], si
jmp 0x41be2a
cmp eax, edi
jne 0x41be2a
mov ecx, dword [ebx + 0x28]
mov word [ecx + 0x8e0], di
mov ecx, dword [ebx + 0x1d8]
push str.Game_Speed
push edi
call fcn.004be550
test eax, eax
mov dword [esp + 0xc], eax
jle 0x41be5a
cmp eax, 0xa0
jg 0x41be5a
fild dword [esp + 0xc]
fmul dword [0x61d0e4]
fstp dword [ebx + 0x1090]
mov ecx, dword [ebx + 0x1d8]
push str.MP_Game_Speed
push edi
call fcn.004be550
test eax, eax
mov dword [esp + 0xc], eax
jle 0x41be88
cmp eax, 0x14
jg 0x41be88
fild dword [esp + 0xc]
fmul dword [0x61d0e4]
fstp dword [ebx + 0x9d0]
mov ecx, dword [ebx + 0x1d8]
push str.Difficulty
push edi
call fcn.004be550
cmp eax, edi
jl 0x41bea9
cmp eax, 5
jg 0x41bea9
dec eax
mov dword [ebx + 0x1094], eax
mov ecx, dword [ebx + 0x1d8]
push str.Scroll_Speed
push edi
call fcn.004be550
cmp eax, 0xa
jl 0x41bed8
cmp eax, 0xc8
jg 0x41bed8
mov edx, dword [ebx + 0x28]
mov dword [edx + 0x8cc], eax
mov ecx, dword [ebx + 0x28]
mov dword [ecx + 0x8d4], eax
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
test eax, eax
jne 0x41beee
mov dword [ebx + 0x64], esi
jmp 0x41c323
lea eax, [ebx + 0x319]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x663320], eax
jne 0x41bf0c
mov dword [ebx + 0x64], edi
jmp 0x41c323
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x18]
cmp eax, 0x1c00000
jae 0x41bf30
mov dword [ebx + 0x64], 0x17
xor eax, eax
jmp 0x41c323
cmp eax, 0x3e00000
jae 0x41bf4f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add edx, eax
cmp edx, 0x4000000
jae 0x41bf4f
mov dword [0x663348], edi
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x160]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 0x87c]
test ecx, ecx
je 0x41bf7d
mov ecx, ebx
call fcn.0041f240
test eax, eax
jne 0x41bf7d
mov dword [ebx + 0x64], 3
jmp 0x41c323
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx + 0x88c]
test eax, eax
je 0x41bfa1
mov ecx, ebx
call fcn.0041f3e0
test eax, eax
jne 0x41bfa1
mov dword [ebx + 0x64], 4
jmp 0x41c323
push str.NODXCHECK
mov ecx, ebx
call fcn.00422160
test al, al
jne 0x41bfc6
call fcn.00465430
test eax, eax
jne 0x41bfc6
mov dword [ebx + 0x64], 0x14
jmp 0x41c323
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea esi, [ebx + 0x58]
push 0
push esi
push 0
push 0x10
call edi
cmp dword [esi], 0
je 0x41bfe7
push 2
push 0
push 0
push 0x11
call edi
lea esi, [ebx + 0x5c]
push 0
push esi
push 0
push 0x53
call edi
cmp dword [esi], 0
je 0x41c002
push 2
push 0
push 0
push 0x55
call edi
push 0
mov ecx, ebx
call fcn.0041f100
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x9e4], eax
call dword [edx + 0x84]
test eax, eax
jne 0x41c02b
mov dword [ebx + 0x64], 5
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x88]
test eax, eax
jne 0x41c045
mov dword [ebx + 0x64], 6
jmp 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x8c]
test eax, eax
jne 0x41c068
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x41c061
mov dword [ebx + 0x64], 7
xor eax, eax
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x90]
test eax, eax
jne 0x41c082
mov dword [ebx + 0x64], 0x11
jmp 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xb4]
test eax, eax
jne 0x41c09c
mov dword [ebx + 0x64], 7
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x41c0b6
mov dword [ebx + 0x64], 7
jmp 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x94]
test eax, eax
jne 0x41c0d0
mov dword [ebx + 0x64], 8
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
test eax, eax
jne 0x41c0ea
mov dword [ebx + 0x64], 0xa
jmp 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xa0]
test eax, eax
jne 0x41c104
mov dword [ebx + 0x64], 0x10
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
test eax, eax
jne 0x41c11e
mov dword [ebx + 0x64], 9
jmp 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xac]
test eax, eax
jne 0x41c138
mov dword [ebx + 0x64], 0xb
jmp 0x41c323
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xb0]
test eax, eax
jne 0x41c152
mov dword [ebx + 0x64], 0xc
jmp 0x41c323
push 0x274
call fcn.005faa3d
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x13c], 0
je 0x41c17b
mov ecx, eax
call fcn.00462d20
jmp 0x41c17d
xor eax, eax
test eax, eax
mov dword [esp + 0x13c], 0xffffffff
mov dword [0x663324], eax
je 0x41c323
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xb8]
test eax, eax
jne 0x41c1af
mov dword [ebx + 0x64], 0xd
jmp 0x41c323
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xbc]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ebx]
push 0
push 0
push 0
push ecx
mov ecx, ebx
call dword [eax + 0x104]
mov edx, dword [ebx + 0x2c]
push 5
push edx
mov dword [ebx + 0x30], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
call fcn.0041f910
mov ecx, dword [ebx + 0x2c]
push 0
push 0x32
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.004099e0
test eax, eax
jle 0x41c22d
push eax
lea edx, [esp + 0x34]
push str.player_d.nfo
push edx
call fcn.005faef4
add esp, 0xc
jmp 0x41c253
mov edi, str.player.nfo
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x663330]
push str.Creating_new_RGE_Game_Info
push 5
mov eax, dword [ecx + 0x1610]
push eax
call fcn.004bf420
push 0x11c
call fcn.005faa3d
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x13c], 1
je 0x41c29a
lea edx, [esp + 0x30]
mov ecx, eax
push edx
call fcn.00464980
jmp 0x41c29c
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x28]
add eax, 0xd44
lea ecx, [esp + 0x30]
push eax
push str._sscenario.inf
push ecx
mov dword [esp + 0x148], 0xffffffff
call fcn.005faef4
push 0x10c
call fcn.005faa3d
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x13c], 2
je 0x41c2f0
lea edx, [esp + 0x30]
mov ecx, eax
push edx
call fcn.004cffe0
jmp 0x41c2f2
xor eax, eax
mov dword [ebx + 0x24], eax
mov eax, dword [0x66338c]
test eax, eax
je 0x41c31e
push 0x64c5a4
push str.c:_fps.txt
call fcn.005faee1
add esp, 8
mov dword [0x663390], eax
test eax, eax
jne 0x41c31e
mov dword [0x66338c], eax
mov eax, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret