Function at 0x4530c8
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3c0
xor r15d, r15d
mov rbx, r8
test r8, r8
jne 0x453100
xor al, al
jmp 0x453381
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov r12d, 0xff
movzx r9d, ax
mov edx, r12d
lea r8, str.utm_codepage_u
mov rcx, rbx
call fcn.00405a98
lea esi, [r12 + 1]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x40]
call fcn.00424830
lea r14d, [r12 - 1]
mov dword [rsp + 0x28], esi
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], r14d
lea r8, [0x0048d8c4]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMetaQuotes_Software
call fcn.00404704
mov edi, 0x2710
test al, al
je 0x45317b
lea rcx, [rsp + 0x40]
call fcn.00436f70
cmp rax, rdi
jge 0x4531b6
mov dword [rsp + 0x28], esi
lea r9, [rsp + 0x40]
lea r8, [0x0048d8c4]
mov dword [rsp + 0x20], r14d
lea rdx, str.SOFTWAREMetaQuotes_Software
mov rcx, 0xffffffff80000001
call fcn.00404704
test al, al
je 0x4531bd
lea rcx, [rsp + 0x40]
call fcn.00436f70
cmp rax, rdi
jl 0x4531bd
movzx eax, word [rsp + 0x40]
jmp 0x4531c5
mov eax, r15d
mov word [rsp + 0x40], ax
test ax, ax
je 0x453220
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], 0x7f
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x453220
lea r8, str.utm_uniq
mov rdx, r12
mov rcx, rbx
call fcn.00409178
lea r8, [rbp + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.00409178
cmp byte [0x004e1954], r15b
je 0x45324d
lea r8, str.utm_link
mov rdx, r12
mov rcx, rbx
call fcn.00409178
lea r8, [0x004e1954]
mov rdx, r12
mov rcx, rbx
call fcn.00409178
mov r9, r12
lea r8, [rbp + 0xc0]
lea rdx, [0x00496c48]
call fcn.00452f90
test al, al
je 0x453379
lea rcx, [0x004e0f30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x004e19f0], r15d
je 0x453359
mov rdi, qword [0x004e19e8]
test rdi, rdi
je 0x453359
lea r8, [rbp + 0xc0]
mov rdx, rdi
call fcn.00452ee4
test al, al
je 0x453326
lea rsi, [rdi + 0x80]
mov rcx, rsi
lea rdx, str.utm_campaign
call fcn.004795e0
test eax, eax
je 0x4532d5
lea rdx, str.utm_source
mov rcx, rsi
call fcn.004795e0
test eax, eax
jne 0x453321
lea r14, [rdi + 0xc0]
cmp byte [r14], r15b
je 0x453321
lea r8, [0x0048d9b0]
mov rdx, r12
mov rcx, rbx
call fcn.00409178
mov r8, rsi
mov rdx, r12
mov rcx, rbx
call fcn.00409178
lea r8, [0x0048d9b4]
mov rdx, r12
mov rcx, rbx
call fcn.00409178
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.00409178
test rdi, rdi
je 0x453359
mov rcx, qword [0x004e19e8]
test rcx, rcx
je 0x453359
cmp rdi, rcx
jb 0x453359
mov eax, dword [0x004e19f0]
mov edx, dword [0x004e19f8]
dec eax
imul eax, edx
add rax, rcx
cmp rdi, rax
jae 0x453359
add rdi, rdx
jne 0x453295
lea rcx, [0x004e0f30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x453379
cmp al, 0x20
jne 0x453371
mov byte [rbx], 0x2b
jmp 0x453376
jge 0x453376
mov byte [rbx], 0x5f
inc rbx
mov al, byte [rbx]
test al, al
jne 0x453368
mov al, 1
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret