Function at 0x100bb05
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x100bb29
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x100bb61
cmp dword [ebp + 8], 0x11000001
jne 0x100bb3b
mov dword [ebp + 8], 0x12000002
jmp 0x100bb61
cmp dword [ebp + 8], 0x21000001
jne 0x100bb4d
mov dword [ebp + 8], 0x22000002
jmp 0x100bb61
cmp dword [ebp + 8], 0x11000043
jne 0x100bd5c
mov dword [ebp + 8], 0x12000044
mov edi, dword [ebp + 0xc]
cmp word [edi], 0x5b
jne 0x100bbfb
lea eax, [edi + 2]
push 0x5d
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
mov dword [ebp + 0x10], eax
cmp eax, esi
je 0x100bd5c
mov ecx, dword fs:[0x18]
sub eax, edi
sar eax, 1
dec eax
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
mov eax, dword [ecx + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x100bbbf
mov dword [ebp - 4], 0xc000009a
jmp 0x100bd63
push edi
push dword [ebp + 0xc]
push ebx
call sub.msvcrt.dll_memcpy
xor eax, eax
mov word [edi + ebx], ax
mov eax, dword [ebp + 0x10]
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 0xc
add eax, 2
push 0x10015e0
push ebx
mov dword [ebp + 0xc], eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100bc07
push 0x14
mov dword [ebp + 0x10], 1
pop ecx
jmp 0x100bc69
mov dword [ebp - 4], 0xc000000d
jmp 0x100bdb2
push 0x10015ec
push ebx
call edi
pop ecx
pop ecx
test eax, eax
jne 0x100bc36
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], 8
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100bc22
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x22]
jmp 0x100bc69
lea eax, [ebp - 8]
push eax
push ebx
call fcn.01010398
mov dword [ebp - 4], eax
test eax, eax
jl 0x100bd63
mov eax, dword [ebp - 8]
push 2
pop esi
mov dword [ebp + 0x10], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, esi
test cx, cx
jne 0x100bc57
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x16]
mov eax, dword [ebp + 0xc]
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100bc6f
sub eax, esi
sar eax, 1
lea edi, [eax + eax + 0x2e]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea ebx, [edi + ecx + 0x22]
push ebx
push 0
push dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov esi, eax
test esi, esi
je 0x100bbb3
push ebx
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
add esp, 0xc
and dword [esi + 0x14], 0
mov dword [esi], 8
mov dword [esi + 0x18], 0x22
lea ebx, [esi + edi + 0x22]
mov dword [esi + 0x36], edi
mov edi, dword [ebp + 0xc]
mov eax, edi
mov dword [esi + 0x22], 3
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100bce0
sub eax, ecx
sar eax, 1
inc eax
push edi
push eax
lea eax, [esi + 0x3a]
push eax
call fcn.0101296c
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebx], eax
cmp eax, 2
jne 0x100bd1f
mov eax, dword [ebp - 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100bd0d
push dword [ebp - 8]
add ebx, 0x14
jmp 0x100bd3e
cmp eax, 8
jne 0x100bd4d
mov eax, edi
mov dword [ebx + 0x14], 1
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x100bd30
push edi
add ebx, 0x20
sub eax, edx
sar eax, 1
inc eax
push eax
push ebx
call fcn.0101296c
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x100bd63
mov dword [ebp - 4], 0xc000000d
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
xor ebx, ebx
cmp dword [ebp - 8], ebx
je 0x100bd82
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
cmp dword [ebp - 0xc], ebx
je 0x100bd99
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call edi
cmp dword [ebp - 4], ebx
jge 0x100bdb2
cmp esi, ebx
je 0x100bdb2
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push ebx
push dword [eax + 0x18]
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14