Function at 0x100c2ec0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245f78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x102e1e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 0xc]
mov ax, word [edx]
mov word [edi + 0x30], ax
mov al, byte [edx + 2]
mov byte [edi + 0x32], al
cmp byte [edi + 0x30], 0xff
jne 0x100c2f26
cmp byte [edi + 0x31], 0xff
jne 0x100c2f26
cmp al, 0xff
jne 0x100c2f26
mov eax, 0x15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [ebp + 8]
lea ebx, [edi + 0x33]
push ebx
push esi
call fcn.10064930
add esp, 8
test al, al
jne 0x100c2f69
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
lea ecx, [ebp + 0x11]
call fcn.1003af50
lea eax, [ebp + 0x11]
push eax
call fcn.1003b9c0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebx], 0xff
jne 0x100c2f7a
cmp byte [edi + 0x34], 0xff
jne 0x100c2f7a
cmp byte [edi + 0x35], 0xff
je 0x100c2f0d
mov eax, dword [edi + 0x24]
lea esi, [edi + 0x24]
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [ebp + 0xc], ecx
mov eax, 0x66666667
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, ebx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100c300a
xor edi, edi
mov cl, byte [ebx + edi]
lea eax, [ebx + edi]
and cl, 0xf
cmp cl, 1
jne 0x100c2fe1
cmp byte [eax + 2], cl
jne 0x100c2fe1
cmp byte [eax + 1], 0xab
je 0x100c2fe1
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x100c2fd8
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
add dword [esi + 4], 8
jmp 0x100c2fe1
push eax
push edx
mov ecx, esi
call fcn.1008a2f0
mov eax, dword [ebp + 0x10]
add edi, 0x14
inc dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
sub ecx, ebx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp + 0xc], eax
jb 0x100c2fa7
mov edi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100c34b0
push dword [ebp + 0x18]
mov ecx, edi
call fcn.100c36b0
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
movq qword [edi + 0x18], xmm0
mov ecx, esi
mov word [edi + 0x20], 0
call fcn.10017a30
test al, al
jne 0x100c30d5
mov ecx, esi
call fcn.10017a20
cmp eax, 0xd
jne 0x100c30f2
mov ecx, esi
call fcn.10016ab0
mov esi, eax
mov byte [edi + 0x18], 2
mov dl, byte [esi]
mov cl, byte [esi + 1]
sub dl, 0x30
sub cl, 0x30
shl dl, 4
or dl, cl
mov byte [edi + 0x19], dl
mov cl, byte [esi + 2]
mov al, byte [esi + 3]
sub cl, 0x30
shl cl, 4
sub al, 0x30
or cl, al
mov byte [edi + 0x1a], cl
mov cl, byte [esi + 4]
mov al, byte [esi + 5]
sub cl, 0x30
shl cl, 4
sub al, 0x30
or cl, al
mov byte [edi + 0x1b], cl
mov cl, byte [esi + 6]
mov al, byte [esi + 7]
sub cl, 0x30
shl cl, 4
sub al, 0x30
or cl, al
mov byte [edi + 0x1c], cl
mov cl, byte [esi + 8]
mov al, byte [esi + 9]
sub cl, 0x30
sub al, 0x30
shl cl, 4
or cl, al
mov byte [edi + 0x1d], cl
mov cl, byte [esi + 0xa]
mov al, byte [esi + 0xb]
sub cl, 0x30
sub al, 0x30
shl cl, 4
or cl, al
mov byte [edi + 0x1e], cl
mov al, byte [esi + 0xc]
sub al, 0x30
shl al, 4
mov byte [edi + 0x1f], al
mov ecx, edi
call fcn.100c3130
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push str.Catalog_number_is_invalid
lea ecx, [ebp - 0x1c]
call fcn.10016440
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 4
lea ecx, [ebp - 0x2c]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x2c]
push eax
call fcn.1020df63
int3