Function at 0x46f2f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52953f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x5873b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0046fa20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
mov dword [ecx], vtable.LayerWin::CLayerWin.0
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047fc70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x30
call fcn.0045b310
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x4c
call fcn.0047fc70
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x50]
mov byte [edx + 0xc], 1
call fcn.00417ba0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0043e0c0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004163d0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
add eax, 0x14
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x48], 0xffffffff
push 0x2c
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0
je 0x46f3f7
mov ecx, dword [ebp - 0x34]
call fcn.0043d6a0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
jmp 0x46f3fe
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0047e5e0
mov dword [ebp - 0x1c], 0
jmp 0x46f429
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
call fcn.00418c10
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call fcn.00424320
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x10
call fcn.00428f50
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x70]
jge 0x46f51c
push 0x88
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3c], 0
je 0x46f4f1
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.00455450
mov dword [ebp - 0x78], eax
call fcn.00418c10
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.00424320
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x80]
add ecx, 0x10
call fcn.004291b0
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x84]
movzx ecx, byte [eax]
push ecx
cmp dword [ebp - 0x1c], 0
setne dl
movzx eax, dl
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.0046f580
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
jmp 0x46f4fb
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x30
call fcn.0047e740
jmp 0x46f420
jmp 0x46f557
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
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