Function at 0x10077620
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1011efb8]
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 0x100f8064
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
call fcn.10006d70
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 0x100776b2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10006d70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1006ed50
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 8
jb 0x1007771f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10077715
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077848
push edx
push ecx
call fcn.100b9eff
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 0x10077774
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007776a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007784d
push edx
push ecx
call fcn.100b9eff
add esp, 8
test bl, bl
je 0x10077817
add esi, 0x18
push 2
push esi
call fcn.100bd983
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.10006d70
mov dword [ebp - 4], 2
call fcn.100c52a2
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.100c6576
add esp, 0xc
cmp esi, dword [ebp - 0x5c]
je 0x10077852
cmp dword [edi], 0x22
je 0x1007783e
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
lea ecx, [ebp - 0x40]
call fcn.10004960
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 0x10077800
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.100b9f0d
mov esp, ebp
pop ebp
ret 0x14
push str.stoi_argument_out_of_range
call fcn.1008d677
call fcn.100c51d9
call fcn.100c51d9
push str.invalid_stoi_argument
call fcn.1008d637
int3