Function at 0x1007c7e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10124fe8]
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 0x100fd734
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 0x1007c872
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.10073f10
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 8
jb 0x1007c8df
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007c8d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ca08
push edx
push ecx
call fcn.100bf1af
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 0x1007c934
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007c92a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ca0d
push edx
push ecx
call fcn.100bf1af
add esp, 8
test bl, bl
je 0x1007c9d7
add esi, 0x18
push 2
push esi
call fcn.100c2c33
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.100ca552
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.100cb826
add esp, 0xc
cmp esi, dword [ebp - 0x5c]
je 0x1007ca12
cmp dword [edi], 0x22
je 0x1007c9fe
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 0x1007c9c0
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.100bf1bd
mov esp, ebp
pop ebp
ret 0x14
push str.stoi_argument_out_of_range
call fcn.10092927
call fcn.100ca489
call fcn.100ca489
push str.invalid_stoi_argument
call fcn.100928e7
int3