Function at 0x100354fa
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10035717
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10035586
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10035715
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1003563d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x100355e5
mov dword [ebp - 0x28], 1
jmp 0x100355e9
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jge 0x10035601
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x10035601
and dword [ebp - 0x40], 0
jmp 0x10035608
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x10035623
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10035623
mov dword [ebp - 0x1c], 1
jmp 0x10035627
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
sub eax, 3
cmp eax, 0xac3a6081
jae 0x1003563d
mov dword [ebp - 0x38], 1
jmp 0x10035641
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jl 0x10035654
mov dword [ebp - 0x10], 1
jmp 0x10035658
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0x8bb
je 0x10035672
mov dword [ebp - 0x30], 1
jmp 0x10035676
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x10035689
mov dword [ebp - 0x20], 1
jmp 0x1003568d
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jne 0x100356a0
mov dword [ebp - 0x24], 1
jmp 0x100356a4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov ecx, 0x95a
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
cmp ecx, eax
jge 0x100356c3
mov dword [ebp - 0x2c], 1
jmp 0x100356c7
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x100356da
mov dword [ebp - 0x34], 1
jmp 0x100356de
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0
je 0x100356ed
mov dword [ebp - 0x3c], 1
jmp 0x100356f1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
sub edx, dword [ecx]
cmp dword [eax], edx
jg 0x10035709
mov dword [ebp - 0x44], 1
jmp 0x1003570d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x10035765
lea eax, [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1003573a
push 0
call dword [sym.imp.COMDLG32.dll_FindTextW]
jmp 0x10035765
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10035765
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esp, ebp
pop ebp
ret