Function at 0x140035628
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, r8
xor edx, edx
mov rdi, rcx
lea rcx, [rbp - 0x28]
lea r8d, [rdx + 0x28]
call fcn.1400547d0
xor eax, eax
lea r9, [rbp + 0x38]
and dword [rbp - 0x40], eax
lea r8, [rbp - 0x10]
and dword [rbp + 0x38], eax
mov rcx, rdi
mov qword [rbp - 0x38], rax
lea edx, [rax + 1]
mov qword [rbp - 0x30], rax
call fcn.140076d10
mov ebx, eax
test eax, eax
jns 0x1400356de
mov edx, 0x9b
lea rax, str.Failed_to_read_splash_screen_configuration_resource.
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
mov r8d, 5
mov dword [rsp + 0x20], ebx
lea r9d, [rdx + 0x65]
call fcn.1400012b4
lea rax, str.Failed_to_load_splash_screen_configuration.
mov edx, 0x53
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
mov r8d, 5
mov dword [rsp + 0x20], ebx
mov r9d, 0x100
call fcn.1400012b4
jmp 0x14003582e
mov rcx, qword [rbp - 0x10]
mov edx, dword [rcx]
test edx, edx
je 0x14003582e
cmp edx, 1
je 0x140035743
mov ebx, 0x8007000d
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
mov edi, 0x5c
mov r8d, ebx
mov edx, edi
call fcn.1400012b0
mov rax, qword [rbp - 0x10]
lea r8d, [rdi - 0x57]
mov r9d, 0x100
mov edx, edi
mov ecx, dword [rax]
lea rax, str.Invalid_splash_screen_type:__i
mov dword [rsp + 0x30], ecx
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.1400012b4
jmp 0x14003582e
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x1400357a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x60
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_create_modal_event.
mov edx, edi
jmp 0x1400356b8
mov qword [rbp - 0x28], rax
lea r9, [rbp - 0x28]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x20], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140035240]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
mov qword [rbp - 0x18], r14
mov qword [rbp - 8], rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140035819
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x69
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnengine_splashscreen.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_create_UI_thread.
jmp 0x140035799
xor r8d, r8d
lea rdx, [rbp - 0x38]
or r9d, 0xffffffff
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140035842
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x30], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140035851
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret