Function at 0x4069b0
Capabilities:
Check mutex on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ac1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4de310]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x4de310]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x406a12
or eax, 0xffffffff
jmp 0x406e00
call fcn.004114f0
lea eax, [esp + 0x80]
push eax
call fcn.004154a0
add esp, 4
push 7
push str._bdrox_
lea ecx, [esp + 0x88]
mov dword [esp + 0xb0], 0
call fcn.00406750
lea eax, [esp + 0x80]
push eax
call fcn.004153e0
add esp, 4
test al, al
jne 0x406a69
lea eax, [esp + 0x80]
push eax
call fcn.00415400
add esp, 4
push 4
push str.log_
lea ecx, [esp + 0x88]
call fcn.00406750
lea eax, [esp + 0x80]
push eax
call fcn.004153e0
add esp, 4
test al, al
jne 0x406aa0
lea eax, [esp + 0x80]
push eax
call fcn.00415400
add esp, 4
push str.install.log
lea edx, [esp + 0x84]
lea ecx, [esp + 0x24]
call fcn.00407020
mov ecx, eax
sub esp, 0x14
xor eax, eax
mov edx, esp
mov dword [esp + 0x34], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov byte [esp + 0xc0], 2
mov esi, dword [ecx + 0x14]
cmp esi, 8
jb 0x406ae7
mov eax, dword [ecx]
jmp 0x406ae9
mov eax, ecx
mov ebx, dword [ecx + 0x10]
mov dword [esp + 0x28], ebx
cmp esi, 8
jb 0x406af7
mov ecx, dword [ecx]
mov esi, dword [esp + 0x28]
lea eax, [eax + esi*2]
push eax
push ecx
mov ecx, edx
call fcn.00407110
mov byte [esp + 0xc0], 1
call fcn.00411520
mov ebx, dword [esp + 0x2c]
add esp, 0x18
mov byte [esp + 0xa8], 0
cmp dword [esp + 0x34], 8
jb 0x406b36
push dword [esp + 0x20]
call fcn.004781a0
add esp, 4
push str.ldspace_install_start_
push 0x2f
push str.LDSpaceImpl::entrance
call fcn.00411450
add esp, 0xc
push ebx
push str.cmd:_s
push 0x30
push str.LDSpaceImpl::entrance
call fcn.00411450
add esp, 0x10
push str.194F48E7_C3C1_40C4_8798_8BD6CEDD5796
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x406bb0
call ebx
cmp eax, 0xb7
jne 0x406bb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.install_exist
push 0x34
push str.LDSpaceImpl::entrance
call fcn.00411450
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
jmp 0x406de5
push dword [esp + 0x14]
mov ecx, 0x4e5cc8
call fcn.00408130
mov edx, 0x4e5e54
mov ecx, 0x4e5df4
call fcn.00405cb0
lea eax, [esp + 0x68]
push eax
call fcn.004154a0
add esp, 4
push 0xd
push str._bdrox_fonts_
lea ecx, [esp + 0x70]
mov byte [esp + 0xb0], 3
call fcn.00406750
lea eax, [esp + 0x68]
push eax
call fcn.004153e0
add esp, 4
test al, al
jne 0x406c10
lea eax, [esp + 0x68]
push eax
call fcn.00415400
add esp, 4
push 0x4ce730
push 0x83
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x406c71
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x406c6b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x406c6b
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x68]
push 0
cmovae ecx, dword [esp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.004230a0
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [esp + 0x38]
mov ecx, 0x4e5cc8
push eax
call fcn.0040b690
mov byte [esp + 0xa8], 4
cmp dword [esp + 0x48], 0
je 0x406cc9
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
push 0
cmovae eax, dword [esp + 0x3c]
push 0x10
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceExW]
mov esi, eax
call ebx
push eax
push esi
push str.load_Noto_Sans_fonts_ret:_d__error:_d
push 0x4e
push str.LDSpaceImpl::entrance
call fcn.00411450
add esp, 0x14
xor eax, eax
mov dword [esp + 0x64], 7
push 0xffffffffffffffff
push eax
push 0x4e5e6c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
call fcn.004059a0
mov byte [esp + 0xa8], 5
lea esi, [esp + 0x50]
cmp dword [esp + 0x64], 8
lea edx, [esp + 0x50]
mov ecx, edi
cmovae esi, dword [esp + 0x50]
cmovae edx, dword [esp + 0x50]
sub esp, 8
push esi
call fcn.004074a0
mov ecx, dword [esp + 0x24]
add esp, 0xc
call fcn.00406e30
call fcn.00433d30
cmp dword [esp + 0x48], 0
je 0x406d48
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
push 0x7d0
mov ecx, 0x4e5d48
call fcn.0041d340
call fcn.00411510
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x64], 8
mov esi, 1
jb 0x406d7a
push dword [esp + 0x50]
call fcn.004781a0
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
cmp dword [esp + 0x4c], 8
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
jb 0x406da4
push dword [esp + 0x38]
call fcn.004781a0
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x406dce
push dword [esp + 0x68]
call fcn.004781a0
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
cmp dword [esp + 0x94], 8
jb 0x406dfe
push dword [esp + 0x80]
call fcn.004781a0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00478043
mov esp, ebp
pop ebp
ret 8