Function at 0x5bd198
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x5bd1a0
push ebx
push esi
mov ebx, eax
mov esi, dword [0x5d537c]
xor eax, eax
push ebp
push 0x5bd686
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov ecx, dword [esi]
mov edx, 0x5bd6a0
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
push 1
mov ecx, 0x5bd6bc
mov edx, 0x5bd6d8
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x14]
mov edx, 1
mov cl, 1
call fcn.004158b0
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1930
lea eax, [ebp - 0x24]
mov edx, 1
mov cl, 1
call fcn.004158b0
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1898
push 1
mov ecx, 0x5bd6f0
mov edx, 0x5bd708
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x34]
mov edx, 2
mov cl, 1
call fcn.004158b0
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1930
lea eax, [ebp - 0x44]
mov edx, 2
mov cl, 1
call fcn.004158b0
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1898
push 1
mov ecx, dword [esi + 0x24]
mov edx, 0x5bd718
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
push 1
mov ecx, dword [esi + 0x54]
mov edx, 0x5bd728
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
mov eax, dword [ebx + 0x5a4]
call fcn.004afbfc
mov dword [ebx + 0x60c], eax
push 1
mov ecx, dword [esi + 0x30]
mov edx, 0x5bd740
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x54]
mov edx, dword [ebx + 0x60c]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
xor edx, edx
call fcn.004b1898
lea eax, [ebp - 0x64]
mov edx, dword [ebx + 0x60c]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
call fcn.004b18e4
call fcn.00526c24
push 1
lea edx, [ebp - 0x68]
mov eax, dword [esi + 0x34]
call fcn.004096b0
mov ecx, dword [ebp - 0x68]
mov edx, 0x5bd758
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
push 1
mov ecx, dword [esi + 0x40]
mov edx, 0x5bd778
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x78]
mov edx, dword [ebx + 0x60c]
inc edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x78]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
xor edx, edx
call fcn.004b1898
lea eax, [ebp - 0x88]
mov edx, dword [ebx + 0x60c]
inc edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
call fcn.004b18e4
call fcn.00526c24
push 1
mov ecx, dword [esi + 0x38]
mov edx, 0x5bd798
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x98]
mov edx, dword [ebx + 0x60c]
add edx, 2
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x98]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
xor edx, edx
call fcn.004b1898
lea eax, [ebp - 0xa8]
mov edx, dword [ebx + 0x60c]
add edx, 2
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0xa8]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
call fcn.004b18e4
call fcn.00526c24
push 1
lea edx, [ebp - 0xac]
mov eax, dword [esi + 0x3c]
call fcn.004096b0
mov ecx, dword [ebp - 0xac]
mov edx, 0x5bd7ac
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
mov eax, dword [ebx + 0x5a4]
call fcn.004afbfc
mov dword [ebx + 0x608], eax
mov al, byte [esi + 4]
sub al, 1
jb 0x5bd474
je 0x5bd483
dec al
je 0x5bd492
jmp 0x5bd4a1
lea eax, [ebp - 4]
mov edx, 0x5bd7c8
call fcn.00404ac8
jmp 0x5bd4a9
lea eax, [ebp - 4]
mov edx, 0x5bd7d8
call fcn.00404ac8
jmp 0x5bd4a9
lea eax, [ebp - 4]
mov edx, 0x5bd7e8
call fcn.00404ac8
jmp 0x5bd4a9
lea eax, [ebp - 4]
call fcn.00404a30
push 1
mov ecx, dword [ebp - 4]
mov edx, 0x5bd7f8
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0xbc]
mov edx, dword [ebx + 0x608]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0xbc]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1930
lea eax, [ebp - 0xcc]
mov edx, dword [ebx + 0x608]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0xcc]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
xor edx, edx
call fcn.004b1898
lea eax, [ebp - 0xdc]
mov edx, dword [ebx + 0x608]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0xdc]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
call fcn.004b18e4
mov edx, 0x5bd7c8
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xec]
mov edx, dword [ebx + 0x608]
dec edx
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0xec]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
call fcn.004b18e4
mov edx, 0x5bd7d8
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 1
push dword [esi + 0xc]
push dword [esi + 8]
lea eax, [ebp - 0xf0]
call fcn.0040c830
mov ecx, dword [ebp - 0xf0]
mov edx, 0x5bd80c
mov eax, dword [ebx + 0x5a4]
call fcn.004b0978
lea eax, [ebp - 0x100]
mov edx, dword [ebx + 0x608]
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x100]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1930
lea eax, [ebp - 0x110]
mov edx, dword [ebx + 0x608]
mov cl, 0xfc
call fcn.004158b0
lea edx, [ebp - 0x110]
mov eax, dword [ebx + 0x5a4]
call fcn.004aff50
mov dl, 1
call fcn.004b1898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd690
lea eax, [ebp - 0x110]
mov edx, dword [0x40112c]
mov ecx, 2
call fcn.00405564
lea eax, [ebp - 0xf0]
call fcn.00404a30
lea eax, [ebp - 0xec]
mov edx, dword [0x40112c]
mov ecx, 4
call fcn.00405564
lea eax, [ebp - 0xac]
call fcn.00404a30
lea eax, [ebp - 0xa8]
mov edx, dword [0x40112c]
mov ecx, 4
call fcn.00405564
lea eax, [ebp - 0x68]
call fcn.00404a30
lea eax, [ebp - 0x64]
mov edx, dword [0x40112c]
mov ecx, 6
call fcn.00405564
lea eax, [ebp - 4]
call fcn.00404a30
ret