Function at 0x10167ec0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x14]
mov dword [ebp - 0x228], eax
movzx ebx, word [ecx + 0x16]
mov esi, dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x22c], ax
movzx eax, word [edi + 0x16]
mov dword [ebp - 0x224], eax
movzx eax, word [edi + 0x14]
mov dword [ebp - 0x230], eax
call esi
mov word [ebp - 0x234], ax
lea esi, [ebp - 0x218]
push 0x208
push 0xff
push esi
call fcn.10208980
add esp, 0xc
push dword [ebp + 8]
push ebx
mov ebx, edi
push dword [ebp - 0x228]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push esi
call fcn.10143efe
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
push eax
push ecx
push esi
push dword [edi + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10167f96
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x10167f96
mov esi, dword [ebp - 0x220]
test esi, esi
jne 0x10168135
push 0x208
push 0xff
lea esi, [ebp - 0x218]
push esi
call fcn.10208980
add esp, 0xc
movzx eax, word [ebp - 0x22c]
push dword [ebp + 8]
push dword [ebp - 0x224]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push esi
call fcn.10143efe
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1016801f
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x1016801f
mov esi, dword [ebp - 0x220]
test esi, esi
jne 0x10168135
push 0x208
push 0xff
lea esi, [ebp - 0x218]
push esi
call fcn.10208980
add esp, 0xc
push dword [ebp + 8]
push 0x4e4
push dword [ebp - 0x230]
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push esi
call fcn.10143efe
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101680a5
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x101680a5
mov esi, dword [ebp - 0x220]
test esi, esi
jne 0x10168135
push 0x208
push 0xff
lea esi, [ebp - 0x218]
push esi
call fcn.10208980
add esp, 0xc
movzx eax, word [ebp - 0x234]
push dword [ebp + 8]
push 0x4e4
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
push 0x104
push esi
call fcn.10143efe
add esp, 0x1c
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0xffffffff
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebx + 0x10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1016839e
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x1016839e
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x1016839e
mov ecx, dword [ebp + 0xc]
lea eax, [esi - 1]
movzx edx, byte [ecx + 0xb]
test dl, dl
js 0x10168155
mov dword [ebp - 0x228], ecx
cmp eax, 4
jbe 0x10168187
mov esi, 4
jmp 0x10168169
mov edx, esi
mov esi, 0x7fffffff
and esi, dword [ecx + 8]
add esi, 0xffffffff
cmp esi, eax
jae 0x1016817d
mov edx, dword [ecx + 4]
push edi
push eax
sub eax, esi
push edx
push 0
push edx
push eax
push esi
call fcn.1002cbec
jmp 0x10168571
mov ecx, dword [ecx]
mov dword [ebp - 0x228], ecx
mov esi, edx
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10168547
mov eax, dword [ebp - 0x228]
cmp eax, edi
jae 0x1016837a
mov edx, eax
mov ecx, eax
mov eax, dword [ebp - 0x224]
mov ebx, eax
cmp eax, 0x10
jb 0x101682d0
lea eax, [edi + esi*2]
add eax, 0xfffffffe
cmp eax, ecx
jbe 0x101681d5
mov ebx, dword [ebp - 0x224]
lea eax, [ecx + ebx*2]
mov edx, ecx
cmp edi, eax
jb 0x101682d0
mov eax, dword [ebp - 0x224]
and eax, 0xfffffff0
mov dword [ebp - 0x22c], eax
add eax, 0xfffffff0
mov edx, eax
shr edx, 4
add edx, 1
mov ebx, edx
and ebx, 3
mov dword [ebp - 0x228], ecx
xor ecx, ecx
cmp eax, 0x30
mov eax, dword [ebp - 0x228]
jb 0x10168266
and edx, 0xfffffffc
neg edx
xor ecx, ecx
nop
nop
movups xmm0, xmmword [edi + ecx*2]
movups xmm1, xmmword [edi + ecx*2 + 0x10]
movups xmmword [eax + ecx*2], xmm0
movups xmmword [eax + ecx*2 + 0x10], xmm1
movups xmm0, xmmword [edi + ecx*2 + 0x20]
movups xmm1, xmmword [edi + ecx*2 + 0x30]
movups xmmword [eax + ecx*2 + 0x20], xmm0
movups xmmword [eax + ecx*2 + 0x30], xmm1
movups xmm0, xmmword [edi + ecx*2 + 0x40]
movups xmm1, xmmword [edi + ecx*2 + 0x50]
movups xmmword [eax + ecx*2 + 0x40], xmm0
movups xmmword [eax + ecx*2 + 0x50], xmm1
movups xmm0, xmmword [edi + ecx*2 + 0x60]
movups xmm1, xmmword [edi + ecx*2 + 0x70]
movups xmmword [eax + ecx*2 + 0x60], xmm0
movups xmmword [eax + ecx*2 + 0x70], xmm1
add ecx, 0x40
add edx, 4
jne 0x10168210
test ebx, ebx
je 0x101682a9
lea eax, [edi + ecx*2]
add eax, 0x10
mov edx, dword [ebp - 0x228]
lea ecx, [edx + ecx*2]
add ecx, 0x10
shl ebx, 5
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movups xmm0, xmmword [eax + edx - 0x10]
movups xmm1, xmmword [eax + edx]
movups xmmword [ecx + edx - 0x10], xmm0
movups xmmword [ecx + edx], xmm1
add edx, 0x20
cmp ebx, edx
jne 0x10168290
mov ecx, dword [ebp - 0x22c]
cmp dword [ebp - 0x224], ecx
je 0x10168547
mov eax, dword [ebp - 0x228]
lea edx, [eax + ecx*2]
lea edi, [edi + ecx*2]
mov ebx, dword [ebp - 0x224]
and ebx, 0xf
lea ecx, [ebx - 1]
mov eax, ebx
and eax, 7
je 0x10168311
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [edi]
mov word [edx], cx
add edx, 2
add edi, 2
add esi, 1
cmp eax, esi
jne 0x101682f0
sub ebx, esi
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jb 0x10168547
xor eax, eax
nop
nop
nop
nop
movzx ecx, word [edi + eax*2]
mov word [edx + eax*2], cx
movzx ecx, word [edi + eax*2 + 2]
mov word [edx + eax*2 + 2], cx
movzx ecx, word [edi + eax*2 + 4]
mov word [edx + eax*2 + 4], cx
movzx ecx, word [edi + eax*2 + 6]
mov word [edx + eax*2 + 6], cx
movzx ecx, word [edi + eax*2 + 8]
mov word [edx + eax*2 + 8], cx
movzx ecx, word [edi + eax*2 + 0xa]
mov word [edx + eax*2 + 0xa], cx
movzx ecx, word [edi + eax*2 + 0xc]
mov word [edx + eax*2 + 0xc], cx
movzx ecx, word [edi + eax*2 + 0xe]
mov word [edx + eax*2 + 0xe], cx
add eax, 8
cmp ebx, eax
jne 0x10168320
jmp 0x10168547
jbe 0x10168547
mov eax, dword [ebp - 0x224]
lea ebx, [edi + eax*2]
mov ecx, dword [ebp - 0x228]
lea edx, [ecx + eax*2]
cmp eax, 0x10
jae 0x101683a5
mov edi, eax
jmp 0x1016849c
xor ebx, ebx
jmp 0x10168573
lea eax, [edi + esi*2]
add eax, 0xfffffffe
cmp eax, ecx
jbe 0x101683be
cmp edi, edx
jae 0x101683be
mov edi, dword [ebp - 0x224]
jmp 0x1016849c
mov eax, dword [ebp - 0x224]
and eax, 0xfffffff0
mov dword [ebp - 0x230], eax
add eax, 0xfffffff0
mov ecx, eax
shr ecx, 4
add ecx, 1
test eax, eax
mov dword [ebp - 0x234], ecx
je 0x10168448
lea edi, [edi + esi*2]
add edi, 0xffffffee
mov dword [ebp - 0x22c], esi
mov eax, dword [ebp - 0x228]
lea eax, [eax + esi*2]
add eax, 0xffffffee
mov esi, ecx
and esi, 0xfffffffe
neg esi
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movups xmm0, xmmword [edi + ecx*2 - 0x10]
movups xmm1, xmmword [edi + ecx*2]
movups xmmword [eax + ecx*2], xmm1
movups xmmword [eax + ecx*2 - 0x10], xmm0
movups xmm0, xmmword [edi + ecx*2 - 0x30]
movups xmm1, xmmword [edi + ecx*2 - 0x20]
movups xmmword [eax + ecx*2 - 0x20], xmm1
movups xmmword [eax + ecx*2 - 0x30], xmm0
add ecx, 0xffffffe0
add esi, 2
jne 0x10168410
neg ecx
mov esi, dword [ebp - 0x22c]
jmp 0x1016844a
xor ecx, ecx
test byte [ebp - 0x234], 1
mov eax, dword [ebp - 0x224]
je 0x1016847d
add ecx, ecx
mov eax, edx
sub eax, ecx
mov edi, esi
mov esi, ebx
sub esi, ecx
movups xmm0, xmmword [esi - 0x20]
movups xmm1, xmmword [esi - 0x10]
mov esi, edi
movups xmmword [eax - 0x10], xmm1
movups xmmword [eax - 0x20], xmm0
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x230]
cmp eax, ecx
je 0x10168547
mov eax, ecx
add eax, ecx
sub edx, eax
sub ebx, eax
mov edi, dword [ebp - 0x224]
and edi, 0xf
lea ecx, [edi - 1]
mov eax, edi
and eax, 7
je 0x101684e3
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx - 2]
add ebx, 0xfffffffe
mov word [edx - 2], cx
add edx, 0xfffffffe
add esi, 1
cmp eax, esi
jne 0x101684c0
sub edi, esi
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jb 0x10168547
neg edi
xor eax, eax
nop
nop
nop
nop
movzx ecx, word [ebx + eax*2 - 2]
mov word [edx + eax*2 - 2], cx
movzx ecx, word [ebx + eax*2 - 4]
mov word [edx + eax*2 - 4], cx
movzx ecx, word [ebx + eax*2 - 6]
mov word [edx + eax*2 - 6], cx
movzx ecx, word [ebx + eax*2 - 8]
mov word [edx + eax*2 - 8], cx
movzx ecx, word [ebx + eax*2 - 0xa]
mov word [edx + eax*2 - 0xa], cx
movzx ecx, word [ebx + eax*2 - 0xc]
mov word [edx + eax*2 - 0xc], cx
movzx ecx, word [ebx + eax*2 - 0xe]
mov word [edx + eax*2 - 0xe], cx
movzx ecx, word [ebx + eax*2 - 0x10]
mov word [edx + eax*2 - 0x10], cx
add eax, 0xfffffff8
cmp edi, eax
jne 0x101684f0
mov eax, dword [ebp - 0x228]
mov word [eax + esi*2 - 2], 0
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0xb], 0
js 0x10168568
mov eax, dword [ebp - 0x224]
mov byte [ecx + 0xb], al
jmp 0x10168571
mov eax, dword [ebp - 0x224]
mov dword [ecx + 4], eax
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10205d16
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret 8