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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
mov eax, 0x495fb0
call fcn.0046fb44
push 0x3c
call sub.CC3260MT.DLL___bnew_qui
mov ebx, eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [eax + 0x10], ebx
push 0x3c
push 0
push ebx
call sub.CC3260MT.DLL__memset
mov word [ebp - 0x18], 8
mov edx, dword [ebp - 0x2c]
mov ebx, 0xa
add esp, 0xc
mov ecx, dword [edx + 0x10]
mov word [ecx], 0x80
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0xe]
and dl, 0xff
mov byte [ecx + 2], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0xe]
shr edx, 8
mov byte [ecx + 3], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x12]
mov byte [ecx + 4], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x15]
mov byte [ecx + 5], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x14]
mov byte [ecx + 6], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x17]
mov byte [ecx + 7], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x16]
mov byte [ecx + 8], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x19]
mov byte [ecx + 9], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x18]
mov byte [ecx + 0xa], dl
mov byte [ecx + 0xb], 0
mov word [ecx + 0xc], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
movzx eax, word [eax + 0x38]
cdq
idiv ebx
mov word [ecx + 0xe], ax
mov ebx, 0xa
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + 0x18]
cdq
idiv ebx
mov word [ecx + 0x10], ax
mov ebx, 0xa
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
movsx edx, word [eax + 0x28]
mov eax, edx
add eax, eax
lea eax, [eax + eax*4]
mov word [ecx + 0x12], ax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 4]
movsx eax, word [edx + 0x2a]
mov edx, eax
add edx, edx
lea edx, [edx + edx*4]
mov word [ecx + 0x14], dx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
movsx edx, word [eax + 0x2c]
mov eax, edx
add eax, eax
lea eax, [eax + eax*4]
mov word [ecx + 0x16], ax
mov word [ecx + 0x18], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 4]
mov ax, word [edx + 0x2e]
xor edx, edx
mov word [ecx + 0x1a], ax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
movzx eax, byte [eax + 0x32]
cdq
idiv ebx
mov byte [ecx + 0x20], al
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x33]
mov byte [ecx + 0x21], dl
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x28]
mov eax, dword [edx + 4]
mov dl, byte [eax + 0x34]
xor eax, eax
mov byte [ecx + 0x22], dl
mov byte [ecx + 0x23], 0
mov byte [ecx + 0x24], 0
mov byte [ecx + 0x25], 0
mov byte [ecx + 0x26], 0
mov byte [ecx + 0x27], 0
mov byte [ecx + 0x28], 0
mov byte [ecx + 0x29], 0
mov byte [ecx + 0x2a], 0
mov dword [ecx + 0x2c], eax
mov word [ecx + 0x30], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 4]
movzx eax, word [edx + 0x30]
mov dword [ecx + 0x34], eax
xor edx, edx
mov dword [ecx + 0x38], edx
mov eax, ecx
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x45d0d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret