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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10039538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x58], 0x1003cbd4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov eax, 0x1003cbc0
mov dword [esp + 0x88], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov esi, dword [ebp + 0x10]
mov byte [esp + 0x88], 3
mov eax, dword [esi + 4]
add eax, 0x18
push eax
push 0x100435b8
call dword [sym.imp.msvcrt.dll_wcscmp]
add esp, 8
test eax, eax
je 0x1000f0f8
mov ebx, 0x1003cbc0
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 4
cmp eax, edi
je 0x1000f08f
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], 5
cmp eax, edi
je 0x1000f0b5
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x48]
mov byte [esp + 0x88], 6
cmp eax, edi
je 0x1000f0d6
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], 0x1003cbd4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], 7
cmp eax, edi
jmp 0x1000f466
lea ecx, [esp + 0x30]
push ecx
push 1
mov ecx, esi
call fcn.10003280
lea edx, [esp + 0x44]
mov ecx, esi
push edx
push 2
call fcn.10003280
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push 4
call fcn.10003280
lea ecx, [esp + 0x58]
push ecx
push 3
mov ecx, esi
call fcn.10003470
mov edx, dword [esi]
push 0x100444cc
mov ecx, 0x10045388
mov dword [esp + 0x14], edx
call fcn.10037df2
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
je 0x1000f1e0
mov ebx, 0x1003cbc0
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 8
cmp eax, edi
je 0x1000f177
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], 9
cmp eax, edi
je 0x1000f19d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x48]
mov byte [esp + 0x88], 0xa
cmp eax, edi
je 0x1000f1be
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], 0x1003cbd4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], 0xb
cmp eax, edi
jmp 0x1000f466
cmp ecx, dword [esp + 0x38]
je 0x1000f275
mov ebx, 0x1003cbc0
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 0xc
cmp eax, edi
je 0x1000f20c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], 0xd
cmp eax, edi
je 0x1000f232
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x48]
mov byte [esp + 0x88], 0xe
cmp eax, edi
je 0x1000f253
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], 0x1003cbd4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], 0xf
cmp eax, edi
jmp 0x1000f466
mov eax, dword [ebx + 0x70]
xor edx, edx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x6c], 0x1003cbd4
mov dword [esp + 0x70], edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], eax
xor esi, esi
cmp ecx, edi
mov byte [esp + 0x88], 0x10
mov dword [esp + 0x14], esi
jle 0x1000f2fb
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
mov ecx, dword [ecx + esi*4]
shl ecx, 4
mov edi, dword [ecx + edi]
xor ecx, ecx
test eax, eax
jle 0x1000f2d4
mov esi, dword [edi + 0x10]
cmp esi, dword [edx]
je 0x1000f2d0
inc ecx
add edx, 4
cmp ecx, eax
jl 0x1000f2c4
mov esi, dword [esp + 0x14]
cmp ecx, eax
jne 0x1000f2ea
mov ecx, dword [edi + 0x10]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.10015040
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x1000f2aa
mov esi, dword [ebp + 8]
cmp eax, esi
je 0x1000f3a9
mov ebx, 0x1003cbd4
mov dword [esp + 0x6c], ebx
test edx, edx
mov byte [esp + 0x88], 0x11
je 0x1000f324
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov edi, 0x1003cbc0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 0x12
test eax, eax
je 0x1000f34f
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], 0x13
test eax, eax
je 0x1000f370
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x88], 0x14
test eax, eax
je 0x1000f391
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x88], 0x15
jmp 0x1000f460
lea edx, [esp + 0x6c]
mov ecx, ebx
push edx
push esi
call fcn.1000c910
test al, al
jne 0x1000f48a
mov ebx, 0x1003cbd4
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x70]
mov byte [esp + 0x88], 0x16
test eax, eax
je 0x1000f3e0
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov edi, 0x1003cbc0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 0x17
test eax, eax
je 0x1000f40b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x34]
mov byte [esp + 0x88], 0x18
test eax, eax
je 0x1000f42c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov byte [esp + 0x88], 0x19
test eax, eax
je 0x1000f44d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x88], 0x1a
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1000f471
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
jle 0x1000f4af
lea edi, [ebx + 0xc8]
lea eax, [edi + 0x3c]
push eax
call fcn.10003670
push edi
call fcn.10003670
add esp, 8
add edi, 0x14
dec esi
jne 0x1000f494
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x60]
xor ecx, ecx
test eax, eax
jle 0x1000f50d
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + ecx*4]
mov edx, dword [esp + 0x18]
shl eax, 4
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x48]
lea edx, [edx + ecx*8]
mov edi, dword [edx]
mov dword [eax + 0x28], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x34]
lea edx, [edx + ecx*8]
mov edi, dword [edx]
mov dword [eax + 0x30], edi
mov edx, dword [edx + 4]
mov dword [eax + 0x34], edx
mov edx, dword [esp + 0x20]
lea edx, [edx + ecx*8]
inc ecx
mov edi, dword [edx]
mov dword [eax + 0x38], edi
mov edx, dword [edx + 4]
mov byte [eax + 0x40], 1
mov dword [eax + 0x3c], edx
mov eax, dword [esp + 0x60]
cmp ecx, eax
jl 0x1000f4b9
push 0x100444bc
mov ecx, 0x10045388
call fcn.10037df2
cmp esi, 1
mov dword [esp + 0x18], 1
jle 0x1000f5cd
lea eax, [ebx + 0x120]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor edx, edx
mov esi, dword [eax]
test esi, esi
jle 0x1000f5ae
mov edi, dword [eax - 4]
mov ecx, dword [edi]
mov al, byte [ecx + 0x40]
test al, al
je 0x1000f5a6
mov eax, dword [esp + 0x10]
fld qword [eax + 0x68]
fsub qword [ecx + 0x28]
fabs
fcomp qword [0x1003cb98]
fnstsw ax
test ah, 0x41
je 0x1000f656
mov eax, dword [esp + 0x10]
fld qword [eax + 0x70]
fsub qword [ecx + 0x30]
fabs
fcomp qword [0x1003cb98]
fnstsw ax
test ah, 0x41
je 0x1000f6f4
mov eax, dword [esp + 0x10]
fld qword [eax + 0x78]
fsub qword [ecx + 0x38]
fabs
fcomp qword [0x1003cb98]
fnstsw ax
test ah, 0x41
je 0x1000f6f4
inc edx
add edi, 4
cmp edx, esi
jl 0x1000f546
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x1000f537
push 0x100444ac
mov ecx, 0x10045388
call fcn.10037df2
mov eax, dword [ebx + 0xd0]
xor esi, esi
xor edi, edi
test eax, eax
jle 0x1000f765
mov ecx, dword [ebx + 0xcc]
mov eax, dword [ecx + edi*4]
cmp word [eax + 0x1a], 0
je 0x1000f646
mov cl, byte [eax + 0x40]
inc esi
test cl, cl
jne 0x1000f646
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1000f6f4
mov dl, byte [ecx + 0x40]
mov byte [eax + 0x40], dl
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
mov ecx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], ecx
mov cl, byte [eax + 0x40]
test cl, cl
je 0x1000f6f4
mov eax, dword [ebx + 0xd0]
inc edi
cmp edi, eax
jl 0x1000f5ee
jmp 0x1000f765
mov dword [esp + 0x6c], 0x1003cbd4
mov eax, dword [esp + 0x70]
mov byte [esp + 0x88], 0x1b
test eax, eax
je 0x1000f677
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x1003c7d0
mov dword [esp + 0x1c], 0x1003cbc0
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x20]
mov byte [esp + 0x88], 0x1c
test eax, eax
je 0x1000f6a1
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x88], 1
call fcn.10013f70
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0
call fcn.10013f70
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 0xffffffff
call fcn.10014180
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 3
call fcn.10014180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.10013f70
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 1
call fcn.10013f70
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0
call fcn.10013f70
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 0xffffffff
call fcn.10014180
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x10045388
call sub.mfc42u.dll_CString::Empty
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xd0]
cdq
idiv esi
xor edx, edx
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x1000f814
lea ecx, [eax + eax*2]
shl ecx, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x70]
mov ecx, dword [ebx + 0xcc]
mov ecx, dword [ecx + edx*4]
cmp word [ecx + 0x1a], 0
je 0x1000f809
test eax, eax
jle 0x1000f809
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, edi
add edi, eax
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 0xcc]
add ecx, 0x30
dec esi
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x28]
mov dword [ecx - 0x38], edi
mov eax, dword [eax + 0x2c]
mov dword [ecx - 0x34], eax
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x30]
mov dword [ecx - 0x30], edi
mov eax, dword [eax + 0x34]
mov dword [ecx - 0x2c], eax
mov eax, dword [ebx + 0xcc]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x38]
mov dword [ecx - 0x28], edi
mov eax, dword [eax + 0x3c]
mov dword [ecx - 0x24], eax
jne 0x1000f7bc
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0xd0]
inc edx
cmp edx, ecx
jl 0x1000f79a
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 3
call fcn.10014180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.10013f70
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 1
call fcn.10013f70
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 0
call fcn.10013f70
lea ecx, [esp + 0x58]
mov dword [esp + 0x88], 0xffffffff
call fcn.10014180
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc