Function at 0x1400519c0
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x140051c81
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x140051a39
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.1400e6da0
test al, al
je 0x140051a28
lea rcx, [rdi + 8]
call fcn.140079df0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140051a28
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rdi + 8]
call fcn.140079df0
mov rcx, rdi
call fcn.14017b254
mov rdi, qword [rsi + 0x58]
test rdi, rdi
je 0x140051a79
mov rax, qword [rsi + 0x60]
mov rcx, rdi
cmp rax, rdi
je 0x140051a70
lea rbx, [rax - 0x18]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140051a64
mov qword [rax - 0x10], rcx
call fcn.14017b254
mov rax, rbx
cmp rbx, rdi
jne 0x140051a4e
mov rcx, qword [rsi + 0x58]
mov qword [rsi + 0x60], rdi
call fcn.14017b254
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x140051a8f
call fcn.14017b220
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x140051ad8
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.1400e6da0
test al, al
je 0x140051ac7
lea rcx, [rdi + 8]
call fcn.140079df0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140051ac7
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rdi + 8]
call fcn.140079df0
mov rcx, rdi
call fcn.14017b254
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x140051b1a
call fcn.140105b90
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402a45d0], 0
je 0x140051bad
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x1401e7f70.0]
mov qword [rsi + 0x28], 0
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jb 0x140051b5c
call fcn.140105b90
mov rdi, qword [rsi + 0x20]
cmp qword [0x1402a45d0], 0
je 0x140051be7
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x1401e7f70.0]
mov qword [rsi + 0x20], 0
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jb 0x140051b9e
call fcn.140105b90
mov rdi, qword [rsi + 0x18]
cmp qword [0x1402a45d0], 0
je 0x140051c21
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x1401e7f70.0]
mov qword [rsi + 0x18], 0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140053dd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140051ca2
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140051c57
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
jmp 0x140051c5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140051ca9
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140051c65
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
jmp 0x140051c69
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14027d081]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140051cb0
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140051c73
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
jmp 0x140051c77
xor ecx, ecx
mov dl, 1
call fcn.140005a10
jmp 0x140051afc
xor ecx, ecx
mov dl, 1
call fcn.140005a10
jmp 0x140051b3e
xor ecx, ecx
mov dl, 1
call fcn.140005a10
jmp 0x140051b80
test rcx, rcx
jne 0x1400519d7
cmp dword [rsi + 0x14], 0
jne 0x140051c9b
cmp qword [rsi + 8], 0
je 0x1400519f0
xor ecx, ecx
jmp 0x1400519d7
xor ecx, ecx
jmp 0x140051be3
xor ecx, ecx
jmp 0x140051c1d
xor ecx, ecx
jmp 0x140051c53