Function at 0x4185b0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push 0x70
mov dword [ebp - 0x20], 0x4187b0
mov dword [ebp - 0x1c], 0
call fcn.00461273
add esp, 4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00408240
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 4
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::subtle::RefCountedThreadSafeBase::constructor_void_]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push edi
mov dword [eax], 0x473b94
mov ecx, dword [esi]
mov dword [eax + 8], ecx
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
call fcn.00403490
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], eax
call fcn.00403490
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x50]
call fcn.00406f60
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x418690
lock inc dword [eax + 4]
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x6c], eax
mov byte [ebp - 4], 7
mov ecx, dword [esi + 0x10]
lea ecx, [ecx + 4]
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::subtle::RefCountedThreadSafeBase::AddRef_void_const]
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::internal::CallbackBase::constructor_class_base::internal::BindStateBase__]
mov dword [ebp - 0x24], 0x41e6a0
push 0
push 0x7d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00403980
add esp, 8
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.brbase.dll_void_const____cdecl_tracked_objects::GetProgramCounter_void_]
push eax
push 0x2da
push str.e:jenkinsworkspace_stm_net_v5_brcapproto_analysis.cpp
push str.bonree::ProtoManage::StopCaptureDateTask
lea ecx, [ebp - 0x48]
call dword [sym.imp.brbase.dll_public:_void___thiscall_tracked_objects::Location::constructor_char_const___char_const___int__void_const__]
mov edx, eax
mov ecx, 1
call fcn.0042d950
add esp, 0xc
lea ecx, [ebp - 0x28]
call dword [sym.imp.brbase.dll_protected:_void___thiscall_base::internal::CallbackBase::destructor_void_]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x418757
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41874d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41874d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov dword [ebp - 4], 9
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x41879a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41879a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41879a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30