Function at 0x575a90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
shr eax, 0x18
xor edx, edx
and eax, 0xf
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, edx
dec eax
je 0x575d29
dec eax
je 0x575c9b
dec eax
je 0x575c6a
dec eax
je 0x575b74
dec eax
je 0x575b46
dec eax
je 0x575b15
mov ebx, dword [ebp + 0xc]
dec eax
je 0x575b06
mov eax, dword fs:[0x30]
push ebx
push edx
push dword [eax + 0x18]
mov edi, ebx
call dword [fcn.004236c8]
mov esi, eax
test esi, esi
jne 0x575af3
mov ebx, 0xc0000017
jmp 0x575d86
mov ecx, dword [ebp + 8]
push ebx
push ecx
push esi
call fcn.00580eee
add esp, 0xc
jmp 0x575df0
test bl, 7
je 0x575ad0
mov ebx, 0xc0000024
jmp 0x575d86
mov eax, dword [ebp + 0xc]
xor edi, edi
dec eax
inc edi
cmp eax, edi
ja 0x575b0b
mov eax, dword fs:[0x30]
push edi
push edx
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov esi, eax
test esi, esi
je 0x575ae9
mov ecx, dword [ebp + 8]
cmp byte [ecx], bl
setne al
mov byte [esi], al
jmp 0x575df0
push 8
pop eax
cmp dword [ebp + 0xc], eax
jne 0x575b0b
push eax
mov eax, dword fs:[0x30]
push edx
push dword [eax + 0x18]
call dword [fcn.004236c8]
test eax, eax
je 0x575ae9
mov esi, dword [ebp + 8]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 8
pop edi
mov esi, eax
jmp 0x575df0
mov eax, dword [ebp + 0xc]
test al, 0xf
jne 0x575b0b
shr eax, 4
mov dword [ebp + 0xc], eax
mov edi, edx
mov dword [ebp - 0xc], edx
test eax, eax
je 0x575bdc
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x10], ebx
mov esi, eax
jmp 0x575b97
mov ebx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [fcn.00423718]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [0x4236c0]
mov ebx, eax
test ebx, ebx
js 0x575d86
movzx ecx, word [ebp - 0x18]
lea eax, [ebp - 0x18]
add ecx, 2
push eax
add edi, ecx
call dword [0x4236b8]
mov eax, dword [ebp - 0xc]
add dword [ebp + 0x10], 0x10
inc eax
push 0
mov dword [ebp - 0xc], eax
pop edx
cmp eax, esi
jb 0x575b94
mov eax, dword fs:[0x30]
add edi, 2
push edi
push edx
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x575ae9
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], ecx
jbe 0x575c60
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [0x4236c0]
mov ebx, eax
test ebx, ebx
js 0x575e00
movzx esi, word [ebp - 0x18]
add esi, 2
push esi
push dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.00580eee
add dword [ebp - 0xc], esi
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call dword [0x4236b8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
inc ecx
add eax, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [ebp + 0xc]
jb 0x575c0d
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov word [eax], cx
jmp 0x575dec
cmp dword [ebp + 0xc], 0x10
jne 0x575b0b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [0x4236c0]
mov ebx, eax
test ebx, ebx
js 0x575d86
movzx edi, word [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edi, 2
jmp 0x575dec
mov eax, dword [ebp + 0xc]
test al, 1
jne 0x575b0b
mov ecx, eax
xor esi, esi
shr ecx, 1
mov byte [ebp + 0x13], dl
mov edx, dword [ebp + 8]
je 0x575cbf
cmp word [edx], si
je 0x575cd2
add edx, 2
dec ecx
jne 0x575cb4
mov cl, bl
mov edi, eax
test cl, cl
jne 0x575ce9
lea edi, [eax + 2]
cmp edi, eax
jb 0x575cd9
mov ebx, esi
jmp 0x575ce1
mov cl, 1
mov byte [ebp + 0x13], cl
jmp 0x575cc1
or edi, 0xffffffff
mov ebx, 0xc0000095
test ebx, ebx
js 0x575d86
mov eax, dword fs:[0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov esi, eax
test esi, esi
je 0x575ae9
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.00580eee
add esp, 0xc
cmp byte [ebp + 0x13], 0
jne 0x575dec
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x575dec
mov esi, dword [ebp + 8]
cmp dword [esi], 6
lea eax, [ebp - 8]
push eax
jne 0x575d40
push dword [ebp + 0xc]
push esi
call fcn.005769d8
jmp 0x575d4c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00576484
mov ebx, eax
test ebx, ebx
js 0x575d6b
mov eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 8]
add eax, 0x10
mov dword [ebp + 8], eax
cmp eax, 0x10
jae 0x575d8f
mov ebx, 0xc000000d
xor esi, esi
cmp dword [ebp - 8], 0
je 0x575d86
push dword [ebp - 8]
mov eax, dword fs:[0x30]
push esi
push dword [eax + 0x18]
call dword [fcn.004236cc]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
push eax
mov eax, dword fs:[0x30]
xor ecx, ecx
push ecx
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x575db0
mov ebx, 0xc0000017
jmp 0x575d6b
add esi, 4
mov edi, eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [eax + 8]
mov esi, dword [ebp + 0x10]
push dword [ebp - 8]
lea eax, [esi + 0x10]
push eax
call fcn.00580eee
mov eax, dword fs:[0x30]
add esp, 0xc
push dword [ebp - 8]
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [fcn.004236cc]
mov dword [ebp - 8], edi
mov edi, dword [ebp + 8]
test ebx, ebx
js 0x575e03
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor eax, eax
mov ebx, eax
jmp 0x575d86
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x575d86
mov eax, dword fs:[0x30]
push esi
xor esi, esi
push esi
push dword [eax + 0x18]
call dword [fcn.004236cc]
jmp 0x575d6d