Function at 0x4bfd0e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4dfb6c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7fde0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
or esi, 0xffffffff
lea ebx, [esi + 2]
test byte [0x5565ce4], bl
jne 0x4bfd15e
or dword [0x5565ce4], ebx
xor ebp, ebp
push 0x4e22784
lea ecx, [edi + 8]
mov dword [esp + 0x3c], ebp
call fcn.04da26b0
mov ecx, dword [eax + 0x14]
mov dword [0x5565cd4], ecx
mov edx, dword [eax + 0x18]
mov dword [0x5565cd8], edx
mov ecx, dword [eax + 0x1c]
mov dword [0x5565cdc], ecx
mov edx, dword [eax + 0x20]
mov dword [0x5565ce0], edx
mov dword [esp + 0x38], esi
jmp 0x4bfd160
xor ebp, ebp
test byte [0x5565ce4], 2
jne 0x4bfd1a9
or dword [0x5565ce4], 2
push 0x4e20348
lea ecx, [edi + 8]
mov dword [esp + 0x3c], ebx
call fcn.04da26b0
mov ecx, dword [eax + 0x14]
mov dword [0x5565cc4], ecx
mov edx, dword [eax + 0x18]
mov dword [0x5565cc8], edx
mov ecx, dword [eax + 0x1c]
mov dword [0x5565ccc], ecx
mov edx, dword [eax + 0x20]
mov dword [0x5565cd0], edx
mov dword [esp + 0x38], esi
test byte [0x5565ce4], 4
jne 0x4bfd1f6
or dword [0x5565ce4], 4
push 0x4e2030c
lea ecx, [edi + 8]
mov dword [esp + 0x3c], 2
call fcn.04da26b0
mov ecx, dword [eax + 0x14]
mov dword [0x5565cb4], ecx
mov edx, dword [eax + 0x18]
mov dword [0x5565cb8], edx
mov ecx, dword [eax + 0x1c]
mov dword [0x5565cbc], ecx
mov edx, dword [eax + 0x20]
mov dword [0x5565cc0], edx
mov dword [esp + 0x38], esi
mov eax, 8
test byte [0x5565ce4], al
jne 0x4bfd246
or dword [0x5565ce4], eax
push 0x4e20300
lea ecx, [edi + 8]
mov dword [esp + 0x3c], 3
call fcn.04da26b0
mov ecx, dword [eax + 0x14]
mov dword [0x5565ca4], ecx
mov edx, dword [eax + 0x18]
mov dword [0x5565ca8], edx
mov ecx, dword [eax + 0x1c]
mov dword [0x5565cac], ecx
mov edx, dword [eax + 0x20]
mov dword [0x5565cb0], edx
mov dword [esp + 0x38], esi
mov eax, 0x10
test byte [0x5565ce4], al
jne 0x4bfd296
or dword [0x5565ce4], eax
push 0x4e20318
lea ecx, [edi + 8]
mov dword [esp + 0x3c], 4
call fcn.04da26b0
mov ecx, dword [eax + 0x14]
mov dword [0x5565c94], ecx
mov edx, dword [eax + 0x18]
mov dword [0x5565c98], edx
mov ecx, dword [eax + 0x1c]
mov dword [0x5565c9c], ecx
mov edx, dword [eax + 0x20]
mov dword [0x5565ca0], edx
mov dword [esp + 0x38], esi
call fcn.04bdc070
cmp eax, 0xb
lea esi, [edi + 8]
mov ecx, esi
jne 0x4bfd52d
push 0x4e22774
call fcn.04da26b0
mov edx, dword [eax]
push ebp
mov ecx, eax
mov eax, dword [edx + 0x1c]
push ebp
call eax
mov eax, dword [0x4e83fe0]
cmp eax, 0x320
je 0x4bfd65e
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x4e83fe4]
cdq
sub eax, edx
mov ebp, eax
push 0x4e22784
mov ecx, esi
sar edi, 1
sar ebp, 1
call fcn.04da26b0
mov ebx, dword [0x4e0c494]
lea ecx, [ebp + 0x8e]
push ecx
lea edx, [edi + 0xd0]
push edx
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x8e]
push eax
lea ecx, [edi - 0xd0]
push ecx
lea edx, [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
call edx
sub edi, dword [0x5565cd4]
sub ebp, dword [0x5565cd8]
sub edi, 0xd0
movzx eax, di
sub ebp, 0x8e
push 0x4e20348
mov ecx, esi
mov dword [esp + 0x1c], eax
movzx edi, bp
call fcn.04da26b0
mov ecx, dword [0x5565cd0]
movsx ebp, word [esp + 0x18]
movsx edi, di
mov dword [esp + 0x14], eax
mov eax, dword [0x5565ccc]
lea edx, [edi + ecx]
push edx
mov edx, dword [0x5565cc8]
lea ecx, [eax + ebp]
push ecx
mov ecx, dword [0x5565cc4]
lea eax, [edi + edx]
push eax
lea edx, [ecx + ebp]
push edx
lea eax, [esp + 0x30]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + 8]
call edx
push 0x4e2030c
mov ecx, esi
call fcn.04da26b0
mov edx, dword [0x5565cbc]
mov dword [esp + 0x14], eax
mov eax, dword [0x5565cc0]
lea ecx, [edi + eax]
push ecx
mov ecx, dword [0x5565cb8]
lea eax, [edx + ebp]
push eax
mov eax, dword [0x5565cb4]
lea edx, [edi + ecx]
push edx
lea ecx, [eax + ebp]
push ecx
lea edx, [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
call edx
push 0x4e20300
mov ecx, esi
call fcn.04da26b0
mov edx, dword [0x5565cac]
mov dword [esp + 0x14], eax
mov eax, dword [0x5565cb0]
lea ecx, [edi + eax]
push ecx
mov ecx, dword [0x5565ca8]
lea eax, [edx + ebp]
push eax
mov eax, dword [0x5565ca4]
lea edx, [edi + ecx]
push edx
lea ecx, [eax + ebp]
push ecx
lea edx, [esp + 0x30]
push edx
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [edx + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
call edx
push 0x4e20318
mov ecx, esi
call fcn.04da26b0
mov edx, dword [0x5565c9c]
mov dword [esp + 0x14], eax
mov eax, dword [0x5565ca0]
lea ecx, [edi + eax]
push ecx
mov ecx, dword [0x5565c98]
lea eax, [edx + ebp]
push eax
mov edx, dword [0x5565c94]
add edi, ecx
push edi
add ebp, edx
push ebp
lea eax, [esp + 0x30]
push eax
call ebx
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 8]
call eax
mov edi, dword [esp + 0x1c]
mov ebx, 1
jmp 0x4bfd65c
push 0x4e22784
call fcn.04da26b0
mov ecx, dword [0x5565cd4]
mov ebp, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [0x5565cd8]
mov dword [edx + 4], ecx
mov ecx, dword [0x5565cdc]
mov dword [edx + 8], ecx
mov ecx, dword [0x5565ce0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call edx
push 0x4e20348
mov ecx, esi
call fcn.04da26b0
mov ecx, dword [0x5565cc4]
mov ebp, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [0x5565cc8]
mov dword [edx + 4], ecx
mov ecx, dword [0x5565ccc]
mov dword [edx + 8], ecx
mov ecx, dword [0x5565cd0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call edx
push 0x4e2030c
mov ecx, esi
call fcn.04da26b0
mov ecx, dword [0x5565cb4]
mov ebp, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [0x5565cb8]
mov dword [edx + 4], ecx
mov ecx, dword [0x5565cbc]
mov dword [edx + 8], ecx
mov ecx, dword [0x5565cc0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call edx
push 0x4e20300
mov ecx, esi
call fcn.04da26b0
mov ecx, dword [0x5565ca4]
mov ebp, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [0x5565ca8]
mov dword [edx + 4], ecx
mov ecx, dword [0x5565cac]
mov dword [edx + 8], ecx
mov ecx, dword [0x5565cb0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call edx
push 0x4e20318
mov ecx, esi
call fcn.04da26b0
mov ecx, dword [0x5565c94]
mov ebp, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [0x5565c98]
mov dword [edx + 4], ecx
mov ecx, dword [0x5565c9c]
mov dword [edx + 8], ecx
mov ecx, dword [0x5565ca0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov ecx, eax
call edx
xor ebp, ebp
mov eax, dword [edi + 0x140f0]
cmp eax, 3
ja case.default.0x4bfd66d
jmp dword [eax*4 + 0x4bfd7d8]
push 0x4e2030c
mov ecx, esi
call fcn.04da26b0
push 0x4e20300
mov ecx, esi
mov dword [eax + 0x90], ebp
call fcn.04da26b0
push 0x4e20318
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e20328
jmp 0x4bfd7b1
push 0x4e20328
mov ecx, esi
call fcn.04da26b0
mov ecx, dword [edi + 0x140e8]
cmp ecx, 0x5f
jne 0x4bfd6d5
cmp dword [edi + 0x140f0], ebx
jne 0x4bfd6d5
cmp dword [edi + 0x14100], ebp
ja 0x4bfd6ea
cmp ecx, 0x5b
jne 0x4bfd6f2
cmp dword [edi + 0x140f0], ebx
jne 0x4bfd6f2
cmp dword [edi + 0x14100], ebp
jbe 0x4bfd6f2
mov dword [eax + 0x90], ebx
jmp 0x4bfd6f8
mov dword [eax + 0x90], ebp
push 0x4e20300
mov ecx, esi
call fcn.04da26b0
push 0x4e20318
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e2030c
jmp 0x4bfd7b1
push 0x4e2030c
mov ecx, esi
call fcn.04da26b0
push 0x4e20328
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e20300
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e20318
mov ecx, esi
mov dword [eax + 0x90], ebp
call fcn.04da26b0
mov dword [eax + 0x90], ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x4e2030c
mov ecx, esi
call fcn.04da26b0
push 0x4e20328
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e20300
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
push 0x4e20318
mov ecx, esi
mov dword [eax + 0x90], ebx
call fcn.04da26b0
mov dword [eax + 0x90], ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret