Function at 0x6673dc
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd60
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x278]
mov edx, dword [0x41f4cc]
call fcn.0040c8d8
xor eax, eax
push ebp
push 0x667931
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x288]
mov ecx, 0x66794c
mov edx, dword [0x68a254]
call fcn.0040c38c
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x278]
mov edx, 0x1ff
call fcn.0042908c
test eax, eax
jne 0x6674d9
mov eax, dword [ebp - 0x264]
mov ebx, eax
test ebx, ebx
je 0x667487
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x28c]
push eax
mov ecx, ebx
sub ecx, 6
mov edx, 1
mov eax, dword [ebp - 0x264]
call fcn.0040c4fc
mov edx, dword [ebp - 0x28c]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x278]
call fcn.004290dc
test eax, eax
je 0x667476
lea eax, [ebp - 0x278]
call fcn.00429100
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x667507
mov eax, dword [0x68a214]
call fcn.004097a0
mov eax, 4
call fcn.006618bc
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x66753a
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x154]
jmp 0x6678d2
push 0x66796c
lea eax, [ebp - 4]
push eax
mov ecx, 0x667988
mov edx, 0x6679a8
mov eax, dword [0x68a214]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, 0x6679c0
call fcn.00642c64
test ax, ax
jbe 0x66758d
mov eax, 0x6679c0
call fcn.00642c64
movzx eax, ax
inc eax
lea edx, [ebp - 0x290]
call fcn.00407540
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 4]
call fcn.0042759c
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x667627
inc eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x27c], 0
lea ecx, [ebp - 0x294]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 0x27c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x294]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x298], ebx
mov eax, dword [ebp - 0x298]
call fcn.00427334
test eax, eax
sete al
test al, al
je 0x667619
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov edx, dword [ebp - 0x27c]
mov ecx, dword [eax]
call dword [ecx + 0x154]
jmp 0x667627
inc dword [ebp - 0x27c]
dec dword [ebp - 0x284]
jne 0x6675b9
mov eax, 0x6679d8
call fcn.00642e58
test al, al
je 0x6676bd
xor eax, eax
push ebp
push 0x6676b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
call fcn.0055180c
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x154]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6678d2
push 0
mov ecx, 0x6679f8
mov edx, 0x6679a8
mov eax, dword [0x68a214]
mov ebx, dword [eax]
call dword [ebx + 0x20]
test al, al
je 0x6678d2
push 0
mov ecx, 0x667a2c
mov edx, 0x6679a8
mov eax, dword [0x68a214]
mov ebx, dword [eax]
call dword [ebx + 0x10]
sub eax, 1
jb 0x667700
je 0x66770e
dec eax
je 0x66771c
dec eax
je 0x66772a
jmp 0x667736
call sub.kernel32.dll_GetUserDefaultUILanguage
mov word [ebp - 0x27e], ax
jmp 0x667736
call sub.kernel32.dll_GetSystemDefaultLangID
mov word [ebp - 0x27e], ax
jmp 0x667736
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov word [ebp - 0x27e], ax
jmp 0x667736
call sub.kernel32.dll_GetUserDefaultLangID
mov word [ebp - 0x27e], ax
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6678d2
inc eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x27c], 0
xor eax, eax
push ebp
push 0x6678b6
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x68a254]
push 0x667a54
lea ecx, [ebp - 0x2a0]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 0x27c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x2a0]
push 0x667a64
lea eax, [ebp - 0x29c]
mov edx, 4
call fcn.0040c414
mov ecx, dword [ebp - 0x29c]
mov dl, 1
mov eax, dword [0x50f49c]
call fcn.00512fac
mov dword [0x68a218], eax
push 0
mov ecx, 0x667a80
mov edx, 0x667a94
mov eax, dword [0x68a218]
mov ebx, dword [eax]
call dword [ebx + 0x10]
movzx edx, word [ebp - 0x27e]
cmp eax, edx
jne 0x6678a2
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov edx, dword [ebp - 0x27c]
mov ecx, dword [eax]
call dword [ecx + 0x154]
mov eax, dword [0x68a218]
call fcn.004097a0
push 0
mov ecx, 0x667aac
mov edx, 0x6679a8
mov eax, dword [0x68a214]
mov ebx, dword [eax]
call dword [ebx + 0x20]
test al, al
je 0x667898
lea ecx, [ebp - 4]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 0x27c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x2ec]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x68a1e0]
mov eax, dword [eax + 0x478]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x154]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6678d2
mov eax, dword [0x68a218]
call fcn.004097a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6678c0
inc dword [ebp - 0x27c]
dec dword [ebp - 0x284]
jne 0x667766
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x667938
lea eax, [ebp - 0x2a0]
mov edx, 2
call fcn.0040b5f0
lea eax, [ebp - 0x294]
mov edx, 2
call fcn.0040b5f0
lea eax, [ebp - 0x28c]
call fcn.0040b590
lea eax, [ebp - 0x288]
call fcn.0040b590
lea eax, [ebp - 0x278]
mov edx, dword [0x41f4cc]
call fcn.0040cca4
lea eax, [ebp - 4]
call fcn.0040b590
pop eax
jmp eax