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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5333ec
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], 0x5595c8
mov dword [esi + 0x2c], 0x5595d0
mov dword [esi + 0x3c], 0x5595d8
mov dword [esi + 0x160], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x40], ebx
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CPreferDlg.0
mov eax, 0x55e624
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x6c], bl
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x84], eax
mov dword [esi + 0x94], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x90], bl
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xb4], bl
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xcc], eax
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov byte [esi + 0xd8], bl
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xf0], eax
mov dword [esi + 0x100], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov byte [esi + 0xfc], bl
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x114], eax
mov dword [esi + 0x124], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov byte [esi + 0x120], bl
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x138], eax
mov dword [esi + 0x148], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], ebx
mov byte [esi + 0x144], bl
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x154], ebx
mov word [esi + 0x158], bx
mov dword [esi + 0x15c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], vtable.CUseDll.0
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.004414a0
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x4af3b3
mov eax, dword [ecx]
mov edx, dword [eax + 0x104]
call edx
jmp 0x4af3b5
mov al, 1
xor ecx, ecx
cmp al, bl
sete cl
lea edx, [ebp - 0x24]
push edx
mov byte [esi + 0x150], 1
mov byte [ebp - 4], 7
mov dword [esi + 0x14c], ecx
call fcn.00441400
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4