Function at 0x639dc0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723e28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.005839b0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0x100
push eax
mov dword [ebp - 0x3c], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x10
call fcn.005b0530
push 0x4a
call fcn.005b0530
push dword [0x800cb4]
call fcn.005b0530
push esi
push esi
call fcn.004354d0
push 0x1f4
push esi
call fcn.0042f4b0
add esp, 0x1c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, 0x7e4658
cmp eax, 0xffffffff
je 0x639e71
cmp dword [0x7e4658], 0
mov esi, eax
mov dword [0x7fed84], eax
je 0x639e71
mov eax, dword [esi + 0x20]
push 1
call eax
cmp dword [esi + 0x24], 0
lea esi, [esi + 0x24]
jne 0x639e61
mov esi, dword [0x7e8a38]
mov ecx, dword [0x7e8a3c]
cmp esi, ecx
jae 0x639e9b
mov eax, dword [esi]
test eax, eax
je 0x639e94
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x7e8a3c]
add esi, 4
cmp esi, ecx
jb 0x639e81
push 0
call fcn.006b698d
push eax
call fcn.006b697d
push 0x84000300
call fcn.006a85e0
add esp, 0xc
call fcn.0063a240
lea ecx, [ebp - 0x2c]
call fcn.00429050
push str.sProgramLang
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00428840
push str.SOFTWAREGRETECHGOMAudioOption
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00428840
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push SysReAllocStringLen
call fcn.005b6400
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00428810
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00428810
push 0x74b6fc
lea ecx, [ebp - 0x2c]
call fcn.00429150
test eax, eax
jne 0x639f3a
push 0x783aec
lea ecx, [ebp - 0x2c]
call fcn.00428a30
lea ecx, [ebp - 0x2c]
call fcn.004290e0
test eax, eax
jg 0x639fb6
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x783aec
call fcn.00428840
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 3
push eax
call fcn.005b6a10
mov ecx, esp
mov byte [ebp - 4], 4
push 0x744bc4
push eax
push ecx
call fcn.00428bd0
push 0x7488ec
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push str.ACTIVE
push eax
call fcn.005b55c0
add esp, 0x18
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004289a0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00428810
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00428810
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, 0x3ff
and ax, si
mov word [0x7e46c4], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and ax, si
lea ecx, [ebp - 0x2c]
mov word [0x7e46c8], ax
call fcn.004290e0
test eax, eax
jg 0x63a014
movzx eax, word [0x7e46c4]
lea ecx, [ebp - 0x2c]
sub eax, 9
je 0x63a00a
sub eax, 8
je 0x63a003
dec eax
jne 0x63a00a
push 0x783aec
jmp 0x63a00f
push 0x783af4
jmp 0x63a00f
push 0x783b24
call fcn.00428a30
mov esi, dword [0x7f7170]
test esi, esi
je 0x63a039
mov esi, dword [esi]
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
push 0x790eb0
call fcn.00429100
mov ecx, dword [0x7f7170]
push eax
call dword [esi + 4]
mov ecx, 0x7f71e0
call fcn.0058eae0
lea eax, [ebp - 0x2c]
mov ecx, 0x7f7240
push eax
call fcn.004289a0
mov ecx, 0x7f7240
call fcn.00429100
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x63a07a
xor ecx, ecx
jmp 0x63a08f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x63a080
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00424cc0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00430120
add esp, 4
cmp dword [ebp - 0x14], 8
jb 0x63a0ba
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret