Function at 0x46edd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558445
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x38], ebp
je 0x46f0ca
cmp dword [ebx - 0xd8], ebp
je 0x46f0ca
lea ecx, [esp + 0x34]
call fcn.004139f0
mov dword [esp + 0x34], vtable.CList_class_CWizDockingPaneBase___class_CWizDockingPaneBase__.0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], 0xa
mov dword [esp + 0x78], ebp
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x34]
push ecx
push 1
mov ecx, ebx
call edx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x18], edi
cmp esi, ebp
je 0x46eec8
xor ecx, ecx
mov ebx, 1
cmp eax, ebx
setne cl
mov edi, ecx
nop
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
cmp eax, ebp
je 0x46ee90
add eax, 0xffffffac
jmp 0x46ee92
xor eax, eax
lea ecx, [eax + 0x54]
mov dword [eax + 0x198], edi
mov dword [eax + 0x1a0], ebx
mov eax, dword [ecx + 0xc]
cmp eax, ebp
jne 0x46eeac
xor eax, eax
jmp 0x46eeb2
mov eax, dword [eax + 0x84]
push eax
call fcn.00424120
cmp esi, ebp
jne 0x46ee80
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp edi, 1
je 0x46eeea
mov eax, dword [ebx + 0xc]
cmp eax, ebp
jne 0x46eedd
xor eax, eax
mov eax, 0x11c
jmp 0x46ef23
mov eax, dword [eax + 0x84]
add eax, 0x11c
jmp 0x46ef23
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
jne 0x46eefa
call fcn.004dcd9a
mov esi, dword [esi + 8]
cmp esi, ebp
je 0x46ef06
lea eax, [esi - 0x54]
jmp 0x46ef08
xor eax, eax
push eax
lea edi, [esp + 0x24]
call fcn.00476470
mov edi, dword [esp + 0x18]
mov byte [esp + 0x78], 1
mov dword [esp + 0x14], 1
push eax
lea ecx, [esp + 0x20]
call fcn.00401800
mov dword [esp + 0x78], 3
test byte [esp + 0x14], 1
je 0x46ef45
lea ecx, [esp + 0x20]
call fcn.00407f90
lea esi, [ebx - 0xf8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.00405840
push eax
mov ecx, esi
call fcn.004e331b
mov ecx, esi
call fcn.004e328f
test eax, 0x10000000
jne 0x46ef87
cmp edi, ebp
jle 0x46f0a1
cmp dword [ebx - 0xd8], ebp
je 0x46ef87
push 4
mov ecx, esi
call fcn.004e33e6
cmp edi, ebp
jle 0x46f0a1
xor esi, esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], esi
call fcn.004139f0
mov dword [esp + 0x50], vtable.CList_class_CWizDockingPaneBase___class_CWizDockingPaneBase__.0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0xa
mov byte [esp + 0x78], 4
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x50]
push eax
push ebp
mov ecx, ebx
call edx
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x46f02f
mov edi, edi
mov ecx, eax
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
cmp ecx, ebp
je 0x46eff0
lea esi, [ecx - 0x20]
jmp 0x46eff2
xor esi, esi
mov edx, dword [esi + 0x2c]
cmp edx, ebp
jne 0x46effd
xor edi, edi
jmp 0x46f003
mov edi, dword [edx + 0x84]
mov ecx, dword [esi + 0xc4]
or ecx, dword [edi + 0x114]
test cl, 1
jne 0x46f01c
mov dword [esp + 0x14], 1
cmp eax, ebp
jne 0x46efe0
cmp dword [esp + 0x14], ebp
je 0x46f02b
cmp dword [ebx + 0x3c], ebp
jne 0x46f062
mov esi, dword [esp + 0x14]
mov edx, dword [ebx - 0xd8]
push ebp
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004f8bb0
mov edx, dword [eax + 4]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
push ecx
push 0xf060
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov dword [ebx + 0x3c], esi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.004e328f
test eax, 0x40000000
jne 0x46f08e
push 1
lea esi, [esp + 0x28]
call fcn.0043efc0
mov ecx, eax
call fcn.004139f0
mov ecx, edi
push ecx
call fcn.004247f0
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x7c], 3
call fcn.00424a70
mov esi, dword [esp + 0x18]
push ebp
push ebp
push 0x85
mov ecx, esi
call fcn.004183f0
lea ecx, [esp + 0x1c]
call fcn.00407f90
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x7c], 0xffffffff
call fcn.00424a70
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4