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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x10026e10
mov dword [esi + 0x38], ecx
lea eax, [esi + 0x70]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], 0
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
jmp 0x100263b9
mov ecx, dword [esi + 0x34]
movzx edx, byte [esi + 0x3c]
mov eax, dword [esi + 0x2c]
mov byte [eax + ecx], dl
inc dword [esi + 0x34]
cmp dl, 0xd
sete al
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x44]
mov byte [esi + 0x18], 0
mov ecx, dword [eax]
mov eax, 0
mov edi, dword [ecx]
mov ebx, dword [ecx + 0x10]
mov edx, dword [ecx + 4]
cmp ebx, edi
mov dword [esi + 0x3c], edx
sbb eax, edx
mov edx, edi
cmovb edx, ebx
cmp ebx, edx
jb 0x100266b4
mov eax, dword [ecx + 8]
add eax, edx
cmp ebx, edx
setne dl
je 0x1002643c
mov ebx, dword [esi + 0x3c]
add edi, 1
movzx edx, byte [eax]
mov dword [ecx], edi
adc ebx, 0
cmp dl, 0xa
mov dword [ecx + 4], ebx
mov ecx, dword [esi + 0x34]
jne 0x10026415
mov eax, dword [esi + 0x40]
xor al, 1
test al, 1
je 0x10026541
cmp ecx, dword [esi + 0x30]
jne 0x100263a7
mov byte [esi + 0x3c], dl
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
push 1
push ecx
lea eax, [esi + 0x2c]
push eax
call fcn.1000f580
add esp, 0xc
jmp 0x100263a0
xor ebx, ebx
mov bl, dl
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x18]
push ebx
push eax
push ebx
push ecx
call fcn.1002ad30
add esp, 0x10
push 1
push 0xe
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100266d9
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xe
mov dword [esi + 0x20], 0
mov dword [esi + 0x78], 1
push 0xe
push 0
lea eax, [esi + 0x18]
push eax
call fcn.1000f580
add esp, 0xc
mov eax, dword [esi + 0x20]
lea ecx, [eax + 0xe]
mov dword [esi + 0x20], ecx
add eax, dword [esi + 0x18]
push 0xe
push 0x10103471
push 0xe
push eax
call fcn.1002ad30
add esp, 0x10
mov eax, dword [esi + 0x20]
movsd xmm0, qword [esi + 0x18]
mov dword [esi + 0x10], eax
movsd qword [esi + 8], xmm0
mov dword [esi + 0x20], eax
movsd qword [esi + 0x18], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100266cb
mov ecx, dword [esi + 0x20]
movsd xmm0, qword [esi + 0x18]
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
push 0x10103584
push eax
push 4
lea eax, [esi + 0x18]
push eax
call fcn.100c50d0
add esp, 0x10
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x30]
mov dword [edx + 8], ecx
mov dword [edx], 1
test eax, eax
je 0x100266a3
push 1
push eax
push dword [esi + 0x2c]
call fcn.10017710
add esp, 0xc
jmp 0x100266a3
test ecx, ecx
je 0x10026550
dec ecx
mov dword [esi + 0x78], 4
mov dword [esi + 0x34], ecx
mov eax, dword [esi + 0x34]
movsd xmm0, qword [esi + 0x2c]
mov dword [esi + 0x78], 4
lea edx, [esi + 0x18]
mov dword [esi + 0x10], eax
movsd qword [esi + 8], xmm0
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
call fcn.100e2e50
add esp, 0xc
cmp dword [esi + 0x18], 1
jne 0x10026682
mov eax, dword [esi + 0x1c]
movsd xmm0, qword [esi + 8]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x10]
movsd qword [esi + 0x48], xmm0
mov dword [esi + 0x50], edx
mov dword [esi + 0x20], edx
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], eax
push 1
push 0x16
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100266e7
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x16
mov dword [esi + 0x10], 0
mov dword [esi + 0x78], 3
lea eax, [esi + 8]
push 0x16
push 0
push eax
call fcn.1000f580
add esp, 0xc
mov eax, dword [esi + 0x10]
lea ecx, [eax + 0x16]
mov dword [esi + 0x10], ecx
add eax, dword [esi + 8]
push 0x16
push 0x1010347f
push 0x16
push eax
call fcn.1002ad30
add esp, 0x10
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [esi + 0x60], eax
movsd qword [esi + 0x58], xmm0
mov dword [esi + 0x10], eax
movsd qword [esi + 8], xmm0
push 4
push 0xc
call fcn.100176f0
add esp, 8
test eax, eax
je 0x100266cb
mov ecx, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov dword [esi + 0x78], 2
mov dword [eax + 8], ecx
movsd qword [eax], xmm0
push 0x10103584
push eax
push 0xb
lea eax, [esi + 8]
push eax
call fcn.100c50d0
add esp, 0x10
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1002666b
push 1
push eax
push dword [esi + 0x18]
call fcn.10017710
add esp, 0xc
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0xc]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx], 1
jmp 0x100266a3
mov eax, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x50], eax
movsd qword [esi + 0x48], xmm0
mov dword [ecx + 0xc], eax
movsd qword [ecx + 4], xmm0
mov dword [ecx], 0
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 7], 1
mov dword [esi + 0x78], 0
push ebx
push edx
call fcn.100e21d0
add esp, 8
ud2
push 4
push 0xc
call fcn.100da490
add esp, 8
ud2
push 1
push 0xe
call fcn.100da490
add esp, 8
ud2
push 1
push 0x16
call fcn.100da490
add esp, 8
ud2