Function at 0x10026e10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0x78
push 0x10056348
call fcn.10036518
or dword [ebp - 0x20], 0xffffffff
xor ebx, ebx
mov byte [ebp - 0x19], bl
cmp dword [ebp + 0x10], ebx
jne 0x1002721c
cmp dword [ebp + 0x14], ebx
jne 0x1002721c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x10026e5c
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_RtlIsDosDeviceName_U]
test eax, eax
je 0x10026e5c
push 0xc0000035
jmp 0x100271c8
mov ecx, dword [ebp + 0x18]
mov al, cl
and al, 1
mov byte [ebp + 0x13], al
mov dword [ebp + 0x14], ecx
and dword [ebp + 0x14], 4
je 0x10026e7e
test cl, 0x10
je 0x10026e7e
push 0xc000000d
jmp 0x100271c8
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
mov edi, dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
call edi
cmp al, bl
jne 0x10026e9d
push 0xc000003a
jmp 0x100271c8
mov dword [ebp - 0x60], 0x18
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], 0x40
lea eax, [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov esi, dword [ebp + 0x18]
and esi, 8
or esi, 0x10080
shr esi, 2
mov eax, esi
or eax, 0x200000
push eax
push 7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x110080
lea eax, [ebp - 0x20]
push eax
call fcn.100293a8
add esp, 0x18
cmp eax, ebx
jge 0x10026f5d
cmp dword [ebp + 0x14], ebx
je 0x10026f30
cmp eax, 0xc0000043
je 0x10026f0a
cmp eax, 0xc0000034
je 0x10026f0a
cmp eax, 0xc000003a
jne 0x10026f30
or dword [ebp - 0x20], 0xffffffff
cmp dword [ebp + 0x14], ebx
je 0x10026fb3
cmp dword [ebp + 0xc], ebx
jne 0x10026fb3
push ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
jmp 0x10026fc6
cmp eax, 0xc000000d
jne 0x10026f53
push esi
push 3
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x110000
lea eax, [ebp - 0x20]
push eax
call fcn.100293a8
add esp, 0x18
cmp eax, ebx
jge 0x10026f0e
push eax
jmp 0x100271c8
push 0x23
push 8
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
call fcn.100296c8
add esp, 0x14
cmp eax, ebx
jge 0x10026f8a
cmp eax, 0xc0000002
je 0x10026f86
cmp eax, 0xc000000d
jne 0x10026f57
cmp eax, ebx
jl 0x10026f0e
test dword [ebp - 0x48], 0x400
je 0x10026f0e
cmp dword [ebp - 0x44], 0xa0000003
je 0x10026f0e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x20], 0xffffffff
jmp 0x10026f37
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
call edi
cmp al, bl
je 0x10026e93
cmp dword [ebp + 0x14], ebx
je 0x100270c3
cmp byte [ebp + 0x13], bl
je 0x1002704c
cmp word [ebp - 0x30], bx
je 0x1002704c
mov eax, dword fs:[0x18]
movzx ecx, word [ebp - 0x30]
inc ecx
inc ecx
push ecx
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
cmp esi, ebx
jne 0x10027005
push 0xc0000017
jmp 0x100271c8
push 0x21
pop eax
mov word [esi], ax
movzx eax, word [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea eax, [esi + 2]
push eax
call fcn.100361b0
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 2
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x2e]
add eax, 2
mov word [ebp - 0x2e], ax
mov eax, dword fs:[0x18]
push dword [ebp - 0x2c]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [ebp - 0x2c], esi
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlDetermineDosPathNameType_U]
xor esi, esi
inc esi
cmp eax, esi
jne 0x10027066
mov eax, 0xc000000d
jmp 0x10026f57
test byte [ebp + 0x18], 2
jne 0x1002705c
push ebx
push 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10025e86
add esp, 0x10
cmp eax, 0xc0000034
jne 0x100270b2
push esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10025e86
add esp, 0x10
cmp eax, 0xc000009a
jne 0x100270b2
push esi
push 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10025e86
add esp, 0x10
cmp eax, ebx
jl 0x10026f57
mov byte [ebp - 0x19], 1
jmp 0x100271ce
movzx eax, word [ebp - 0x30]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x24]
push 8
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x10026ffb
movzx eax, word [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea eax, [esi + 0xc]
push eax
call fcn.10033f90
mov al, byte [ebp + 0x13]
mov byte [esi], al
mov dword [esi + 4], ebx
movzx eax, word [ebp - 0x30]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x18]
and eax, 0x10
or eax, 0xa0
shr eax, 4
push eax
push dword [ebp - 0x24]
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
call fcn.1002976c
add esp, 0x20
mov dword [ebp + 0x14], eax
mov eax, dword fs:[0x18]
push dword [ebp - 0x28]
push ebx
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp + 0x14], ebx
jge 0x100270ba
cmp dword [ebp + 0x14], 0xc00000d4
jne 0x100271c5
test byte [ebp + 0x18], 2
je 0x100271c5
push 4
push 0x28
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
call fcn.100296c8
add esp, 0x14
cmp eax, ebx
jl 0x10026f57
test byte [ebp - 0x68], 0x10
je 0x10027193
push 0xc00000ba
jmp 0x100271c8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x20], 0xffffffff
xor eax, eax
cmp byte [ebp + 0x13], bl
sete al
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10026c45
mov byte [ebp - 0x19], al
cmp al, bl
je 0x100271ce
push dword [ebp + 8]
call fcn.10026a44
jmp 0x100271ce
push dword [ebp + 0x14]
call fcn.100272a8
pop ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.100271e2
movzx eax, byte [ebp - 0x19]
jmp 0x10027226
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
call fcn.1003655d
ret 0x14