Function at 0x1400bea80
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x20], rcx
xor ebx, ebx
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x18], rbx
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400bf280
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rbx
call fcn.140019590
mov rcx, rax
test rax, rax
je 0x1400bf275
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038ca6.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x10], rbx
mov ecx, dword [rdi]
cmp ecx, 0x200
jg 0x1400bed03
je 0x1400bece2
cmp ecx, 4
jg 0x1400bec60
je 0x1400bec3f
test ecx, ecx
je 0x1400bebf3
sub ecx, 1
je 0x1400bebd2
sub ecx, 1
je 0x1400beb70
cmp ecx, 1
jne case.default.0x1400bef15
lea rdx, str.Control_ID
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400beb60
jmp 0x1400bf13b
mov edx, dword [rdi + 0x20]
lea rcx, [rbp - 0x28]
call fcn.1400be470
mov r8, rax
mov eax, dword [rdi + 0x2c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x28]
mov r8, qword [r8]
lea rdx, str.XML
lea rcx, [rbp - 0x18]
call fcn.14001c4c0
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bec36
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov rbx, qword [rbp - 0x10]
jmp 0x1400bf144
lea rdx, [0x14029e310]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bebe3
jmp 0x1400bf13b
lea rdx, [0x14029df90]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bec04
lea rcx, [rbp - 0x18]
call fcn.140018f50
lea rdx, str.No_error
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bec22
lea rcx, [rbp - 0x10]
call fcn.140018f50
mov rbx, qword [rbp - 0x10]
jmp 0x1400bf144
lea rdx, str.Not_Enough_memory.
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bec50
jmp 0x1400bf13b
sub ecx, 0x100
je 0x1400becc1
sub ecx, 1
je 0x1400beca0
cmp ecx, 1
jne case.default.0x1400bef15
lea rdx, str._Body____.
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bec90
jmp 0x1400bf13b
lea rdx, str._Head____.
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400becb1
jmp 0x1400bf13b
lea rdx, [0x14029e3a0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400becd2
jmp 0x1400bf13b
lea rdx, [0x14029e450]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400becf3
jmp 0x1400bf13b
cmp ecx, 0x301
jg 0x1400beee0
je 0x1400beebe
sub ecx, 0x201
cmp ecx, 0xb
ja case.default.0x1400bef15
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xbf28c]
add rax, rcx
jmp rax
lea rdx, [0x14029e4a0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bed50
jmp 0x1400bf13b
lea rdx, str.WindowHandle
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bed71
jmp 0x1400bf13b
lea rdx, [0x14029e558]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bed92
jmp 0x1400bf13b
lea rdx, str.ThumbImage
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bedb3
jmp 0x1400bf13b
lea rdx, str.ThumbImageLeft
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bedd4
jmp 0x1400bf13b
lea rdx, str.Width
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bedf5
jmp 0x1400bf13b
lea rdx, str.Height
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bee20
jmp 0x1400bf13b
lea rdx, str.TooltipStyle
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bee41
jmp 0x1400bf13b
lea rdx, [0x14029e7c0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bee62
jmp 0x1400bf13b
lea rdx, str.WindowClass_____.
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bee83
lea rcx, [rbp - 0x18]
call fcn.140018f50
lea rdx, str.Cannot_create_a_Window_using_a_specified_WindowClass
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400beea1
lea rcx, [rbp - 0x10]
call fcn.140018f50
mov rbx, qword [rbp - 0x10]
jmp 0x1400bf144
lea rdx, [0x14029e4a0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400beed0
jmp 0x1400bf13b
cmp ecx, 0x400
jg 0x1400bf052
je 0x1400bf031
sub ecx, 0x302
cmp ecx, 7
ja case.default.0x1400bef15
movsxd rax, ecx
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xbf2bc]
add rax, rcx
jmp rax
lea rdx, [0x14029e8e0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bef30
jmp 0x1400bf13b
lea rdx, [0x14029e908]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bef51
jmp 0x1400bf13b
lea rdx, [0x14029e920]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bef72
jmp 0x1400bf13b
lea rdx, [0x14029e990]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bef93
jmp 0x1400bf13b
lea rdx, str.ID__.__ID____.
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400befb4
jmp 0x1400bf13b
lea rdx, str.Command
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400befd5
jmp 0x1400bf13b
lea rdx, str.WindowHandle__._____.
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf000
jmp 0x1400bf13b
lea rdx, [0x14029eb00]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf021
jmp 0x1400bf13b
lea rdx, str.Error_At_Do_XScript
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf042
jmp 0x1400bf13b
sub ecx, 0x500
je 0x1400bf11d
sub ecx, 1
je 0x1400bf0fd
sub ecx, 1
je 0x1400bf0df
sub ecx, 1
je 0x1400bf0c1
cmp ecx, 1
je 0x1400bf0a0
lea rdx, [0x14029ec58]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf090
jmp 0x1400bf13b
lea rdx, str.Html_font_creation_failed
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf0b1
jmp 0x1400bf13b
lea rdx, str.Font_creation_failed
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf0d2
jmp 0x1400bf13b
lea rdx, str.Invalid_parameter
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf0f0
jmp 0x1400bf13b
lea rdx, str.Error_At_XScript_caller
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf110
jmp 0x1400bf13b
lea rdx, str.Internal_error
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400bf130
lea rcx, [rbp - 0x18]
call fcn.140018f50
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x412
cmp ax, cx
jne 0x1400bf1b2
mov rsi, qword [rbp - 0x18]
lea rcx, [rsi - 0x18]
call fcn.140019180
add rax, 0x18
mov qword [r14], rax
mov dword [rbp - 0x30], 1
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bf190
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
lock xadd dword [rsi - 8], edi
sub edi, 1
jg 0x1400bf251
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
mov rax, qword [rax + 8]
jmp 0x1400bf24b
cmp dword [rbx - 0x10], 0
jne 0x1400bf1f6
mov rsi, qword [rbp - 0x18]
lea rcx, [rsi - 0x18]
call fcn.140019180
add rax, 0x18
mov qword [r14], rax
mov dword [rbp - 0x30], 1
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bf1f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
jmp 0x1400bf190
lea rcx, [rbx - 0x18]
call fcn.140019180
add rax, 0x18
mov qword [r14], rax
mov dword [rbp - 0x30], 1
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x1400bf22f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400bf251
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038ca6.0]
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401f74b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019300
nop
mov ecx, 0x80004005
call fcn.140019300
int3