Function at 0x57a800
Capabilities:
Get common file path
Query or enumerate registry value
Terminate process

Disassembly:
sub esp, 0x114
push esi
push edi
push str.strings.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x7147d8], eax
jne 0x57a862
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x57a831
mov ecx, 6
mov esi, str._strings.dll_is_missing.
rep movsd dword es:[edi], dword [esi]
push 0
push str.Error_
lea ecx, [esp + 0x20]
push ecx
push 0
movsb byte es:[edi], byte [esi]
call dword [sym.imp.user32.dll_MessageBoxA]
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
lea edx, [esp + 8]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftMicrosoft_GamesHalo
push reloc.wsock32.dll_bind
mov dword [0x6997a0], 0x409
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57a8e8
mov eax, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.LangID
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x57a8dd
mov eax, dword [esp + 0x10]
test ah, 0xfc
jne 0x57a8d8
movzx ecx, ax
or ecx, 0x400
mov dword [0x6997a0], ecx
jmp 0x57a8dd
mov dword [0x6997a0], eax
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, dword [0x7147d8]
mov ecx, dword [0x6997a0]
push ebx
push ebp
push 0x6e9e10
mov ebx, 0x100
mov eax, 0x77
mov edi, esi
call fcn.00579970
mov ebp, dword [sym.imp.user32.dll_LoadStringA]
add esp, 4
test eax, eax
jne 0x57a97e
mov eax, dword [0x6997a0]
mov ecx, 0x409
cmp eax, ecx
je 0x57a93d
push 0x6e9e10
mov eax, 0x77
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57a97e
push 0x100
push 0x6e9e10
push 0x77
push esi
call ebp
test eax, eax
jne 0x57a97e
mov eax, dword [str.Exception_]
mov ecx, dword [0x66c27c]
mov dx, word [0x66c280]
mov dword [0x6e9e10], eax
mov al, byte [0x66c282]
mov dword [0x6e9e14], ecx
mov word [0x6e9e18], dx
mov byte [0x6e9e1a], al
mov esi, dword [0x7147d8]
mov ecx, dword [0x6997a0]
push 0x6e9d10
mov ebx, 0x100
mov eax, 0x78
mov edi, esi
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57a9ef
mov eax, dword [0x6997a0]
mov ecx, 0x409
cmp eax, ecx
je 0x57a9cb
push 0x6e9d10
mov eax, 0x78
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57a9ef
push 0x100
push 0x6e9d10
push 0x78
push esi
call ebp
test eax, eax
jne 0x57a9ef
mov ecx, 7
mov esi, str.Gathering_Exception_Data...
mov edi, 0x6e9d10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x7147d8]
mov ecx, dword [0x6997a0]
push 0x6e9f10
mov ebx, 0x20
mov eax, 0x84
mov edi, esi
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57aa71
mov eax, dword [0x6997a0]
mov ecx, 0x409
cmp eax, ecx
je 0x57aa3c
push 0x6e9f10
mov eax, 0x84
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57aa71
push 0x20
push 0x6e9f10
push 0x84
push esi
call ebp
test eax, eax
jne 0x57aa71
mov ecx, dword [str.eula.rtf]
mov edx, dword [0x66c254]
mov al, byte [0x66c258]
mov dword [0x6e9f10], ecx
mov dword [0x6e9f14], edx
mov byte [0x6e9f18], al
mov esi, dword [0x7147d8]
mov ecx, dword [0x6997a0]
push 0x6e9f30
mov ebx, 0x400
mov eax, 0x88
mov edi, esi
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57aad0
mov eax, dword [0x6997a0]
mov ecx, 0x409
cmp eax, ecx
je 0x57aabe
push 0x6e9f30
mov eax, 0x88
call fcn.00579970
add esp, 4
test eax, eax
jne 0x57aad0
push 0x400
push 0x6e9f30
push 0x88
push esi
call ebp
test eax, eax
pop ebp
pop ebx
jne 0x57aae9
mov ecx, 7
mov esi, str.Invalid___missing_strings.dll
mov edi, 0x6e9f30
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.kernel32.dll_GetTickCount]
pop edi
mov dword [0x6e9a88], eax
pop esi
add esp, 0x114
ret