Function at 0x49f3f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591127
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x634384]
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 esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x1c]
push 1
push eax
push ecx
mov dword [ebp - 0x34], edx
mov ecx, esi
mov edx, dword [ebp + 0x34]
push str.cmd_scantree_t
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edx
call fcn.004a3d40
mov dword [ebp - 4], 0
lea edi, [esi + 0x34]
mov eax, dword [ebp + 0x10]
mov ecx, 0x11
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esi], vtable.cmd_scantree_t.0
mov esi, dword [ebp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x30]
mov esi, 0x5eaccc
mov dword [ecx + 0x78], eax
add ecx, 0x7c
test ebx, ebx
cmovne esi, ebx
xor eax, eax
mov edx, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea edi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x49f4a0
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.0041bc10
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x30]
lea ebx, [esi + 0x94]
push 0
mov dword [ebp - 0x2c], ebx
mov ecx, ebx
push 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00461a40
mov dword [ebx], eax
mov byte [ebp - 4], 4
lea ecx, [esi + 0xa8]
mov eax, dword [ebp + 0x28]
push dword [ebp - 0x38]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0xa4], eax
call fcn.00432a90
mov byte [ebp - 4], 5
xor esi, esi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x49f609
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + esi*4]
test edx, edx
je 0x49f600
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49f553
sub eax, edi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0041bc10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
mov edi, dword [ebx]
mov ecx, dword [ebp - 0x2c]
push eax
mov ebx, dword [edi + 4]
push ebx
push edi
call fcn.00466490
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov eax, 0x7fffffe
sub eax, edx
cmp eax, 1
jb 0x49f631
lea eax, [edx + 1]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov dword [edi + 4], ecx
mov dword [ebx], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x49f5e3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49f5d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49f63b
push edx
push ecx
call fcn.00539070
add esp, 8
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
inc esi
cmp esi, eax
jb 0x49f521
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
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.005395e6
mov esp, ebp
pop ebp
ret 0x30
push str.list_T__too_long
call fcn.005366c2
call fcn.00555b08
int3