Function at 0x4b8a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8fb9
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
mov ebx, ecx
push str.MP_Startup_Screen
call fcn.0052f3c0
mov dword [ebp - 4], 0
push 0
mov dword [ebx], 0x551a58
mov dword [ebx + 0x490], 0
mov dword [ebx + 0x488], 0
mov dword [ebx + 0x48c], 0
mov dword [ebx + 0x494], 0
mov ecx, dword [0x5681d8]
call fcn.004eb530
push 1
mov eax, dword [0x5681d8]
push 0xc385
push str.scr3
mov ecx, dword [eax + 0x4c]
push ecx
mov ecx, ebx
call fcn.0052f480
test eax, eax
jne 0x4b8b21
mov dword [ebx + 0xd8], 1
jmp 0x4b8f9f
push 0
mov ecx, ebx
call fcn.00447c80
push 0x1e0
mov ecx, ebx
push 0x280
call fcn.00448330
push 0
push 0
push 1
push 1
push 0x1e
lea eax, [ebx + 0x478]
push 0x258
mov ecx, ebx
push 0x14
push 0x14
push 0x258b
push eax
push ebx
call fcn.004493d0
test eax, eax
je 0x4b8f9f
push 0
push 0
push 0
push 4
push 0x14
lea eax, [ebx + 0x47c]
push 0x1f4
mov ecx, ebx
push 0x4b
push 0x14
push 0x258c
push eax
push ebx
call fcn.004493d0
test eax, eax
je 0x4b8f9f
push str.Default_Age_Of_Empires_Player_Name
mov ecx, dword [0x7ddf8c]
push 1
call fcn.00425470
test eax, eax
je 0x4b8be8
push str.Default_Age_Of_Empires_Player_Name
mov ecx, dword [0x7ddf8c]
push 1
call fcn.00425470
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebp - 0x334]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4b8bef
mov byte [ebp - 0x334], 0
push 0
push 1
push 0xb
push 0x17
push 0x258
lea eax, [ebp - 0x334]
push 0x64
lea ecx, [ebx + 0x480]
push 0x14
push 0
push 0xf
push eax
push ecx
push ebx
mov ecx, ebx
call fcn.00449980
test eax, eax
je 0x4b8f9f
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x480]
push 0x7595
call fcn.00423e70
push 0
push 0
push 0
push 4
push 0x14
lea eax, [ebx + 0x484]
push 0x258
mov ecx, ebx
push 0xa5
push 0x14
push 0x258d
push eax
push ebx
call fcn.004493d0
test eax, eax
je 0x4b8f9f
push 0xb
lea eax, [ebx + 0x498]
push 0xd2
mov ecx, ebx
push 0x258
push 0xbe
push 0x14
push eax
push ebx
call fcn.00449e90
test eax, eax
je 0x4b8f9f
push 0x14
mov eax, dword [ebx + 0x498]
push eax
lea ecx, [ebx + 0x49c]
push ecx
mov ecx, ebx
call fcn.0044a2c0
test eax, eax
je 0x4b8f9f
push 0x25f08
mov ecx, dword [ebx + 0x498]
push 0x7596
call fcn.00423e70
push 0
push 0
push 0
push 0x1e
push 0xf0
lea eax, [ebx + 0x488]
push 0x1b8
mov ecx, ebx
push 0x46
push 0
push 0xfa1
push eax
push ebx
call fcn.00448c50
test eax, eax
je 0x4b8f9f
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x488]
push 0x7531
call fcn.00423e70
push 0
push 0
push 0
push 0x1e
push 0xf0
lea eax, [ebx + 0x48c]
push 0x1b8
mov ecx, ebx
push 0x14a
push 0
push 0xfa2
push eax
push ebx
call fcn.00448c50
test eax, eax
je 0x4b8f9f
push 0xffffffffffffffff
mov ecx, dword [ebx + 0x48c]
push 0x7532
call fcn.00423e70
mov eax, dword [ebx + 0x48c]
push 0
push 0
push 0
mov dword [eax + 0x298], 0x1b
mov dword [eax + 0x29c], 0
push 0x1e
lea ecx, [ebx + 0x490]
push 0x1e
push 0x1b8
push 0x244
push 0
push 0xfa9
push ecx
push ebx
mov ecx, ebx
call fcn.00448c50
test eax, eax
je 0x4b8f9f
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebx + 0x494]
push 0
mov ecx, ebx
push 0
push 0
push 0x3ea
push eax
push ebx
call fcn.00448c50
test eax, eax
je 0x4b8f9f
mov ecx, dword [ebx + 0x494]
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x494]
push 0
push 0
push 0
push 0
push 0x11
push 0x11
push 0x11
push 0x11
mov esi, dword [ecx]
push 4
push 4
push 4
push 4
push 9
call dword [esi + 0x18]
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x10]
mov byte [ebx + 0x4a0], 0
mov byte [ebx + 0x59f], 0
push ecx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.http_shellopencommand
push Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0xff
push edx
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b8e6e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x4b8f50
lea edi, [ebp - 0x134]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
lea eax, [ebp - 0x133]
lea edx, [ebp - 0x234]
not ecx
dec ecx
push ecx
push eax
push edx
call fcn.00535310
add esp, 0xc
lea ecx, [ebp - 0x234]
push 0x22
push ecx
call fcn.005354f0
add esp, 8
test eax, eax
je 0x4b8ee0
mov esi, eax
lea ecx, [ebp - 0x234]
lea eax, [ebp - 0x235]
lea edx, [ebx + 0x59f]
sub esi, eax
lea eax, [esi - 1]
push eax
push ecx
push edx
call fcn.00535310
mov byte [ebx + esi + 0x59e], 0
add esp, 0xc
push str.Zone
mov ecx, dword [0x7ddf8c]
push 0
call fcn.00425470
mov edi, eax
test edi, edi
je 0x4b8f50
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [ebp - 0x134]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x134]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0x4a0]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004b9640
mov eax, dword [ebx + 0x480]
mov ecx, ebx
push eax
call fcn.00423960
mov eax, dword [ebx + 0x480]
mov ecx, dword [ebx + 0x498]
mov edx, dword [ebx + 0x488]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x48c]
push 5
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0x490]
mov dword [ebp - 0x28], edx
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, ebx
call fcn.00423c10
mov eax, ebx
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret