Function at 0x1007fd00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x102786b4]
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
test al, 1
jne 0x1007fd28
or eax, 1
mov dword [0x102786b4], eax
mov eax, dword [0x10278690]
mov dword [0x102786b0], eax
jmp 0x1007fd2d
mov eax, dword [0x102786b0]
mov ecx, dword [0x1019a080]
test byte [eax + ecx], 0x40
jne 0x1007fd65
mov eax, dword [0x1027949c]
test al, 1
jne 0x1007fd56
or eax, 1
mov dword [0x1027949c], eax
mov eax, dword [0x10279194]
mov dword [0x10279498], eax
jmp 0x1007fd5b
mov eax, dword [0x10279498]
cmp byte [eax + ecx], 0
jne 0x1007fd65
mov al, 1
jmp 0x1007fd67
xor al, al
mov byte [edi + 2], al
mov ecx, dword [0x102610b0]
push 0x1007f130
call fcn.1007ec00
mov ebx, dword [0x102610b0]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
lea esi, [ebx + 0xc0]
push esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x1007ffe2
mov eax, dword [ebp - 4]
add ebx, 0x98
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x2c]
movq xmm0, qword [eax + 0x120]
movq qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
nop
cmp dword [ebp - 0x20], eax
ja 0x1007fdfe
jb 0x1007fde3
cmp dword [ebp - 0x24], ecx
jae 0x1007fdfe
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ecx + 0x78]
call fcn.100715f0
mov eax, dword [eax]
cmp dword [eax + 0x10], 1
je 0x1007fe0a
push esi
push ebx
call sub.MSVCP140.dll__Cnd_wait
add esp, 8
jmp 0x1007fdc0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ecx + 0x78]
call fcn.100715f0
lea ecx, [ebp - 0x54]
mov eax, dword [eax]
add eax, 0x18
push eax
call fcn.1007ee70
push esi
call sub.MSVCP140.dll__Mtx_unlock
mov eax, dword [ebp - 0x30]
add esp, 4
and eax, 0xfffffffc
je 0x1007ffdd
add eax, 4
push 0x10277884
push eax
call sub.VCRUNTIME140.dll___std_type_info_compare
add esp, 8
test eax, eax
jne 0x1007ffdd
lea eax, [ebp - 0x54]
mov bl, byte [eax]
mov eax, dword [ebp - 0x30]
and eax, 3
sub eax, 1
je 0x1007fe74
sub eax, 1
jne 0x1007fe81
lea eax, [ebp - 0x54]
push eax
jmp 0x1007fe77
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [0x1019a03c]
lea ecx, [ebp - 4]
mov dword [0x1019a034], 0
mov byte [0x1019a010], bl
mov dword [edi + 0x20], eax
mov eax, dword [0x1019a03c]
mov dword [edi + 0x24], eax
lea eax, [ebp - 8]
mov esi, dword [0x1019a03c]
mov dword [ebp - 4], 0
lea edx, [esi - 5]
test edx, edx
mov dword [ebp - 8], edx
cmovns ecx, eax
cmp esi, edx
mov eax, 0x1019a03c
cmovge eax, ecx
mov eax, dword [eax]
mov dword [edi + 0x28], eax
cmp byte [edi + 2], 0
jne 0x1007fef4
mov word [edi + 0x18], 0
mov byte [edi + 0x1a], 0
mov dword [edi + 0x1c], 0
mov dword [0x1019a034], 0
jmp 0x1007ffc1
mov ecx, dword [0x1027c750]
call fcn.1007a480
test al, al
jne 0x1007ff21
cmp byte [0x1026d108], al
jne 0x1007ff21
xor ecx, ecx
cmp byte [0x1026d150], cl
jne 0x1007ff26
cmp byte [0x1026d174], cl
sete cl
inc ecx
jmp 0x1007ff26
mov ecx, 2
cmp dword [edi + 4], ecx
je 0x1007ffc1
cmp ecx, 2
jne 0x1007ff96
cmp byte [edi + 1], 0
jne 0x1007ff61
cmp byte [edi + 0x18], 0
jne 0x1007ff61
cmp byte [edi + 0x19], 0
je 0x1007ff61
cmp dword [edi + 0x1c], 0
jg 0x1007ff61
push dword [edi + 0x24]
lea eax, [edi + 0x3c]
push eax
push dword [0x1019a08c]
call fcn.10099ff0
add esp, 0xc
mov word [edi + 0x18], 0
mov byte [edi + 0x1a], 0
mov dword [edi + 0x1c], 0
mov dword [0x1019a034], 0
mov byte [edi], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0xc], 0
mov dword [edi + 4], 2
jmp 0x1007ffc1
cmp byte [edi + 0x18], 0
jne 0x1007ffbe
cmp byte [edi + 0x19], 0
jne 0x1007ffbe
mov word [edi + 0x18], 1
mov eax, dword [edi + 0x20]
mov dword [edi + 0x1c], eax
mov byte [edi + 0x1a], 1
mov word [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 4], ecx
cmp byte [0x1026d198], 0
pop edi
pop esi
pop ebx
jne 0x1007ffd9
mov eax, dword [0x1027c790]
mov byte [eax + 0xcac99], 0
mov esp, ebp
pop ebp
ret
call fcn.1007f000
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3