Function at 0x57f3d0
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 [0x722ae0], eax
jne 0x57f432
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 0x57f401
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 [0x69ff30], 0x409
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57f4b8
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 0x57f4ad
mov eax, dword [esp + 0x10]
test ah, 0xfc
jne 0x57f4a8
movzx ecx, ax
or ecx, 0x400
mov dword [0x69ff30], ecx
jmp 0x57f4ad
mov dword [0x69ff30], eax
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x722ae0]
mov ecx, dword [0x69ff30]
push ebx
push ebp
push 0x6f0698
mov ebx, 0x100
mov eax, 0x77
mov edi, esi
call fcn.0057e540
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 4
test eax, eax
jne 0x57f54e
mov eax, dword [0x69ff30]
mov ecx, 0x409
cmp eax, ecx
je 0x57f50d
push 0x6f0698
mov eax, 0x77
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f54e
push 0x100
push 0x6f0698
push 0x77
push esi
call ebp
test eax, eax
jne 0x57f54e
mov eax, dword [str.Exception_]
mov ecx, dword [0x672968]
mov dx, word [0x67296c]
mov dword [0x6f0698], eax
mov al, byte [0x67296e]
mov dword [0x6f069c], ecx
mov word [0x6f06a0], dx
mov byte [0x6f06a2], al
mov esi, dword [0x722ae0]
mov ecx, dword [0x69ff30]
push 0x6f0598
mov ebx, 0x100
mov eax, 0x78
mov edi, esi
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f5bf
mov eax, dword [0x69ff30]
mov ecx, 0x409
cmp eax, ecx
je 0x57f59b
push 0x6f0598
mov eax, 0x78
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f5bf
push 0x100
push 0x6f0598
push 0x78
push esi
call ebp
test eax, eax
jne 0x57f5bf
mov ecx, 7
mov esi, str.Gathering_Exception_Data...
mov edi, 0x6f0598
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x722ae0]
mov ecx, dword [0x69ff30]
push 0x6f0798
mov ebx, 0x20
mov eax, 0x84
mov edi, esi
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f641
mov eax, dword [0x69ff30]
mov ecx, 0x409
cmp eax, ecx
je 0x57f60c
push 0x6f0798
mov eax, 0x84
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f641
push 0x20
push 0x6f0798
push 0x84
push esi
call ebp
test eax, eax
jne 0x57f641
mov ecx, dword [str.eula.rtf]
mov edx, dword [0x672940]
mov al, byte [0x672944]
mov dword [0x6f0798], ecx
mov dword [0x6f079c], edx
mov byte [0x6f07a0], al
mov esi, dword [0x722ae0]
mov ecx, dword [0x69ff30]
push 0x6f07b8
mov ebx, 0x400
mov eax, 0x88
mov edi, esi
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f6a0
mov eax, dword [0x69ff30]
mov ecx, 0x409
cmp eax, ecx
je 0x57f68e
push 0x6f07b8
mov eax, 0x88
call fcn.0057e540
add esp, 4
test eax, eax
jne 0x57f6a0
push 0x400
push 0x6f07b8
push 0x88
push esi
call ebp
test eax, eax
pop ebp
pop ebx
jne 0x57f6b9
mov ecx, 7
mov esi, str.Invalid___missing_strings.dll
mov edi, 0x6f07b8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [0x6f0310], eax
pop esi
add esp, 0x114
ret