Function at 0x140030264
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov rsi, r8
cmp qword [0x1401727a0], r14
mov rdi, rdx
mov rbx, rcx
jne 0x1400302a8
cmp qword [0x1401727b8], r14
je 0x1400302b8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400302b8
call qword [sym.imp.KERNEL32.dll_DebugBreak]
test rbx, rbx
jne 0x1400302c9
lea rcx, str.InstallCrashHandler:_skipping_because__crashDumpPath_n
jmp 0x14003061f
test rsi, rsi
je 0x140030618
mov rdx, rsi
lea rcx, [0x140172250]
call fcn.1400b05e0
call fcn.140030064
mov r9, rsi
lea rcx, str.InstallCrashHandler_crashDumpPath:__s_ncrashFilePath:__s_nsymDir:__s_n
mov r8, rdi
mov rdx, rbx
call fcn.1400b3458
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rbx + r8], r14b
jne 0x140030302
mov r15d, 1
mov rdx, rbx
mov r9d, r15d
xor ecx, ecx
call fcn.1400b3634
mov qword [0x1401727b0], rax
test rdi, rdi
jne 0x14003032f
mov rax, r14
jmp 0x140030348
mov r8, rsi
inc r8
cmp byte [rdi + r8], r14b
jne 0x140030332
mov r9, r15
mov rdx, rdi
xor ecx, ecx
call fcn.1400b3634
mov qword [0x140172248], rax
lea rcx, [rbp - 0x19]
lea rax, [rbp - 1]
mov dword [rbp + 0x1f], r14d
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x19], r14
mov dword [rbp - 9], r14d
mov byte [rbp - 1], r14b
mov dword [rbp - 5], 0x401
call fcn.14002f2b4
xor edx, edx
lea rcx, [rbp - 0x19]
mov bl, al
call fcn.1400b1a0c
mov rdx, qword [rbp - 0x11]
mov qword [0x140172790], rax
test rdx, rdx
je 0x1400303b6
lea rax, [rbp - 1]
cmp rdx, rax
je 0x1400303b6
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jne 0x1400303b0
mov rcx, rdx
call fcn.140107298
jmp 0x1400303b6
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
test bl, bl
je 0x1400303c6
lea rcx, str.InstallCrashHandler:_skipping_because_isWine_n
jmp 0x14003061f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0xa
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
call fcn.14002fef0
mov ecx, 0x10
call fcn.1400f44e0
mov rbx, rax
xor r8d, r8d
lea rax, [0x140143040]
mov edx, 0x20000
xor ecx, ecx
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_HeapCreate]
cmp byte [0x14017228d], r14b
mov qword [rbx + 8], rax
mov qword [0x140172780], rbx
je 0x140030444
call fcn.1400b2af0
mov rcx, rax
mov qword [rsp + 0x28], r14
lea rax, str._SumatraPDF_prerel
lea r9, str.PRE_RELEASE_VER
lea r8, str.prerel_
jmp 0x140030466
call fcn.1400b2af0
lea r9, [0x140142eb0]
mov rcx, rax
mov qword [rsp + 0x28], r9
lea rax, [0x140142eb8]
lea r8, str.rel_
mov qword [rsp + 0x20], rax
call fcn.1400b0630
xor r9d, r9d
lea r8, str._64.pdb.lzsa
mov rdx, rax
xor ecx, ecx
call fcn.1400b0768
mov rdx, rsi
mov qword [0x1401727a8], rax
lea rcx, [0x140139dc1]
call fcn.1400b2ccc
mov rcx, rax
call fcn.140022004
xor r8d, r8d
lea rcx, [rbp - 0x29]
mov rdx, rax
call fcn.1400b4c2c
mov rsi, qword [rbp - 0x29]
test rsi, rsi
je 0x14003057d
mov rdx, rsi
lea rcx, [0x14013c758]
call fcn.1400c7300
mov rdi, rax
mov rbx, qword [rax + 0x258]
test rbx, rbx
je 0x140030517
mov rdx, qword [rbx + 0x20]
lea rcx, [rbx + 0x28]
cmp rdx, rcx
je 0x14003050a
mov rcx, qword [rbx]
test rdx, rdx
je 0x140030506
test rcx, rcx
jne 0x140030500
mov rcx, rdx
call fcn.140107298
jmp 0x140030506
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
mov qword [rbx + 0x20], r14
mov edx, 0xa8
mov rcx, rbx
call fcn.1400f451c
mov ecx, 0xa8
call fcn.1400f44e0
xor edx, edx
mov r8d, 0x80
mov rbx, rax
lea rcx, [rax + 0x28]
mov qword [rax], r14
mov qword [rax + 0x20], rcx
mov qword [rax + 0x18], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], 0xf
call fcn.14012a960
xor r8d, r8d
mov qword [rdi + 0x258], rbx
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14005aff4
mov rax, qword [rbp - 0x29]
mov rcx, rdi
mov qword [0x140172798], rax
call fcn.14005b190
mov rcx, rsi
call fcn.140107298
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1401727a0], rax
test rax, rax
jne 0x1400305a2
lea rcx, str.InstallCrashHandler:_skipping_because__gDumpEvent_n
jmp 0x14003061f
mov qword [rsp + 0x28], r14
lea r8, [0x14002f814]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401727b8], rax
test rax, rax
jne 0x1400305d5
lea rcx, str.InstallCrashHandler:_skipping_because__gDumpThread_n
jmp 0x14003061f
lea rcx, [0x14002f940]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rdx, [0x14002f8a4]
mov ecx, r15d
mov qword [0x140172778], rax
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rdx, [0x14003023c]
mov ecx, SafeArrayCopy
call fcn.140109178
lea rcx, [0x14003025c]
call fcn.140108d00
jmp 0x140030626
lea rcx, str.InstallCrashHandler:_skipping_because__SetSymbolsDir___n
xor edx, edx
call fcn.1400b31d8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f44c0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret