Function at 0x412230
Capabilities:
Identify system language via api
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d3a9
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
mov dword [ebp - 4], 0
call fcn.004110d0
push str.brand
lea ecx, [ebp - 0x74]
call fcn.0040d420
push str.terra
lea ecx, [ebp - 0x84]
mov edi, eax
call fcn.0040d420
push edi
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0040d0c0
push esi
lea ecx, [ebp - 0x54]
call fcn.0040d0c0
mov byte [ebp - 4], 1
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x451dbc]
mov dword [ebp - 0x44], ebx
cmp eax, dword [ebx + 4]
jle 0x4122e4
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x4122e4
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x451dc0]
mov eax, dword [eax + 0x208]
call eax
mov byte [ebp - 4], 2
mov eax, dword [0x451dbc]
cmp eax, dword [ebx + 4]
jle 0x412333
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x412333
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x84]
push eax
mov eax, dword [0x451dc0]
mov eax, dword [eax + 0x208]
call eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.00410770
add esp, 8
push 0x4126f0
push 1
push 0x20
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
call fcn.00415075
mov eax, dword [0x451dbc]
cmp eax, dword [ebx + 4]
jle 0x4123b6
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x4123b6
mov byte [ebp - 4], 6
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 5
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x451dc0]
push 0
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x451dd0]
cmp eax, dword [ebx + 4]
jle 0x412400
push 0x451dd0
call fcn.00414f6c
add esp, 4
cmp dword [0x451dd0], 0xffffffff
jne 0x412400
push 0x451dd0
mov dword [0x451dc8], 0
call fcn.00414f2d
add esp, 4
push 0x12c6b
push 0x435460
mov ecx, 0x451dc8
call fcn.00411170
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
sub esp, 0x10
movzx eax, ax
mov ecx, esp
push eax
call fcn.0040d200
call fcn.00412a90
add esp, 0x10
call fcn.0040fed0
mov ebx, eax
mov eax, 0x2aaaaaab
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp dword [0x451280], 0
je 0x412473
push edi
push str.RunSciterWindow_1___d_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea esi, [eax + 1]
mov byte [ebp - 4], 7
lea eax, [edi - 1]
mov dword [ebp - 0x40], eax
cmp eax, esi
jbe 0x41250f
lea edi, [esi + 0x17]
nop dword [eax + eax]
cmp dword [0x451280], 0
je 0x4124d3
mov eax, dword [ebx]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4124b5
mov eax, dword [eax]
push eax
push esi
push str.RunSciterWindow_2__d___s_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
mov eax, dword [ebp - 0x40]
add esp, 0x18
cmp dword [ebp - 0x18], 0
jne 0x412507
mov ebx, dword [ebx]
add ebx, edi
push 0x4350f0
mov ecx, ebx
call fcn.00412e80
test eax, eax
jne 0x412501
lea eax, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x412501
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f680
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
inc esi
add edi, 0x18
cmp esi, eax
jb 0x4124a0
cmp dword [0x451280], 0
je 0x41253d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.RunSciterWindow_3___s_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x412575
push str.scdt_securitydomain
lea ecx, [ebp - 0x28]
call fcn.00412e80
test eax, eax
jne 0x412575
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], edi
cmp dword [ebp + 0x2c], edi
je 0x41256b
mov dword [eax], vtable.std::_Func_impl_class__lambda_b61b87b9a8c2730a2b60da767491b5a3___class_std::allocator_int___int___.0
mov dword [eax + 0x24], eax
call fcn.00411840
add esp, 0x28
mov edi, eax
cmp dword [0x451280], 0
je 0x412598
push edi
push str.RunSciterWindow____s_
push 0x434f94
push 0xffffffffffffffff
push 0x4511f4
call fcn.00406390
add esp, 0x14
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4125f5
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x4125b4
call fcn.0041a6b3
add eax, eax
cmp eax, 0x1000
jb 0x4125ec
test byte [ebp - 0x28], 0x1f
je 0x4125c8
call fcn.0041a6b3
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4125d4
call fcn.0041a6b3
sub ecx, eax
cmp ecx, 4
jae 0x4125e0
call fcn.0041a6b3
cmp ecx, 0x23
jbe 0x4125ea
call fcn.0041a6b3
mov ecx, eax
push ecx
call fcn.00415070
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
mov eax, dword [0x451dbc]
cmp eax, dword [ecx + 4]
jle 0x41268f
push 0x451dbc
call fcn.00414f6c
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x41268f
mov eax, dword [0x451db8]
test eax, eax
jne 0x41267d
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41266d
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412666
call eax
mov dword [0x451db8], eax
jmp 0x412672
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x41267d
push 0xffffffffffffffff
call fcn.0041a4c3
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f2d
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x451dc0]
mov eax, dword [eax + 0x208]
call eax
mov edx, dword [ebp + 0x2c]
test edx, edx
je 0x4126c8
lea eax, [ebp + 8]
mov dword [edx], vtable.std::_Func_impl_class__lambda_b61b87b9a8c2730a2b60da767491b5a3___class_std::allocator_int___int___.0
cmp edx, eax
mov dword [edx], vtable.std::_Func_base_int___.0
sete cl
test cl, cl
jne 0x4126c8
push edx
call fcn.00415070
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret