Function at 0x582b60
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 [0x6bddc0], eax
jne 0x582bc2
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 0x582b91
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_CE
push reloc.WSOCK32.dll_bind
mov dword [0x63ae28], 0x409
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x582c48
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 0x582c3d
mov eax, dword [esp + 0x10]
test ah, 0xfc
jne 0x582c38
movzx ecx, ax
or ecx, 0x400
mov dword [0x63ae28], ecx
jmp 0x582c3d
mov dword [0x63ae28], eax
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x6bddc0]
mov ecx, dword [0x63ae28]
push ebx
push ebp
push 0x68b668
mov ebx, 0x100
mov eax, 0x77
mov edi, esi
call fcn.00581cd0
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 4
test eax, eax
jne 0x582cde
mov eax, dword [0x63ae28]
mov ecx, 0x409
cmp eax, ecx
je 0x582c9d
push 0x68b668
mov eax, 0x77
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582cde
push 0x100
push 0x68b668
push 0x77
push esi
call ebp
test eax, eax
jne 0x582cde
mov eax, dword [str.Exception_]
mov ecx, dword [0x612090]
mov dx, word [0x612094]
mov dword [0x68b668], eax
mov al, byte [0x612096]
mov dword [0x68b66c], ecx
mov word [0x68b670], dx
mov byte [0x68b672], al
mov esi, dword [0x6bddc0]
mov ecx, dword [0x63ae28]
push 0x68b568
mov ebx, 0x100
mov eax, 0x78
mov edi, esi
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582d4f
mov eax, dword [0x63ae28]
mov ecx, 0x409
cmp eax, ecx
je 0x582d2b
push 0x68b568
mov eax, 0x78
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582d4f
push 0x100
push 0x68b568
push 0x78
push esi
call ebp
test eax, eax
jne 0x582d4f
mov ecx, 7
mov esi, str.Gathering_Exception_Data...
mov edi, 0x68b568
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x6bddc0]
mov ecx, dword [0x63ae28]
push 0x68b768
mov ebx, 0x20
mov eax, 0x84
mov edi, esi
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582dd1
mov eax, dword [0x63ae28]
mov ecx, 0x409
cmp eax, ecx
je 0x582d9c
push 0x68b768
mov eax, 0x84
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582dd1
push 0x20
push 0x68b768
push 0x84
push esi
call ebp
test eax, eax
jne 0x582dd1
mov ecx, dword [str.eula.rtf]
mov edx, dword [0x612068]
mov al, byte [0x61206c]
mov dword [0x68b768], ecx
mov dword [0x68b76c], edx
mov byte [0x68b770], al
mov esi, dword [0x6bddc0]
mov ecx, dword [0x63ae28]
push 0x68b788
mov ebx, 0x400
mov eax, 0x88
mov edi, esi
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582e30
mov eax, dword [0x63ae28]
mov ecx, 0x409
cmp eax, ecx
je 0x582e1e
push 0x68b788
mov eax, 0x88
call fcn.00581cd0
add esp, 4
test eax, eax
jne 0x582e30
push 0x400
push 0x68b788
push 0x88
push esi
call ebp
test eax, eax
pop ebp
pop ebx
jne 0x582e49
mov ecx, 7
mov esi, str.Invalid___missing_strings.dll
mov edi, 0x68b788
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
pop edi
mov dword [0x68b2e0], eax
pop esi
add esp, 0x114
ret