Function at 0x1007b080
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb888
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10122fb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
mov dword [ebp - 0x48], 0
push 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
push 0x100fc294
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.10006e20
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b112
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10006e20
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100725f0
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 8
jb 0x1007b17f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007b175
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007b2a8
push edx
push ecx
call fcn.100bd88f
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x1007b1d4
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007b1ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007b2ad
push edx
push ecx
call fcn.100bd88f
add esp, 8
test bl, bl
je 0x1007b277
add esi, 0x18
push 2
push esi
call fcn.100c1313
mov ebx, eax
mov dword [ebp - 0x30], 0
add esp, 8
mov dword [ebp - 0x2c], 7
mov ecx, ebx
xor eax, eax
sub ecx, esi
mov word [ebp - 0x40], ax
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.10006e20
mov dword [ebp - 4], 2
call fcn.100c8c32
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov edi, eax
lea eax, [ebp - 0x5c]
cmovae esi, dword [ebp - 0x40]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100c9f06
add esp, 0xc
cmp esi, dword [ebp - 0x5c]
je 0x1007b2b2
cmp dword [edi], 0x22
je 0x1007b29e
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
lea ecx, [ebp - 0x40]
call fcn.10004a10
mov eax, dword [ebp - 0x64]
lea ecx, [ebx + 2]
lea edx, [ecx + 2]
mov dword [eax], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007b260
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bd89d
mov esp, ebp
pop ebp
ret 0x14
push str.stoi_argument_out_of_range
call fcn.10091007
call fcn.100c8b69
call fcn.100c8b69
push str.invalid_stoi_argument
call fcn.10090fc7
int3