Function at 0x10012df2
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x1005b332
call fcn.1005a790
sub esp, 0xbc
push ebx
push esi
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 0x18], 0x2ba39464
mov edi, ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x14], ebx
jmp 0x10012e35
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x58], 0x10c9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10012e27
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x18], ebx
jl 0x10012eb8
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10012e58
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp + eax*4 - 0x58], 0x1e27c
test eax, eax
je 0x10012e77
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x58], ebx
jne 0x10012e7c
cmp dword [ebp - 0x18], ebx
je 0x10012e86
cmp dword [ebp - 0x54], ebx
je 0x10012e86
xor edx, edx
inc edx
jmp 0x10012e88
mov edx, ebx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x58]
cmp edx, eax
mov eax, dword [ebp - 0x50]
setl cl
xor edx, edx
imul ecx, ecx, 0xfffa
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x20], ecx
dec dword [ebp - 0x18]
jns 0x10012e47
call fcn.1000f35a
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10013294
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xb9e9d60a
mov dword [ebp - 0x14], 0xee973417
mov dword [ebp - 0x14], ebx
jmp 0x10012ef2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x68], 0xe93d
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10012ee4
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 7
push 2
pop ebx
jne 0x100130b7
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x28], 1
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setl dl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub ecx, 0xf934f545
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setle dl
xor ecx, ecx
sub edx, 0x348f
imul edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
setle cl
imul ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x10012f91
cmp dword [ebp - 0x68], ecx
jne 0x10012f93
mov dword [ebp - 0x1c], ecx
jmp 0x10012f7d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x68], 3
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x10012f6f
cmp dword [ebp - 0x68], ecx
jne 0x100130b1
jmp 0x100130a1
xor ecx, ecx
mov dword [ebp - 0x14], ecx
jmp 0x10012fa2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x70], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x10012f98
mov dword [ebp - 0x14], 0xfffffffa
cmp dword [ebp - 0x14], 0x18
jle 0x100130a1
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x20], 0x7d31
cmp dword [ebp - 0x20], 0x7d68
jle 0x10013067
push ecx
push ecx
call dword [sym.imp.USER32.dll_LoadMenuW]
xor edi, edi
xor esi, esi
xor eax, eax
mov edx, edi
mov ecx, esi
mov dword [ebp - 0x28], eax
shl edx, cl
mov dword [ebp - 0x24], edx
mov ebx, edx
mov ecx, eax
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x24], edx
sar eax, cl
mov dword [ebp - 0x38], eax
mov ecx, edx
sar eax, cl
lea ecx, [ebp - 0x98]
cdq
push edx
push eax
call fcn.10001aa4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001301b
mov eax, dword [eax]
push eax
call fcn.10043cef
pop ecx
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.10003c79
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x24], edx
cmp edx, 0x764a
jl 0x10012fff
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x3da2
jl 0x10012ff1
inc esi
cmp esi, 0x76ab
jl 0x10012fe1
inc edi
cmp edi, 0x32c1
jl 0x10012fdf
cmp byte [ebp - 0xd], 0
je 0x10013078
push 0x249
call dword [sym.imp.USER32.dll_GetKeyboardType]
cmp dword [ebp - 0x20], 0x7c12
jge 0x1001308c
push str.szcgpcj_nquo_tgkzl_yvehx_wfal_dzgjf_xhspck_gmot_bluvcl_eawjfgsv_otjaen_qucn
call fcn.10043cef
pop ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x18
jg 0x10012fb8
push 2
pop ebx
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 7
je 0x10012f0a
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
jmp 0x100130d5
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x100130d2
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x19
jg 0x100130c0
mov edx, dword [ebp - 0x48]
add esi, 0xffffdb63
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x10013114
cmp dword [eax + 0x10], esi
jge 0x100130f9
mov eax, dword [eax + 8]
jmp 0x100130fd
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x100130ef
cmp ecx, edx
je 0x10013114
cmp esi, dword [ecx + 0x10]
jl 0x10013114
mov dword [ebp - 0x3c], ecx
lea esi, [ebp - 0x3c]
jmp 0x1001311a
mov dword [ebp - 0x34], edx
lea esi, [ebp - 0x34]
mov esi, dword [esi]
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], 0xe97eede0
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x14], 0
jl 0x10013154
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x1001314f
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
dec dword [ebp - 0x14]
jns 0x1001313f
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x1001316b
push 0
push 0x267
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [0x1013905c]
test al, 1
jne 0x100131a0
and dword [0x10139070], 0
or eax, 1
mov dword [0x1013905c], eax
xor eax, eax
push 0x1005bcf2
mov dword [0x10139074], 7
mov word [0x10139060], ax
call fcn.10043cc5
pop ecx
cmp esi, dword [ebp - 0x48]
je 0x100131c0
push dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [ebp - 0xc8]
call fcn.1000b739
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 3
inc ebx
jmp 0x100131d7
push 0x10139060
lea ecx, [ebp - 0xb0]
call fcn.1000394f
mov dword [ebp - 4], 4
push eax
mov ecx, edi
mov dword [ebp - 0x2c], ebx
call fcn.1000394f
or ebx, 4
test bl, 2
je 0x100131fc
push 0
push 1
lea ecx, [ebp - 0xb0]
and ebx, 0xfffffffd
call fcn.10004184
test bl, 1
je 0x10013210
push 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.10004184
lea ecx, [ebp - 0x48]
call fcn.10013262
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret