Function at 0x100845a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3225
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1010f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x100f1f40
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov edi, eax
movups xmmword [ebp - 0x40], xmm0
call fcn.1000b3a0
mov ecx, edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10084636
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.1000b3a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007a7a0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 0x59], al
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x100846a4
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008469a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100848fd
push ecx
push edx
call fcn.100b2598
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x100846f9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100846ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100848fd
push ecx
push edx
call fcn.100b2598
add esp, 8
cmp byte [ebp - 0x59], 0
je 0x100848d7
add edi, 0x18
push 3
push edi
call fcn.100b4c3b
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 0x30], 0
sub ecx, edi
mov dword [ebp - 0x2c], 0
sar ecx, 1
xorps xmm0, xmm0
push ecx
push edi
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.1000b3a0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007ae50
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0xf
jbe 0x1008475a
mov ecx, dword [ecx]
sub esi, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx + 0x1cf], al
test al, al
jne 0x10084760
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100847a4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008479a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084902
push ecx
push edx
call fcn.100b2598
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x100847f7
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100847ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084902
push ecx
push edx
call fcn.100b2598
add esp, 8
mov esi, dword [ebp - 0x60]
add esi, 2
push 2
push esi
call fcn.100b4c3b
add esp, 8
mov dword [ebp - 0x60], eax
mov ecx, eax
mov dword [ebp - 0x48], 0
sub ecx, esi
mov dword [ebp - 0x44], 0
sar ecx, 1
xorps xmm0, xmm0
push ecx
push esi
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x58], xmm0
call fcn.1000b3a0
mov dword [ebp - 4], 3
call fcn.100be81d
cmp dword [ebp - 0x44], 7
lea esi, [ebp - 0x58]
mov edi, eax
lea eax, [ebp - 0x64]
cmova esi, dword [ebp - 0x58]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100bfa81
add esp, 0xc
cmp esi, dword [ebp - 0x64]
je 0x10084907
cmp dword [edi], 0x22
je 0x10084911
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x100848ab
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100848a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008491b
push ecx
push edx
call fcn.100b2598
add esp, 8
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x6c]
add ecx, 2
mov dword [eax], ecx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100848c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b28c0
mov esp, ebp
pop ebp
ret 0x14
call fcn.100be72f
call fcn.100be72f
push str.invalid_stoi_argument
call fcn.1009af61
push str.stoi_argument_out_of_range
call fcn.1009afa1
call fcn.100be72f
int3