Function at 0x140007510
Capabilities:
Create thread
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x14008b040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov edi, r9d
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov r9, qword [0x14008fa08]
mov r8d, 0x409
movzx r10d, ax
mov ecx, dword [r9 + 0x1024]
test ecx, ecx
je 0x140007590
mov r11d, 0x3ff
mov edx, r8d
and r10w, r11w
nop word [rax + rax]
and cx, r11w
cmp cx, r10w
je 0x1400076ca
mov eax, dword [r9 + rdx*4 + 4]
inc rdx
inc r8d
movzx ecx, ax
test eax, eax
jne 0x140007570
call fcn.140012150
mov ebx, eax
test eax, eax
je 0x1400075a6
mov dword [0x14008fa10], eax
call fcn.1400123f0
mov dword [0x14008bc80], ebx
call fcn.140001500
lea rax, [0x140008800]
mov dword [rsp + 0x60], 0x50
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov rax, qword [0x14008f0e0]
mov edx, 0x8b
mov rcx, rsi
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x64], 3
mov qword [rsp + 0x70], rbp
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x14007ea60]
lea rsi, str.LassoLogViewerClass
mov rcx, qword [rsp + 0x78]
mov edx, 0x8b
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa0], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rbx, qword [0x14008f0e0]
lea rdx, str.darkmode_disable
lea rcx, [0x14008fb30]
mov qword [0x14008f080], rbx
call fcn.140011100
cmp byte [rax], bpl
jne 0x140007679
call fcn.140010a00
mov qword [rsp + 0x58], rbp
lea r8, [0x14007c460]
mov qword [rsp + 0x50], rbx
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
jne 0x1400076d6
jmp 0x1400077a9
movsxd rax, r8d
mov ebx, dword [r9 + rax*4]
jmp 0x1400075a6
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rax, [rsp + 0xb0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400074a0]
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14000771d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0x66
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rsp + 0xb8]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400077a2
mov rcx, qword [0x14008f078]
lea r8, [rsp + 0xb8]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140007788
lea rcx, [rsp + 0xb8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xb8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140007750
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400454d0
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret