Function at 0x62f1a7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
mov byte [ebp - 0x10], 1
mov byte [ebp - 1], 1
call fcn.0062d14f
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call dword [0x48581004]
mov esi, dword [0x48581048]
xor edi, edi
push edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], eax
push 3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10e0000
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], 0x40
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call esi
cmp eax, edi
jge 0x62f21b
push eax
push 0x485828d0
push 0x48581774
call fcn.0062d203
add esp, 0xc
push dword [ebp - 8]
call fcn.0062ec43
cmp eax, edi
jge 0x62f23a
push eax
push 0x48582894
push 0x48581774
call fcn.0062d203
add esp, 0xc
push dword [ebp - 8]
call dword [0x48581028]
push 0x4021
push 3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x100001
lea eax, [ebp - 8]
push eax
call esi
cmp eax, edi
mov dword [ebp - 0xc], eax
jge 0x62f26b
xor eax, eax
jmp 0x62f41b
push ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x268
push edi
push dword [eax + 0x18]
call dword [0x4858102c]
mov ebx, eax
cmp ebx, edi
je 0x62f40e
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push edi
push 1
push 3
push 0x268
push ebx
push eax
push edi
push edi
push edi
push dword [ebp - 8]
call dword [0x485810c4]
cmp eax, edi
mov dword [ebp - 0xc], eax
jl 0x62f2c3
mov eax, dword [ebx + 0x3c]
and byte [ebp - 0x10], 0
shr eax, 1
mov word [ebx + eax*2 + 0x5e], di
jmp 0x62f2e6
cmp eax, 0x80000006
jne 0x62f2cf
mov dword [ebp - 0xc], edi
jmp 0x62f2e2
push eax
push 0x48582864
push 0x48581774
call fcn.0062d203
add esp, 0xc
and byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x62f3fa
mov eax, dword [ebx + 0x38]
mov ecx, eax
and ecx, 0x10
jne 0x62f2ff
test ah, 0x40
je 0x62f334
cmp ecx, edi
je 0x62f3f0
lea esi, [ebx + 0x5e]
push 0x48581110
push esi
call fcn.0062f8ec
test eax, eax
pop ecx
pop ecx
je 0x62f3f0
push 0x4858285c
push esi
call fcn.0062f8ec
test eax, eax
pop ecx
pop ecx
je 0x62f3f0
push dword [ebp + 8]
call fcn.0062f884
pop ecx
mov ecx, dword [ebx + 0x3c]
shr ecx, 1
mov dword [ebp - 0x18], eax
lea esi, [ecx + eax + 2]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
lea edi, [esi + esi]
push edi
push 0
push dword [eax + 0x18]
call dword [0x4858102c]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x62f3d5
mov ecx, edi
mov edi, dword [ebp - 0x14]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
dec esi
rep stosb byte es:[edi], al
mov edi, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x14]
push edi
push esi
call fcn.0062f88a
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp word [edi + eax*2 - 2], 0x5c
je 0x62f3a7
push 0x4858110c
push esi
call fcn.0062f87e
pop ecx
pop ecx
lea eax, [ebx + 0x5e]
push eax
push esi
call fcn.0062f87e
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
inc eax
push eax
push esi
call fcn.0062f1a7
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [0x48581030]
jmp 0x62f3ee
push dword [ebp - 0xc]
push 0x4858281c
push 0x48581774
call fcn.0062d203
add esp, 0xc
and byte [ebp - 1], 0
xor edi, edi
cmp byte [ebp - 1], 0
jne 0x62f28e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push edi
push dword [eax + 0x18]
call dword [0x48581030]
push dword [ebp - 8]
call dword [0x48581028]
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
leave
ret 8