Function at 0x1400f0db4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov qword [rcx + 0x510], rsi
add rcx, 0x520
xor edx, edx
call fcn.1400f2814
lea rcx, [rbx + 0x540]
xor edx, edx
mov r8d, 0x5f0
call sub.MSVCR120.dll_memset
lea rcx, [0x1401385c0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400f0e31
lea rdx, str.OpenThread
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1400f0e34
mov rax, rsi
mov qword [rbx + 0xb88], rax
mov rcx, qword [0x140192f90]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.DBGHELP.DLL
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1400f0e95
lea rcx, str.DBGHELP.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
mov qword [rbx], rsi
test rcx, rcx
je 0x1400f1051
lea rdx, str.SymGetOptions
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymSetOptions
mov qword [rbx + 0xb38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymInitialize
mov qword [rbx + 0xb40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymCleanup
mov qword [rbx + 0xb48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymGetModuleBase64
mov qword [rbx + 0xb50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymFromAddr
mov qword [rbx + 0xb58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymGetLineFromAddr64
mov qword [rbx + 0xb60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.StackWalk64
mov qword [rbx + 0xb68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.SymFunctionTableAccess64
mov qword [rbx + 0xb70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.MiniDumpWriteDump
mov qword [rbx + 0xb78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0xb38]
mov qword [rbx + 0xb80], rax
test rcx, rcx
je 0x1400f1043
cmp qword [rbx + 0xb40], rsi
je 0x1400f1043
cmp qword [rbx + 0xb48], rsi
je 0x1400f1043
cmp qword [rbx + 0xb50], rsi
je 0x1400f1043
cmp qword [rbx + 0xb58], rsi
je 0x1400f1043
cmp qword [rbx + 0xb60], rsi
je 0x1400f1043
cmp qword [rbx + 0xb68], rsi
je 0x1400f1043
cmp qword [rbx + 0xb70], rsi
je 0x1400f1043
cmp qword [rbx + 0xb78], rsi
je 0x1400f1043
test rax, rax
je 0x1400f1043
call rcx
or eax, 0x16
mov ecx, eax
call qword [rbx + 0xb40]
cmp dword [0x140194650], esi
je 0x1400f1013
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x1400f101b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
xor edx, edx
mov rcx, rax
mov qword [rbx], rax
lea r8d, [rdx + 1]
call qword [rbx + 0xb48]
test eax, eax
je 0x1400f103e
mov rdx, rdi
mov rcx, rbx
call fcn.1400f1128
jmp 0x1400f1051
mov qword [rbx], rsi
jmp 0x1400f1051
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 8], rsi
cmp qword [rbx + 8], rsi
jne 0x1400f109d
mov qword [rbx + 0xb38], rsi
mov qword [rbx + 0xb40], rsi
mov qword [rbx + 0xb48], rsi
mov qword [rbx + 0xb50], rsi
mov qword [rbx + 0xb58], rsi
mov qword [rbx + 0xb60], rsi
mov qword [rbx + 0xb68], rsi
mov qword [rbx + 0xb70], rsi
mov qword [rbx + 0xb78], rsi
mov qword [rbx + 0xb80], rsi
cmp qword [rbx], rsi
jne 0x1400f10aa
mov rcx, rbx
call fcn.1400f11c0
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret