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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d3e9
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.00411110
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 0x412324
push 0x451dbc
call fcn.00414fac
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x412324
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f6d
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 0x412373
push 0x451dbc
call fcn.00414fac
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x412373
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f6d
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.004107b0
add esp, 8
push 0x412730
push 1
push 0x20
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
call fcn.004150b6
mov eax, dword [0x451dbc]
cmp eax, dword [ebx + 4]
jle 0x4123f6
push 0x451dbc
call fcn.00414fac
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x4123f6
mov byte [ebp - 4], 6
call fcn.0040da30
push 0x451dbc
mov dword [0x451dc0], eax
mov byte [ebp - 4], 5
call fcn.00414f6d
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 0x412440
push 0x451dd0
call fcn.00414fac
add esp, 4
cmp dword [0x451dd0], 0xffffffff
jne 0x412440
push 0x451dd0
mov dword [0x451dc8], 0
call fcn.00414f6d
add esp, 4
push 0x12d4a
push 0x435460
mov ecx, 0x451dc8
call fcn.004111b0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
sub esp, 0x10
movzx eax, ax
mov ecx, esp
push eax
call fcn.0040d200
call fcn.00412ad0
add esp, 0x10
call fcn.0040ff10
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 0x4124b3
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 0x41254f
lea edi, [esi + 0x17]
nop dword [eax + eax]
cmp dword [0x451280], 0
je 0x412513
mov eax, dword [ebx]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4124f5
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 0x412547
mov ebx, dword [ebx]
add ebx, edi
push 0x4350f0
mov ecx, ebx
call fcn.00412ec0
test eax, eax
jne 0x412541
lea eax, [ebx + 0x18]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x412541
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f6c0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
inc esi
add edi, 0x18
cmp esi, eax
jb 0x4124e0
cmp dword [0x451280], 0
je 0x41257d
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 0x4125b5
push str.scdt_securitydomain
lea ecx, [ebp - 0x28]
call fcn.00412ec0
test eax, eax
jne 0x4125b5
sub esp, 0x28
mov eax, esp
mov dword [eax + 0x24], edi
cmp dword [ebp + 0x2c], edi
je 0x4125ab
mov dword [eax], vtable.std::_Func_impl_class__lambda_b61b87b9a8c2730a2b60da767491b5a3___class_std::allocator_int___int___.0
mov dword [eax + 0x24], eax
call fcn.00411880
add esp, 0x28
mov edi, eax
cmp dword [0x451280], 0
je 0x4125d8
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 0x412635
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
jbe 0x4125f4
call fcn.0041a6f3
add eax, eax
cmp eax, 0x1000
jb 0x41262c
test byte [ebp - 0x28], 0x1f
je 0x412608
call fcn.0041a6f3
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x412614
call fcn.0041a6f3
sub ecx, eax
cmp ecx, 4
jae 0x412620
call fcn.0041a6f3
cmp ecx, 0x23
jbe 0x41262a
call fcn.0041a6f3
mov ecx, eax
push ecx
call fcn.004150b1
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 0x4126cf
push 0x451dbc
call fcn.00414fac
add esp, 4
cmp dword [0x451dbc], 0xffffffff
jne 0x4126cf
mov eax, dword [0x451db8]
test eax, eax
jne 0x4126bd
push 0x43433c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4126ad
push str.SciterAPI
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4126a6
call eax
mov dword [0x451db8], eax
jmp 0x4126b2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x451db8]
test eax, eax
jne 0x4126bd
push 0xffffffffffffffff
call fcn.0041a503
push 0x451dbc
mov dword [0x451dc0], eax
call fcn.00414f6d
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 0x412708
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 0x412708
push edx
call fcn.004150b1
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.0041498e
mov esp, ebp
pop ebp
ret