Function at 0x180007ed0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800ed040]
xor rax, rsp
mov qword [rbp + 0x70], rax
call fcn.1800308b0
cmp byte [0x1800f4223], 0
je 0x180007fca
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1800f43e0]
lea rcx, [rsp + 0x60]
call fcn.18003a7d0
nop
cmp qword [rbp - 0x10], 0
je 0x180007f6f
lea rcx, [rsp + 0x60]
call fcn.180031160
lea rcx, [rsp + 0x70]
call fcn.18003bce0
test rax, rax
jne 0x180007f6f
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.18003b4c0
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp qword [0x1800f44f0], 0
jne 0x180007fca
call fcn.180031c40
call fcn.180030f30
cmp byte [0x1800f4222], 0
jne 0x180007fdc
cmp byte [0x1800f4221], 0
je 0x180007ff5
call fcn.180035420
cmp qword [0x1800f44b0], 0
jne 0x180007ff5
call fcn.180035cf0
call fcn.1800359d0
cmp byte [0x1800f4223], 0
je 0x180008008
call fcn.180042850
call fcn.1800424a0
cmp byte [0x1800f4221], 0
je 0x180008016
call fcn.180042a00
lea r8, [0x1800ed3d0]
cmp qword [0x1800ed3e8], 0xf
cmova r8, qword [0x1800ed3d0]
mov edx, 0xff
lea rcx, [0x1800f4260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov eax, dword [0x1800ed0c0]
mov dword [0x1800f4250], eax
xor esi, esi
mov ebx, esi
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1800f4254], edi
je 0x180008081
cmp rbx, 0x20
jae 0x18000806a
xor ecx, ecx
jmp 0x18000806c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f4254], edi
jne 0x180008060
cmp qword [0x1800f4378], rsi
jne 0x1800080a9
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1800f4378], rax
mov edi, 9
test rax, rax
cmovne edi, esi
mov eax, esi
xchg dword [0x1800f4254], eax
test edi, edi
je 0x1800080ea
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 0x11
lea rdx, str.MH_Initialize_err
lea rcx, [rsp + 0x30]
call fcn.180007dd0
lea rcx, [rsp + 0x30]
call fcn.180007b20
jmp 0x18000810e
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x180043c90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1800f4460], rax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18009f1b0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret