Function at 0x4741b0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
mov eax, 0x588f0c
push ebx
push esi
push edi
lea edi, [ebp - 0xb0]
lea ebx, [ebp - 0x44]
call fcn.00528424
mov edx, dword [ebp + 0xc]
push edx
call fcn.00466bd0
pop ecx
mov esi, eax
test esi, esi
jne 0x47420c
mov word [edi + 0x10], 8
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.004662a0
add dword [edi + 0x1c], 2
mov eax, dword [ebp + 8]
add esp, 8
add dword [edi + 0x1c], 2
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x4745bd
mov word [edi + 0x10], 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push ebx
call fcn.0046ceb0
add esp, 8
add dword [edi + 0x1c], 0xf
mov word [edi + 0x10], 0x20
mov word [edi + 0x10], 0x2c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xb8], edx
mov ecx, dword [ebp - 0xb4]
push ecx
mov eax, dword [ebp - 0xb8]
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00468d58
add esp, 0xc
lea ecx, [ebp - 0x80]
push ecx
add dword [edi + 0x1c], 2
push ebx
lea eax, [ebp - 0x50]
push eax
call fcn.0046a858
add dword [edi + 0x1c], 2
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x80]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00526184
pop ecx
mov word [edi + 0x10], 0x20
mov word [edi + 0x10], 0x44
push 2
lea edx, [ebp - 0x8c]
push edx
call fcn.004662a0
add esp, 8
lea ecx, [ebp - 0x8c]
add dword [edi + 0x1c], 2
push ecx
push ebx
lea eax, [ebp - 0x5c]
push eax
call fcn.0046a858
add dword [edi + 0x1c], 2
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x8c]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x88]
push eax
call fcn.00526184
pop ecx
lea edx, [ebp - 0x50]
mov word [edi + 0x10], 0x20
mov word [edi + 0x10], 0x5c
push edx
lea ecx, [ebp - 0x68]
push ecx
call fcn.004661e8
add esp, 8
lea eax, [ebp - 0x5c]
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x20
mov word [edi + 0x10], 0x68
push eax
lea edx, [ebp - 0x50]
push edx
push ebx
call fcn.0046d0b4
add esp, 8
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x1c]
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004661e8
add esp, 8
add dword [edi + 0x1c], 2
mov word [edi + 0x10], 0x20
dec esi
jmp 0x47441f
push esi
mov edx, dword [ebp + 0xc]
push edx
call fcn.004666ec
add esp, 8
test al, al
je 0x4743cb
lea ecx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x68]
push edx
push ebx
call fcn.0046cff8
add esp, 0xc
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x1c]
add esp, 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0046662c
add esp, 8
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x74]
push ecx
push ebx
call fcn.0046d0b4
add esp, 8
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x1c]
add esp, 0xc
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.0046662c
add esp, 8
jmp 0x47441f
lea ecx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x68]
push edx
push ebx
call fcn.0046cff8
add esp, 0xc
push eax
push ebx
mov ecx, dword [ebx]
call dword [ecx + 0x1c]
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0046662c
add esp, 8
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x68]
push ecx
push ebx
call fcn.0046d0b4
add esp, 8
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x1c]
add esp, 0xc
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.0046662c
add esp, 8
mov ecx, esi
add esi, 0xffffffff
test ecx, ecx
jne 0x474364
mov word [edi + 0x10], 0x74
lea eax, [ebp - 0x68]
push eax
push ebx
mov edx, dword [ebp + 8]
push edx
call fcn.0046d150
add esp, 0xc
mov eax, dword [ebp + 8]
mov word [edi + 0x10], 0x80
push eax
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x74]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x70]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x68]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x64]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x5c]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebp - 0x50]
shl edx, 2
push edx
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebx + 0x3c]
shl edx, 2
push edx
push 0
mov ecx, dword [ebx + 0x40]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebx + 0x40]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebx + 0x30]
shl edx, 2
push edx
push 0
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebx + 0x34]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebx + 0x24]
shl edx, 2
push edx
push 0
mov ecx, dword [ebx + 0x28]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebx + 0x28]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebx + 0x18]
shl edx, 2
push edx
push 0
mov ecx, dword [ebx + 0x1c]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebx + 0x1c]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
mov edx, dword [ebx + 0xc]
shl edx, 2
push edx
push 0
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.00527dec
add esp, 0xc
mov eax, dword [ebx + 0x10]
push eax
call fcn.00526184
pop ecx
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
dec dword [edi + 0x1c]
pop eax
mov word [edi + 0x10], 0x74
add dword [edi + 0x1c], 2
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret