Function at 0x401c60
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 8], 0xb373
mov dword [ebp - 4], 0x1522a
mov dword [ebp - 0xc], 0x5a9e
mov dword [ebp - 0x10], 0x1042b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403ba0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 8]
and ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x431a18]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x3250
je 0x401d05
cmp dword [ebp - 0x14], 0xb7df
je 0x401cda
cmp dword [ebp - 0x14], 0xeef9
je 0x401ec9
jmp 0x401f66
mov eax, dword [ebp - 0xc]
add eax, 0xd53
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00405c80
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [0x4319f0], eax
jmp 0x402000
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 4]
mov ecx, dword [ebp - 4]
sub ecx, edx
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 0x10]
add ecx, eax
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00401120
add esp, 0x10
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
shl eax, cl
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x431a18]
jg 0x401df0
mov edx, dword [0x431ab0]
cmp edx, dword [ebp - 0xc]
jae 0x401df0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
cmp dword [0x431a54], eax
jbe 0x401df0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
add esi, dword [ebp - 8]
add esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp + 8]
mov ecx, eax
shl esi, cl
mov dword [ebp - 8], esi
mov eax, dword [ebp - 4]
cdq
mov ecx, 0x10dc1
idiv ecx
mov edx, dword [ebp - 4]
lea eax, [eax + edx - 0xf64a]
mov dword [0x4319a0], eax
mov ecx, dword [ebp - 8]
add ecx, 0xbba
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
and ecx, edx
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebp + 8]
or ecx, edx
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0xa320
mov eax, dword [ebp + 8]
shl eax, cl
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 4]
sar eax, cl
mov dword [ebp - 0xc], eax
jmp 0x401ec9
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 8]
jl 0x401e04
mov edx, dword [ebp + 8]
cmp edx, dword [ebp + 8]
jge 0x401ec9
mov eax, 0x13582
cdq
idiv dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00402010
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [ebp - 4], eax
push str.snorer
call fcn.004010e0
add esp, 4
imul ecx, dword [ebp - 4], 0xdc37
imul edx, dword [ebp - 0xc], 0x6337
add ecx, edx
mov dword [0x4319a4], ecx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx - 0x1285f]
sub eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
shr edx, cl
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 4]
mov eax, edx
xor edx, edx
div dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, eax
shr edx, cl
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 0x18254
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0xc]
or eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
sub edx, 0x1031a
sub edx, dword [ebp + 0xc]
sub edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 4]
add eax, dword [ebp - 8]
shr eax, 0x75
mov dword [0x4319a0], eax
mov edx, dword [ebp - 0xc]
add edx, 0x356c
sub edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
shr edx, cl
and edx, 0x21ed
and edx, 0x17541
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
imul edx, dword [ebp - 4]
add ecx, edx
shr eax, cl
mov dword [ebp - 0xc], eax
mov eax, 0x41c7
cdq
idiv dword [ebp + 8]
add eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
add eax, 0x7474
mov ecx, dword [ebp - 8]
shr eax, cl
or eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x10]
imul edx, ecx, 0x12083
sub eax, edx
mov dword [ebp - 4], eax
jmp 0x402000
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 8]
and ecx, eax
or ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp + 8]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
shr edx, cl
mov ecx, dword [ebp + 0xc]
shr edx, cl
mov dword [ebp - 8], edx
mov dword [0x431ab0], 0x12f42
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebp - 0xc]
sub ecx, edx
and ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp + 0xc]
add edx, dword [ebp + 0xc]
mov dword [0x431a50], edx
pop esi
mov esp, ebp
pop ebp
ret