Function at 0x10050ba0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10086d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 2]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov byte [esp + 0x1c], al
lea esi, [edi + 0xa0]
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [esi + 4], ebx
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
or ebp, 0xffffffff
push ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x4c], ebp
call fcn.100570d0
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
mov ecx, esi
call fcn.10032430
mov cl, byte [esp + 0x12]
lea esi, [edi + 0xb0]
mov byte [esp + 0x1c], cl
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
push ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x4c], ebp
call fcn.100570d0
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
mov ecx, esi
call fcn.10032430
mov cl, byte [esp + 0x12]
lea esi, [edi + 0xc0]
mov byte [esp + 0x1c], cl
mov eax, dword [esi + 4]
mov dword [esi + 4], ebx
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
push ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x4c], ebp
call fcn.100570d0
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
mov ecx, esi
call fcn.10032430
lea ebp, [edi + 0x90]
xor esi, esi
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x10050cfd
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x10050cfd
mov edx, dword [edi + 0x94]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x10050cfa
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
jmp 0x10050cd4
lea ecx, [edi + 0xd0]
xor ebp, ebp
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x10050d40
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp ebp, edx
jae 0x10050d40
mov eax, dword [edi + 0xd4]
mov esi, dword [eax + ebp*4]
cmp esi, ebx
je 0x10050d3d
mov ecx, esi
call fcn.10013580
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
inc ebp
jmp 0x10050d09
xor esi, esi
lea ebp, [edi + 0xe0]
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x10050d72
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x10050d72
mov edx, dword [edi + 0xe4]
mov ecx, dword [edx + esi*4]
cmp ecx, ebx
je 0x10050d6f
push 1
call fcn.10050e70
inc esi
jmp 0x10050d48
lea eax, [esp + 0x12]
lea ecx, [esp + 0x1c]
push eax
call fcn.10062d20
lea esi, [edi + 0xf0]
mov ecx, eax
push esi
mov dword [esp + 0x48], 6
call fcn.10057060
or edi, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
call fcn.10044e50
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.10032430
lea ecx, [esp + 0x12]
push ecx
lea ecx, [esp + 0x20]
call fcn.10062d20
mov esi, dword [esp + 0x14]
mov ecx, eax
push esi
mov dword [esp + 0x48], 7
call fcn.10057060
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
call fcn.10044e50
mov ecx, esi
call fcn.10057090
lea edx, [esp + 0x12]
lea ecx, [esp + 0x1c]
push edx
call fcn.10062d20
mov esi, dword [esp + 0x18]
mov ecx, eax
push esi
mov dword [esp + 0x48], 8
call fcn.10057060
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], edi
call fcn.10044e50
mov ecx, esi
call fcn.10057090
lea eax, [esp + 0x13]
lea ecx, [esp + 0x2c]
push eax
call fcn.10062d20
push ebp
mov ecx, eax
mov dword [esp + 0x48], 9
call fcn.10057060
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
call fcn.10044e50
mov ecx, ebp
call fcn.10057090
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret