Function at 0x4636e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x515632
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0xce4]
push eax
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
lea ebx, [ebp + ecx*4 + 0xd00]
mov ecx, dword [ebp + 0xf80]
call fcn.004dfd30
mov edi, eax
mov eax, dword [ebx + 0x30]
lea esi, [ebp + 0xec]
add eax, 2
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.00501230
mov eax, dword [edi + 0x1c]
mov ecx, esi
add eax, 2
push eax
call fcn.00501460
mov eax, dword [ebp + 0x1a8]
mov edi, 2
cmp eax, edi
jle 0x463790
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0
mov eax, dword [edx + 0x18]
mov eax, dword [ecx + eax]
mov ecx, esi
push eax
push edi
push 0
call fcn.00501da0
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1a8]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x46375f
mov ecx, dword [ebx + 0x30]
xor eax, eax
cmp ecx, eax
jle 0x463837
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
mov eax, dword [eax + edx]
push eax
push 0
push ecx
mov ecx, esi
call fcn.00501da0
xor edi, edi
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4637d9
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 8]
jmp 0x4637db
xor eax, eax
cmp edi, eax
jge 0x46380a
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax + 4]
lea eax, [edi + 2]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x10]
push edx
push 0
push 0x542bdc
push eax
push ecx
push esi
call fcn.00501e60
add esp, 0x18
inc edi
jmp 0x4637ca
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add ecx, 4
add eax, 0x14
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x10], ecx
add ecx, 0xfffffffe
cmp ecx, eax
jl 0x4637ad
mov ecx, ebp
call fcn.00464440
mov eax, dword [ebp + 0x1a0]
push 0
cmp eax, 2
mov ecx, esi
jle 0x46385e
call fcn.00502520
push eax
push 2
mov ecx, esi
call fcn.00502580
jmp 0x46386c
call fcn.00502790
push 1
mov ecx, esi
call fcn.00502790
push 0
mov ecx, esi
call fcn.005028f0
mov ecx, esi
call fcn.00502b50
push fcn.0050b22e
push fcn.0050b234
push 0x28
lea edx, [esp + 0x54]
push 4
push edx
call fcn.0050c29d
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0xf4], 0
call fcn.00472db0
lea ecx, [esp + 0x20]
call fcn.0050b2a0
mov dword [esp + 0x20], 0x52057c
lea ecx, [esp + 0x34]
mov byte [esp + 0xf0], 1
call fcn.00407c00
push 0xa
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf8], 2
mov dword [esp + 0x3c], 0x520da8
call fcn.004de680
lea ecx, [esp + 0x20]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0xf8], 3
call fcn.00471f30
mov eax, dword [esp + 0x28]
lea esi, [ebp + 0x3e8]
inc eax
mov ecx, esi
push eax
call fcn.00501230
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x463a2b
xor edi, edi
mov ebx, 1
mov dword [esp + 0x14], edi
jmp 0x463937
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
push 0
mov edx, dword [edi + ecx]
mov ecx, esi
mov eax, dword [esp + edx*4 + 0x4c]
push eax
push 0
push ebx
call fcn.00501da0
mov eax, dword [esp + 0x24]
push 0
mov ecx, esi
mov eax, dword [edi + eax]
push eax
push 1
push ebx
call fcn.00501da0
mov ecx, dword [esp + 0x24]
add edi, ecx
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 0xf60]
dec edi
js 0x463a10
mov edx, dword [ebp + 0xf5c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
lea eax, [edx + edi*4]
push ecx
mov eax, dword [eax]
push eax
nop
call 0x608062
add esp, 8
test eax, eax
je 0x46399f
dec edi
jns 0x46397a
jmp 0x463a10
cmp edi, 0xffffffff
je 0x463a10
mov edx, dword [ebp + 0xf70]
mov eax, dword [edx + edi*4]
cmp eax, 2
jne 0x4639be
push str.Colors
push 0x546794
jmp 0x4639db
cmp eax, 1
jne 0x4639cd
mov eax, dword [str.MONOCH]
push 0
push eax
jmp 0x4639db
test eax, eax
jne 0x4639e5
push str.No_Mark
push 0x546784
push 2
push ebx
mov ecx, esi
call fcn.00501da0
mov ecx, dword [ebp + 0xf70]
mov edx, dword [ecx + edi*4]
mov ecx, esi
push edx
push 2
push ebx
call fcn.00501f90
push 2
push ebx
mov ecx, esi
call fcn.005022c0
or al, 8
mov ecx, esi
push eax
push 2
push ebx
call fcn.005020c0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add edi, 4
inc ebx
mov dword [esp + 0x14], edi
lea eax, [ebx - 1]
cmp eax, ecx
jl 0x463933
cmp dword [ebp + 0x49c], 1
jle 0x463a47
push 0
mov ecx, esi
call fcn.00502520
push eax
push 1
mov ecx, esi
call fcn.00502580
mov ecx, esi
call fcn.00502b50
mov dword [esp + 0x34], 0x5205a4
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
test eax, eax
mov byte [esp + 0xe4], 4
pop ebx
je 0x463a73
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0x520384
mov byte [esp + 0xe0], 0
mov dword [esp + 0x10], 0x52057c
call fcn.0050b2a6
push fcn.0050b22e
push 0x28
lea ecx, [esp + 0x40]
push 4
push ecx
mov dword [esp + 0xf0], 0xffffffff
call fcn.0050c1a9
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
add esp, 0xe4
ret