Function at 0x4025b0
Capabilities:
Identify system language via api
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xorps xmm1, xmm1
comisd xmm1, xmm0
push ebx
push esi
push edi
mov esi, 0x63
jbe 0x4026c7
mov ebx, dword [sym.imp.USER32.dll_CreateMenu]
call dword [sym.imp.USER32.dll_CountClipboardFormats]
movsd xmm1, qword [0x43a3a0]
add esi, esi
mov dword [ebp - 4], esi
movd xmm0, esi
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x4025fc
xor edx, edx
lea ecx, [edx + 0x54]
call fcn.0042f100
movsd xmm1, qword [0x43a4a0]
mov esi, 0x55
comisd xmm1, xmm0
jb 0x40262f
nop
call ebx
movsd xmm1, qword [0x43a4a0]
imul esi, esi
mov eax, esi
neg eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jae 0x402610
xor edi, edi
mov esi, 0x6d
comisd xmm0, xmmword [0x43a3c0]
mov bl, 0x41
jb 0x40266c
push edi
movsx eax, bl
cdq
push esi
push edx
push eax
call fcn.0042e810
mov esi, eax
mov edi, edx
mov ecx, esi
mov bl, 1
add ecx, 1
adc edx, 0
call fcn.0042f100
comisd xmm0, xmmword [0x43a3c0]
jae 0x402642
movsd xmm3, qword [0x43a360]
comisd xmm3, xmm0
movsd xmm1, qword [0x43a4a8]
jbe 0x4026b1
movsd xmm2, qword [0x43a498]
nop word [eax + eax]
subsd xmm1, xmm2
mulsd xmm2, xmm1
movaps xmm0, xmm1
cvttsd2si eax, xmm2
movd xmm2, eax
cvtdq2pd xmm2, xmm2
divsd xmm0, xmm2
comisd xmm3, xmm0
ja 0x402690
mov ebx, dword [sym.imp.USER32.dll_CreateMenu]
xorps xmm1, xmm1
comisd xmm1, xmm0
mov esi, dword [ebp - 4]
ja 0x4025d1
comisd xmm0, xmmword [0x43a370]
mov bl, 0x51
mov ecx, 0x36
jb 0x40280f
nop dword [eax]
movss xmm1, dword [0x43a4e0]
sub bl, cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov byte [ebp - 8], bl
comiss xmm1, xmm0
jbe 0x402706
xor edx, edx
xor ecx, ecx
call fcn.0042f100
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
movsx eax, al
cdq
mov edi, eax
mov esi, edx
mov ecx, edi
call fcn.00401cc0
cvttsd2si eax, xmm0
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movsx eax, al
cdq
push edx
push eax
call fcn.0041a760
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 4]
cdq
push edx
push eax
push ecx
push esi
call fcn.0042e810
mov ecx, eax
call fcn.0042f100
ucomisd xmm0, qword [0x43a430]
lahf
test ah, 0x44
jp 0x402795
xor edx, edx
lea ecx, [edx + 0x14]
call fcn.0042f100
movss xmm1, dword [0x43a4e0]
cvtsd2ss xmm0, xmm0
comiss xmm1, xmm0
jbe 0x40277e
xor edx, edx
xor ecx, ecx
call fcn.0042f100
cvtsd2ss xmm0, xmm0
cvttss2si eax, xmm0
movsx ecx, al
lea eax, [ecx - 0x3490]
imul ecx, ecx, 0x3490
imul ecx
jmp 0x4027a2
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, 0x6f0
xor edx, edx
mov ecx, eax
call fcn.0042f100
ucomisd xmm0, qword [0x43a438]
lahf
test ah, 0x44
jnp 0x4027bf
call dword [sym.imp.KERNEL32.dll_IsSystemResumeAutomatic]
jmp 0x4027c5
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
movsd xmm0, qword [0x43a4a0]
movsd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movsd xmm0, qword [ebp - 0x10]
call fcn.004025b0
mov ecx, eax
call fcn.0042f100
comisd xmm0, xmmword [0x43a468]
movsd qword [ebp - 0x10], xmm0
ja 0x4027d8
comisd xmm0, xmmword [0x43a370]
mov ecx, dword [ebp - 4]
jae 0x4026e0
call fcn.0042efaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret