Function at 0x545c04
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x545c0c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x545f6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebx + 0x348]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov edx, dword [eax + 0x93c]
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov eax, dword [eax + 0x948]
call fcn.005e6ae8
test eax, eax
jle 0x545cb0
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov eax, dword [eax + 0x948]
mov edx, dword [ebx + 0x3d0]
call fcn.005e6ae8
push eax
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov edx, dword [eax + 0x93c]
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov eax, dword [eax + 0x948]
call fcn.005e6ae8
pop edx
xchg edx, eax
sub eax, edx
cdq
xor eax, edx
sub eax, edx
inc eax
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x40]
mov byte [edx + 2], al
jmp 0x545ce3
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov eax, dword [eax + 0x948]
mov edx, dword [ebx + 0x3d0]
call fcn.005e6ae8
cdq
xor eax, edx
sub eax, edx
inc eax
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x40]
mov byte [edx + 2], al
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x1ac]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
movzx eax, byte [eax + 3]
dec eax
test eax, eax
jl 0x545e41
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov edx, dword [eax + 0x940]
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov esi, dword [eax + 0x948]
mov eax, esi
call fcn.005e6b64
mov edx, eax
add edx, dword [ebp - 4]
mov eax, dword [0x60e58c]
mov eax, dword [esi + 0x168]
call fcn.00430e80
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x1ac]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
movzx edi, byte [eax + 2]
dec edi
test edi, edi
jl 0x545e35
inc edi
xor esi, esi
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov edx, dword [eax + 0x93c]
mov eax, dword [0x60e58c]
mov eax, dword [eax]
mov eax, dword [eax + 0x948]
call fcn.005e6ae8
add eax, esi
mov edx, dword [ebp - 8]
mov al, byte [edx + eax]
mov edx, dword [0x60eb68]
cmp al, byte [edx]
je 0x545de4
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x380]
call fcn.0047a960
mov eax, dword [ebp - 0x10]
call fcn.0040a108
imul esi
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x40]
movzx edx, word [edx]
add edx, dword [ebp - 4]
add eax, edx
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 8]
mov byte [edx + eax - 1], 0
jmp 0x545e2d
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x380]
call fcn.0047a960
mov eax, dword [ebp - 0x14]
call fcn.0040a108
imul esi
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x40]
movzx edx, word [edx]
add edx, dword [ebp - 4]
add eax, edx
mov edx, dword [ebx + 0x340]
mov edx, dword [edx + 0x1ac]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 8]
mov byte [edx + eax - 1], 0xff
inc esi
dec edi
jne 0x545d68
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x545d0d
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x1ac]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x40]
movzx eax, byte [eax + 2]
call fcn.00409f9c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x388]
call fcn.0047a990
xor edx, edx
mov eax, dword [ebx + 0x348]
call fcn.0047a990
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x17c]
mov dword [0x61430c], eax
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x180]
mov dword [0x614310], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x388]
call fcn.0047a960
mov eax, dword [ebp - 0x1c]
call fcn.0040a108
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x380]
call fcn.0047a960
mov eax, dword [ebp - 0x20]
call fcn.0040a108
push eax
mov ecx, 0x614310
mov edx, 0x61430c
mov eax, ebx
call fcn.0054604c
mov edx, dword [0x61430c]
mov eax, dword [ebx + 0x340]
call fcn.00511b5c
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x380]
call fcn.0047a960
mov eax, dword [ebp - 0x24]
call fcn.0040a108
mov edx, eax
imul edx, dword [0x614310]
mov eax, dword [ebx + 0x340]
call fcn.0047a118
mov edx, dword [0x614310]
mov eax, dword [ebx + 0x340]
call fcn.00511b74
mov dl, 0xd
mov eax, dword [ebx + 0x340]
call fcn.00511af4
mov eax, dword [0x614304]
call fcn.004995c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545f75
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404e4c
lea eax, [ebp - 0x18]
call fcn.00404e28
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404e4c
ret