Function at 0x100123fa
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ce5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100126bd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10012694
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0x325f
mov dword [ebp - 0x44], 0x100078fc
cmp dword [ebp - 0x28], 0x3421
jle 0x10012508
and dword [ebp - 0x1c], 0
jmp 0x10012482
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x44db
jge 0x10012502
and dword [ebp - 0x20], 0
jmp 0x10012498
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x51ec
jge 0x100124fd
and dword [ebp - 0x14], 0
jmp 0x100124ae
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x663e
jge 0x100124fb
and dword [ebp - 0x18], 0
jmp 0x100124c4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x402c
jge 0x100124f9
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar esi, cl
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
xor edx, esi
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x10614bf8
call fcn.10020ad3
jmp 0x100124bd
jmp 0x100124a7
jmp 0x10012491
jmp 0x1001247b
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov eax, dword [0x1079da94]
and eax, 1
jne 0x1001253c
mov eax, dword [0x1079da94]
or eax, 1
mov dword [0x1079da94], eax
and dword [ebp - 4], 0
mov ecx, 0x1079db60
call fcn.10020e65
push 0x1006e12f
call fcn.10055ad5
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 1
cmp dword [ebp - 0x28], 0x2f6b
jge 0x10012559
mov edx, dword [ebp - 0x44]
mov ecx, 0x10614bf8
call fcn.1002537e
jmp 0x10012575
or dword [ebp - 4], 0xffffffff
jmp 0x1001257f
movzx eax, byte [0x10615d31]
test eax, eax
je 0x100125df
mov ecx, 0x1079db60
call fcn.10020f1c
movzx eax, al
test eax, eax
jne 0x100125df
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1079db60
call fcn.10020f25
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x1079db60
call fcn.10020dc0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10020d00
movzx eax, al
test eax, eax
je 0x100125df
lea ecx, [ebp - 0x2c]
call fcn.10020f3a
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x100126cf
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x78]
push eax
call fcn.1002fa93
pop ecx
pop ecx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x78]
push eax
call fcn.10011df1
pop ecx
mov dword [ebp - 0x34], eax
movzx eax, byte [0x10615d31]
test eax, eax
je 0x1001261f
mov ecx, 0x1079db60
call fcn.10020f1c
movzx eax, al
test eax, eax
jne 0x10012670
push dword [ebp - 0x24]
push 0x27cd
push 1
lea eax, [ebp - 0x34]
push eax
push 0x720
push 0x1079db60
push 0x283f
push 1
push 0xe3d
call fcn.10011eba
add esp, 0x24
push 0xc14
push 0x337e
push 1
push 0x5e8f
push 1
push 0x7d88
push 0x10615d31
call fcn.10011fc6
add esp, 0x1c
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10020c35
jmp 0x100126cf
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x100126bb
push 1
push 0x11b7
push 0
call fcn.1000bafa
add esp, 0xc
jmp 0x100126cf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 1
call fcn.1000e31d
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret