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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x544806
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
mov dword [esp + 0x24], 0
call fcn.004ffcfe
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x80], 0
test esi, esi
je 0x46c2b4
mov dword [esi], vtable.cafx::dxui::DxMenu.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esp + 0x80], 1
mov dword [esi + 0x10], 0xffffffff
mov byte [esp + 0x80], 0
jmp 0x46c2b6
xor esi, esi
mov dword [esp + 0x80], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
test esi, esi
je 0x46c777
push str.DRIVE
push str.Menu
mov ecx, 0x5be200
call fcn.0045eec0
test eax, eax
je 0x46c745
xor eax, eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
mov dword [esp + 0x80], 2
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call fcn.004e2f20
mov edi, eax
test edi, edi
je 0x46c370
push 2
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [edi + 8], 6
je 0x46c359
cmp dword [edi + 0xc], 0
mov dword [esp + 0x14], 1
jne 0x46c368
mov ecx, ebx
call fcn.004e3150
mov edi, eax
test edi, edi
jne 0x46c332
jmp 0x46c370
mov dword [esp + 0x18], 1
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.OPEN_IN_EXPLORER
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c7c4
mov eax, dword [0x5bd8b4]
lea ecx, [esp + 0x40]
push dword [esp + 0x14]
cmp dword [esp + 0x58], 8
mov eax, dword [eax + 0x34]
cmovae ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x78]
push dword [eax]
push 0x56c344
push ecx
push 0x4c8
mov ecx, esi
call fcn.004d39b0
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.REFRESH
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c7a8
mov eax, dword [0x5bd8b4]
lea ecx, [esp + 0x40]
cmp dword [esp + 0x54], 8
push 1
cmovae ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x7c]
push dword [eax]
push 0x57aa58
push ecx
push 0x7d3
mov ecx, esi
call fcn.004d39b0
mov ecx, esi
call fcn.004d3da0
mov ecx, ebx
call fcn.004e2ef0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push 2
push 0
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push 0
push eax
call edi
mov ecx, dword [ebx + 0x78]
push dword [ecx + 0xba0]
add ecx, 0x9bc
call fcn.0049adf0
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov byte [esp + 0x80], 3
lea eax, [esp + 0x58]
mov edx, dword [0x5be3e0]
mov ecx, dword [0x5be3dc]
push eax
push dword [0x5be3d8]
push dword [0x5be3e4]
call fcn.00477590
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x46c50b
cmp dword [eax], 1
jne 0x46c4c4
cmp dword [eax + 0x24], 0xffffffff
jne 0x46c4c4
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0xf6c], 0
je 0x46c50b
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.MOUNT2
push str.Item
call fcn.0045ec80
test eax, eax
jne 0x46c528
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x58]
call fcn.00402220
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402220
jmp 0x46c76f
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.MOUNT1
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c4e1
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
push 1
cmovae ecx, dword [esp + 0x5c]
lea eax, [esp + 0x44]
cmp dword [esp + 0x58], 8
push 0
cmovae eax, dword [esp + 0x48]
push ecx
push eax
push 0x4b2
mov ecx, esi
call fcn.004d39b0
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.DISMOUNT
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c4e1
push dword [esp + 0x18]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0
cmovae eax, dword [esp + 0x48]
mov ecx, esi
push 0x56c344
push eax
push 0x4b3
call fcn.004d39b0
mov ecx, 0x5be2ac
call fcn.004a71b0
mov edx, dword [0x5be3f0]
xor ecx, ecx
test eax, eax
lea eax, [esp + 0x58]
push eax
push dword [0x5be3e8]
setg cl
push dword [0x5be3f4]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x5be3ec]
call fcn.00477590
add esp, 0xc
lea eax, [esp + 0x24]
push 2
push 0
push 0
push 0
push eax
call edi
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.DISMOUNT_ALL
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c4e1
cmp dword [esp + 0x6c], 8
lea ecx, [esp + 0x58]
push dword [esp + 0x18]
cmovae ecx, dword [esp + 0x5c]
lea eax, [esp + 0x44]
cmp dword [esp + 0x58], 8
push 0
cmovae eax, dword [esp + 0x48]
push ecx
push eax
push 0x4b4
mov ecx, esi
call fcn.004d39b0
mov ecx, esi
call fcn.004d3da0
cmp dword [0x5be24c], 0
jne 0x46c66b
mov ecx, ebx
call fcn.004e2ef0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46c66b
mov eax, dword [eax + 8]
cmp eax, 6
je 0x46c66b
mov dword [esp + 0x14], 1
cmp eax, 3
jne 0x46c673
mov dword [esp + 0x14], 0
lea eax, [esp + 0x40]
mov ecx, 0x5be200
push eax
push str.FORMAT
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c4e1
push dword [esp + 0x14]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0
cmovae eax, dword [esp + 0x48]
mov ecx, esi
push 0x56c344
push eax
push 0x4d0
call fcn.004d39b0
mov ecx, esi
call fcn.004d3da0
mov eax, dword [esp + 0x1c]
mov ecx, 1
cmp dword [eax + 8], 3
mov eax, dword [esp + 0x14]
cmove eax, ecx
mov ecx, 0x5be200
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
push str.PROPERTIES
push str.Item
call fcn.0045ec80
test eax, eax
je 0x46c4e1
push dword [esp + 0x14]
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
push 0
cmovae eax, dword [esp + 0x48]
mov ecx, esi
push 0x56c344
push eax
push 0x4d7
call fcn.004d39b0
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x58]
call fcn.00402220
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402220
push 2
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call edi
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
call dword [eax + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.00424b90
add esp, 8
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
push 2
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.00402220
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x46c76f
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x46c7e2
push dword [esp + 0x40]
call fcn.0051d3d0
add esp, 4
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
jmp 0x46c76f