Function at 0x10023e30
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10088240
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x88], 0
push 0x18
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CStringBufferW.0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
call fcn.1003f120
mov edi, dword [esp + 0x38]
push 0x18
push str.SoftwareConduitIEHook
push dword [esp + 0x3c]
push edi
call fcn.1006fb74
add esp, 0x10
mov dword [esp + 0x30], 0x18
mov dword [esp + 0x34], 0x19
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.10015e60
mov dword [esp + 0x5c], vtable.CStringBufferW.0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 4
call fcn.100436b0
mov dword [esp + 0x18], vtable.CSetupRegW.0
push 0
lea ecx, [esp + 0x60]
push ecx
push str.ActiveHookToolbarName
push edi
push eax
mov byte [esp + 0x9c], 5
call fcn.1004c5d0
mov byte [esp + 0x88], 4
mov ebx, dword [esp + 0x68]
test eax, eax
jne 0x10023f49
xor esi, esi
jmp 0x1002417d
mov byte [esp + 0x88], 6
push 0x18
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CStringBufferW.0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.1003ea90
mov byte [esp + 0x88], 7
test ebx, ebx
je 0x10023fc2
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x10023fb8
lea ecx, [eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
jne 0x10023fad
mov eax, dword [esp + 0x28]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x10023fb8
cmp eax, 0x2f
je 0x10023fb8
push 0x5c
lea ecx, [esp + 0x20]
call fcn.1003eea0
push ebx
lea ecx, [esp + 0x20]
call fcn.1003ef80
xor edi, edi
mov dword [esp + 0x4c], vtable.CStringBufferW.0
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov byte [esp + 0x88], 8
call fcn.10045b20
cmp eax, 0xa
jne 0x10023ff7
mov eax, str.Hook64DllName
cmp dword [0x100f252c], edi
jne 0x10023ffc
mov eax, str.HookDllName
mov dword [esp + 0x18], eax
xor ebx, ebx
mov byte [esp + 0x88], 9
mov dword [esp + 0x3c], vtable.CStringBufferW.0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
test eax, eax
je 0x10024063
mov esi, eax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10024027
sub esi, ecx
sar esi, 1
je 0x10024063
push esi
lea ecx, [esp + 0x40]
call fcn.1003f120
mov ebx, dword [esp + 0x48]
push esi
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push ebx
call fcn.1006fb74
lea eax, [esi + 1]
add esp, 0x10
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0xa
call fcn.100436b0
mov dword [esp + 0x18], vtable.CSetupRegW.0
mov esi, dword [ebp + 8]
push 0
push esi
push str.HookDllPath
mov byte [esp + 0x94], 0xb
push dword [esp + 0x34]
push eax
call fcn.1004c5d0
mov byte [esp + 0x88], 0xa
test eax, eax
je 0x10024148
cmp dword [esi + 0xc], 0
je 0x10024148
cmp dword [esi + 4], 0
je 0x10024148
lea ecx, [esp + 0x14]
call fcn.100436b0
mov dword [esp + 0x18], vtable.CSetupRegW.0
push 0
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x90], 0xc
mov edi, dword [esp + 0x30]
push ebx
push edi
push eax
call fcn.1004c5d0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x88], 0xa
call fcn.100436b0
mov dword [esp + 0x18], vtable.CSetupRegW.0
push 0
push dword [ebp + 0xc]
mov byte [esp + 0x90], 0xd
push str.HookDllVersion
push edi
push eax
call fcn.1004c5d0
mov byte [esp + 0x88], 0xa
mov edi, dword [esp + 0x58]
test esi, eax
je 0x10024148
test edi, edi
je 0x10024148
cmp dword [esp + 0x50], 0
je 0x10024148
mov ecx, dword [ebp + 8]
push edi
call fcn.1003ef30
mov esi, 1
jmp 0x1002414a
xor esi, esi
test ebx, ebx
je 0x10024157
push ebx
call fcn.1006eaef
add esp, 4
test edi, edi
je 0x10024164
push edi
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10024175
push eax
call fcn.1006eaef
add esp, 4
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10024194
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x100241a1
push ebx
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], vtable.CStringBufferW.0
test eax, eax
je 0x100241ba
push eax
call fcn.1006eaef
add esp, 4
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], vtable.CSeed.0
test edi, edi
je 0x100241e7
push edi
call fcn.1006eaef
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc