Function at 0x45af90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47face
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d55e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebp, ebp
mov dword [esi], vtable.FNPNS::UTC::CDefaultSecurityAttributes.0
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esp + 0x38], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov bl, 4
push 0x1c
mov byte [esp + 0x3c], bl
call fcn.0040cd5f
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 5
cmp eax, ebp
je 0x45b01f
push 0x100001
push 0x1f0001
mov ecx, eax
call fcn.0045a750
mov edi, eax
jmp 0x45b021
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], edi
call fcn.0045a220
push edi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004047a0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
mov byte [esp + 0x3c], 6
call fcn.00432a90
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], bl
cmp edi, ebp
je 0x45b091
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45b091
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b091
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push 0x1c
call fcn.0040cd5f
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 7
cmp eax, ebp
je 0x45b0bd
push 0x100002
push 0x1f0003
mov ecx, eax
call fcn.0045a750
mov edi, eax
jmp 0x45b0bf
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], edi
call fcn.0045a220
push edi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004047a0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esi + 0xc], ecx
push edx
lea ecx, [esi + 0x10]
mov byte [esp + 0x3c], 8
call fcn.00432a90
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], bl
cmp edi, ebp
je 0x45b12f
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45b12f
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b12f
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push 0x1c
call fcn.0040cd5f
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 9
cmp eax, ebp
je 0x45b15b
push 0x100002
push 0x1f0003
mov ecx, eax
call fcn.0045a750
mov edi, eax
jmp 0x45b15d
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], edi
call fcn.0045a220
push edi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004047a0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esi + 0x14], ecx
push edx
lea ecx, [esi + 0x18]
mov byte [esp + 0x3c], 0xa
call fcn.00432a90
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], bl
cmp edi, ebp
je 0x45b1cd
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45b1cd
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b1cd
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov dword [esp + 0x24], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x24]
mov bl, 0xb
push eax
mov byte [esp + 0x3c], bl
call fcn.0045aa50
push 0x1c
call fcn.0040cd5f
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 0xc
cmp eax, ebp
je 0x45b210
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00459ba0
mov edi, eax
jmp 0x45b212
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], edi
call fcn.0045a220
push edi
lea edx, [esp + 0x24]
push edi
push edx
call fcn.004047a0
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov byte [esp + 0x3c], 0xd
mov dword [esi + 0x1c], eax
call fcn.00432a90
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], bl
cmp edi, ebp
je 0x45b282
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45b282
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b282
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea eax, [esp + 0x24]
push eax
call fcn.0045a8e0
push 0x1c
call fcn.0040cd5f
add esp, 8
mov dword [esp + 0x1c], eax
mov byte [esp + 0x38], 0xe
cmp eax, ebp
je 0x45b2b3
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00459ba0
mov edi, eax
jmp 0x45b2b5
xor edi, edi
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
mov dword [esp + 0x20], edi
call fcn.0045a220
push edi
lea edx, [esp + 0x24]
push edi
push edx
call fcn.004047a0
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x3c], 0xf
mov dword [esi + 0x24], eax
call fcn.00432a90
mov edi, dword [esp + 0x20]
mov byte [esp + 0x38], bl
cmp edi, ebp
je 0x45b325
lea edx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45b325
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b325
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.ATL::CSecurityDesc.0
call fcn.004056e0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret