Function at 0x53eaa0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d13d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x8f9064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov byte [ebx], 0
mov byte [ebx + 2], 0
mov dword [ebp - 4], 0
mov byte [ebx + 8], 0
mov byte [ebx + 0x10], 0
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x20], 0
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x30], 0
mov byte [ebx + 0x38], 0
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x50], 0
mov byte [ebx + 0x58], 0
mov byte [ebx + 0x60], 0
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x78], 0
lea ecx, [ebx + 0x80]
mov byte [ebp - 4], 8
call fcn.004f0f50
mov byte [ebp - 4], 9
lea esi, [ebx + 0xa0]
mov dword [ebp - 0x14], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea esi, [ebx + 0xa8]
mov dword [ebp - 0x14], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [ebx + 0xb0]
mov dword [ebp - 0x14], esi
push 0x34
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebx + 0xb8], 0
mov byte [ebx + 0xc0], 0
mov byte [ebp - 4], 0xd
lea esi, [ebx + 0xcc]
mov byte [ebx + 0xc8], 0
mov dword [ebp - 0x14], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [ebx + 0xd4]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
push 0x24
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0056d2dd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
mov edx, dword [esi + 0x10]
mov ecx, edx
sar ecx, 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp ecx, 0x10
jae 0x53ece5
push 0x40
call fcn.0056d2dd
mov edx, dword [ebp - 0x10]
add esp, 4
mov edi, eax
test edx, edx
je 0x53ecc3
mov ecx, dword [esi + 0xc]
shl edx, 2
cmp edx, 0x1000
jb 0x53ecb9
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x10], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x53ecdf
mov ecx, dword [ebp - 0x10]
push edx
push ecx
call fcn.0056d673
add esp, 8
lea edx, [edi + 0x40]
mov dword [esi + 0xc], edi
lea eax, [ebp - 0x14]
mov dword [esi + 0x10], edx
push eax
mov ecx, edi
mov dword [esi + 0x14], edx
call fcn.0046edd0
add esp, 4
jmp 0x53ecf3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [edx + 3]
shr ecx, 2
test ecx, ecx
je 0x53ecf3
xor edi, edi
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0xf4]
mov byte [ebp - 4], 0x11
call fcn.00541840
mov eax, dword [ebp + 8]
mov byte [ebx + 0x118], 0
mov byte [ebx + 0x120], 0
mov byte [ebx + 0x128], 0
mov byte [ebx + 0x130], 0
mov byte [ebx + 0x138], 0
mov byte [ebx + 0x140], 0
mov byte [ebx + 0x148], 0
mov byte [ebx + 0x150], 0
mov eax, dword [eax]
mov dword [ebx + 0x158], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4