Function at 0x5bd8f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x5bd8fd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x5bd916
add esp, 0xfffffff0
call fcn.00404110
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5be456
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x458], edx
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004818c8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x88]
call fcn.0042f430
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0042f448
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x88]
call fcn.0042f548
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0042f550
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.005d0d60
lea edx, [ebp - 0x18]
mov eax, dword [0x6bf794]
call fcn.0059914c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046910c
lea edx, [ebp - 0x1c]
mov eax, dword [0x6bf68c]
call fcn.0059914c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
call fcn.0046910c
lea edx, [ebp - 0x20]
mov eax, dword [0x6bf748]
call fcn.0059914c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0046910c
lea edx, [ebp - 0x24]
mov eax, dword [0x6c022c]
call fcn.0059914c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.0046910c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x314]
lea edx, [ebp - 0x28]
mov eax, dword [0x6bfb10]
call fcn.0059914c
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.0046910c
push ebp
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004690dc
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.005c8bac
mov eax, dword [ebp - 0x2c]
call fcn.005bd6a0
pop ecx
mov edx, eax
add edx, 0x31
mov eax, ebx
call fcn.00468898
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
sub edx, dword [eax + 0x48]
sub edx, dword [ebx + 0x48]
mov eax, ebx
call fcn.0046884c
mov eax, dword [ebp - 4]
call fcn.005bf218
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5ba498]
call fcn.005ba644
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x430], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov dword [ebx + 0x284], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.00468a7c
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00468a9c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x120], 0x5be78c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
mov edx, dword [eax + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebx + 0x228]
mov edx, 0x5be488
call fcn.004304b8
mov edx, eax
add edx, 2
mov eax, ebx
call fcn.00461760
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.0046fcd8
mov edx, eax
mov eax, ebx
call fcn.0046fd58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a4]
call fcn.00403dac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x458]
cmp byte [ebx + 0x4d], 0
jne 0x5bdb4e
mov eax, ebx
call fcn.005d43f8
test al, al
jne 0x5bdb5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b0]
call fcn.00469604
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x430]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0045cc74
lea edx, [ebp - 0x44]
mov eax, dword [0x6c0174]
call fcn.0059914c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.0046910c
lea edx, [ebp - 0x48]
mov eax, dword [0x6bf584]
call fcn.0059914c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0046910c
lea edx, [ebp - 0x4c]
mov eax, dword [0x6bfdbc]
call fcn.0059914c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0046910c
lea edx, [ebp - 0x50]
mov eax, dword [0x6bfaf4]
call fcn.0059914c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0046910c
lea edx, [ebp - 0x54]
mov eax, dword [0x6bfc2c]
call fcn.0059914c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b0]
call fcn.0046910c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5bae94]
call fcn.005bb050
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x434], ebx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.00468a7c
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00468a9c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x120], fcn.005c0180
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [eax + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0046fcd8
mov edx, eax
mov eax, ebx
call fcn.0046fd58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.00403dac
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x434]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
call fcn.0045cc74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
cmp byte [eax + 0x4d], 0
je 0x5bdd7f
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5bb634]
call fcn.005bb768
mov ebx, eax
lea edx, [ebp - 0x58]
mov eax, dword [0x6c0028]
call fcn.0059914c
mov edx, dword [ebp - 0x58]
mov eax, ebx
call fcn.0046910c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a8]
call fcn.00468a7c
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00468a9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x36c]
mov eax, ebx
call fcn.005bb820
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a8]
mov edx, dword [eax + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5bb634]
call fcn.005bb768
mov ebx, eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x6c0028]
call fcn.0059914c
mov edx, dword [ebp - 0x5c]
mov eax, ebx
call fcn.0046910c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.00468a7c
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00468a9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38c]
mov eax, ebx
call fcn.005bb820
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
mov edx, dword [eax + 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a8]
call fcn.00403dac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ac]
call fcn.00403dac
lea edx, [ebp - 0x60]
mov eax, dword [0x6c02b8]
call fcn.0059914c
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.0046910c
lea edx, [ebp - 0x64]
mov eax, dword [0x6c02d0]
call fcn.0059914c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x340]
call fcn.0046910c
lea edx, [ebp - 0x68]
mov eax, dword [0x6bf5f8]
call fcn.0059914c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.0046910c
lea edx, [ebp - 0x6c]
mov eax, dword [0x6bf524]
call fcn.0059914c
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
call fcn.005edb14
lea edx, [ebp - 0x70]
mov eax, dword [0x6bf788]
call fcn.0059914c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.005edb14
lea edx, [ebp - 0x74]
mov eax, dword [0x6bfe18]
call fcn.0059914c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x378]
call fcn.005edb14
lea edx, [ebp - 0x78]
mov eax, dword [0x6bfbf4]
call fcn.0059914c
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39c]
call fcn.005edb14
lea edx, [ebp - 0x7c]
mov eax, dword [0x6bf770]
call fcn.0059914c
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x37c]
call fcn.005edb14
lea edx, [ebp - 0x80]
mov eax, dword [0x6bf524]
call fcn.0059914c
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.005edb14
lea edx, [ebp - 0x84]
mov eax, dword [0x6bf770]
call fcn.0059914c
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.005edb14
lea edx, [ebp - 0x88]
mov eax, dword [0x6bf86c]
call fcn.0059914c
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.005edb14
lea edx, [ebp - 0x8c]
mov eax, dword [0x6bffd8]
call fcn.0059914c
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.005edb14
lea edx, [ebp - 0x90]
mov eax, dword [0x6bfc7c]
call fcn.0059914c
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
call fcn.005edb14
lea edx, [ebp - 0x94]
mov eax, dword [0x6bf9c8]
call fcn.0059914c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x390]
call fcn.005edb14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
call fcn.005d9688
test al, al
jne 0x5be00b
lea edx, [ebp - 0x98]
mov eax, dword [0x6bfa24]
call fcn.0059914c
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.0046910c
lea edx, [ebp - 0x9c]
mov eax, dword [0x6bf53c]
call fcn.0059914c
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.0046910c
lea edx, [ebp - 0xa0]
mov eax, dword [0x6bf5e0]
call fcn.0059914c
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
call fcn.0046910c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3bc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3b8]
call fcn.005bd700
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3bc]
call fcn.005bd76c
pop ecx
jmp 0x5be18b
lea edx, [ebp - 0xa4]
mov eax, dword [0x6bf810]
call fcn.0059914c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ec]
call fcn.0046910c
lea edx, [ebp - 0xa8]
mov eax, dword [0x6bfe3c]
call fcn.0059914c
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f4]
call fcn.0046910c
lea edx, [ebp - 0xac]
mov eax, dword [0x6bf4f4]
call fcn.0059914c
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.0046910c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3fc]
lea edx, [ebp - 0xb0]
mov eax, dword [0x6bfee8]
call fcn.0059914c
mov edx, dword [ebp - 0xb0]
mov eax, ebx
call fcn.0046910c
push ebp
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.004690dc
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xb4]
call fcn.005c8bac
mov eax, dword [ebp - 0xb4]
call fcn.005bd6a0
pop ecx
mov edx, eax
add edx, 0x11
mov eax, ebx
call fcn.00468898
lea edx, [ebp - 0xbc]
mov eax, dword [0x6bfae4]
call fcn.0059914c
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e8]
call fcn.0046910c
lea edx, [ebp - 0xc0]
mov eax, dword [0x6bfa24]
call fcn.0059914c
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0046910c
lea edx, [ebp - 0xc4]
mov eax, dword [0x6bf53c]
call fcn.0059914c
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d8]
call fcn.0046910c
lea edx, [ebp - 0xc8]
mov eax, dword [0x6bf5e0]
call fcn.0059914c
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
call fcn.0046910c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3d4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
call fcn.005bd700
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
call fcn.005bd76c
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
cmp byte [eax + 0x4d], 0
jne 0x5be1aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
xor edx, edx
call fcn.0044de54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
cmp byte [eax + 0x4d], 0
jne 0x5be1c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x404]
xor edx, edx
call fcn.0044de54
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov eax, dword [eax + 0x218]
call fcn.00421b2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x3c]
call fcn.00421618
mov esi, eax
dec esi
test esi, esi
jl 0x5be29f
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x458]
cmp byte [edi + 0x4d], 0
jne 0x5be21f
mov eax, dword [edi + 0x3c]
mov edx, ebx
call fcn.005db1b0
cmp byte [eax + 0x60], 0
jne 0x5be297
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.005db1b0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.005db1b0
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov eax, dword [eax + 0x218]
pop ecx
mov edi, dword [eax]
call dword [edi + 0x3c]
cmp byte [ebp - 0xd], 0
jne 0x5be297
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.005db1b0
cmp byte [eax + 0x85], 0
je 0x5be297
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov byte [ebp - 0xd], 1
inc ebx
dec esi
jne 0x5be200
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x430]
mov eax, dword [eax + 0x218]
call fcn.00421be8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
call fcn.00421b2c
xor eax, eax
push ebp
push 0x5be38a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x458]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5be33d
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x458]
cmp byte [edi + 0x4d], 0
jne 0x5be30c
mov eax, edi
mov edx, ebx
call fcn.005d0664
test al, al
je 0x5be339
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5be2f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5be368
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xd0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5be391
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x218]
call fcn.00421be8
ret