Function at 0x41cba0
Capabilities:
Get memory capacity
Hide graphical window
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x62092a
push eax
mov dword fs:[0], esp
sub esp, 0x550
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.006131b3
mov ecx, dword [ebp + 0x1dc]
add esp, 4
mov edi, 1
push str.Screen_Size
push edi
call fcn.004c5120
mov ecx, 0x400
cmp eax, ecx
jg 0x41cc33
je 0x41cc1b
cmp eax, 0x280
je 0x41cbff
cmp eax, 0x320
jne 0x41cc4c
mov eax, dword [ebp + 0x28]
mov dword [eax + 0x8f4], 0x320
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 0x8fc], 0x258
jmp 0x41cc4c
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x8f4], ecx
mov eax, dword [ebp + 0x28]
mov dword [eax + 0x8fc], 0x300
jmp 0x41cc4c
cmp eax, 0x500
jne 0x41cc4c
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x8f4], eax
mov eax, dword [ebp + 0x28]
mov dword [eax + 0x8fc], ecx
mov ecx, dword [ebp + 0x1dc]
push str.Graphics_Detail_Level
push edi
call fcn.004c5120
xor ebx, ebx
cmp eax, 0xffffffff
je 0x41cc6e
push eax
mov ecx, ebp
call fcn.00424a70
jmp 0x41cce0
mov ecx, dword [ebp + 0x1dc]
push str.Processor_Speed
push ebx
call fcn.004c5120
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cca4
call fcn.004c4900
call fcn.0061318c
mov ecx, dword [ebp + 0x1dc]
mov esi, eax
push esi
push str.Processor_Speed
push ebx
call fcn.004c4ff0
cmp esi, 0xd2
jge 0x41ccaf
push edi
jmp 0x41ccbd
cmp esi, 0x136
jge 0x41ccbb
push 2
jmp 0x41ccbd
push 3
mov ecx, ebp
call fcn.00424a70
mov ecx, dword [ebp + 0x28]
movsx edx, word [ecx + 0x8f8]
mov ecx, dword [ebp + 0x1dc]
push edx
push str.Graphics_Detail_Level
push edi
call fcn.004c4ff0
mov ecx, dword [ebp + 0x1dc]
push str.Rollover_Text
push edi
call fcn.004c5120
mov esi, 2
cmp eax, esi
jne 0x41cd02
mov dword [ebp + 0xb50], ebx
jmp 0x41cd08
mov dword [ebp + 0xb50], edi
mov ecx, dword [ebp + 0x1dc]
push str.Mouse_Style
push edi
call fcn.004c5120
cmp eax, esi
jne 0x41cd29
mov eax, dword [ebp + 0x28]
mov word [eax + 0x8e0], si
jmp 0x41cd37
cmp eax, edi
jne 0x41cd37
mov ecx, dword [ebp + 0x28]
mov word [ecx + 0x8e0], di
mov ecx, dword [ebp + 0x1dc]
push str.Game_Speed
push edi
call fcn.004c5120
cmp eax, ebx
mov dword [esp + 0x10], eax
jle 0x41cd67
cmp eax, 0xa0
jg 0x41cd67
fild dword [esp + 0x10]
fmul dword [0x636ce8]
fstp dword [ebp + 0x1094]
mov ecx, dword [ebp + 0x1dc]
push str.MP_Game_Speed
push edi
call fcn.004c5120
cmp eax, ebx
mov dword [esp + 0x10], eax
jle 0x41cd95
cmp eax, 0x14
jg 0x41cd95
fild dword [esp + 0x10]
fmul dword [0x636ce8]
fstp dword [ebp + 0x9d4]
mov ecx, dword [ebp + 0x1dc]
push str.Difficulty
push edi
call fcn.004c5120
cmp eax, edi
jl 0x41cdb6
cmp eax, 5
jg 0x41cdb6
dec eax
mov dword [ebp + 0x1098], eax
mov ecx, dword [ebp + 0x1dc]
push str.Scroll_Speed
push edi
call fcn.004c5120
cmp eax, 0xa
jl 0x41cde5
cmp eax, 0xc8
jg 0x41cde5
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x8cc], eax
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 0x8d4], eax
call fcn.00424f20
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xac]
test eax, eax
jne 0x41ce01
mov dword [ebp + 0x64], esi
jmp 0x41d40c
lea eax, [ebp + 0x31d]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [0x683314], eax
jne 0x41ce21
mov dword [ebp + 0x64], edi
xor eax, eax
jmp 0x41d40c
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x2c]
cmp eax, 0x1c00000
jae 0x41ce45
mov dword [ebp + 0x64], 0x17
xor eax, eax
jmp 0x41d40c
cmp eax, 0x3e00000
jae 0x41ce63
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add eax, edx
cmp eax, 0x4000000
jae 0x41ce63
mov dword [0x683340], edi
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x18c]
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0x87c], ebx
je 0x41ce90
mov ecx, ebp
call fcn.00420330
test eax, eax
jne 0x41ce90
mov dword [ebp + 0x64], 3
jmp 0x41d40c
mov ecx, dword [ebp + 0x28]
cmp dword [ecx + 0x88c], ebx
je 0x41ceb2
mov ecx, ebp
call fcn.004204d0
test eax, eax
jne 0x41ceb2
mov dword [ebp + 0x64], 4
jmp 0x41d40c
push str.NODXCHECK
mov ecx, ebp
call fcn.00424c60
test al, al
jne 0x41ced7
call fcn.0046b870
test eax, eax
jne 0x41ced7
mov dword [ebp + 0x64], 0x14
jmp 0x41d40c
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea esi, [ebp + 0x58]
push ebx
push esi
push ebx
push 0x10
call edi
cmp dword [esi], ebx
je 0x41cef3
push 2
push ebx
push ebx
push 0x11
call edi
lea esi, [ebp + 0x5c]
push ebx
push esi
push ebx
push 0x53
call edi
cmp dword [esi], ebx
je 0x41cf09
push 2
push ebx
push ebx
push 0x55
call edi
push ebx
mov ecx, ebp
call fcn.004201f0
mov edx, dword [ebp]
mov ecx, ebp
mov dword [ebp + 0x9e8], eax
call dword [edx + 0xb0]
test eax, eax
jne 0x41cf32
mov dword [ebp + 0x64], 5
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xb4]
test eax, eax
jne 0x41cf4d
mov dword [ebp + 0x64], 6
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xb8]
test eax, eax
jne 0x41cf6f
cmp dword [ebp + 0x64], ebx
jne 0x41cf68
mov dword [ebp + 0x64], 7
xor eax, eax
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xbc]
test eax, eax
jne 0x41cf8a
mov dword [ebp + 0x64], 0x11
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xe0]
test eax, eax
jne 0x41cfa5
mov dword [ebp + 0x64], 7
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x188]
test eax, eax
jne 0x41cfc0
mov dword [ebp + 0x64], 7
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc0]
test eax, eax
jne 0x41cfdb
mov dword [ebp + 0x64], 8
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xd4]
test eax, eax
jne 0x41cff6
mov dword [ebp + 0x64], 0xa
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xcc]
test eax, eax
jne 0x41d011
mov dword [ebp + 0x64], 0x10
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xd0]
test eax, eax
jne 0x41d02c
mov dword [ebp + 0x64], 9
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xd8]
test eax, eax
jne 0x41d047
mov dword [ebp + 0x64], 0xb
jmp 0x41d40c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xdc]
test eax, eax
jne 0x41d062
mov dword [ebp + 0x64], 0xc
jmp 0x41d40c
push str.NOSC
mov ecx, ebp
call fcn.00424c60
test al, al
jne 0x41d088
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
mov edx, dword [ecx + 0x410]
push edx
push eax
call fcn.0041c1b0
add esp, 8
push 0x274
call fcn.0061317d
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x568], ebx
je 0x41d0ad
mov ecx, eax
call fcn.00468910
jmp 0x41d0af
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x568], 0xffffffff
mov dword [0x6830fc], eax
jne 0x41d0ca
xor eax, eax
jmp 0x41d40c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xe4]
test eax, eax
jne 0x41d0e5
mov dword [ebp + 0x64], 0xd
jmp 0x41d40c
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax + 0xc]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xe8]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp]
push 0
push 0
push 0
push ecx
mov ecx, ebp
call dword [eax + 0x130]
mov edx, dword [ebp + 0x2c]
push 5
push edx
mov dword [ebp + 0x30], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebp
call fcn.004209e0
mov ecx, dword [ebp + 0x2c]
push 0
push 0x32
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, ebp
mov dword [ebp + 0x68], eax
call fcn.0040a1d0
mov ebx, eax
test ebx, ebx
jle 0x41d168
push ebx
lea edx, [esp + 0x48]
push str.player_d.nfx
push edx
call fcn.00613634
add esp, 0xc
jmp 0x41d18e
mov edi, str.player.nfx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
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]
lea ecx, [esp + 0x448]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0061401c
add esp, 8
cmp eax, 0xffffffff
jne 0x41d1e7
test ebx, ebx
jle 0x41d1c1
push ebx
lea eax, [esp + 0x48]
push str.player_d.nfo
push eax
call fcn.00613634
add esp, 0xc
jmp 0x41d1e7
mov edi, str.player.nfo
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
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 [0x683330]
push str.Creating_new_RGE_Game_Info
push 5
mov eax, dword [ecx + 0x1610]
push eax
call fcn.005fa2b0
push 0x11c
call fcn.0061317d
add esp, 0x10
mov dword [esp + 0x10], eax
mov edi, 1
test eax, eax
mov dword [esp + 0x568], edi
je 0x41d22f
lea edx, [esp + 0x44]
mov ecx, eax
push edx
call fcn.0046ab60
jmp 0x41d231
xor eax, eax
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x28]
add eax, 0xd44
lea ecx, [esp + 0x44]
push eax
or esi, 0xffffffff
push str._sscenario.inf
push ecx
mov dword [esp + 0x574], esi
call fcn.00613634
push 0x10c
call fcn.0061317d
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x568], 2
je 0x41d284
lea edx, [esp + 0x44]
mov ecx, eax
push edx
call fcn.004d7640
jmp 0x41d286
xor eax, eax
mov dword [ebp + 0x24], eax
mov eax, dword [0x683384]
test eax, eax
mov dword [esp + 0x568], esi
je 0x41d2b9
push 0x66a698
push str.c:_fps.txt
call fcn.00613621
add esp, 8
mov dword [0x683388], eax
test eax, eax
jne 0x41d2b9
mov dword [0x683384], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea ebx, [ebp + 0x10ac]
lea esi, [ebp + 0x11ab]
push 0
push str.http_shellopencommand
push Ordinal_2
mov byte [ebx], 0
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x148]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push 0
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41d338
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test edi, edi
jne 0x41d407
lea edi, [esp + 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x149]
push ecx
lea ecx, [esp + 0x24c]
push eax
push ecx
call fcn.00613360
lea edx, [esp + 0x254]
push 0x22
push edx
call fcn.00613f60
add esp, 0x14
test eax, eax
je 0x41d3a6
lea ecx, [esp + 0x248]
sub eax, ecx
inc eax
mov edi, eax
lea eax, [esp + 0x248]
lea edx, [edi - 1]
push edx
push eax
push esi
call fcn.00613360
add esp, 0xc
mov byte [edi + ebp + 0x11aa], 0
lea ecx, [esp + 0x148]
push 0x66a670
push ecx
call fcn.006134a0
add esp, 8
test eax, eax
je 0x41d3c2
mov byte [eax], 0
mov ecx, dword [0x683318]
push str.Zone
push 0
call fcn.004c50b0
test eax, eax
je 0x41d3e3
lea edx, [esp + 0x148]
push eax
push edx
jmp 0x41d3f9
mov eax, dword [ebp]
push 0x2546
mov ecx, ebp
call dword [eax + 0x24]
lea ecx, [esp + 0x148]
push eax
push ecx
push 0x66a660
push ebx
call fcn.00613634
add esp, 0x10
mov eax, 1
mov ecx, dword [esp + 0x560]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x55c
ret