Function at 0x4ff2c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 0
call fcn.004dacb0
mov dword [ebp - 4], 0
lea edi, [esi + 0x91c]
mov dword [esi], vtable.CPreViewWindow.4.0
mov dword [esi + 0x10], vtable.CPreViewWindow.5.0
mov dword [esi + 0x24], vtable.CPreViewWindow.3.0
mov dword [esi + 0x28], vtable.CPreViewWindow.0
mov dword [esi + 0x2c], vtable.CPreViewWindow.2.0
mov dword [esi + 0x30], vtable.CPreViewWindow.1.0
mov dword [esi + 0x900], 0
mov dword [esi + 0x904], 0
mov dword [esi + 0x908], 0
mov dword [esi + 0x90c], 0
mov byte [esi + 0x910], 0
mov dword [esi + 0x918], 0
mov dword [ebp - 0x238], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff800
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
lea edi, [esi + 0x928]
mov dword [ebp - 0x238], edi
mov dword [esi + 0x920], 0
mov dword [esi + 0x924], 0
mov dword [ebp - 0x234], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff80a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 4
lea ebx, [edi + 0x1c]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x234], ebx
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff814
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 6
add edi, 0x20
mov dword [ebp - 0x234], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff81e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0x94c]
mov dword [ebp - 0x234], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x238], eax
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 0xb
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 0xc
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov byte [ebp - 4], 0xe
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 3
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 3
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x60], 3
mov dword [ecx + 0x5c], 7
mov byte [ebp - 4], 0xf
mov dword [ecx], vtable.CScrollImageView.0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
mov byte [ebp - 4], 0x10
lea edi, [esi + 0x9c8]
mov dword [esi + 0x9c4], 0
mov dword [ebp - 0x234], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff828
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
lea edi, [esi + 0x9cc]
mov dword [ebp - 0x234], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff832
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x14
lea edi, [esi + 0x9d0]
mov dword [ebp - 0x234], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff83c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x9d8]
mov dword [esi + 0x9d4], 0
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CPaintManagerUI::constructor_void_]
mov byte [ebp - 4], 0x17
lea eax, [esi + 0x12b4]
mov dword [ebp - 0x234], eax
lea edi, [eax + 4]
mov dword [esi + 0x12a0], 0
mov dword [esi + 0x12a4], 0
mov dword [esi + 0x12a8], 0
mov dword [esi + 0x12ac], 0
mov dword [esi + 0x12b0], 0
mov dword [eax], 0
mov dword [ebp - 0x238], edi
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4ff846
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x19
mov ax, word [0x639ee0]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.Exchange
lea eax, [ebp - 0x218]
push eax
push str._s_s.tmp
push edi
call fcn.0040d300
add esp, 0x10
mov byte [ebp - 4], 0x1a
mov dword [esi + 0x12bc], 0
mov dword [esi + 0x12c0], 0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x230]
push 0x6b1a60
call fcn.00420d90
mov dword [ebp - 0x23c], 1
mov edi, dword [eax + 0x10]
mov eax, 1
mov dword [ebp - 0x23c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x4ff718
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ff70e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ff850
push edx
push ecx
call fcn.005603ff
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
test edi, edi
jne 0x4ff7db
push 0x104
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [ebp - 0x114]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4ff777
mov eax, dword [str._data_detectdb.dat]
mov dword [ecx], eax
mov eax, dword [0x65be7c]
mov dword [ecx + 4], eax
mov eax, dword [0x65be80]
mov dword [ecx + 8], eax
mov eax, dword [0x65be84]
mov dword [ecx + 0xc], eax
mov ax, word [0x65be88]
mov word [ecx + 0x10], ax
mov al, byte [0x65be8a]
mov byte [ecx + 0x12], al
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ff7c0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, 0x6b1a60
call fcn.00412890
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
call fcn.005a5046
int3