Function at 0x4b0790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa466
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x224], edi
mov eax, dword [edi + 0xba4]
test eax, eax
je 0x4b07d8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, edi
push 0
push 0
push 0x401
call esi
push 0
push 0
push 0x433
mov ecx, edi
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
push 0
push 1
push 0x428
mov ecx, edi
call esi
lea eax, [edi + 0xa28]
mov ecx, eax
mov dword [ebp - 0x21c], eax
call fcn.004fbec0
lea eax, [edi + 0xa04]
mov ecx, eax
mov dword [ebp - 0x228], eax
call fcn.004a6630
push ecx
lea ecx, [edi + 0xad8]
call fcn.004f0ca0
push 0x1c
call fcn.00560437
mov esi, eax
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
mov dword [ebp - 0x238], esi
add esp, 4
xor edi, edi
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
push edi
call fcn.004fb550
inc edi
cmp edi, 0x10
jl 0x4b0871
mov ecx, dword [ebp - 0x228]
call fcn.004a6790
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x228]
push eax
call fcn.004a7970
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [ebp - 0x224]
mov ecx, dword [0x6b933c]
mov esi, dword [ebp - 0x238]
mov eax, dword [edi + 4]
test eax, eax
je 0x4b0948
push 0
push esi
mov dword [esi + 0xc], ecx
mov ecx, edi
push 0x41d
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x45
mov dword [esi + 8], 0
mov dword [esi], 0
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov eax, dword [edi + 4]
mov ecx, dword [0x6b9304]
test eax, eax
je 0x4b098e
push 0
push esi
mov dword [esi + 0xc], ecx
mov ecx, edi
push 0x41d
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x85
mov dword [esi + 8], 0
mov dword [esi], 0
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov eax, dword [edi + 0xa2c]
xor ecx, ecx
mov dword [ebp - 0x220], ecx
test eax, eax
jle 0x4b0b53
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0xa2c]
cmp ecx, eax
jge 0x4b0b3e
test ecx, ecx
js 0x4b1077
cmp ecx, eax
jge 0x4b1077
mov eax, dword [edi + 0xa28]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x238], eax
test eax, eax
je 0x4b0b3e
cmp dword [edi + 4], 0
je 0x4b0a2d
push 0
push esi
push 0x41d
mov ecx, edi
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 0x10], 0x206
mov dword [esi + 8], 0
mov dword [esi], 0
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x230], eax
jle 0x4b0b3e
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x228], ecx
test eax, eax
js 0x4b1077
cmp eax, edx
jge 0x4b1077
mov eax, dword [ebp - 0x228]
mov edi, dword [ebp - 0x238]
mov ecx, dword [ecx]
mov dword [ebp - 0x23c], ecx
mov eax, dword [eax + 4]
cmp dword [edi + 0x24], eax
mov edi, dword [ebp - 0x224]
jne 0x4b0b14
push ecx
lea ecx, [edi + 0xa04]
call fcn.004a74b0
mov edx, eax
test edx, edx
je 0x4b0b0e
mov ecx, dword [ebp - 0x23c]
cmp cx, word [ebp - 0x218]
jne 0x4b0ab1
mov ecx, 0x1a
jmp 0x4b0ad0
mov eax, dword [edx + 0x28]
cmp eax, 2
jne 0x4b0ac0
mov ecx, 0x10a
jmp 0x4b0ad0
cmp eax, 5
mov ecx, 0x2a
mov eax, 0x200a
cmove ecx, eax
cmp dword [edi + 4], 0
je 0x4b0b0e
push 0
push esi
mov dword [esi + 0x10], ecx
mov ecx, edi
push 0x41d
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], edx
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x228]
inc eax
add ecx, 8
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x228], ecx
cmp eax, edx
jl 0x4b0a53
mov ecx, dword [ebp - 0x220]
mov eax, dword [edi + 0xa2c]
inc ecx
mov dword [ebp - 0x220], ecx
cmp ecx, eax
jl 0x4b09b0
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
test eax, eax
jle 0x4b0c93
lea edx, [edi + 0xa28]
nop dword [eax]
mov eax, dword [edx + 4]
cmp ecx, eax
jge 0x4b0c80
test ecx, ecx
js 0x4b1077
cmp ecx, eax
jge 0x4b1077
mov eax, dword [edx]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x23c], edx
test edx, edx
je 0x4b0c7a
mov eax, dword [edi + 0xb44]
mov dword [edi + 0xadc], 0xffffffff
mov dword [edi + 0xb3c], 0
mov dword [edi + 0xae0], 0
mov dword [edi + 0xb5c], 0
test eax, eax
je 0x4b0be7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x23c]
mov dword [edi + 0xb44], 0
mov eax, dword [edx + 0x24]
mov dword [edi + 0xadc], eax
mov dword [edi + 0xb3c], edx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
push eax
push dword [edx + 0x24]
lea ecx, [edi + 0xa04]
call fcn.004a7690
lea eax, [ebp - 0x248]
push eax
lea ecx, [edi + 0xad8]
call fcn.004eba60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x4b0c60
push eax
call fcn.005a51fb
add esp, 4
mov dword [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
lea edx, [edi + 0xa28]
inc ecx
mov dword [ebp - 0x21c], ecx
cmp ecx, dword [edi + 0xa2c]
jl 0x4b0b70
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
cmp dword [edi + 0xaf4], ecx
jle 0x4b0d1b
test ecx, ecx
js 0x4b1077
cmp ecx, dword [edi + 0xaf4]
jge 0x4b1077
mov eax, dword [edi + 0xaf0]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4b0d0c
cmp dword [edi + 4], 0
je 0x4b0d0c
push 0
push esi
push 0x41d
mov ecx, edi
mov dword [esi + 0x14], str.listLostDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x40a
mov dword [esi + 8], eax
mov dword [esi], 0
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, dword [ebp - 0x21c]
inc ecx
mov dword [ebp - 0x21c], ecx
cmp ecx, dword [edi + 0xaf4]
jl 0x4b0ca3
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
cmp dword [edi + 0xb0c], ecx
jle 0x4b0da8
nop dword [eax + eax]
test ecx, ecx
js 0x4b1077
cmp ecx, dword [edi + 0xb0c]
jge 0x4b1077
mov eax, dword [edi + 0xb08]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4b0d99
cmp dword [edi + 4], 0
je 0x4b0d99
push 0
push esi
push 0x41d
mov ecx, edi
mov dword [esi + 0x14], str.listLostDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x2a
mov dword [esi + 8], eax
mov dword [esi], 0
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, dword [ebp - 0x21c]
inc ecx
mov dword [ebp - 0x21c], ecx
cmp ecx, dword [edi + 0xb0c]
jl 0x4b0d30
xor eax, eax
mov dword [ebp - 0x220], eax
cmp dword [edi + 0xb00], eax
jle 0x4b0ea8
nop dword [eax]
test eax, eax
js 0x4b1077
cmp eax, dword [edi + 0xb00]
jge 0x4b1077
mov eax, dword [edi + 0xafc]
mov ecx, dword [ebp - 0x220]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x4b0e8f
call fcn.004ce1a0
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4b0e8f
mov dword [ebp - 0x21c], eax
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
jl 0x4b0e35
push 0x65357c
push eax
call fcn.00587dd7
add esp, 8
test eax, eax
je 0x4b0e35
mov ecx, dword [ebp - 0x224]
sub eax, dword [ecx + 8]
lea ecx, [edi + 0xa10]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4b0e3b
lea ecx, [edi + 0xa04]
lea eax, [ebp - 0x21c]
push eax
call fcn.004a7e80
cmp dword [edi + 4], 0
je 0x4b0e8f
mov eax, dword [ebp - 0x224]
mov ecx, edi
push 0
push esi
push 0x41d
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x80a
mov dword [esi + 8], 0
mov dword [esi], eax
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov eax, dword [ebp - 0x220]
inc eax
mov dword [ebp - 0x220], eax
cmp eax, dword [edi + 0xb00]
jl 0x4b0dc0
xor eax, eax
mov dword [ebp - 0x220], eax
cmp dword [edi + 0xb18], eax
jle 0x4b0fa8
nop dword [eax]
test eax, eax
js 0x4b1077
cmp eax, dword [edi + 0xb18]
jge 0x4b1077
mov eax, dword [edi + 0xb14]
mov ecx, dword [ebp - 0x220]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x4b0f8f
call fcn.004ce1a0
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4b0f8f
mov dword [ebp - 0x21c], eax
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
jl 0x4b0f35
push 0x65357c
push eax
call fcn.00587dd7
add esp, 8
test eax, eax
je 0x4b0f35
mov ecx, dword [ebp - 0x224]
sub eax, dword [ecx + 8]
lea ecx, [edi + 0xa10]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4b0f3b
lea ecx, [edi + 0xa04]
lea eax, [ebp - 0x21c]
push eax
call fcn.004a7e80
cmp dword [edi + 4], 0
je 0x4b0f8f
mov eax, dword [ebp - 0x224]
mov ecx, edi
push 0
push esi
push 0x41d
mov dword [esi + 0x14], str.listDisk
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0x80a
mov dword [esi + 8], 0
mov dword [esi], eax
call dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::SendMessageW_unsigned_int__unsigned_int__long_int_]
mov eax, dword [ebp - 0x220]
inc eax
mov dword [ebp - 0x220], eax
cmp eax, dword [edi + 0xb18]
jl 0x4b0ec0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x4b0fcc
push eax
call fcn.005a51fb
add esp, 4
mov dword [ebp - 0x234], 0
mov ecx, edi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.004c37c0
mov esi, dword [sym.imp.ycomuiu.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov ecx, edi
push 0
push 0
push 0x428
call esi
cmp dword [edi + 0xe6c], 0
je 0x4b1024
mov ecx, dword [edi + 0xe80]
test ecx, ecx
je 0x4b1024
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::CTabLayoutUI::GetCurSel_void_const]
test eax, eax
je 0x4b1024
push 0
push 0
push 0x427
mov ecx, edi
call esi
cmp byte [edi + 0xe68], 0
je 0x4b1041
push 0
push 0
push 0x422
mov ecx, edi
mov byte [edi + 0xe68], 0
call esi
mov eax, dword [edi + 0xb9c]
test eax, eax
je 0x4b105c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xb9c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.0040b220
int3